X-Git-Url: https://vcs.maemo.org/git/?a=blobdiff_plain;f=interfaces%2Fmatlab%2Ftoolbox%2Fopencv%2Fcvcalcopticalflowpyrlk.m;fp=interfaces%2Fmatlab%2Ftoolbox%2Fopencv%2Fcvcalcopticalflowpyrlk.m;h=0000000000000000000000000000000000000000;hb=e4c14cdbdf2fe805e79cd96ded236f57e7b89060;hp=2bf7039865a3213c90bcbdb73a3bbeba5a6ae25d;hpb=454138ff8a20f6edb9b65a910101403d8b520643;p=opencv diff --git a/interfaces/matlab/toolbox/opencv/cvcalcopticalflowpyrlk.m b/interfaces/matlab/toolbox/opencv/cvcalcopticalflowpyrlk.m deleted file mode 100644 index 2bf7039..0000000 --- a/interfaces/matlab/toolbox/opencv/cvcalcopticalflowpyrlk.m +++ /dev/null @@ -1,42 +0,0 @@ -function varargout = cvcalcopticalflowpyrlk(varargin) -%CVCALCOPTICALFLOWPYRLK Calculate optical flow between two images for certain set of points. -% [featuresB, error] = cvCalcOpticalFlowPyrLK(IMAGE imgA, IMAGE imgB, -% featuresA, guessFeaturesB, -% winSize, level, [maxIter epsilon]); -% -% imgA - first frame -% imgB - second frame -% featuresA - [n][2] array of feature points on the first frame -% guessFeaturesB - [n][2] initial guessess about newfeatures' locations. -% May be empty. -% winSize - [width height] size of search window -% level - maximal pyramid level number -% [maxIter epsilon] - specify when to stop search process. -% One of them may be 0. -% -% featuresB - calculated feature points positions. -% Coordinates of points for which flow was not found are [NaN NaN] -% error - array of differences between -% patches around the original and moved points - -if nargin ~= 7 - error 'Invalid number of parameters'; - return; -end - -out = nargout; -if out < 1 - out = 1; -end - -if out > 2 - error 'Too many output parameters' - return; -end; -for idx = out+1:2 - varargout{idx} = []; -end - -[varargout{1:2}] = feval('cvwrap', 'CalcOpticalFlowPyrLK', varargin{:}); - -return; \ No newline at end of file