Related Experiment Video
Updated: Jun 19, 2026

Robotized Testing of Camera Positions to Determine Ideal Configuration for Stereo 3D Visualization of Open-Heart Surgery
Published on: August 12, 2021
Computer vision scoring of endoscopically traced line figures in an inanimate scope tip coordination training model
Neil Mitra1, Sanjeev Narasimhan2, Mehmet Kerem Turkcan2
1Lenox Hill Hospital, Northwell Health, New York, NY, USA. nmitra1@northwell.edu.
Introduction:
Fine control of the moving scope tip with an instrument extended from the scope tip is a critical skill in performing Endoscopic Submucosal Dissection (ESD) and hybrid ESD/Endoscopic Mucosal Resection (EMR) polypectomy. An inanimate training model has been utilized for several years where trainees trace line figures (e.g., grid, circle, S-shape, and figure of eight) using a sclerotherapy catheter "pen" within a plastic colon tube containing a paper insert. This exercise requires fine coordination similar to that needed for needle knife use. Traced figures are traditionally scored based on completion time and the number of deviations greater than 2 mm from the intended line. This study assesses the efficacy of a computer vision (CV) algorithm versus manual scoring in evaluating these tracings.
Methods:
A training session involved 8 tracings (4 figures, traced twice) resulting in 352 tracings manually scored for deviations over 2 mm. A CV model was employed to score the tracings by aligning each output with a reference template using perspective transformation. Color space segmentation isolated the ink, and deviations were highlighted by subtracting the tracing from the template. A pixel-based deviation analysis converted pixel distance to millimeters, classifying deviations greater than 2 mm as large deviations for final analysis. Additional morphological processing ensured accurate detection of significant deviations.
Results:
On average, the CV algorithm detected 1.28 more deviations than manual scoring. Detection rates by figure were as follows: grid pattern (1.23), circle (1.27), figure of eight (1.61), and S-shape (1.02). A Bland-Altman plot demonstrated agreement between the CV algorithm and manual scoring, with most deviations falling within the 96% confidence interval (± 1.96 SD). A noted confounder was the variability in pen stroke thickness, which occasionally resulted in thick lines being misconstrued as deviations. The introduction of orienting marks (circular or diamond-shaped) to each tracing facilitated more accurate evaluations.
Conclusion:
The CV algorithm effectively assessed the accuracy of tracings in the inanimate model by accurately detecting deviations compared to human scoring. Future developments include a CV application that provides real-time feedback for trainees, potentially integrating AI evaluation into advanced endoscopy educational programs.
Related Concept Videos
Imaging Studies III: Gastrointestinal Motility Studies and Virtual Colonoscopy
Radionuclide Testing
Radionuclide testing is a sophisticated medical technique for assessing gastrointestinal motility. It focuses on gastric emptying and colonic transit time. Radioactive markers track the movement of food through the digestive system, providing insights into gastrointestinal disorders.
In gastric emptying studies, a meal's liquid and solid...
Endoscopic Procedures III: Video Capsule Endoscopy

