Rula Abdallat, Osama Al-Bataineh, Ali Mohammad Alqudah, Ausilah Alfraihat
{"title":"An Artificial Intelligence Framework for Detection of Leukemia with Comparison Between Segmented and Non-Segmented Images.","authors":"Rula Abdallat, Osama Al-Bataineh, Ali Mohammad Alqudah, Ausilah Alfraihat","doi":"10.3390/s26196290","DOIUrl":null,"url":null,"abstract":"<p><strong>Background: </strong>Accurate classification of Acute Lymphoblastic Leukemia (ALL) subtypes from peripheral blood smear (PBS) images using deep learning may support automated image-based analysis of this blood malignancy.</p><p><strong>Methods: </strong>We developed a custom lightweight Convolutional Neural Network (CNN) to classify white blood cells into four subtypes: Benign, Early Pre-B ALL, Pre-B ALL, and Pro-B ALL. We assessed performance using accuracy, ROC curves, and explainability techniques, including upsampled feature map activations, occlusion sensitivity, and SHAP-style explanation overlays, comparing original (Non-segmented) and HSV-Segmented images. To mitigate patient-level data leakage without explicit patient identifiers, we further used unsupervised K-means clustering of HSV color histograms to group 3256 images into 89 \"proxy-patient\" clusters. Consequently, we implemented rigorous subject-level grouped 5-fold cross-validation and Hold-Out protocols alongside standard image-level evaluations.</p><p><strong>Results: </strong>Under standard image-level evaluation, the model achieved 98.8% accuracy on non-segmented images and 91.3% on segmented images. Crucially, this performance advantage was maintained under strict subject-level cross-validation (97.9% vs. 89.7%), confirming the robustness of the findings against data leakage. Explainability visualizations demonstrated that HSV segmentation discarded vital contextual morphological cues, increasing confusion between closely related subtypes.</p><p><strong>Conclusions: </strong>A lightweight CNN can accurately classify ALL subtypes directly from raw PBS images. The evaluated HSV segmentation degraded performance by removing contextual information. This study underscores the necessity of subject-level evaluation in medical imaging and indicates that mandatory preprocessing should be empirically justified rather than assumed beneficial.</p>","PeriodicalId":21698,"journal":{"name":"Sensors","volume":"26 19","pages":""},"PeriodicalIF":4.0000,"publicationDate":"2026-10-04","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://www.ncbi.nlm.nih.gov/pmc/articles/PMC13667586/pdf/","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Sensors","FirstCategoryId":"103","ListUrlMain":"https://doi.org/10.3390/s26196290","RegionNum":3,"RegionCategory":"综合性期刊","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q2","JCRName":"CHEMISTRY, ANALYTICAL","Score":null,"Total":0}
引用次数: 0
Abstract
Background: Accurate classification of Acute Lymphoblastic Leukemia (ALL) subtypes from peripheral blood smear (PBS) images using deep learning may support automated image-based analysis of this blood malignancy.
Methods: We developed a custom lightweight Convolutional Neural Network (CNN) to classify white blood cells into four subtypes: Benign, Early Pre-B ALL, Pre-B ALL, and Pro-B ALL. We assessed performance using accuracy, ROC curves, and explainability techniques, including upsampled feature map activations, occlusion sensitivity, and SHAP-style explanation overlays, comparing original (Non-segmented) and HSV-Segmented images. To mitigate patient-level data leakage without explicit patient identifiers, we further used unsupervised K-means clustering of HSV color histograms to group 3256 images into 89 "proxy-patient" clusters. Consequently, we implemented rigorous subject-level grouped 5-fold cross-validation and Hold-Out protocols alongside standard image-level evaluations.
Results: Under standard image-level evaluation, the model achieved 98.8% accuracy on non-segmented images and 91.3% on segmented images. Crucially, this performance advantage was maintained under strict subject-level cross-validation (97.9% vs. 89.7%), confirming the robustness of the findings against data leakage. Explainability visualizations demonstrated that HSV segmentation discarded vital contextual morphological cues, increasing confusion between closely related subtypes.
Conclusions: A lightweight CNN can accurately classify ALL subtypes directly from raw PBS images. The evaluated HSV segmentation degraded performance by removing contextual information. This study underscores the necessity of subject-level evaluation in medical imaging and indicates that mandatory preprocessing should be empirically justified rather than assumed beneficial.
期刊介绍:
Sensors (ISSN 1424-8220) provides an advanced forum for the science and technology of sensors and biosensors. It publishes reviews (including comprehensive reviews on the complete sensors products), regular research papers and short notes. Our aim is to encourage scientists to publish their experimental and theoretical results in as much detail as possible. There is no restriction on the length of the papers. The full experimental details must be provided so that the results can be reproduced.