Extracting white blood cell from cell samples

Hi,
I need to extract only the purple cells, which are also the largest cells as opposed to others. Plz let me know how to extract only those cells , and also how i can find the area, mean and intensity of these cells alone. Kindly help..
Thank you,
Mona

1 件のコメント

Rumana Afrose
Rumana Afrose 2019 年 7 月 17 日
Hello,
Do u have classified the White Blood Cells?

サインインしてコメントする。

回答 (1 件)

Sarah Wait Zaranek
Sarah Wait Zaranek 2011 年 3 月 16 日

0 投票

This should be enough to get you started. I filtered the purple cells by looking at the blue color plane. I then removed any noise - and used region properties to get the area of the cells. You can use region properties to get a list of pixels and use that to calculate mean values from the original image.
%%Reading in the image
myImage = imread('L1+blast.jpg');
figure
imshow(myImage)
%%Extracting the blue plane
bPlane = myImage(:,:,3) - 0.5*(myImage(:,:,1)) - 0.5*(myImage(:,:,2));
figure
imshow(bPlane)
%%Extract out purple cells
figure
BW = bPlane > 29;
imshow(BW)
%%Remove noise 100 pixels or less
BW2 = bwareaopen(BW, 100);
imshow(BW2)
%%Calculate area of regions
cellStats = regionprops(BW2, 'all');
cellAreas = [cellStats(:).Area];
%%Superimpose onto original image
figure, imshow(myImage), hold on
himage = imshow(BW2);
set(himage, 'AlphaData', 0.5);

4 件のコメント

Ahmed
Ahmed 2011 年 9 月 15 日
Hai..
than how can we counting the number of cell after image BW=rPlane.
I adjust the program to find the red cell.
%% Reading in the image
clear all
myImage = imread('L1 blast.jpg');
figure
imtool(myImage)
%% Extracting the red plane
rPlane = myImage(:,:,1)- 0.4*(myImage(:,:,3)) - 0.6*(myImage(:,:,2));
figure
imshow(rPlane)
%% Extract out red cells
BW = rPlane > 19;
figure
imshow(BW)
http://www.flickr.com/photos/67515191@N07/6149005257/
http://www.flickr.com/photos/67515191@N07/6149555552/
sana saleeme
sana saleeme 2016 年 1 月 24 日
and what should we do if we want to extract the red blood cells?
murk hassan memon
murk hassan memon 2017 年 2 月 9 日
i am facing this type of error when i am converting gray from original and then extracting blue pan kindly help me to resolve this problem and if i am making any mistake then also tell me the write way to code
Navin Kumar
Navin Kumar 2020 年 5 月 22 日
Hi,how can i segment cells and nucleus separately?By applying the above code,only the nucleus get segmented.So i applied lab color space and kmeans.For some images only i got correct answer,please let me know how to extract cells.

サインインしてコメントする。

カテゴリ

ヘルプ センター および File ExchangeBiomedical Imaging についてさらに検索

質問済み:

2011 年 3 月 15 日

コメント済み:

2020 年 5 月 22 日

Community Treasure Hunt

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

Start Hunting!

Translated by