Related Experiment Video
Updated: Dec 28, 2025

Supervised Machine Learning for Semi-Quantification of Extracellular DNA in Glomerulonephritis
Published on: June 18, 2020
Deep learning computer vision algorithm for detecting kidney stone composition
Kristian M Black1, Hei Law2, Ali Aldoukhi1
1Department of Urology, University of Michigan, Ann Arbor, MI, USA.
Objectives:
To assess the recall of a deep learning (DL) method to automatically detect kidney stones composition from digital photographs of stones.
Materials And Methods:
A total of 63 human kidney stones of varied compositions were obtained from a stone laboratory including calcium oxalate monohydrate (COM), uric acid (UA), magnesium ammonium phosphate hexahydrate (MAPH/struvite), calcium hydrogen phosphate dihydrate (CHPD/brushite), and cystine stones. At least two images of the stones, both surface and inner core, were captured on a digital camera for all stones. A deep convolutional neural network (CNN), ResNet-101 (ResNet, Microsoft), was applied as a multi-class classification model, to each image. This model was assessed using leave-one-out cross-validation with the primary outcome being network prediction recall.
Results:
The composition prediction recall for each composition was as follows: UA 94% (n = 17), COM 90% (n = 21), MAPH/struvite 86% (n = 7), cystine 75% (n = 4), CHPD/brushite 71% (n = 14). The overall weighted recall of the CNNs composition analysis was 85% for the entire cohort. Specificity and precision for each stone type were as follows: UA (97.83%, 94.12%), COM (97.62%, 95%), struvite (91.84%, 71.43%), cystine (98.31%, 75%), and brushite (96.43%, 75%).
Conclusion:
Deep CNNs can be used to identify kidney stone composition from digital photographs with good recall. Future work is needed to see if DL can be used for detecting stone composition during digital endoscopy. This technology may enable integrated endoscopic and laser systems that automatically provide laser settings based on stone composition recognition with the goal to improve surgical efficiency.
Related Concept Videos
Kidney Structure
Imaging Studies I: Kidney, Ureter, and Bladder Studies
Urinary Tract Calculi III: Medical Management
Imaging Studies II: Ultrasonography
Urinary Tract Calculi IV: Nutrition Therapy and Prevention
External Anatomy of the Kidney
The kidneys are located in the retroperitoneal space on either side of the vertebral column, protected posteriorly by the 11th and 12th ribs. The right kidney sits slightly lower than the left owing to the presence of the liver...

