Segmentation of WBC in microscopy images

Stain deconvolution followed by threshold based segmentation is used.
197 Downloads
Aktualisiert 21. Nov 2021

Lizenz anzeigen

Shape and size detection for WBC in blood is necessary for ensuring the ability to eliminate or control the infections or any inflammatory problems in the body.
WBC are of five types, subdivided into two parts,
1)Granulocytes: neutrophils , basophils, eosinophils
2)Agranulocytes: lymphocytes, monocyts.
The nucleus of WBC contains DNA and RNA that are stained by hematoxyline in Purple/blue color and the granules in cytoplasm are stained by eosine in pink color. As agranulocytes does not have granules in cytoplasm we won’t see eosine stained image for them. The function deconv is separating out the hematoxyline stained region and eosin stained region in different output images. The function segmentation can be used on this images to segment out nucleus and cytoplasmics granules.
Approach:
  1. Input RGB image is first deconvoluted to H and E stained Image.
  2. Find threshold for each output deconvolved image.
  3. Plot histogram representing two regions after segmentation.
  4. Apply segmentation based on threshold values.
  5. Output image is binary.
To see the results download this file, some output images are provided.
The segmentation can be done as follows.
InputImg = imread('ALL_IDB1\ALL_IDB1\im\Im061_1.jpg');
deconimg = deconv(InputImg);
H=deconimg(:,:,1);
E=deconimg(:,:,2);
[Sh,Hh,Th,Lh]=segmentation(H);
[Se,He,Te,Le]=segmentation(E);

Zitieren als

Abhinav Gadge (2024). Segmentation of WBC in microscopy images (https://www.mathworks.com/matlabcentral/fileexchange/102329-segmentation-of-wbc-in-microscopy-images), MATLAB Central File Exchange. Abgerufen.

Kompatibilität der MATLAB-Version
Erstellt mit R2021b
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS Linux
Tags Tags hinzufügen

Community Treasure Hunt

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

Start Hunting!

functions_output/function

functions_output/function

Version Veröffentlicht Versionshinweise
1.0.0