Strange error calculation in calcOpticalFlowPyrLK (Bug #1651)


Added by Vladislav Vinogradov about 1 year ago. Updated about 1 year ago.


Status:Done Start date:2012-03-05
Priority:Normal Due date:
Assignee:Vadim Pisarevsky % Done:

0%

Category:imgproc, video
Target version:2.4.0
Affected version: Pull request:

Description

The documentation says that output error in calcOpticalFlowPyrLK is calculated as difference between patches around the original and moved points.
In iteration cycle point on the second image is used as center of patch when we compute difference between patches.
But in the end when we compute error, point on the second image is used as left top corner of patch.
Is this right? Or it should be the center of patch?


lkpyramid.cpp.patch (593 Bytes) Vladislav Vinogradov, 2012-03-05 11:58 am


Associated revisions

Revision 855feedd
Added by Vladislav Vinogradov about 1 year ago

fixed error calculation in gpu::PyrLKOpticalFlow (Bug #1651)

History

Updated by Anatoly Baksheev about 1 year ago

Vadim, i guess this question is addressed to you.

  • Assignee set to Vadim Pisarevsky

Updated by Vadim Pisarevsky about 1 year ago

thanks! applied in trunk

  • Status changed from Open to Done

Updated by Andrey Kamaev about 1 year ago

  • Target version set to 2.4.0

Also available in: Atom PDF