Nurcahya Pradana Taufik Prakisya, Afiahayati, Dyah Aruming Tyas, Tri Ratnaningsih
{"title":"Color transfer for enhanced white blood cell classification in deep learning","authors":"Nurcahya Pradana Taufik Prakisya, Afiahayati, Dyah Aruming Tyas, Tri Ratnaningsih","doi":"10.1016/j.imu.2026.101828","DOIUrl":null,"url":null,"abstract":"<div><h3>Background and objective</h3><div>Variations in staining protocols for peripheral blood smears lead to inconsistent image coloration, posing significant challenges for automated analysis. This study evaluates the effectiveness of color transfer as a preprocessing step to harmonize blood smear image color spaces and improve white blood cell classification performance using a convolutional neural network (CNN).</div></div><div><h3>Method</h3><div>Nine color transfer algorithms were evaluated using a May-Grünwald-Giemsa-stained image as a reference. A two-stage evaluation was employed: first, assessment of the color transfer effectiveness; and second, measurement of the impact of preprocessed images on a CNN model across three backbones (ResNet-50, Inception-V3 and EfficientNet-B3).</div></div><div><h3>Results</h3><div>The findings demonstrate that improper color transfer algorithms can inherently degrade clinical feature integrity by introducing unnatural visual elements. Specifically, the color distribution transfer method causes a significant drop in classification accuracy to 72.13%. By employing Gradient-weighted Class Activation Mapping (Grad-CAM), we empirically reveal that this method generates artifacts that mislead the spatial attention of CNN away from true leukocyte structures. Conversely, adopting Monge-Kantorovich linear color mapping on ResNet-50 architecture effectively preserves semantic structures without introducing false artifacts, which facilitates more localized model attention. This method yields the highest performance, achieving an accuracy of 94.46%, specificity of 98.57%, sensitivity of 94.40% and F1-score of 94.40%, a 3.57% relative improvement over the baseline model. The results underscore the importance of selecting a robust color transfer technique for building reliable automated white blood cell classification systems that remain accurate despite variations in staining protocol.</div></div>","PeriodicalId":13953,"journal":{"name":"Informatics in Medicine Unlocked","volume":"66 ","pages":"Article 101828"},"PeriodicalIF":0.0000,"publicationDate":"2026-10-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Informatics in Medicine Unlocked","FirstCategoryId":"1085","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S2352914826000997","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"2026/10/12 0:00:00","PubModel":"Epub","JCR":"Q1","JCRName":"Medicine","Score":null,"Total":0}
引用次数: 0
Abstract
Background and objective
Variations in staining protocols for peripheral blood smears lead to inconsistent image coloration, posing significant challenges for automated analysis. This study evaluates the effectiveness of color transfer as a preprocessing step to harmonize blood smear image color spaces and improve white blood cell classification performance using a convolutional neural network (CNN).
Method
Nine color transfer algorithms were evaluated using a May-Grünwald-Giemsa-stained image as a reference. A two-stage evaluation was employed: first, assessment of the color transfer effectiveness; and second, measurement of the impact of preprocessed images on a CNN model across three backbones (ResNet-50, Inception-V3 and EfficientNet-B3).
Results
The findings demonstrate that improper color transfer algorithms can inherently degrade clinical feature integrity by introducing unnatural visual elements. Specifically, the color distribution transfer method causes a significant drop in classification accuracy to 72.13%. By employing Gradient-weighted Class Activation Mapping (Grad-CAM), we empirically reveal that this method generates artifacts that mislead the spatial attention of CNN away from true leukocyte structures. Conversely, adopting Monge-Kantorovich linear color mapping on ResNet-50 architecture effectively preserves semantic structures without introducing false artifacts, which facilitates more localized model attention. This method yields the highest performance, achieving an accuracy of 94.46%, specificity of 98.57%, sensitivity of 94.40% and F1-score of 94.40%, a 3.57% relative improvement over the baseline model. The results underscore the importance of selecting a robust color transfer technique for building reliable automated white blood cell classification systems that remain accurate despite variations in staining protocol.
背景和目的外周血涂片染色方案的变化导致图像颜色不一致,对自动分析提出了重大挑战。本研究评估了颜色转移作为预处理步骤的有效性,以协调血液涂片图像颜色空间,并使用卷积神经网络(CNN)提高白细胞分类性能。方法以may - gr nwald- giemsa染色图像为参照,对9种颜色转移算法进行评价。采用两阶段评价方法:第一阶段评价色彩传递效果;其次,测量预处理图像对三个主干(ResNet-50, Inception-V3和EfficientNet-B3)的CNN模型的影响。结果不恰当的颜色传递算法会引入非自然的视觉元素,从而降低临床特征的完整性。其中,颜色分布转移方法导致分类准确率明显下降至72.13%。通过使用梯度加权类激活映射(Gradient-weighted Class Activation Mapping, Grad-CAM),我们实证地发现,这种方法产生的伪影会误导CNN的空间注意力,使其远离真实的白细胞结构。相反,在ResNet-50架构上采用Monge-Kantorovich线性颜色映射,可以有效地保留语义结构,而不会引入虚假工件,从而使模型注意力更加局部化。该方法的准确率为94.46%,特异性为98.57%,灵敏度为94.40%,f1评分为94.40%,相对于基线模型提高了3.57%。结果强调了选择一个强大的颜色转移技术的重要性,以建立可靠的自动白细胞分类系统,保持准确,尽管染色方案的变化。
期刊介绍:
Informatics in Medicine Unlocked (IMU) is an international gold open access journal covering a broad spectrum of topics within medical informatics, including (but not limited to) papers focusing on imaging, pathology, teledermatology, public health, ophthalmological, nursing and translational medicine informatics. The full papers that are published in the journal are accessible to all who visit the website.