How to find direction (directional vectors) of a moving object in a video?
3 views (last 30 days)
Show older comments
Harsha Vardhan Rao Avunoori
on 14 Feb 2011
Answered: parvathy H
on 14 Jul 2017
Will the motion estimation algorithm work? Is there any other way to determine the directional vectors?
0 Comments
Accepted Answer
Sean de Wolski
on 14 Feb 2011
What motion estimation algorithm are you referring to? There are many.
Personally I would recommend block by block phase correlation.
5 Comments
Sean de Wolski
on 29 Mar 2011
Yes! Break your reference and target images into blocks. Perform the phase correlation on each block (probably padded with zeros to a bigger block in the target image), recover the u,v, components of motion, store them in their own matrices.
More Answers (2)
Brett Shoelson
on 14 Feb 2011
The Video and Image Processing Blockset provides optical flow functionality...written just for this purpose!
Cheers,
Brett
2 Comments
Brett Shoelson
on 5 Mar 2011
Our student versions are fully functional. You can take full advantage of whichever of our products to which you have access.
parvathy H
on 14 Jul 2017
to find the direction of my moving object,I have divided the video frame into blocks. how do i know in which block is my object present now.
0 Comments
See Also
Categories
Find more on Computer Vision with Simulink 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!