i want to count all those object that contain black dots?

1 回表示 (過去 30 日間)
sana saleeme
sana saleeme 2016 年 5 月 6 日
コメント済み: Image Analyst 2016 年 5 月 8 日
i want to count all those object that contain black dots?is there any method to remove all those objects that empty? here is my image. image Analyst
  7 件のコメント
sana saleeme
sana saleeme 2016 年 5 月 7 日
please help me guys. i need all of your's help.
sana saleeme
sana saleeme 2016 年 5 月 7 日
is there any method to remove all the objects that does not contain parasites?please reply me

サインインしてコメントする。

採用された回答

Image Analyst
Image Analyst 2016 年 5 月 7 日
First you need to do color segmentation to find all the light purple things. That's pretty easy - see my File Exchange or use the Color Thresholder App from the Apps tab on the MATLAB tool ribbon.
Then you need to split them apart because some round cells are overlapping. For that, see this: http://blogs.mathworks.com/steve/2013/11/19/watershed-transform-question-from-tech-support/.
Then you need to label with bwlabel() and call regionprops with a binary image that is split apart but still has the black dots in it. Ask for the Euler number. Count the number of results that have a Euler number less than 1.
  3 件のコメント
sana saleeme
sana saleeme 2016 年 5 月 8 日
how i can separate the black dots in regionprops ?
Image Analyst
Image Analyst 2016 年 5 月 8 日
Once you segment the color, the black dots will be holes in the segmented image.

サインインしてコメントする。

その他の回答 (0 件)

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by