Systematic Analysis of Preprocessing Methods for Patch-Level Classification in Whole Slide Images


Aglamaz D. K., GÜLŞEN A.

2026 11th International Conference on Computer Science and Engineering, UBMK 2026, İstanbul, Türkiye, 16 - 18 Eylül 2026, ss.390-395, (Tam Metin Bildiri)

  • Yayın Türü: Bildiri / Tam Metin Bildiri
  • Doi Numarası: 10.1109/ubmk71847.2026.11745237
  • Basıldığı Şehir: İstanbul
  • Basıldığı Ülke: Türkiye
  • Sayfa Sayıları: ss.390-395
  • Anahtar Kelimeler: CAMELYON16, deep learning, digital pathology, patch classification, stain normalization, tissue detection
  • Kayseri Üniversitesi Adresli: Evet

Özet

Deep learning studies in digital pathology frequently emphasize network architecture, while preprocessing choices are often adopted as fixed implementation details with limited evaluation. This work systematically investigates the impact of tissue detection, patch size, and stain normalization on patch-level metastasis classification using the CAMELYON16 dataset. Two tissue detection methods (HSV and Otsu) were combined with three patch sizes (128×128, 256×256, and 512×512 pixels), four stain normalizations (raw, Reinhard, Macenko, and Vahadane), and three CNN backbones (ResNet50, VGG16, and MobileNetV2), yielding 72 experimental configurations trained under a unified protocol. The results show that patch size had the strongest effect on classification performance. The highest test F1 score of 0.96 was obtained with HSV-based tissue detection, 512x512 patches, raw input, and ResNet50. However, increasing the patch size from 128x128 to 256x256 produced an absolute F1 improvement of 0.039, whereas increasing it further from 256x256 to 512x512 produced only a 0.009 improvement. This shows that most of the improvement was achieved at the medium patch scale, with only a limited additional benefit from using larger 512x512 patches. Stain normalization did not consistently improve classification performance, as raw images achieved the highest mean F1 score across all configurations. In addition, HSV and Otsu produced nearly identical average results, indicating that the choice between these two tissue detection methods had limited influence on overall performance. Overall, the findings indicate that patch size should be prioritized when designing CAMELYON16 patch-level classification pipelines, whereas stain normalization and tissue detection strategies should be selected and justified in the context of the specific model and experimental setting.