Ask Your Question
0

calcOpticalFlowPyrLK alternatives

asked 2013-10-22 07:15:54 -0600

tenta4 gravatar image

updated 2013-10-22 07:24:18 -0600

berak gravatar image

Hi. I use calcOpticalFlowPyrLK function for pattern tracking for my Augmented Reality application.

It's very fast and stable, but i found, that Pyramid Optical Flow is not rotation invariant.

Is there alternative methods with the same speed? I tried calcOpticalFlowFarneback, but it is not fast enough

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
1

answered 2014-08-05 02:25:02 -0600

Ziyou gravatar image
  1. Large scale and rotation is difficult for OF algorithms like the LK or Farneback. However, you may use previous estimation to warp current images toward the template image or the other way around.
  2. I tested the speed of the LK and Farneback OF method in OpenCV. For calculating a dense flow field, the Farneback approach is in fact much faster than the LK algorithm. The reason that the LK is faster is because a sparse flow is usually computed.
edit flag offensive delete link more

Question Tools

Stats

Asked: 2013-10-22 07:15:54 -0600

Seen: 1,006 times

Last updated: Aug 05 '14