Vision Transformers for Kidney Stone Image Classification: A Comparative Study with CNNs

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Reyes-Amezcua, Ivan, Lopez-Tiro, Francisco, Larose, Clement, Mendez-Vazquez, Andres, Ochoa-Ruiz, Gilberto, Daul, Christian
Format: Preprint
Published: 2025
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866913999881240576
author Reyes-Amezcua, Ivan
Lopez-Tiro, Francisco
Larose, Clement
Mendez-Vazquez, Andres
Ochoa-Ruiz, Gilberto
Daul, Christian
author_facet Reyes-Amezcua, Ivan
Lopez-Tiro, Francisco
Larose, Clement
Mendez-Vazquez, Andres
Ochoa-Ruiz, Gilberto
Daul, Christian
contents Kidney stone classification from endoscopic images is critical for personalized treatment and recurrence prevention. While convolutional neural networks (CNNs) have shown promise in this task, their limited ability to capture long-range dependencies can hinder performance under variable imaging conditions. This study presents a comparative analysis between Vision Transformers (ViTs) and CNN-based models, evaluating their performance on two ex vivo datasets comprising CCD camera and flexible ureteroscope images. The ViT-base model pretrained on ImageNet-21k consistently outperformed a ResNet50 baseline across multiple imaging conditions. For instance, in the most visually complex subset (Section patches from endoscopic images), the ViT model achieved 95.2% accuracy and 95.1% F1-score, compared to 64.5% and 59.3% with ResNet50. In the mixed-view subset from CCD-camera images, ViT reached 87.1% accuracy versus 78.4% with CNN. These improvements extend across precision and recall as well. The results demonstrate that ViT-based architectures provide superior classification performance and offer a scalable alternative to conventional CNNs for kidney stone image analysis.
format Preprint
id arxiv_https___arxiv_org_abs_2508_13461
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Vision Transformers for Kidney Stone Image Classification: A Comparative Study with CNNs
Reyes-Amezcua, Ivan
Lopez-Tiro, Francisco
Larose, Clement
Mendez-Vazquez, Andres
Ochoa-Ruiz, Gilberto
Daul, Christian
Computer Vision and Pattern Recognition
Machine Learning
Kidney stone classification from endoscopic images is critical for personalized treatment and recurrence prevention. While convolutional neural networks (CNNs) have shown promise in this task, their limited ability to capture long-range dependencies can hinder performance under variable imaging conditions. This study presents a comparative analysis between Vision Transformers (ViTs) and CNN-based models, evaluating their performance on two ex vivo datasets comprising CCD camera and flexible ureteroscope images. The ViT-base model pretrained on ImageNet-21k consistently outperformed a ResNet50 baseline across multiple imaging conditions. For instance, in the most visually complex subset (Section patches from endoscopic images), the ViT model achieved 95.2% accuracy and 95.1% F1-score, compared to 64.5% and 59.3% with ResNet50. In the mixed-view subset from CCD-camera images, ViT reached 87.1% accuracy versus 78.4% with CNN. These improvements extend across precision and recall as well. The results demonstrate that ViT-based architectures provide superior classification performance and offer a scalable alternative to conventional CNNs for kidney stone image analysis.
title Vision Transformers for Kidney Stone Image Classification: A Comparative Study with CNNs
topic Computer Vision and Pattern Recognition
Machine Learning
url https://arxiv.org/abs/2508.13461