Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Get intermediate optical flow levels with calcOpticalFlowPyrLk

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