How to find direction (directional vectors) of a moving object in a video?

 採用された回答

Sean de Wolski
Sean de Wolski 2011 年 2 月 14 日

1 投票

What motion estimation algorithm are you referring to? There are many.
Personally I would recommend block by block phase correlation.

5 件のコメント

Harsha Vardhan Rao  Avunoori
Harsha Vardhan Rao Avunoori 2011 年 2 月 14 日
I am not sure about the type of motion estimation algorithm but I want to know whether this kind of approach will give me the directional vectors of a moving object ?
Sean de Wolski
Sean de Wolski 2011 年 2 月 14 日
Yes.
Harsha Vardhan Rao  Avunoori
Harsha Vardhan Rao Avunoori 2011 年 3 月 29 日
Sean what would be the algorithm for block by block phase correlation ?? Is it something like dividing the entire frame into blocks and then applying phase correlation and detecting peaks in each block ?What is the way to get motion field ?
Sean de Wolski
Sean de Wolski 2011 年 3 月 29 日
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.
Harsha Vardhan Rao  Avunoori
Harsha Vardhan Rao Avunoori 2011 年 3 月 30 日
Hey Sean...How can I plot motion field for Phase Correlation method ??? I want to plot motion field for both Phase Correlation and block by block phase correlation....

サインインしてコメントする。

その他の回答 (2 件)

Brett Shoelson
Brett Shoelson 2011 年 2 月 14 日

0 投票

The Video and Image Processing Blockset provides optical flow functionality...written just for this purpose!
Cheers,
Brett

2 件のコメント

Harsha Vardhan Rao  Avunoori
Harsha Vardhan Rao Avunoori 2011 年 2 月 16 日
I am a student and Can I use the trial version of the Simulink Video and Image Processing Blockset ???Will it have all the features ???
Brett Shoelson
Brett Shoelson 2011 年 3 月 5 日
Our student versions are fully functional. You can take full advantage of whichever of our products to which you have access.

サインインしてコメントする。

parvathy H
parvathy H 2017 年 7 月 14 日

0 投票

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.

Community Treasure Hunt

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

Start Hunting!

Translated by