Get intermediate optical flow levels with calcOpticalFlowPyrLk

asked 2015-11-20 05:27:06 -0600

Marcofe gravatar image

Hi all, I'm using the function calcOpticalFlowPyrLK() to compute the optical flow between a pair of two subsequent images, by passing a corresponding pair of pyramids built with buildOpticalFlowPyramid(). I see that the output of the function is the final optical flow field corresponding to the lowest layer (=highest resolution) of the pyramid, as integration of the optical flows computed in the previous layers. My question is the following: is there a way to get also these intermediate optical flows fields, one for each level of the pyramid? Thanks

edit retag flag offensive close merge delete