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

8 vues (au cours des 30 derniers jours)
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.

Réponses (1)

MathReallyWorks
MathReallyWorks le 25 Mai 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 commentaire
Ashwin Srinivas
Ashwin Srinivas le 26 Mai 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.

Connectez-vous pour commenter.

Catégories

En savoir plus sur Computer Vision with Simulink dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by