1 function varargout = cvcanny(varargin)
\r
2 %CVCANNY Canny edge detection
\r
3 % IMAGE dst = cvCanny(IMAGE src, lowThreshold, highThreshold, apertureSize);
\r
6 % highThreshold - tresholds, applied in hysteresis thresholding
\r
7 % apertureSize - default 3. Size of Sobel operator aperture
\r
9 % dst - destination image
\r
12 if nargin < 3 | nargin > 4
\r
13 error 'Invalid number of parameters';
\r
18 varargin{4} = 3; % default apertureSize
\r
27 error 'Too many output parameters'
\r
31 [varargout{1:out}] = feval('cvwrap', 'Canny', varargin{:});
\r