How to calculate the velocity of a moving object in a video or image sequence?
조회 수: 14 (최근 30일)
이전 댓글 표시
Hello I'm doing a master thesis on Leidefrost drops and I have several videos where a drop moves across a surface horizontally. I need to calculate its velocity and aceleration and I have no idea how. The only thing I have is code to track it using this: http://www.mathworks.com/help/vision/examples/motion-based-multiple-object-tracking.html I've attached a gif of the drop moving so you have an idea of what I'm asking.
댓글 수: 0
답변 (1개)
Walter Roberson
2017년 5월 20일
Velocity = distance centroid moved divided by time interval.
You might find some useful techniques in https://www.mathworks.com/matlabcentral/answers/340746-how-to-count-number-of-car-passing-through-virtual-line-when-centroid-is-already-calculated#answer_267420 . For acceleration you would have to record the velocity as well as the position; either that or record the position for two previous generations.
댓글 수: 0
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!