Journal of Next Generation Technology

An International Open Access multi-disciplinary Journal in Science, Technology, and Sustainability

e-ISSN : 2583-021X


Home / Archives / Vol. 6 No. 5 (2026) / Articles

A Semantic Quality-Gated AI Framework for Reliable Histopathological Diagnosis

Swathi J Department of Artificial Intelligence and Data Science, Arunai Engineering College, Tiruvannamalai, India
Article Citation:
Swathi J, “A Semantic Quality-Gated AI Framework for Reliable Histopathological Diagnosis”, Journal of Next Generation Technology (ISSN: 2583-021X), Vol. 6, Issue 5, pp. 106–120, October 2026.
Keywords:
Digital histopathology, Artificial Intelligence, Slide Quality Control, Tissue segmentation, Artifact detection, U-Net, ResNet-50, Vision Transformer, U-Net++, Stain normalization, Disease classification
Journal Volume 6 No. 5 (2026) ▧ DOWNLOAD PDF
Published
To be updated

Abstract

Digital histopathology is gaining importance in computer-aided disease diagnosis, but tissue processing, staining, blur, folds, debris and other imaging artifacts can lower the accuracy of artificial intelligence (AI) systems. This study proposes a semantic quality-gated framework that assesses slide quality before disease analysis. Instead of rejecting an image whenever an artifact is present, the framework segments the tissue, detects artifacts, and accepts or rejects the image according to how much of the tissue the artifacts cover. Accepted images are stain-normalized using the Macenko or Reinhard method and passed to disease detection, disease-region analysis, feature fusion, severity assessment and classification, followed by template-based reporting and cloud archiving. A prototype of the framework was implemented in GNU Octave with classical image-processing and machine-learning methods and evaluated on the public Kather colorectal histology dataset (5,000 tiles, eight tissue classes) with simulated blur, fold, air-bubble and pen-mark artifacts. On held-out test images, the semantic gate retained 68.0% of the images, compared with 7.5% for a presence-based gate, reduced false rejection from 89.7% to 22.1%, and raised tissue classification accuracy on the accepted images from 87.2% to 90.2%. Random Forest tissue classification reached 92.4% accuracy in five-fold cross-validation, the artifact detector achieved a mean Dice coefficient of 0.774, Reinhard normalization reduced the accuracy loss under stain variation from 8.0 to 3.5 percentage points, and tumor-area estimates deviated by 3.53 percentage points on average. These results support judging artifacts by their effect on diagnostically relevant tissue rather than by their mere presence.

References

[1]. G. Litjens, T. Kooi, B. E. Bejnordi, A. A. A. Setio, F. Ciompi et al., “A survey on deep learning in medical image analysis,” Medical Image Analysis, vol. 42, pp. 60–88, 2017, doi: 10.1016/j.media.2017.07.005.

[2]. C. L. Srinidhi, O. Ciga, and A. L. Martel, “Deep neural network models for computational histopathology: A survey,” Medical Image Analysis, vol. 67, art. no. 101813, 2021, doi: 10.1016/j.media.2020.101813.

[3]. K. He, X. Zhang, S. Ren, and J. Sun, “Deep residual learning for image recognition,” in Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR), pp. 770–778, 2016, doi: 10.1109/CVPR.2016.90.

[4]. A. Dosovitskiy, L. Beyer, A. Kolesnikov et al., “An image is worth 16x16 words: Transformers for image recognition at scale,” in Proceedings of the International Conference on Learning Representations (ICLR), 2021.

[5]. N. Coudray, P. S. Ocampo, T. Sakellaropoulos et al., “Classification and mutation prediction from non- small cell lung cancer histopathology images using deep learning,” Nature Medicine, vol. 24, pp. 1559– 1567, 2018, doi: 10.1038/s41591-018-0177-5.

