cvCalcOpticalFlowPyrLK in OpenCV 2.3 (Bug #1629)
Description
In file modules/video/src/lkpyramid.cpp, line 1072, inside function cvCalcOpticalFlowPyrLK(), its C++ version is called with a wrong input parameter.
The declaration of cv::calcOpticalFLowPyrLK() is
1void cv::calcOpticalFlowPyrLK( InputArray _prevImg, InputArray _nextImg,
2 InputArray _prevPts, InputOutputArray _nextPts,
3 OutputArray _status, OutputArray _err,
4 Size winSize, int maxLevel,
5 TermCriteria criteria,
6 double derivLambda,
7 int flags, double minEigThreshold )
while inside cvCalcOpticalFlowPyrLK(), it is called:
1cv::calcOpticalFlowPyrLK( A, B, ptA, ptB, status ? cv::_OutputArray(st) : cv::_OutputArray(),
2 error ? cv::_OutputArray(err) : cv::_OutputArray(),
3 winSize, level, criteria, flags);
The 10th parameter is replaced by "int flags", which is actually "double derivLamba".
History
Updated by Aniket Handa almost 13 years ago
Please look at patch at http://code.opencv.org/issues/1696
Updated by Marina Kolpakova almost 13 years ago
- Description changed from In file modules/video/src/lkpyramid.cpp, line 1072, inside function cvCalcOpt... to In file modules/video/src/lkpyramid.cpp, line 1072, inside function cvCalcOpt... More
Updated by Marina Kolpakova almost 13 years ago
Thanks for reporting!
- Status changed from Open to Done
- Target version set to 2.4.0
- Assignee set to Marina Kolpakova