Move the sources to trunk
[opencv] / interfaces / matlab / toolbox / opencv / _cvpyrup.m
1 function varargout = cvpyrup(varargin)\r
2 %CVPYRUP             Perform factor-2 upsampling of the image\r
3 %   IMAGE dst = cvPyrUp(IMAGE src);\r
4 %   src - source image\r
5 %\r
6 %   dst - destination image\r
7 \r
8 if nargin ~= 1\r
9     error 'Invalid number of parameters';\r
10     return;\r
11 end\r
12 \r
13 varargin{2} = 7; % IPL_GAUSSIAN_5x5\r
14 \r
15 out = nargout;\r
16 if out < 1\r
17     out = 1;\r
18 end\r
19 \r
20 if out > 1\r
21     error 'Too many output parameters'\r
22     return;\r
23 end;\r
24 \r
25 [varargout{1:out}] = feval('cvwrap', 'PyrUp', varargin{:});\r
26 \r
27 return;