An integrated image segmentation framework for white blood cell detection in microscopic blood smears: A hybrid approach for hematology diagnostics

Authors

  • Wa Ode Dianita Putri Suaiba Dani Indonesian Airforce Author
  • Achmad Abdurrazzaq Indonesia Defense University Author
  • Djoko Heksa Purnomo Indonesia Defense University Author

DOI:

https://doi.org/10.58524/jhep.v2i1.140

Keywords:

GrabCut, Otsu Thresholding, Segmentation, White Blood Cell

Abstract

White blood cells (leukocytes) are fundamental components of the immune system, and their enumeration and morphological assessment via microscopic image analysis serve as critical diagnostic indicators. However, automatic segmentation of white blood cells remains challenging due to variations in staining, illumination, and complex cellular morphology. This study proposes a novel hybrid segmentation framework that integrates GrabCut and Otsu thresholding methods. The proposed framework addressing two fundamental limitations of previous approaches: (1) GrabCut incorporates inter-pixel spatial relationships through graph-based optimization, which traditional thresholding methods ignore, while (2) Otsu thresholding provides automatic, data-driven binarization that eliminates manual parameter tuning required by standalone GrabCut. Their sequential integration, where GrabCut refines foreground extraction followed by Otsu for adaptive binarization, enables the framework to simultaneously optimize color discrimination, edge preservation, and segmentation consistency under varying image conditions. This synergy produces more robust segmentation than either method applied independently. The proposed framework was evaluated on three datasets: primary data (author-collected), JTSC, and CellaVision. Results demonstrate dataset-dependent performance trade-offs. On primary data, the framework achieved 94.55% accuracy, though precision, recall, F1-score, and IoU remained low. On JTSC data, it achieved efficient computation (0.06 seconds per image), good accuracy (92.07%), and moderately high precision (0.8467) but low recall (0.4860). On CellaVision data, it achieved high accuracy (93.97%) and excellent precision (0.9495) but low recall (0.4796). These findings indicate that the proposed framework successfully improves precision and computational efficiency while maintaining high accuracy; however, recall limitations persist, suggesting that the current combination is better suited for applications prioritizing detection reliability over complete sensitivity. 

References

1. Liyantoko, A. N., Candradewi, I., & Harjoko, A. (2019). Klasifikasi Sel Darah Putih dan Sel Limfoblas Menggunakan Metode Multilayer Perceptron Backpropagation. IJEIS (Indonesian Journal of Electronics and Instrumentation Systems), 9(2), 173. https://doi.org/10.22146/ijeis.49943

2. Wonohadidjojo, D. M. (2021). Perbandingan Convolutional Neural Network pada Transfer Learning Method untuk Mengklasifikasikan Sel Darah Putih. Ultimatics : Jurnal Teknik Informatika, 13(1), 51–57. https://doi.org/10.31937/ti.v13i1.2040

3. Zhang, C., Xiao, X., Li, X., Chen, Y. J., Zhen, W., Chang, J., Zheng, C., & Liu, Z. (2014). White blood cell segmentation by color-space-based k-means clustering. Sensors (Switzerland), 14(9), 16128–16147. https://doi.org/10.3390/s140916128

4. Hu, S., Yu, B., Xu, R., & Pang, K. (2025). Leukocyte analysis: Current status and future direction. Clinica Chimica Acta, 557, 120477. https://doi.org/10.1016/j.cca.2025.120477

5. Susilawati, I. (2018). Segmentasi Sel Darah Putih pada Citra Darah Mikroskopis. Jurnal Matrix, 5(3), 142–149. https://doi.org/https://ojs.pnb.ac.id/index.php/matrix/article/view/109

6. Alham, D. S., & Herumurti, D. (2019). Segmentasi Dan Perhitungan Sel Darah Putih Menggunakan Operasi Morfologi Dan Transformasi Watershed. INFORMAL: Informatics Journal, 4(2), 59. https://doi.org/10.19184/isj.v4i2.13347

7. Ardina, R., & Rosalinda, S. (2018). Morfologi Eosinofil Pada Apusan Darah Tepi Menggunakan Pewarnaan Giemsa, Wright, dan Kombinasi Wright-Giemsa. Jurnal Surya Medika, 3(2), 5–12. https://doi.org/10.33084/jsm.v3i2.91

8. Areni, I. S., Amirullah, I., & Arifin, N. (2019). Klasifikasi Kematangan Stroberi Berbasis Segmentasi Warna dengan Metode HSV. Jurnal Penelitian Enjiniring, 23(2), 113–116. https://doi.org/10.25042/jpe.112019.03

9. Aksoy, A. (2024). An Innovative Hybrid Model for Automatic Detection of White Blood Cells in Clinical Laboratories. Diagnostics, 14(18), 2093. https://doi.org/10.3390/diagnostics14182093

10. Athanasiou, G., Arcos, J. L., & Cerquides, J. (2023). Enhancing Medical Image Segmentation: Ground Truth Optimization through Evaluating Uncertainty in Expert Annotations. Mathematics, 11(17). https://doi.org/10.3390/math11173771

11. Sathya, P., Bhuvaneswari, M., Kesavaraj, G., & Saravanan, K. S. (2014). A REVIEW ON IMAGE ENHANCEMENT USING SHARPENING TECHNIQUES. International Journal of Research in Computer Applications and Robotics, 2(1), 78–84.

