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