The output optical flow vectors are velocity vectors or displacement vectors?

4 次查看(过去 30 天)
I am working on a project with optical flow (HS and LK), but I need to understand if the output flow indicate velocity vectors or displacement. Does anyone know?
Thank you very much

采纳的回答

Binaya
Binaya 2023-11-1
Hi Nicole,
Based on the provided description, it seems that you would like to understand what the output object of the optical flow signifies.
Please go through the following explanation to your query:
  1. Optical flow methods such as Horn-Schunck(HS) and Lucas-Kanade(LK) estimate the motion of every pixel between two consecutive frames in a video.
  2. The vectors generated in the optical flow field are velocity vectors that store direction and speed of a moving object.
  3. As the two images used for calculating the optical flow field are separated in a given time frame, the optical flow output is interpreted as velocity vectors.
Please refer to the following documentation to learn more about the opticalFlow:
  1. opticalFlow: https://www.mathworks.com/help/vision/ref/opticalflowobject.html
I hope this helps.
Regards 
Binaya 
  1 个评论
NICOLE LONGHI
NICOLE LONGHI 2023-11-4
Thank you very much! So the vectors are velocity vectors, and now the question is, how does the optical flow draw the vectors on a frame? Why those directions? Are they velocity directions? is not very clear to me

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Optics 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by