12. Afandi, B., Fatichah, C., & Suciati, N. (2016). Kuantisasi sel darah putih bertumpuk menggunakan analisis distance marker. Jurnal Simantec, 5(3), 143–148. https://doi.org/10.21107/simantec.v5i3.2384

13. Nurdinawati, V., Hendryani, A., & Barasabha, T. (2021). Segmentasi Citra Pembuluh Darah Retina Menggunakan Operasi Morfologi Iteratif. Jurnal Teknik Elektro, 13(1), 18–24. https://doi.org/10.15294/jte.v13i1.29747

14. Sutariawan, I. P. E., Dantes, G. R., & Ernanda Aryanto, K. Y. (2019). Segmentasi Mata Katarak Pada Citra Medis Menggunakan Metode Operasi Morfologi. Jurnal Ilmu Komputer Indonesia, 3(1), 23–31. https://doi.org/10.23887/jik.v3i1.2750

15. Danny, D., Lina, L., & Chris, A. (2021). Pendeteksian Sel Darah Putih Dari Citra Preparat Dengan Convolutional Neural Network. Jurnal Ilmu Komputer Dan Sistem Informasi, 9(1), 48. https://doi.org/10.24912/jiksi.v9i1.11557

16. Hadiyoso, S., & Aulia, S. (2023). Automatic Leukocytes Classification using Deep Convolutional Neural Network. ELKOMIKA: Jurnal Teknik Energi Elektrik, Teknik Telekomunikasi, & Teknik Elektronika, 11(1), 195. https://doi.org/10.26760/elkomika.v11i1.195

17. Harto, A., & Fatichah, C. (2017). Segmentasi Dan Pemisahan Sel Darah Putih Bersentuhan Menggunakan K-Means Dan Hierarchical Clustering Analysis Pada Citra Leukemia Myeloid Akut. JUTI: Jurnal Ilmiah Teknologi Informasi, 15(2), 162. https://doi.org/10.12962/j24068535.v15i2.a599

18. Medinah, Debi Razabni Erika, & Sinar Sinurat. (2020). Analisa dan Perbandingan Algoritma Otsu Thresholding dengan Algoritma Region Growing Pada Segmentasi Citra Digital. Journal of Computer System and Informatics (JoSYC) , 2(1), 9–16. http://ejurnal.seminar-id.com/index.php/josyc/article/view/399

19. Pang, S., Thio, T. H. G., Siaw, F. L., Chen, M., & Xia, Y. (2024). Research on Improved Image Segmentation Algorithm Based on GrabCut. Electronics (Switzerland), 13(20), 1–17. https://doi.org/10.3390/electronics13204068

20. Subhan Bole Boly, & Mutaqin Akbar. (2024). Segmentasi Citra Sel Darah Menggunakan Convolutional Neural Network. Jurnal RESTIKOM : Riset Teknik Informatika Dan Komputer, 6(2), 390–398. https://doi.org/10.52005/restikom.v6i2.336

21. Hapantenda, A. K. W., Januantoro, A., & Listiowarni, I. (2020). STUDI INDEPENDEN KOMPARASI SEGMENTASI SEL DARAH PUTIH MENGGUNAKAN RUANG WARNA HSV DENGAN CIE-L*a*b. Konvergensi, 15(2), 22–28. https://doi.org/10.30996/konv.v15i2.3159

22. Panggabean, A. K., Syahfaridzah, A., & Ardiningih, N. A. (2021). Mendeteksi Objek Berdasarkan Warna Dengan Segmentasi Warna Hsv Menggunakan Aplikasi Matlab. METHOMIKA Jurnal Manajemen Informatika Dan Komputerisasi Akuntansi, 4(2), 94–97. https://doi.org/10.46880/jmika.vol4no2.pp94-97

23. Sholihah, N., & Harjoko, A. (2021). Operasi Morfologi Dan Kode Rantai Untuk Menghitung Luas Area Basah Kertas Saring. IJEIS (Indonesian Journal of Electronics and Instrumentation Systems), 11(1), 1. https://doi.org/10.22146/ijeis.46130

24. Sihombing, O., Buulolo, E., & Siburian, H. K. (2018). Implementasi Metode Operasi Morfologis Dalam Perbaikan Hasil Segmentasi Citra Digital Gorga Batak. In KOMIK (Konferensi Nasional Teknologi Informasi dan Komputer) (Vol. 2, Issue 1). KOMIK (Konferensi Nasional Teknologi Informasi dan Komputer. https://doi.org/10.30865/komik.v2i1.906

25. Yu, Y., Wang, C., Fu, Q., Kou, R., Huang, F., Yang, B., Yang, T., & Gao, M. (2023). Techniques and Challenges of Image Segmentation: A Review. Electronics (Switzerland), 12(5), 1199. https://doi.org/10.3390/electronics12051199

26. Peng, B., & Zhang, L. (2020). Evaluation of Image Segmentation Quality by Adaptive Ground Truth Composition. Advances in Neural Information Processing Systems, 33, 1–14.

27. H. T. Madhloom, S. A. Kareem, H. Ariffin, A. A. Zaidan, H. O. Alanazi, and B. B. Zaidan, “An Automated White Blood Cell Nucleus Localization and Segmentation using Image Arithmetic and Automatic Threshold,” Journal of Applied Sciences, vol. 10, no. 11, pp. 959–966, May 2010, doi: 10.3923/jas.2010.959.966.

28. X. Zheng, “Data for: Fast and robust segmentation of cell images by self-supervised learning,” 2018

Downloads

Published

2026-06-30