Azzera filtri
Azzera filtri

How do I detect, count and measure the diameter of the bubbles in this image as accurately as possible?

7 visualizzazioni (ultimi 30 giorni)
I have used the hough transform via imfindcircles , even after pre-processing the image using imtophat etc but I still can't get an accurate result.

Risposte (1)

MathReallyWorks
MathReallyWorks il 25 Mag 2017
Hello Ashwin,
Checkout the similar question on: Detecting bubbles from images
After detecting these bubbles use blob measurement in regionprops() and find out the features(i.e area and perimeter) of each blob. Use Diameter=4*area/perimeter for each blob.
Set threshold properly so as to get maximum accuracy.
  1 Commento
Ashwin Srinivas
Ashwin Srinivas il 26 Mag 2017
Hello! Thanks for the answer, I tried it but active contouring doesn't seem to work, the main problem with that image i think is that when I do try to threshold or segment in any way, only a part or one side of the circular bubbles are being retained. It comes down to a semi-circle or lesser, mainly because the light is shining from the right and does not reach the part of the bubble behind.Some examples of rather unsuccessful attempts to capture the bubbles in the entirety of their circular shape have been attached.

Accedi per commentare.

Community Treasure Hunt

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

Start Hunting!

Translated by