Move the sources to trunk
[opencv] / interfaces / matlab / toolbox / opencv / cverode.m
1 function varargout = cverode(varargin)\r
2 %CVERODE         Erode image.\r
3 %   IMAGE dst = cverode(IMAGE src, [elem_cols elem_rows elem_anchor_x elem_anchor_y], elem_type, iterations );\r
4 %   elem_type:\r
5 %     0 - rectangle\r
6 %     1 - cross\r
7 %     2 - ellipse\r
8 %\r
9 if nargin ~= 4\r
10     error 'Invalid number of parameters';\r
11     return;\r
12 end\r
13 \r
14 if nargout > 0\r
15     [varargout{1:nargout}] = feval('cvwrap', 'Erode', varargin{:});\r
16 else\r
17     feval('cvwrap', 'Erode', varargin{:});\r
18 end\r
19 return;\r