+++ /dev/null
-function varargout = cvcanny(varargin)\r
-%CVCANNY Canny edge detection\r
-% IMAGE dst = cvCanny(IMAGE src, lowThreshold, highThreshold, apertureSize);\r
-% src - source image\r
-% lowThreshold,\r
-% highThreshold - tresholds, applied in hysteresis thresholding\r
-% apertureSize - default 3. Size of Sobel operator aperture\r
-%\r
-% dst - destination image\r
-%\r
-\r
-if nargin < 3 | nargin > 4\r
- error 'Invalid number of parameters';\r
- return;\r
-end\r
-\r
-if nargin < 4\r
- varargin{4} = 3; % default apertureSize\r
-end\r
-\r
-out = nargout;\r
-if out < 1\r
- out = 1;\r
-end\r
-\r
-if out > 1\r
- error 'Too many output parameters'\r
- return;\r
-end;\r
-\r
-[varargout{1:out}] = feval('cvwrap', 'Canny', varargin{:});\r
-\r
-return;
\ No newline at end of file