I are working on a project 'WBC and RBC detection and counting'. I need to count the RBCs alone from the blood smear image after removing the WBCs. I need a method to remove those WBCs from the image.

16 次查看(过去 30 天)
My project work deals with counting of RBCs and WBCs. I got succeeded in counting the WBC by extracting the WBC nucleus. I tried counting RBCs by using Hough transform-circlular shape detection. But the problem is that along with RBCs ,WBCs are also getting detected. So I tried removing the WBCs from the image and then to count the RBCs alone. I did remove the WBC nucleus from the image. But the same problem exists again. The WBCs are again detected because I am not able to remove the cytoplasm around the WBC nucleus.Hence the cytoplasm also get detected as circles. So I need a help to remove the WBC cytoplasm along with the nucleus so as to detect the RBCs alone. Here is the program that I have done:
clc;
clear all;
close all;
rgb = imread('smear7.jpg');
figure;
imshow(rgb);
gray_image = rgb2gray(rgb);
figure;
imshow(gray_image);
[size1,size2]=size(gray_image);
for i=1:size1
for j=1:size2
if gray_image(i,j)<100
gray_image(i,j)=255;
end
end
end
%%Nucleus removal
im1=im2bw(gray_image,graythresh(gray_image));
figure;
imshow(im1);
figure;
imshow(im1);
[centers, radii, metric] = imfindcircles(rgb,[5 10],'ObjectPolarity','dark','Sensitivity',0.95,'Method','twostage');
h = viscircles(centers,radii);
[m,n]=size(centers);
disp(m); %RBC COUNT
The image attached here is one among the blood smear images that I am using.

回答(3 个)

Image Analyst
Image Analyst 2017-3-3
I'd use color segmentation instead of imfindcircles(). See my tutorials: http://www.mathworks.com/matlabcentral/fileexchange/?term=authorid%3A31862

Marikit Avendaño
Marikit Avendaño 2017-11-24
Hi! I wanted to ask if you have successfully counted the RBC and removed the WBC completely?

murk hassan memon

Hi SERIN JOSE . i have tried your code but here is my question to u? In general as we all know and i have also studied that red blood cells become shorter after bitten by an infected mosquito (malaria infection) and on the comparison basis Normal/ uninfected red blood cells are higher than Abnormal/infected red blood cells. so when i have implemented your code on both Normal and Abnormal blood cells the results not quite seems a valid like in some Abnormal blood images the majority red blood cells are very high than Normal red blood cells. so this is actually my confusion i want to clear my concept regarding this whether infected red blood cells become lower or not? your suggestion/answer will be appreciated thanks

类别

Help CenterFile Exchange 中查找有关 Biological and Health Sciences 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by