Bubble detection and diameter estimation

20 visualizzazioni (ultimi 30 giorni)
Hey,
I wanted to detect and measure the diameter of the bubbles (elliptical and circular) in this image. I tried various techniques but couldn't do so.
Please help me out.

Risposta accettata

darova
darova il 31 Gen 2021
  • binarize image
  • use regionprops with EquivDiameter option
  4 Commenti
Avdhesh Vermani
Avdhesh Vermani il 31 Gen 2021
Modificato: Avdhesh Vermani il 5 Feb 2021
Hey, could you suggest some way as how to binarize the image so that the bubbles and the background are segmented separately like I just want the bubbles and nothing else in the background. Or if you could suggest some way to segment bubbles from the background that would also be very helpful.
darova
darova il 5 Feb 2021
Honestly i can't. You have a hard image. Don't know how to separate bubbles. THe only ideas i had - i said before

Accedi per commentare.

Più risposte (1)

Image Analyst
Image Analyst il 31 Gen 2021
Sounds like you got it figured out since you accepted an answer but I'd first have improved your image capture by placing a black velvet shroud behind your vessel to remove background clutter. Then I'd take an image with no bubbles and subtract the subtract that from the image with bubbles using imabsdiff(). Then threshold and call regionprops(). Realize that the bubbles may overlap and there is no way you can split them apart unless you do something like make a real time CT image. But the area fraction or size distribution of what you do have may be enough for you do differentiate different bubble makers or different bubble size distributions.
But anyway, glad you got it figured out.
  8 Commenti
Avdhesh Vermani
Avdhesh Vermani il 9 Feb 2021
Modificato: Avdhesh Vermani il 9 Feb 2021
I'll try this but can you tell me how to manually trace the bubbles? Like I need to draw ROI using image segmenter app right, or are there other methods as well?

Accedi per commentare.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by