Skip to main page content
U.S. flag

An official website of the United States government

Dot gov

The .gov means it’s official.
Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you’re on a federal government site.

Https

The site is secure.
The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.

Access keys NCBI Homepage MyNCBI Homepage Main Content Main Navigation
. 2021 Aug 5;21(1):102.
doi: 10.1186/s12894-021-00874-9.

Computer-aided diagnosis with a convolutional neural network algorithm for automated detection of urinary tract stones on plain X-ray

Affiliations

Computer-aided diagnosis with a convolutional neural network algorithm for automated detection of urinary tract stones on plain X-ray

Masaki Kobayashi et al. BMC Urol. .

Abstract

Background: Recent increased use of medical images induces further burden of their interpretation for physicians. A plain X-ray is a low-cost examination that has low-dose radiation exposure and high availability, although diagnosing urolithiasis using this method is not always easy. Since the advent of a convolutional neural network via deep learning in the 2000s, computer-aided diagnosis (CAD) has had a great impact on automatic image analysis in the urological field. The objective of our study was to develop a CAD system with deep learning architecture to detect urinary tract stones on a plain X-ray and to evaluate the model's accuracy.

Methods: We collected plain X-ray images of 1017 patients with a radio-opaque upper urinary tract stone. X-ray images (n = 827 and 190) were used as the training and test data, respectively. We used a 17-layer Residual Network as a convolutional neural network architecture for patch-wise training. The training data were repeatedly used until the best model accuracy was achieved within 300 runs. The F score, which is a harmonic mean of the sensitivity and positive predictive value (PPV) and represents the balance of the accuracy, was measured to evaluate the model's accuracy.

Results: Using deep learning, we developed a CAD model that needed 110 ms to provide an answer for each X-ray image. The best F score was 0.752, and the sensitivity and PPV were 0.872 and 0.662, respectively. When limited to a proximal ureter stone, the sensitivity and PPV were 0.925 and 0.876, respectively, and they were the lowest at mid-ureter.

Conclusion: CAD of a plain X-ray may be a promising method to detect radio-opaque urinary tract stones with satisfactory sensitivity although the PPV could still be improved. The CAD model detects urinary tract stones quickly and automatically and has the potential to become a helpful screening modality especially for primary care physicians for diagnosing urolithiasis. Further study using a higher volume of data would improve the diagnostic performance of CAD models to detect urinary tract stones on a plain X-ray.

Keywords: Artificial intelligence; Convolutional neural network; Deep learning; Urinary tract stone; Urolithiasis; X-ray.

PubMed Disclaimer

Conflict of interest statement

The authors declare that they have no competing interests.

Figures

Fig. 1
Fig. 1
Flowchart of the inclusion and exclusion criteria and study outline. Eight hundred and twenty-seven X-ray images were used for training and 190 X-ray images were used for evaluating the model’s accuracy
Fig. 2
Fig. 2
Labeling stone lesions and image division into patches. a Resized plain X-ray image of a patient with a left ureteral stone. b Labeling of stone lesions by urologists. A blue area in the image is a label showing the correct location of the stone lesion. c Random cropping and creating patches. Patches of 166 × 166 pixels were randomly cropped from a plain X-ray image and divided into two groups: patches including or not including a stone lesion
Fig. 3
Fig. 3
ResNet architecture. The patches were input and convoluted as they passed through each layer. Each box indicates the number (n) and size (length (l) × width (w) = pixels) of images in each layer. The computer’s prediction of whether an input patch was included was output and each loss was calculated if the output was not concordant with the input. The parameters were optimized using the back propagation method, in which each loss was supposed to be minimized
Fig. 4
Fig. 4
Preparation to evaluate the model’s accuracy. a Heat map representing the possibility of a stone lesion by color between light red at 100% and dark green at 0%. b Bounding boxes were automatically created to enclose three pixels outside of the heat maps
Fig. 5
Fig. 5
Visualization of four representative cases. a A case with multiple calculi including a mid-ureteral stone. b A case in which a calculus was able to be distinguished from pelvic phleboliths. c A case with residual barium in the colon. d A case with multiple calculi and an artificial joint
Fig. 6
Fig. 6
The models’ diagnostic performance that was created for each weight of loss for overlooking. This line graph indicates that the sensitivity was increased and that the PPV and F score were decreased as the weight of loss for overlooking was increased

Similar articles

Cited by

References

    1. Niall O, Russell J, Macgregor R, Duncan H, Mullins J. A comparison of noncontrast computerized tomography with excretory urography in the assessment of acute flank pain. J Urol. 1999;161:534–537. doi: 10.1016/S0022-5347(01)61942-6. - DOI - PubMed
    1. Pfister SA, Deckart A, Laschke S, Dellas S, Otto U, Buitrago C, et al. Unenhanced helical computed tomography vs intravenous urography in patients with acute flank pain: accuracy and economic impact in a randomized prospective trial. Eur Radiol. 2003;13:2513–2520. doi: 10.1007/s00330-003-1937-1. - DOI - PubMed
    1. Wang JH, Shen SH, Huang SS, Chang CY. Prospective comparison of unenhanced spiral computed tomography and intravenous urography in the evaluation of acute renal colic. J Chin Med Assoc. 2008;71:30–36. doi: 10.1016/S1726-4901(08)70069-8. - DOI - PubMed
    1. Li J, Kennedy D, Levine M, Kumar A, Mullen J. Absent hematuria and expensive computerized tomography: case characteristics of emergency urolithiasis. J Urol. 2001;165:782–784. doi: 10.1016/S0022-5347(05)66525-1. - DOI - PubMed
    1. Brenner DJ, Hall EJ. Computed tomography—an increasing source of radiation exposure. N Engl J Med. 2007;357:2277–2284. doi: 10.1056/NEJMra072149. - DOI - PubMed

LinkOut - more resources