Azzera filtri
Azzera filtri

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

1 visualizzazione (ultimi 30 giorni)
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?

Risposta accettata

Anand
Anand il 12 Ago 2013
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 Commenti
Tanmay
Tanmay il 12 Ago 2013
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 il 14 Ago 2013
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.

Accedi per commentare.

Più risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by