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