Ask Your Question
0

Dense optical flow output

asked 2014-09-28 05:37:15 -0600

toto gravatar image

Hi,

I'm using the optical flow algorithm implemented in the opencv motion analysis library (in particular that one that uses the Farneback approach). As known, the optical flow equation is the following:

fx * u + fy * v = - ft

where fx = df/dx, fy = df/dy, ft = df/dt and (u,y)^T = optical flow.

My question is about the "flow" values returned by calcOpticalFlowFarneback function. Is it the proper optical flow map (intended as velocity of the features expressed in pixels per seconds) or is it a displacement map of the image features?

Thanks in advance,

Antonio.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2014-09-30 04:13:47 -0600

juanmanpr gravatar image

Each optical flow vector is a displacement vector, to compute speed you would have to know the FPS of the video.

edit flag offensive delete link more

Question Tools

Stats

Asked: 2014-09-28 05:37:15 -0600

Seen: 496 times

Last updated: Sep 30 '14