Ask Your Question

Dense optical flow output

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

toto gravatar image


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,


edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

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

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


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

Seen: 318 times

Last updated: Sep 30 '14