- Find and count all the cells by thresholding with a high threshold.
- Then set a different, lower threshold to find the dark regions.
- If some cells have more than one dark region, merge all dark regions within a cell.
- Then call bwlabel to count the blobs, both normal and infected.
how to get infected regions count
1 view (last 30 days)
Show older comments
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?
0 Comments
Answers (1)
Image Analyst
on 16 Aug 2017
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:
3 Comments
Image Analyst
on 17 Aug 2017
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.
See Also
Categories
Find more on Biomedical Imaging in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!