Development of images segmentation using image thresholder and batch processing technique on the blood smears

Document Type : Research Paper


1 Department of Computer Systems Techniques, Al-Najaf Technical Institute, Al-Furat Al-Awsat Technical University (ATU), Kufa, Al-Najaf, Iraq

2 University Malaysia Pahang (UMP), Pekan, Pahang, Malaysia


Image segmentation is an important part of image processing, and one of the most common approaches is threshold segmentation. A new segmentation technique with each pixel in the image has its own threshold is developed in response to the fact that standard threshold-based segmentation algorithms only establish one or many thresholds, making it difficult to extract the complex information in an image. This work employs image segmentation tools to examine images of thin blood smears data set. The goal is to explore options for a noniterative-based and automated system for detecting parasites in blood smears. This can be achieved by detecting the presence of a parasite in thin blood smears and quantifying the portion of red blood cells in the sample that are infected. First, we try segmenting the individual red blood cells from the background using the color thresholder. Next, we clean up the obtained cell mask and examine cell properties using the image region analyzer function, which allows quickly filling in region holes and filtering out regions based on their properties such as area dimensions or eccentricity. Then quickly gauge and specify the expected diameter range of the cells in pixels and indicate that the circles are dark relative to the background. Finally, we've combined the code for finding circles matching image histograms and the parasite threshold detection logic into a single function to quickly examine the performance of this function on the other images using the image batch processing technique. The proposed detection function labels the detected cells with blue circles the parasites are marked in red and the infected cells are highlighted in green. The proposed algorithm has appropriately compensated for the variability in image quality.


[1] Kh. AL-Dulaimi, J. Banks, K. Nugyen, A. Al-Sabaawi, I. Tomeo-Reyes and V. Chandran, Segmentation of white blood cell, nucleus and cytoplasm in digital haematology microscope images: A review–challenges, current and future potential techniques, IEEE Rev. Biomed. Engin.14 (2021), 290–306.
[2] J.W. Choi, Y. Ku, B.W. Yoo, J.Ah Kim, D.S. Lee, Y.J. Chai, H.-J. Kong, and H.Ch. Kim, White blood cell differential count of maturation stages in bone marrow smear using dual-stage convolutional neural networks, PLOS ONE 12 (2017), no. 12, e0189259.
[3] H. Fan, F. Zhang, L. Xi, Z. Li, G. Liu and Y. Xu, LeukocyteMask: An automated localization and segmentation method for leukocyte in blood smear images using deep neural networks, J. Biophoton. 12 (2019), no. 7.
[4] R.B. Hegde, K. Prasad, H. Hebbar and B.M. Kumar Singh, Image Processing Approach for Detection of Leukocytes in Peripheral Blood Smears, J. Med. Syst. 43 (2019), no. 5, 114.
[5] Z.R. Hussein, A.I. Mahameed and J.A. Fadhil, Distinguishing of different tissue types using K-Means clustering of color segmentation, Eastern-Eur. J. Enterprise Technol. 5 (2021), no. 2 (113), 22–28.
[6] K.K. Jha and H.S. Dutta, Mutual information based hybrid model and deep learning for Acute Lymphocytic Leukemia detection in single cell blood smear images, Comput. Meth. Prog. Biomed. 179 (2019), 104987.
[7] A. Kar, K. Pattnaik, T. Kar, P. Biswal, Ch. Mishra and L. Guru, Clear cell lesions in pathology: Histomorphologic approach to diagnosis, Indian J. Pathol. Microbio. 63 (2020), no. 2, 177.
[8] S.N. Mohd Safuan, M.R. Md Tomari and W.N. Wan Zakaria, White blood cell (WBC) counting analysis in blood smear images using various color segmentation methods, Measurement 116 (2018), 543–555.
[9] M. Poostchi, K. Silamut, R.J. Maude, S. Jaeger and G. Thoma, Image analysis and machine learning for detecting malaria, Translation. Res. 194 (2018), 36–55.
[10] F. Sadeghian, Z. Seman, A.R. Ramli, B.H. Abdul Kahar and M.-I. Saripan, A framework for white blood cell segmentation in microscopic blood images using digital image processing, Bio. Proced. Online 11 (2009), no. 1, 196.
[11] U. Salamah, R. Sarno, A.Z. Arifin, S. Sarimuddin, A.S. Nugroho, I.E. Rozi, and P.B. Setia Asih, Segmentation of malaria parasite candidate from thick blood smear microscopic images using watershed and adaptive thresholding,  J. Telecommun. Electronic Comput. Engin. 10 (2018), no. 2-4, 113–117.
Volume 13, Issue 2
July 2022
Pages 3251-3259
  • Receive Date: 20 April 2022
  • Revise Date: 11 May 2022
  • Accept Date: 17 June 2022