how do i label objects in an image which is quite unclear? When i make it bw, objects overlapping get labelled as a single object. I want to be able to call each object seperately.

1 次查看(过去 30 天)
It's a snapshot of a microchannel part of an experiment that I am working on. I want to find the number of bubbles and surface area of each bubble. Please Help

采纳的回答

Ahmet Cecen
Ahmet Cecen 2016-6-4
Look up circular Hough transform.
https://en.wikipedia.org/wiki/Circle_Hough_Transform

更多回答(1 个)

Image Analyst
Image Analyst 2016-6-4
编辑:Image Analyst 2016-6-4
Do you mean like this:
If so, then see the attached m-file, which will produce the image above.
You can also get the equivalent circular diameter as well as the area if you ask regionprops for 'EquivDiameter'.
If you want the filled area of the black rings, then that will require a slight modification. Let me know if you need that.
  4 个评论
KG Srinidhi
KG Srinidhi 2016-6-5
imfindcircles was my first approach. It gave me correct values for number of bubbles. But the radii were of the smaller circle excluding the dark ring.Anyways thanks for the help!
Image Analyst
Image Analyst 2016-6-5
Then you'll have to do it like I suggested by changing the threshold to <50, then using the steps detailed in Steve's blog to split apart bubbles that are touching.

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Image Segmentation and Analysis 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by