MATLAB: How exactly farnebacks opticalflow method works

farnebackmotionopticflowvectors

Using matlab for farneback's method i have the flow parameter result that contains Magnitude,Orientation,Vx and Vy. Is these the results for the entire video including all frames? or is it the vectors between the two last frames? im really confused about this i hope i explained it well!

Best Answer

"flow = estimateFlow(opticFlow,I) estimates the optical flow of the input image, I, with respect to the previous image"
So only the previous image is considered, not the entire video.
Related Question