필터 지우기
필터 지우기

What do the output vectors in optical flow technique of live motion detection indicate?

조회 수: 1 (최근 30일)
There are two vectors one is a real vector and the other is imaginary. In this page http://www.mathworks.in/help/imaq/examples/live-motion-detection-using-optical-flow.html what do the vectors V and H denote and how can I use them. Is is related to the vertical and horizontal motion of the object pixels?

채택된 답변

Anand
Anand 2013년 8월 12일
V and H are the vertical and horizontal components of optic flow. They represent the horizontal and vertical components of motion predicted by the optic flow algorithm at that pixel.
How you use them depends on what you want out of them.
  댓글 수: 2
Tanmay
Tanmay 2013년 8월 12일
Thanks Anand, I wanted to know whether any object is approaching the camera or going away from it. Any idea of how can it be done ??
Anand
Anand 2013년 8월 14일
Here's a simplistic approach: Once you've delineated the 'object' as a connected component, use regionprops to see if the area of the object increases significantly. That means it moved closer.
Obviously there are a lot of assumptions here. For example, the object could have just gotten bigger and not moved closer at all.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Tracking and Motion Estimation에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by