[6]. G. Campanella, M. G. Hanna, L. Geneslaw, A. Miraflor, V. W. K. Silva, K. J. Busam et al., “Clinical-grade computational pathology using weakly supervised deep learning on whole slide images,” Nature Medicine, vol. 25, no. 8, pp. 1301–1309, 2019, doi: 10.1038/s41591-019-0508-1.

[7]. O. Ronneberger, P. Fischer, and T. Brox, “U-Net: Convolutional networks for biomedical image segmentation,” in Medical Image Computing and Computer-Assisted Intervention (MICCAI 2015), Lecture Notes in Computer Science, vol. 9351, pp. 234–241, 2015, doi: 10.1007/978-3-319-24574-4_28.

[8]. S. Graham, Q. D. Vu, S. E. A. Raza, A. Azam, Y. W. Tsang, J. T. Kwak, and N. Rajpoot, “HoVer-Net: Simultaneous segmentation and classification of nuclei in multi-tissue histology images,” Medical Image Analysis, vol. 58, art. no. 101563, 2019, doi: 10.1016/j.media.2019.101563.

[9]. N. Kanwal, F. Pérez-Bueno, A. Schmidt, K. Engan, and R. Molina, “The devil is in the details: Whole slide image acquisition and processing for artifacts detection, color variation, and data augmentation: A review,” IEEE Access, vol. 10, pp. 58821–58844, 2022, doi: 10.1109/ACCESS.2022.3176091.

[10]. T. Kohlberger, Y. Liu, M. Moran, P.-H. C. Chen, T. Brown, J. D. Hipp, C. H. Mermel, and M. C. Stumpe, “Whole-slide image focus quality: Automatic assessment and impact on AI cancer detection,” Journal of Pathology Informatics, vol. 10, no. 1, art. no. 39, 2019, doi: 10.4103/jpi.jpi_11_19.

[11]. D. Tellez, G. Litjens, P. Bándi, W. Bulten, J.-M. Bokhorst, F. Ciompi, and J. van der Laak, “Quantifying the effects of data augmentation and stain color normalization in convolutional neural networks for computational pathology,” Medical Image Analysis, vol. 58, art. no. 101544, 2019, doi: 10.1016/j.media.2019.101544.

[12]. A. Janowczyk, R. Zuo, H. Gilmore, M. Feldman, and A. Madabhushi, “HistoQC: An open-source quality control tool for digital pathology slides,” JCO Clinical Cancer Informatics, vol. 3, pp. 1–7, 2019, doi: 10.1200/CCI.18.00157.

[13]. Z. Weng, A. Seper, A. Pryalukhin, F. Mairinger, C. Wickenhauser, M. Bauer et al., “GrandQC: A comprehensive solution to quality control problem in digital pathology,” Nature Communications, vol. 15, 2024, doi: 10.1038/s41467-024-54769-y.

[14]. K. Sirinukunwattana, J. P. W. Pluim, H. Chen et al., “Gland segmentation in colon histology images: The GlaS challenge contest,” Medical Image Analysis, vol. 35, pp. 489–502, 2017, doi: 10.1016/j.media.2016.08.008.

[15]. M. Macenko, M. Niethammer, J. S. Marron et al., “A method for normalizing histology slides for quantitative analysis,” in Proceedings of the IEEE International Symposium on Biomedical Imaging: From Nano to Macro (ISBI), pp. 1107–1110, 2009, doi: 10.1109/ISBI.2009.5193250. Journal of Next Generation Technology (JNxtGenTech) Vol. 6, Issue 5, Oct 2026

[16]. E. Reinhard, M. Ashikhmin, B. Gooch, and P. Shirley, “Color transfer between images,” IEEE Computer Graphics and Applications, vol. 21, no. 5, pp. 34–41, 2001, doi: 10.1109/38.946629.

[17]. M. Niethammer, D. Borland, J. S. Marron, J. Woosley, and N. E. Thomas, “Appearance normalization of histology slides,” in Machine Learning in Medical Imaging (MLMI 2010), Lecture Notes in Computer Science, vol. 6357, pp. 58–66, 2010, doi: 10.1007/978-3-642-15948-0_8.

