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 view (last 30 days)
Show older comments
Benjamin Dempsey
on 20 Feb 2016
Answered: Image Analyst
on 21 Feb 2016
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 Comments
Accepted Answer
Image Analyst
on 21 Feb 2016
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 Comments
More Answers (0)
See Also
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!