What do the output vectors in optical flow technique of live motion detection indicate?
1 view (last 30 days)
Show older comments
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?
0 Comments
Accepted Answer
Anand
on 12 Aug 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 Comments
Anand
on 14 Aug 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.
More Answers (0)
See Also
Categories
Find more on Optics in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!