how to get infected regions count

4 次查看(过去 30 天)
Ravi Dange
Ravi Dange 2017-8-16
评论: Ravi Dange 2017-8-18
I have grayscale image of red blood cells in which some of the cells are infected by malaria that means some portion of it is darkened, how should i get the count of infected and non-infected cells?

回答(1 个)

Image Analyst
Image Analyst 2017-8-16
Usually when people ask for image processing advice, they insert an image into their post with the frame icon.
So all I can guess at is this:
  1. Find and count all the cells by thresholding with a high threshold.
  2. Then set a different, lower threshold to find the dark regions.
  3. If some cells have more than one dark region, merge all dark regions within a cell.
  4. Then call bwlabel to count the blobs, both normal and infected.
  3 个评论
Image Analyst
Image Analyst 2017-8-17
Do color segmentation to find the purple cells. Fill them in. There are some color segmentation demos in my File Exchange. http://www.mathworks.com/matlabcentral/fileexchange/?term=authorid%3A31862&sort=downloads_desc
Then split apart touching and overlapping cells following Steve's blog: http://blogs.mathworks.com/steve/2013/11/19/watershed-transform-question-from-tech-support/
Now do color segmentation for the dark purple things. Mask it by the light purple cell mask.
Next use imreconstruct to use the dark purple mask to pull out only those light purple blobs that have dark purple in them.
Call bwlabel() on that and the cell mask to get counts of both the number of light purple cells and light purple cells that have dark purple stuff in them.
Easy. Post your code if you get stuck.
Ravi Dange
Ravi Dange 2017-8-18
thanks for the answer... I'll try this way...

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Biomedical Imaging 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by