Strange error calculation in calcOpticalFlowPyrLK (Bug #1651)
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?
Associated revisions
fixed error calculation in gpu::PyrLKOpticalFlow (Bug #1651)
Merge pull request #1651 from ilya-lavrenov:misprint
History
Updated by Anatoly Baksheev about 13 years ago
Vadim, i guess this question is addressed to you.
- Assignee set to Vadim Pisarevsky
Updated by Vadim Pisarevsky about 13 years ago
thanks! applied in trunk
- Status changed from Open to Done
Updated by Andrey Kamaev almost 13 years ago
- Target version set to 2.4.0