From: Nicole on
Hi everybody,

I'm trying to include a precompiled (C routines precompiled to mex) optical flow/stereo algorithm in MATLAB, but I seem to do something wrong and hope one of you can help me:

??? Undefined function or method 'getMatchRangeHelper' for input arguments of type 'double'. (I already tried to convert the input images ...)

The thing is, the error appears to happen from a protected function.
stereoflowMatlab7\getMatchRange.p>getMatchRange at 14

However, it appears to me that getMatchRangeHelper can't be found, which is actually defined in getMatchRangeHelper.dll (one of the precompiled files).
The .dll is included to my matlab-path. Do I have to load it separately? Or what am I doing wrong?


The code I'm trying to use can be found here:

Matlab 7 code for dense stereo matching and dense optical flow (Win32)
-> http://www.cs.umd.edu/~ogale/download/stereoflowMatlab7.zip

Usage:
i1 = imread('car1.png');
i2 = imread('car0.png');
shiftrangeX = [0:18];
shiftrangeY = [-3:0];
[x1,y1,o1,x2,y2,o2] = flow (i1, i2, shiftrangeX, shiftrangeY);


I hope one of you could give me a clue how to call this functions properly in Matlab.
THANKS!
Nicole