| Literature DB >> 35783589 |
Ege Gungor Onal1, Hakan Tekgul2.
Abstract
Objectives: To propose a point-of-care image recognition system for kidney stone composition classification using smartphone microscopy and deep convolutional neural networks. Materials and methods: A total of 37 surgically extracted human kidney stones consisting of calcium oxalate (CaOx), cystine, uric acid (UA) and struvite stones were included in the study. All of the stones were fragmented from percutaneous nephrolithotomy (PCNL). The stones were classified using Fourier transform infrared spectroscopy (FTIR) analysis before obtaining smartphone microscope images. The size of the stones ranged from 5 to 10 mm in diameter. Nurugo 400× smartphone microscope (Nurugo, Seoul, Republic of Korea) was functionalized to acquire microscopic images (magnification = 25×) of dry kidney stones using iPhone 6s+ (Apple, Cupertino, CA, USA). Each kidney stone was imaged in six different locations. In total, 222 images were captured from 37 stones. A novel convolutional neural network architecture was built for classification, and the model was assessed using accuracy, positive predictive value, sensitivity and F1 scores.Entities:
Keywords: artificial intelligence; convolutional neural network; kidney stone; machine learning; point‐of‐care testing; smartphone microscopy; urolithiasis; urology
Year: 2022 PMID: 35783589 PMCID: PMC9231678 DOI: 10.1002/bco2.137
Source DB: PubMed Journal: BJUI Compass ISSN: 2688-4526
Number of kidney stones and the total number of images for each stone type
| Stone types | No. of stones | Total no. images |
|---|---|---|
| Cystine | 10 | 60 |
| Calcium oxalate | 20 | 120 |
| Struvite | 3 | 18 |
| Uric acid | 4 | 24 |
FIGURE 1Microscopic images of different types of kidney stones before (1) and after (2) image pre‐processing. Struvite (a), cystine (b), calcium oxalate (c), uric acid (d). (magnification = 25×)
FIGURE 2Proposed machine learning pipeline for kidney stone classification
Image pre‐processing parameters for PyTorch
| Image size | 224 × 224 pixels |
| Random rotation | 5 degrees |
| Random horizontal flip probability | 20% |
| Mean normalization constants (R,G,B) | (0.485, 0.456, 0.406) |
| STD normalization constants (R,G,B) | (0.229, 0.224, 0.225) |
FIGURE 3Proposed neural network architecture
Parameters used for the convolutional neural network (CNN)
| Loss function | Cross‐entropy |
| Learning rate | 0.001 |
| Weight decay | 1.00E‐05 |
| Optimizer | Adam |
| Number of epochs | 60 |
| Dropout rate | 0.3 |
FIGURE 4Training and validation accuracy results with respect to number of epochs
Positive predictive value, sensitivity and F1 score for each kidney stone types
| Stone types | Positive predictive value | Sensitivity | F1 score |
|---|---|---|---|
| CaOx | 0.82 | 0.83 | 0.82 |
| Cystine | 0.80 | 0.88 | 0.84 |
| Struvite | 0.86 | 0.84 | 0.85 |
| Uric acid | 0.92 | 0.77 | 0.85 |
FIGURE 5Confusion matrix of our kidney stone classifier (30% of the total images from each stone type were used as unseen images for testing)