Unable to track single vehicle to compute distance traversed by it

1 回表示 (過去 30 日間)
ramdas patil
ramdas patil 2014 年 6 月 4 日
コメント済み: ramdas patil 2014 年 6 月 9 日
I have successfully detected the vehicles with my algorithm,now I want to calculate the speed of vehicle(s)
as u see in the figure , I am having more than one vehicles in each frame with new vehicles adding in the new frames.So it's becoming very difficult to track single vehicle (say leftside car in the image which is coming towards us) and calculate its centroid at different frames.
So how should i avoid other vehicles to calculate pixel distance traversed by the single vehicle? Thank u in advance

回答 (1 件)

Image Analyst
Image Analyst 2014 年 6 月 7 日
YOu need to know the distances and then measure how many pixels are between them. For example, what is the distance between the poles in real world units, and in pixels?
  3 件のコメント
Image Analyst
Image Analyst 2014 年 6 月 7 日
If they're merged together you can try to separate them with watershed() or imopen().
ramdas patil
ramdas patil 2014 年 6 月 9 日
@Image Analyst sir can u send me algorithm or matlab code to separate them with watershed() or imopen() for above images

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

Community Treasure Hunt

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

Start Hunting!

Translated by