This is an early access version, the complete PDF, HTML, and XML versions will be available soon.
Open AccessArticle
DiagNeXt: A Two-Stage Attention-Guided ConvNeXt Framework for Kidney Pathology Segmentation and Classification
by
Hilal Tekin
Hilal Tekin 1,
Şafak Kılıç
Şafak Kılıç 2,3,*
and
Yahya Doğan
Yahya Doğan 4,*
1
Department of Computer Engineering, Gaziantep Islamic Science and Technology University, Gaziantep 27260, Turkey
2
CHART Laboratory, School of Computer Science, University of Nottingham, Nottingham NG7 2RD, UK
3
Department of Software Engineering, Faculty of Engineering, Architecture and Design, Kayseri University, Kayseri 38039, Turkey
4
Department of Computer Engineering, Siirt University, Siirt 56100, Turkey
*
Authors to whom correspondence should be addressed.
J. Imaging 2025, 11(12), 433; https://doi.org/10.3390/jimaging11120433 (registering DOI)
Submission received: 24 October 2025
/
Revised: 28 November 2025
/
Accepted: 1 December 2025
/
Published: 4 December 2025
Abstract
Accurate segmentation and classification of kidney pathologies from medical images remain a major challenge in computer-aided diagnosis due to complex morphological variations, small lesion sizes, and severe class imbalance. This study introduces DiagNeXt, a novel two-stage deep learning framework designed to overcome these challenges through an integrated use of attention-enhanced ConvNeXt architectures for both segmentation and classification. In the first stage, DiagNeXt-Seg employs a U-Net-based design incorporating Enhanced Convolutional Blocks (ECBs) with spatial attention gates and Atrous Spatial Pyramid Pooling (ASPP) to achieve precise multi-class kidney segmentation. In the second stage, DiagNeXt-Cls utilizes the segmented regions of interest (ROIs) for pathology classification through a hierarchical multi-resolution strategy enhanced by Context-Aware Feature Fusion (CAFF) and Evidential Deep Learning (EDL) for uncertainty estimation. The main contributions of this work include: (1) enhanced ConvNeXt blocks with large-kernel depthwise convolutions optimized for 3D medical imaging, (2) a boundary-aware compound loss combining Dice, cross-entropy, focal, and distance transform terms to improve segmentation precision, (3) attention-guided skip connections preserving fine-grained spatial details, (4) hierarchical multi-scale feature modeling for robust pathology recognition, and (5) a confidence-modulated classification approach integrating segmentation quality metrics for reliable decision-making. Extensive experiments on a large kidney CT dataset comprising 3847 patients demonstrate that DiagNeXt achieves 98.9% classification accuracy, outperforming state-of-the-art approaches by 6.8%. The framework attains near-perfect AUC scores across all pathology classes (Normal: 1.000, Tumor: 1.000, Cyst: 0.999, Stone: 0.994) while offering clinically interpretable uncertainty maps and attention visualizations. The superior diagnostic accuracy, computational efficiency (6.2× faster inference), and interpretability of DiagNeXt make it a strong candidate for real-world integration into clinical kidney disease diagnosis and treatment planning systems.
Share and Cite
MDPI and ACS Style
Tekin, H.; Kılıç, Ş.; Doğan, Y.
DiagNeXt: A Two-Stage Attention-Guided ConvNeXt Framework for Kidney Pathology Segmentation and Classification. J. Imaging 2025, 11, 433.
https://doi.org/10.3390/jimaging11120433
AMA Style
Tekin H, Kılıç Ş, Doğan Y.
DiagNeXt: A Two-Stage Attention-Guided ConvNeXt Framework for Kidney Pathology Segmentation and Classification. Journal of Imaging. 2025; 11(12):433.
https://doi.org/10.3390/jimaging11120433
Chicago/Turabian Style
Tekin, Hilal, Şafak Kılıç, and Yahya Doğan.
2025. "DiagNeXt: A Two-Stage Attention-Guided ConvNeXt Framework for Kidney Pathology Segmentation and Classification" Journal of Imaging 11, no. 12: 433.
https://doi.org/10.3390/jimaging11120433
APA Style
Tekin, H., Kılıç, Ş., & Doğan, Y.
(2025). DiagNeXt: A Two-Stage Attention-Guided ConvNeXt Framework for Kidney Pathology Segmentation and Classification. Journal of Imaging, 11(12), 433.
https://doi.org/10.3390/jimaging11120433
Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details
here.
Article Metrics
Article metric data becomes available approximately 24 hours after publication online.