Artificial intelligence and colon capsule endoscopy: Automatic detection of ulcers and erosions using a convolutional neural network

J Gastroenterol Hepatol. 2022 Dec;37(12):2282-2288. doi: 10.1111/jgh.16011. Epub 2022 Oct 9.

Abstract

Background and aim: Colon capsule endoscopy (CCE) has become a minimally invasive alternative for conventional colonoscopy. Nevertheless, each CCE exam produces between 50 000 and 100 000 frames, making its analysis time-consuming and prone to errors. Convolutional neural networks (CNNs) are a type of artificial intelligence (AI) architecture with high performance in image analysis. This study aims to develop a CNN model for the identification of colonic ulcers and erosions in CCE images.

Methods: A CNN model was designed using a database of CCE images. A total of 124 CCE exams performed between 2010 and 2020 in two centers were reviewed. For CNN development, a total of 37 319 images were extracted, 33 749 showing normal colonic mucosa and 3570 showing colonic ulcers and erosions. Datasets for CNN training, validation, and testing were created. The performance of the algorithm was evaluated regarding its sensitivity, specificity, positive and negative predictive values, accuracy, and area under the curve.

Results: The network had a sensitivity of 96.9% and a specificity of 99.9% specific for the detection of colonic ulcers and erosions. The algorithm had an overall accuracy of 99.6%. The area under the curve was 1.00. The CNN had an image processing capacity of 90 frames per second.

Conclusions: The developed algorithm is the first CNN-based model to accurately detect ulcers and erosions in CCE images, also providing a good image processing performance. The development of these AI systems may contribute to improve both the diagnostic and time efficiency of CCE exams, facilitating CCE adoption to routine clinical practice.

Keywords: artificial intelligence; colon capsule endoscopy; convolutional neural network; inflammatory bowel disease; ulcers.

MeSH terms

  • Artificial Intelligence
  • Capsule Endoscopy*
  • Colon
  • Humans
  • Neural Networks, Computer