필터 지우기
필터 지우기

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