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

2 次查看(过去 30 天)
For this simple example of Farneback's method, how can i measure the vector's characteristics?

采纳的回答

Swarooph
Swarooph 2016-8-31
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 个评论
Manasi Pathade
Manasi Pathade 2019-4-11
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

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Computer Vision Toolbox 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by