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
. 2025 Jun 7;31(21):107601.
doi: 10.3748/wjg.v31.i21.107601.

Classification of pediatric video capsule endoscopy images for small bowel abnormalities using deep learning models

Affiliations

Classification of pediatric video capsule endoscopy images for small bowel abnormalities using deep learning models

Yi-Hsuan Huang et al. World J Gastroenterol. .

Abstract

Background: Video capsule endoscopy (VCE) is a noninvasive technique used to examine small bowel abnormalities in both adults and children. However, manual review of VCE images is time-consuming and labor-intensive, making it crucial to develop deep learning methods to assist in image analysis.

Aim: To employ deep learning models for the automatic classification of small bowel lesions using pediatric VCE images.

Methods: We retrospectively analyzed VCE images from 162 pediatric patients who underwent VCE between January 2021 and December 2023 at the Children's Hospital of Nanjing Medical University. A total of 2298 high-resolution images were extracted, including normal mucosa and lesions (erosions/erythema, ulcers, and polyps). The images were split into training and test datasets in a 4:1 ratio. Four deep learning models: DenseNet121, Visual geometry group-16, ResNet50, and vision transformer were trained using 5-fold cross-validation, with hyperparameters adjusted for optimal classification performance. The models were evaluated based on accuracy, precision, recall, F1-score, and area under the receiver operating curve (AU-ROC). Lesion visualization was performed using gradient-weighted class activation mapping.

Results: Abdominal pain was the most common indication for VCE, accounting for 62% of cases, followed by diarrhea, vomiting, and gastrointestinal bleeding. Abnormal lesions were detected in 93 children, with 38 diagnosed with inflammatory bowel disease. Among the deep learning models, DenseNet121 and ResNet50 demonstrated excellent classification performance, achieving accuracies of 90.6% [95% confidence interval (CI): 89.2-92.0] and 90.5% (95%CI: 89.9-91.2), respectively. The AU-ROC values for these models were 93.7% (95%CI: 92.9-94.5) for DenseNet121 and 93.4% (95%CI: 93.1-93.8) for ResNet50.

Conclusion: Our deep learning-based diagnostic tool developed in this study effectively classified lesions in pediatric VCE images, contributing to more accurate diagnoses and increased diagnostic efficiency.

Keywords: Children; Convolutional neural network; Deep learning; Erosion; Polyp; Ulcer; Video capsule endoscopy; Vision transformer.

PubMed Disclaimer

Conflict of interest statement

Conflict-of-interest statement: The authors declare that they have no conflict of interest.

Figures

Figure 1
Figure 1
A flowchart illustrating the deep learning models used for lesion classification in video capsule endoscopy images. VCE: Video capsule endoscopy; VGG: Visual geometry group; ViT: Vision transformer; AU-ROC: Area under the receiver operating curve.
Figure 2
Figure 2
Lesion detection by applying gradient-weighted class activation mapping on representative video capsule endoscopy images, including normal mucosa, erosions/erythema, ulcer, and polyps images. A-D: White-light imaging capsule endoscopic image; E-H: Gradient-weighted class activation mapping image. A and E: Normal mucosa; B and F: Erosions/erythema; C and G: Ulcer; D and H: Polyps. Grad-CAM: Gradient-weighted class activation mapping; VCE: Video capsule endoscopy.

Similar articles

References

    1. Iddan G, Meron G, Glukhovsky A, Swain P. Wireless capsule endoscopy. Nature. 2000;405:417. - PubMed
    1. Thomson M, Fritscher-Ravens A, Mylonaki M, Swain P, Eltumi M, Heuschkel R, Murch S, McAlindon M, Furman M. Wireless capsule endoscopy in children: a study to assess diagnostic yield in small bowel disease in paediatric patients. J Pediatr Gastroenterol Nutr. 2007;44:192–197. - PubMed
    1. Cohen SA, Ephrath H, Lewis JD, Klevens A, Bergwerk A, Liu S, Patel D, Reed-Knight B, Stallworth A, Wakhisi T, Gold BD. Pediatric capsule endoscopy: review of the small bowel and patency capsules. J Pediatr Gastroenterol Nutr. 2012;54:409–413. - PubMed
    1. Friedlander JA, Liu QY, Sahn B, Kooros K, Walsh CM, Kramer RE, Lightdale JR, Khlevner J, McOmber M, Kurowski J, Giefer MJ, Pall H, Troendle DM, Utterson EC, Brill H, Zacur GM, Lirio RA, Lerner DG, Reynolds C, Gibbons TE, Wilsey M, Liacouras CA, Fishman DS Endoscopy Committee. NASPGHAN Capsule Endoscopy Clinical Report. J Pediatr Gastroenterol Nutr. 2017;64:485–494. - PubMed
    1. Jensen MK, Tipnis NA, Bajorunaite R, Sheth MK, Sato TT, Noel RJ. Capsule endoscopy performed across the pediatric age range: indications, incomplete studies, and utility in management of inflammatory bowel disease. Gastrointest Endosc. 2010;72:95–102. - PubMed

LinkOut - more resources