lkpyramid.cpp.patch

Vladislav Vinogradov, 2012-03-05 11:58 am

Download (593 Bytes)

 
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);