Published online Dec 7, 2026. doi: 10.3748/wjg.121242
Revised: May 18, 2026
Accepted: July 3, 2026
Published online: December 7, 2026
Processing time: 210 Days and 12.6 Hours
Accurate measurement of the lesion size in colonoscopy is important for selecting the guideline-recommended resection methods and surveillance intervals. The commonly applied technique of visual size estimation by endoscopists can be in
To develop, use, and compare artificial intelligence-based methods to improve size estimation.
We used three state-of-the-art monocular depth estimation models. Furthermore, one model was fine-tuned by domain-specific training with 3060 white-light-rendered images and depth maps of a virtual colonoscopy through a three-dimen
The mean absolute percentage error (MAPE) in the ESD cohort for the three models ranged from 68.3% to 77.0%. The fine-tuned model reached a MAPE of 37.0%. The experts and trainees achieved 27.3% and 37.5%, respectively. In the external cohort, the MAPE of the three models ranged from 37.6% to 102.4%, while the fine-tuned model achieved the best result with 33.9%.
While monocular depth estimation holds potential for automating polyp size prediction, bigger lesions pose an additional challenge and require rigorous domain-specific training using methods such as three-dimensional vir
Core Tip: Accurate measurement of colorectal polyp size is mandatory influencing the choice of resection technique and surveillance intervals. However, conventional visual estimation by endoscopists is prone to significant error rates up to 66%. In this work, we compare three state-of-the art monocular depth estimation artificial intelligence models for automated size measurement. When applied natively to colonoscopy, they show poor accuracy in size prediction. By domain specific training using virtual colonoscopy images we could significantly improve size prediction. The fine-tuned model achieved a mean absolute percentage error of 33.9%-37.0%. This performance was comparable to trainee endoscopists but remained inferior to experts.
- Citation: Schulz D, Ebigbo A, Holley E, Nagl S, Nichiporyk O, Probst A, Scheppach MW, Römmele C, Roser D, Zellmer S, Messmann H. Domain specific training with three-dimensional virtual colonoscopy images improves artificial intelligence based automated size prediction for large lesions. World J Gastroenterol 2026; 32(45): 121242
- URL: https://www.wjgnet.com/1007-9327/full/v32/i45/121242.htm
- DOI: https://dx.doi.org/10.3748/wjg.121242
The detection and removal of polyps via colonoscopy substantially reduces the incidence and mortality of colorectal cancer[1]. The choice of the resection technique and the determination of post-polypectomy surveillance intervals are primarily dictated by the lesion size. The guidelines from major societies, such as the European Society of Gastrointestinal Endoscopy (ESGE) and the United States Multi-Society Task Force on Colorectal Cancer, explicitly rely on defined size thresholds (e.g., 5 mm, 10 mm) for risk stratification[2,3]. However, there is currently no easy method to predict size with high enough accuracy in real time. The current standard is the endoscopist’s ability to estimate the polyp size during the procedure. Nevertheless, studies have repeatedly demonstrated that this estimation accuracy is often intolerably low, with rates varying between 25% and 66%[4-6]. This subjective estimation is additionally prone to interobserver variability and a phenomenon known as “terminal digit preference”, where measurements cluster conveniently around 5 mm, 10 mm, and 15 mm rather than reflecting the true dimensions[7]. While physical tools such as open biopsy forceps, rulers, or snares can be used as reference standards, they often require the use of a one-way device, which can extend procedure time. Furthermore, such devices can sometimes be difficult to position in angulated segments of the colon prone to peri
Machine learning is a rapidly evolving scientific field with many applications in gastrointestinal endoscopy, such as polyp detection, characterization, and quality control[8,9]. However, literature using deep learning to precisely measure object dimensions within the endoscopic view is still sparse. Previous articles have proposed network architectures that classify polyps into broad groups (e.g., diminutive vs large)[10]. Recently, one paper has successfully used artificial intelligence (AI)-based monocular depth estimation for poly size estimation[11]. The principal advantage of this approach is that polyp size estimation can be derived directly from the image, eliminating the need for specialized endoscopes or additional physical instruments.
In this study, we used and compared deep learning-based systems based on monocular estimation to predict colorectal polyp size from single white-light endoscopy images. We used or fine-tuned three state-of-the-art monocular estimation models to generate depth maps and validated the system’s ability to predict absolute lesion diameter in two collectives, namely an internal cohort of lesions with a large diameter and an external cohort with small-diameter polyps. We analyzed the absolute diameter as an outcome parameter. Furthermore, we evaluated the size prediction in the clinical relevant ESGE guideline conform predefined size bins (≤ 5 mm, 6-9 mm, 10-19 mm, 20-39 mm, and > 39 mm), where choice of the recommended resection may method change. For the internal cohort, we additionally compared the AI result with the estimations of three experts and three trainees. The gold standard for comparison was lesion measurement with a ruler or caliper after removal.
For generating training data for the depth estimation model, we used a three-dimensional (3D) colon model[12] and simulated multiple colonoscopies in Blender (Version 3.0, Blender Studio, Netherlands), an animation platform. In total, 3060 sequential white-light–rendered images were obtained. For each image, a 16-bit depth map was further generated to represent the depth from the virtual camera to the 3D surface for each pixel.
For generating the depth maps, three depth estimation models were compared: (1) Apple™ depth pro[13]; (2) UniK3D[14]; and (3) Depth Anything V2[15]. All of these models were trained on indoor or outdoor scenes by their developers. Moreover, we fine-tuned the Depth Anything V2 model with the 3060 virtual colonoscopy images for domain-specific adaptation by splitting the data into two parts, 80% for training an 20% for testing. For size estimation, the biggest diameter in the white-light image was taken and measured in pixels. The center of the diameter was taken as the depth reference point. Each model evaluated the distance from the camera to this point. Following this process, the pinhole camera approximation was used to calculate the size of the lesions. To assess differences between the models and the real endoscopy images, a common factor was calculated for each model by randomly sampling and least squares fitting 10% of the real sizes to the estimated sizes.
Two cohorts were used for the model validation. The first cohort consisted of 133 Lesions from patients who had undergone endoscopic submucosal dissection (ESD) at our hospital between 2021 and 2025. We retrospectively collected representative white-light endoscopy images taken before the ESD procedure with Olympus endoscopes (CF-EZ1500 and CF-HQ190 colonoscopes; Olympus Medical Corporation, Tokyo, Japan). After being pinned to a cork plate alongside a ruler for ground truth reference, each lesion was photographed. For validation of the models, a depth map was generated for each image. The size estimation of the models was calculated as described above. We report the mean absolute percentage error (MAPE) as the main outcome parameter. Furthermore, each lesion size was estimated by three expert endoscopists (> 2000 colonoscopies) and three trainees (< 100 colonoscopies).
The second cohort consisted of 42 videos of 42 polyps from the publicly available external Polyp-Size dataset[16]. From the videos, 42 representative white-light images were extracted. The authors measured the polyps after removal with vernier calipers. The depth map for each of the images was generated with the three models and the fine-tuned model. The estimated polyp size of the models was calculated as discussed in the paragraph above. The MAPE was taken as the main outcome parameter.
Lesion size distributions for both validation cohorts are summarized in Figure 1 and Table 1. The ESD cohort exhibited a mean lesion size of 31.4 mm (range: 7.1-73.3 mm), whereas the external dataset showed a mean polyp size of 5.2 mm (range: 2.8-11.7 mm).
| Dataset | Size (mm) | Mean absolute percentage deviation (%) | |||||
| Gr.Trth | AplDepth Pro | UniK3D | DphAnyV2 | DphAnyV2 3DVCol | Expert | Trainee | |
| Endoscopic submucosal dissection dataset | 31.4 (7.1-73.3) | 68.3 | 75.3 | 77.0 | 36.0 | 27.3 | 37.5 |
| External dataset | 5.2 (2.8-11.7) | 102.4 | 55.0 | 37.6 | 33.9 | ||
The evaluation of the finetuned Depth Anything V2 model on the 20% holdout virtual colonoscopy test set demon
Table 1 provides the MAPE across cohorts. Figure 2B presents a representative white-light image from the ESD cohort alongside the corresponding depth maps generated by three pretrained models and the fine-tuned model within the ESD dataset. Figure 2C depicts a representative white-light image from the external cohort, together with the depth maps produced by the three pretrained (non-fine-tuned) models and the fine-tuned model.
In the ESD cohort (Figure 3A), MAPEs were 68.3% for Apple Depth Pro, 75.3% for UniK3D, and 77.0% for Depth Anything V2 before finetuning. Finetuning with the virtual colonoscopy images reduced the deviation of the optimized model (DepthAnyV2_CstBlrd) to 36.0%, comparable to that of the endoscopist trainees (37.5%). Expert endoscopists achieved the lowest MAPE (27.3%). Real vs predicted polyp sizes for the optimized model and experts are shown in Figure 2B, with a Bland-Altman analysis presented in Figure 2C.
Performance in the external cohort is presented in Figure 3B and Table 1. MAPEs were 102.4% for Apple Depth Pro, 55.0% for UniK3D, and 37.6% for nonfinetuned Depth Anything V2. Fine-tuning further improved accuracy, achieving the lowest MAPE (33.9%). Figure 2B and C display the real vs predicted polyp sizes plot and Bland-Altman plot.
Next, the accuracy of size prediction was analyzed by determining the proportion of measurements correctly classified into the clinical relevant, ESGE guideline compliant, predefined size bins (≤ 5 mm, 6-9 mm, 10-19 mm, 20-39 mm, and > 39 mm) across the two independent datasets.
Table 2 shows the overall accuracy of the size predictions averaging over all bins. In the ESD dataset, the AI model DphAnyV2_3DVCol showed the second best prediction value with 59.8% only almost as good as the experts with 61.9%. The trainees raters were again worse with 39.9%.
| Dataset | Mean correctly classified binned Sizes (%) | |||||
| AplDepth Pro | UniK3D | DphAnyV2 | DphAnyV2 3DVCol | Expert | Trainee | |
| Endoscopic submucosal dissection dataset | 53.5 | 50.3 | 37.0 | 59.8 | 61.9 | 39.9 |
| External dataset | 42.9 | 52.4 | 54.8 | 59.5 | ||
Evaluating the results with respect to the bins, for the ESD dataset (Figure 4A), among all predictors, expert raters demonstrated the most consistent classification accuracy across size categories, ranging from 49% in 10-19mm to 68% in 20-39mm bin. Trainee performance was comparably high for smaller measurements (10-19mm: 64%) but declined substantially for larger sizes, reaching only 10% in > 39 mm bin, suggesting a systematic underestimation in this range. Among the four AI models, DphAnyV2_3DVCol has the highest accuracy in the larger size bins (20-39 mm: 68%), performing comparably to expert raters. The non domain specific DphAnyV2 consistently returned the lowest classification accuracy across all populated bins (10-19 mm 28%; 20-39 mm: 41%; > 39 mm: 41%).
In the external polyp dataset (Figure 4B), measurements were confined to the smaller size range, with cases distributed across 0 mm to 19 mm. All four AI models achieved their highest accuracy in the 10-19 mm bin, with AplDepthPro, DphAnyV2, and DphAnyV2_3DVCol each correctly classifying 75% of cases, and UniK3D reaching 50%, Classification accuracy was markedly reduced across all models in the 6-9 mm bin, with values ranging from 17% (AplDepthPro) to 42% (UniK3D).
In this study, we presented and compared novel AI-based systems employing monocular depth estimation to determine colorectal polyp size from white-light endoscopic images alone. Outcome parameters were defined based on absolute size and ESGE guideline-compliant predefined size ranges. The domain-adapted and fine-tuned system, trained on 3D virtual colonoscopy images, demonstrated performance comparable to endoscopist trainees in absolute size assessment and superior performance in binned size ranges, although expert endoscopists continued to outperform the system across both metrics. The results of this categorical analysis were comparable to those obtained using absolute size measure
In conclusion, while monocular depth estimation holds potential for automating polyp size prediction. However, larger lesions pose an additional challenge to such systems. Successful clinical implementation requires rigorous domain adaptation. Transfer learning with 3D virtual colonoscopy images provides a scalable, robust method to improve the accuracy of these systems, bringing them closer to the performance levels of human operators.
| 1. | Zauber AG, Winawer SJ, O'Brien MJ, Lansdorp-Vogelaar I, van Ballegooijen M, Hankey BF, Shi W, Bond JH, Schapiro M, Panish JF, Stewart ET, Waye JD. Colonoscopic polypectomy and long-term prevention of colorectal-cancer deaths. N Engl J Med. 2012;366:687-696. [RCA] [PubMed] [DOI] [Full Text] [Cited by in Crossref: 2583] [Cited by in RCA: 2464] [Article Influence: 176.0] [Reference Citation Analysis (10)] |
| 2. | Ferlitsch M, Hassan C, Bisschops R, Bhandari P, Dinis-Ribeiro M, Risio M, Paspatis GA, Moss A, Libânio D, Lorenzo-Zúñiga V, Voiosu AM, Rutter MD, Pellisé M, Moons LMG, Probst A, Awadie H, Amato A, Takeuchi Y, Repici A, Rahmi G, Koecklin HU, Albéniz E, Rockenbauer LM, Waldmann E, Messmann H, Triantafyllou K, Jover R, Gralnek IM, Dekker E, Bourke MJ. Colorectal polypectomy and endoscopic mucosal resection: European Society of Gastrointestinal Endoscopy (ESGE) Guideline - Update 2024. Endoscopy. 2024;56:516-545. [RCA] [PubMed] [DOI] [Full Text] [Cited by in Crossref: 222] [Cited by in RCA: 233] [Article Influence: 116.5] [Reference Citation Analysis (3)] |
| 3. | Gupta S, Lieberman D, Anderson JC, Burke CA, Dominitz JA, Kaltenbach T, Robertson DJ, Shaukat A, Syngal S, Rex DK. Recommendations for Follow-Up After Colonoscopy and Polypectomy: A Consensus Update by the US Multi-Society Task Force on Colorectal Cancer. Gastroenterology. 2020;158:1131-1153.e5. [RCA] [PubMed] [DOI] [Full Text] [Full Text (PDF)] [Cited by in Crossref: 364] [Cited by in RCA: 361] [Article Influence: 60.2] [Reference Citation Analysis (7)] |
| 4. | Sudarevic B, Sodmann P, Kafetzis I, Troya J, Lux TJ, Saßmannshausen Z, Herlod K, Schmidt SA, Brand M, Schöttker K, Zoller WG, Meining A, Hann A. Artificial intelligence-based polyp size measurement in gastrointestinal endoscopy using the auxiliary waterjet as a reference. Endoscopy. 2023;55:871-876. [RCA] [PubMed] [DOI] [Full Text] [Full Text (PDF)] [Cited by in Crossref: 44] [Cited by in RCA: 42] [Article Influence: 14.0] [Reference Citation Analysis (2)] |
| 5. | Djinbachian R, Taghiakbari M, Alj A, Medawar E, Sidani S, Liu Chen Kiow J, Panzini B, Bouin M, von Renteln D. Virtual scale endoscope versus snares for accuracy of size measurement of smaller colorectal polyps: a randomized controlled trial. Endoscopy. 2025;57:443-450. [RCA] [PubMed] [DOI] [Full Text] [Cited by in Crossref: 8] [Cited by in RCA: 7] [Article Influence: 7.0] [Reference Citation Analysis (0)] |
| 6. | Shimoda R, Akutagawa T, Tomonaga M, Murano T, Shinmura K, Yoshioka M, Teramura Y, Kiyomi F, Ikematsu H. Estimating colorectal polyp size with a virtual scale endoscope and visual estimation during colonoscopy: Prospective, preliminary comparison of accuracy. Dig Endosc. 2022;34:1471-1477. [RCA] [PubMed] [DOI] [Full Text] [Cited by in Crossref: 5] [Cited by in RCA: 36] [Article Influence: 9.0] [Reference Citation Analysis (0)] |
| 7. | Plumb AA, Nickerson C, Wooldrage K, Bassett P, Taylor SA, Altman D, Atkin W, Halligan S. Terminal digit preference biases polyp size measurements at endoscopy, computed tomographic colonography, and histopathology. Endoscopy. 2016;48:899-908. [RCA] [PubMed] [DOI] [Full Text] [Cited by in Crossref: 28] [Cited by in RCA: 35] [Article Influence: 3.5] [Reference Citation Analysis (0)] |
| 8. | De Lange G, Prouvost V, Rahmi G, Vanbiervliet G, Le Berre C, Mack S, Koessler T, Coron E. Artificial intelligence for characterization of colorectal polyps: Prospective multicenter study. Endosc Int Open. 2024;12:E413-E418. [RCA] [PubMed] [DOI] [Full Text] [Full Text (PDF)] [Cited by in RCA: 8] [Reference Citation Analysis (0)] |
| 9. | Tavanapong W, Oh J, Riegler MA, Khaleel M, Mittal B, de Groen PC. Artificial Intelligence for Colonoscopy: Past, Present, and Future. IEEE J Biomed Health Inform. 2022;26:3950-3965. [RCA] [PubMed] [DOI] [Full Text] [Full Text (PDF)] [Cited by in Crossref: 14] [Cited by in RCA: 20] [Article Influence: 5.0] [Reference Citation Analysis (1)] |
| 10. | Itoh H, Roth HR, Lu L, Oda M, Misawa M, Mori Y, Kudo S, Mori K. Towards Automated Colonoscopy Diagnosis: Binary Polyp Size Estimation via Unsupervised Depth Learning. In: Frangi A, Schnabel J, Davatzikos C, Alberola-López C, Fichtinger G, editors. Medical Image Computing and Computer Assisted Intervention – MICCAI 2018. Cham: Springer, 2018: 611–619. [DOI] [Full Text] |
| 11. | Wang J, Li Y, Chen B, Cheng D, Liao F, Tan T, Xu Q, Liu Z, Huang Y, Zhu C, Cao W, Yao L, Wu Z, Wu L, Zhang C, Xiao B, Xu M, Liu J, Li S, Yu H. A real-time deep learning-based system for colorectal polyp size estimation by white-light endoscopy: development and multicenter prospective validation. Endoscopy. 2024;56:260-270. [RCA] [PubMed] [DOI] [Full Text] [Cited by in Crossref: 33] [Cited by in RCA: 26] [Article Influence: 13.0] [Reference Citation Analysis (0)] |
| 12. | İncetan K, Celik IO, Obeid A, Gokceler GI, Ozyoruk KB, Almalioglu Y, Chen RJ, Mahmood F, Gilbert H, Durr NJ, Turan M. VR-Caps: A Virtual Environment for Capsule Endoscopy. Med Image Anal. 2021;70:101990. [RCA] [PubMed] [DOI] [Full Text] [Cited by in Crossref: 15] [Cited by in RCA: 40] [Article Influence: 8.0] [Reference Citation Analysis (0)] |
| 13. | Bochkovskii A, Delaunoy A, Germain H, Santos M, Zhou YC, Richter SR, Koltun V. Sharp Monocular Metric Depth in Less Than a Second. 2024 Preprint. Available from: arXiv. [DOI] [Full Text] |
| 14. | Piccinelli L, Sakaridis C, Segu M, Yang Y, Li S, Abbeloos W, Gool LV. UniK3D: Universal Camera Monocular 3D Estimation. 2025 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR); 2025 June 10-17, Nashville, TN, United States. Bengaluru: IEEE, 2025. [DOI] [Full Text] |
| 15. | Yang LH, Kang BY, Huang ZL, Zhao Z, Xu XG, Feng JS, Zhao HS. (2024). Depth Anything V2. 2024 Preprint. Available from: arXiv. [DOI] [Full Text] |
| 16. | Song Y, Du S, Wang R, Liu F, Lin X, Chen J, Li Z, Li Z, Yang L, Zhang Z, Yan H, Zhang Q, Qian D, Li X. Polyp-Size: A Precise Endoscopic Dataset for AI-Driven Polyp Sizing. Sci Data. 2025;12:918. [RCA] [PubMed] [DOI] [Full Text] [Full Text (PDF)] [Cited by in RCA: 6] [Reference Citation Analysis (1)] |
| 17. | Chaptini L, Chaaya A, Depalma F, Hunter K, Peikin S, Laine L. Variation in polyp size estimation among endoscopists and impact on surveillance intervals. Gastrointest Endosc. 2014;80:652-659. [RCA] [PubMed] [DOI] [Full Text] [Cited by in Crossref: 32] [Cited by in RCA: 73] [Article Influence: 6.1] [Reference Citation Analysis (0)] |
| 18. | van Bokhorst QNE, Houwen BBSL, Hazewinkel Y, van der Vlugt M, Beaumont H, Grootjans J, van Tilburg A, Fockens P, Bossuyt PMM, Dekker E; SCALE EYE study group. Polyp size measurement during colonoscopy using a virtual scale: variability and systematic differences. Endoscopy. 2025;57:137-145. [RCA] [PubMed] [DOI] [Full Text] [Full Text (PDF)] [Cited by in Crossref: 11] [Cited by in RCA: 12] [Article Influence: 12.0] [Reference Citation Analysis (0)] |
| 19. | Itoh H, Roth H, Misawa M, Mori Y, Oda M, Kudo S, Mori K. Polyp-size classification with RGB-D features for colonoscopy. Medical Imaging 2019: Computer-Aided Diagnosis 2019. United States: Society of Photo-Optical Instrumentation Engineers, 2019. [DOI] [Full Text] |
| 20. | Alhashim I, Wonka P. High quality monocular depth estimation via transfer learning. 2018 Preprint. Available from: arXiv. [DOI] [Full Text] |
| 21. | Silberman N, Hoiem D, Kohli P, Fergus R. Indoor Segmentation and Support Inference from RGBD Images. In: Fitzgibbon A, Lazebnik S, Perona P, Sato Y, Schmid C, editors. Computer Vision – ECCV 2012. Cham: Springer, 2012. [RCA] [DOI] [Full Text] [Cited by in Crossref: 1139] [Cited by in RCA: 342] [Article Influence: 24.4] [Reference Citation Analysis (0)] |