Tracking movement of bubbles in water to obtain velocity
Mostrar comentarios más antiguos
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
Respuesta aceptada
Más respuestas (1)
Sean de Wolski
el 3 de Nov. de 2014
0 votos
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 comentario
Image Analyst
el 4 de Nov. de 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!
Categorías
Más información sobre Introduction to Installation and Licensing en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!