I have some code that detects objects in a video (the video is of a lava lamp). I would like to measure the velocity of the bubbles using the centroid.
1 次查看(过去 30 天)
显示 更早的评论
I'm assuming i will need to work out how far they move per frame but I'm struggling to work out how to do this as i am a beginner. Is it also possible to have a more accurate velocity by using say 10 frames? Any help is appreciated. Thanks
0 个评论
采纳的回答
Image Analyst
2016-2-21
Yes, you can measure the velocity in units of pixels per second. See my image segmentation demo: http://www.mathworks.com/matlabcentral/fileexchange/?term=authorid%3A31862 as well as my attached demo for reading frames from a video.
0 个评论
更多回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!