Tracking movement of bubbles in water to obtain velocity
Ältere Kommentare anzeigen
Hello,
I'm working on a project that involves tracking bubbles moving through a water tunnel and using the information to determine their velocities. I'm very new to Matlab and I'm looking for a little guidance on where to start.
I have the basic toolboxes that come with the Student Suite, and Computer Vision; just going through the examples, I found numerous ways to track the bubbles, but I don't know how to convert the tracking to velocity. Any help you can offer is greatly appreciated!
Thanks in advance,
Rob
Akzeptierte Antwort
Weitere Antworten (1)
Sean de Wolski
am 3 Nov. 2014
0 Stimmen
Easiest way would be to find their centroids ( regionprops or vision.BlobAnalysis), calculate the distance between them ( hypot) and divide that by the time step.
This will give you pixels/second, if you know the pixel size, multiply by this.
1 Kommentar
Image Analyst
am 4 Nov. 2014
Robert's "Answer" moved here since it's a reply to Sean:
Sean,
Thanks, I followed your recommendation and I managed to find the centroids but now I'm just having difficulty getting the information about the centroids' location; I thought I would want to use "getpixelposition" but that doesn't seem to be working (probably for an obvious reason I don't know yet lol).
Do you know of a better function that I should use? And thank you for getting me started with the centroids!
Kategorien
Mehr zu Introduction to Installation and Licensing finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!