How exactly farnebacks opticalflow method works?

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!

 Réponse acceptée

Walter Roberson
Walter Roberson le 25 Jan 2017

0 votes

"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.

2 commentaires

abbxucy11
abbxucy11 le 25 Jan 2017
thank you very much! so my problem is that i want to find the maximun orientation for magnitudes= 1,2,3,4,5 over the entire video and not only on the last two frames.. any ideas how can i do it?
Sorry, I have no ideas on how to do that.

Connectez-vous pour commenter.

Plus de réponses (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by