2013-08-06 13:16:38 +02:00
|
|
|
{% import 'functional.cpp' as functional %}
|
|
|
|
%CV.{{ fun.name | upper }}
|
|
|
|
% {{ functional.composeMatlab(fun) | upper }}
|
2013-03-13 12:52:13 +01:00
|
|
|
%
|
2013-08-06 13:16:38 +02:00
|
|
|
{% if fun.rtp|void|not or fun.req|outputs|length or fun.opt|outputs|length %}
|
|
|
|
% Returns:
|
|
|
|
{% endif %}
|
|
|
|
{% if fun.rtp|void|not %}
|
|
|
|
% LVALUE
|
|
|
|
{% endif %}
|
|
|
|
{% for arg in fun.req|outputs + fun.opt|outputs %}
|
|
|
|
% {{arg.name | upper}}{%- if arg.I -%}_OUT{% endif %}
|
|
|
|
|
|
|
|
{% endfor %}
|
|
|
|
%
|
|
|
|
{% if fun.req|inputs|length %}
|
|
|
|
% Required Inputs:
|
|
|
|
{% endif %}
|
|
|
|
{% for arg in fun.req|inputs %}
|
|
|
|
% {{arg.name | upper}}{%- if arg.O -%}_OUT{% endif %}
|
|
|
|
|
|
|
|
{% endfor %}
|
|
|
|
%
|
|
|
|
{% if fun.opt|inputs|length %}
|
|
|
|
% Optional Inputs:
|
|
|
|
{% endif %}
|
|
|
|
{% for arg in fun.opt|inputs %}
|
|
|
|
% {{arg.name | upper}}{%- if arg.O -%}_OUT{% endif %}
|
|
|
|
|
|
|
|
{% endfor %}
|
|
|
|
%
|
|
|
|
% See also:
|
|
|
|
%
|
|
|
|
% Official documentation: http://docs.opencv.org
|
|
|
|
% Copyright {{ time.strftime("%Y", time.localtime()) }} The OpenCV Foundation
|
2013-03-13 12:52:13 +01:00
|
|
|
%
|