[18]. A. Vahadane, T. Peng, A. Sethi, S. Albarqouni, L. Wang, M. Baust, K. Steiger, A. M. Schlitter, I. Esposito, and N. Navab, “Structure-preserving color normalization and sparse stain separation for histological images,” IEEE Transactions on Medical Imaging, vol. 35, no. 8, pp. 1962–1971, 2016, doi: 10.1109/TMI.2016.2529665.

[19]. Z. Shao, H. Bian, Y. Chen, Y. Wang, J. Zhang, X. Ji, and Y. Zhang, “TransMIL: Transformer based correlated multiple instance learning for whole slide image classification,” in Advances in Neural Information Processing Systems (NeurIPS), vol. 34, 2021.

[20]. R. J. Chen, C. Chen, Y. Li, T. Y. Chen, A. D. Trister, R. G. Krishnan, and F. Mahmood, “Scaling vision transformers to gigapixel images via hierarchical self-supervised learning,” in Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pp. 16144–16155, 2022.

[21]. Z. Zhou, M. M. R. Siddiquee, N. Tajbakhsh, and J. Liang, “UNet++: A nested U-Net architecture for medical image segmentation,” in Deep Learning in Medical Image Analysis and Multimodal Learning for Clinical Decision Support (DLMIA 2018), Lecture Notes in Computer Science, vol. 11045, pp. 3–11, 2018, doi: 10.1007/978-3-030-00889-5_1.

[22]. M. Veta, Y. J. Heng, N. Stathonikos, B. E. Bejnordi, F. Beca et al., “Predicting breast tumor proliferation from whole-slide images: The TUPAC16 challenge,” Medical Image Analysis, vol. 54, pp. 111–121, 2019, doi: 10.1016/j.media.2019.02.012.

[23]. L. Breiman, “Random forests,” Machine Learning, vol. 45, pp. 5–32, 2001, doi: 10.1023/A:1010933404324.

[24]. T. Chen and C. Guestrin, “XGBoost: A scalable tree boosting system,” in Proceedings of the 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining (KDD), pp. 785–794, 2016, doi: 10.1145/2939672.2939785.

[25]. C. Cortes and V. Vapnik, “Support-vector networks,” Machine Learning, vol. 20, pp. 273–297, 1995, doi: 10.1007/BF00994018.

[26]. J. N. Kather, C.-A. Weis, F. Bianconi, S. M. Melchers, L. R. Schad, T. Gaiser, A. Marx, and F. G. Zöllner, “Multi-class texture analysis in colorectal cancer histology,” Scientific Reports, vol. 6, art. no. 27988, 2016, doi: 10.1038/srep27988.

[27]. T. Ojala, M. Pietikäinen, and T. Mäenpää, “Multiresolution gray-scale and rotation invariant texture classification with local binary patterns,” IEEE Transactions on Pattern Analysis and Machine Intelligence, vol. 24, no. 7, pp. 971–987, 2002, doi: 10.1109/TPAMI.2002.1017623.

[28]. R. M. Haralick, K. Shanmugam, and I. Dinstein, “Textural features for image classification,” IEEE Transactions on Systems, Man, and Cybernetics, vol. SMC-3, no. 6, pp. 610–621, 1973, doi: 10.1109/TSMC.1973.4309314.

[29]. A. C. Ruifrok and D. A. Johnston, “Quantification of histochemical staining by color deconvolution,” Analytical and Quantitative Cytology and Histology, vol. 23, no. 4, pp. 291–299, 2001.

[30]. J. W. Eaton, D. Bateman, S. Hauberg, and R. Wehbring, GNU Octave Version 8 Manual: A High-Level Interactive Language for Numerical Computations, 2023. [Online]. Available: https://docs.octave.org/v8.4.0/