Update to 2.0.0 tree from current Fremantle build
[opencv] / interfaces / matlab / toolbox / opencv / cvsobel.m
diff --git a/interfaces/matlab/toolbox/opencv/cvsobel.m b/interfaces/matlab/toolbox/opencv/cvsobel.m
deleted file mode 100644 (file)
index f3d9d99..0000000
+++ /dev/null
@@ -1,37 +0,0 @@
-function varargout = cvsobel(varargin)\r
-%CVSOBEL             Calculate an image derivative\r
-%   IMAGE dst = cvSobel(IMAGE src, xorder, yorder, apertureSize);\r
-%   src          - source image\r
-%   xorder       - order of x derivative\r
-%   yorder       - order of y derivative\r
-%   apertureSize - default 3. size of applied aperture or 'schar'\r
-%                  for Schar kernel\r
-%\r
-%   dst - destination image\r
-\r
-if nargin < 3 | nargin > 4\r
-    error 'Invalid number of parameters';\r
-    return;\r
-end\r
-\r
-if nargin > 3\r
-    if ischar(varargin{4}) & strcmp(varargin{4}, 'schar')\r
-        varargin{4} = -1; % schar\r
-    end\r
-else\r
-    varargin{4} = 3; % default aperture size\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', 'Sobel', varargin{:});\r
-\r
-return;
\ No newline at end of file