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 Ansichten (letzte 30 Tage)
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.

Antworten (3)

Image Analyst
Image Analyst am 3 Mär. 2017
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 am 24 Nov. 2017
Hi! I wanted to ask if you have successfully counted the RBC and removed the WBC completely?
  1 Kommentar
Image Analyst
Image Analyst am 24 Nov. 2017
Hard to tell since he said "Thank you" but never accepted my answer.
But I'd bet it's solved since he never wrote me back with any follow up questions.

Melden Sie sich an, um zu kommentieren.


murk hassan memon
murk hassan memon am 5 Apr. 2018

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

Kategorien

Mehr zu Biological and Health Sciences finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by