lkpyramid.cpp.patch
opencv/modules/video/src/lkpyramid.cpp (working copy) | ||
---|---|---|
436 | 436 |
|
437 | 437 |
if( status[ptidx] && err && level == 0 && (flags & CV_LKFLOW_GET_MIN_EIGENVALS) == 0 ) |
438 | 438 |
{ |
439 |
Point2f nextPt = nextPts[ptidx]; |
|
439 |
Point2f nextPt = nextPts[ptidx] - halfWin;
|
|
440 | 440 |
Point inextPt; |
441 | 441 |
|
442 | 442 |
inextPt.x = cvFloor(nextPt.x); |