How can i measure a vector's size, angle and direction that i found using Farneback's method?

1 view (last 30 days)
For this simple example of Farneback's method, how can i measure the vector's characteristics?

Accepted Answer

Swarooph
Swarooph on 31 Aug 2016
The flow variable output from estimateFlow function is of type opticalFlow and has all the information. You can access them using the dot (.) operator.
For e.g.
vx = flow.Vx;
vy = flow.Vy;
or = flow.Orientation;
mag = flow.Magnitude;
  1 Comment
Manasi Pathade
Manasi Pathade on 11 Apr 2019
Which equation is used to compute flow.Orientation?
Is it atan2 or atan2d?
I wanted to know, what are the reference directions (0,90,180,270) in OpticalFlow?
Please help

Sign in to comment.

More Answers (0)

Categories

Find more on Computer Vision Toolbox in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!