{"title":"Automatic Endoscopic Navigation for Monocular Depth and Ego-Motion Estimation in Wireless Capsule Endoscopy Through Transformer Network","authors":"Junjun Huang;Tianran He;Juan Xu;Weiting Wu;Wei Wu","doi":"10.1109/ACCESS.2025.3565749","DOIUrl":null,"url":null,"abstract":"Gastrointestinal (GI) cancers are among the most prevalent globally. Wireless capsule endoscopy (WCE), a minimally invasive technology, offers a promising alternative for diagnosing and treating GI diseases. Accurate depth estimation from WCE but remains challenging due to the complexity of the GI environment and limited datasets. In this paper, we propose an automatic endoscopic navigation system for monocular depth and ego-motion estimation in wireless capsule endoscopy (WCE) through a Transformer-based encoder-decoder network. Minimally invasive surgeries, including gastrointestinal (GI) procedures, face unique challenges such as restricted field of view, illumination variation, and texture sparsity, which complicate depth estimation and pose estimation tasks. Traditional Structure from Motion (SfM) and SLAM methods are often inadequate for GI scenes due to these inherent complexities. To address these issues, we introduce a novel self-supervised neural network framework that integrates a dual-attention mechanism within a modified ResNet. This model simultaneously predicts depth maps and ego-motion from monocular GI images, without requiring ground truth depth data. Our approach enhances feature extraction through spatial and channel-wise attention, allowing the network to capture both local and global contextual information. Furthermore, a multi-scale structural similarity index combined with L1 loss function is employed to improve the accuracy of depth estimation in challenging endoscopic environments. The model leverages a multi-interval frame sampling strategy to simulate diverse ego-motion scenarios, making it robust to low frame rate inputs typically seen in WCE. For ego-motion estimation on the ColonSim dataset, our model achieves an Absolute Trajectory Error (ATE) of 0.09 m at 30 FPS, outperforming the next-best model, SC-SfMLearner, by 44.4%. Additionally, for depth estimation, our model records an Absolute Relative Error (Abs Rel) of 0.33, a Squared Relative Error (Sq Rel) of 0.27, and a Root Mean Square Error (RMSE) of 0.94 on the EndoSLAM dataset.","PeriodicalId":13079,"journal":{"name":"IEEE Access","volume":"13 ","pages":"77931-77951"},"PeriodicalIF":3.4000,"publicationDate":"2025-04-30","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://ieeexplore.ieee.org/stamp/stamp.jsp?tp=&arnumber=10980270","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"IEEE Access","FirstCategoryId":"94","ListUrlMain":"https://ieeexplore.ieee.org/document/10980270/","RegionNum":3,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q2","JCRName":"COMPUTER SCIENCE, INFORMATION SYSTEMS","Score":null,"Total":0}
引用次数: 0
Abstract
Gastrointestinal (GI) cancers are among the most prevalent globally. Wireless capsule endoscopy (WCE), a minimally invasive technology, offers a promising alternative for diagnosing and treating GI diseases. Accurate depth estimation from WCE but remains challenging due to the complexity of the GI environment and limited datasets. In this paper, we propose an automatic endoscopic navigation system for monocular depth and ego-motion estimation in wireless capsule endoscopy (WCE) through a Transformer-based encoder-decoder network. Minimally invasive surgeries, including gastrointestinal (GI) procedures, face unique challenges such as restricted field of view, illumination variation, and texture sparsity, which complicate depth estimation and pose estimation tasks. Traditional Structure from Motion (SfM) and SLAM methods are often inadequate for GI scenes due to these inherent complexities. To address these issues, we introduce a novel self-supervised neural network framework that integrates a dual-attention mechanism within a modified ResNet. This model simultaneously predicts depth maps and ego-motion from monocular GI images, without requiring ground truth depth data. Our approach enhances feature extraction through spatial and channel-wise attention, allowing the network to capture both local and global contextual information. Furthermore, a multi-scale structural similarity index combined with L1 loss function is employed to improve the accuracy of depth estimation in challenging endoscopic environments. The model leverages a multi-interval frame sampling strategy to simulate diverse ego-motion scenarios, making it robust to low frame rate inputs typically seen in WCE. For ego-motion estimation on the ColonSim dataset, our model achieves an Absolute Trajectory Error (ATE) of 0.09 m at 30 FPS, outperforming the next-best model, SC-SfMLearner, by 44.4%. Additionally, for depth estimation, our model records an Absolute Relative Error (Abs Rel) of 0.33, a Squared Relative Error (Sq Rel) of 0.27, and a Root Mean Square Error (RMSE) of 0.94 on the EndoSLAM dataset.
IEEE AccessCOMPUTER SCIENCE, INFORMATION SYSTEMSENGIN-ENGINEERING, ELECTRICAL & ELECTRONIC
CiteScore
9.80
自引率
7.70%
发文量
6673
审稿时长
6 weeks
期刊介绍:
IEEE Access® is a multidisciplinary, open access (OA), applications-oriented, all-electronic archival journal that continuously presents the results of original research or development across all of IEEE''s fields of interest.
IEEE Access will publish articles that are of high interest to readers, original, technically correct, and clearly presented. Supported by author publication charges (APC), its hallmarks are a rapid peer review and publication process with open access to all readers. Unlike IEEE''s traditional Transactions or Journals, reviews are "binary", in that reviewers will either Accept or Reject an article in the form it is submitted in order to achieve rapid turnaround. Especially encouraged are submissions on:
Multidisciplinary topics, or applications-oriented articles and negative results that do not fit within the scope of IEEE''s traditional journals.
Practical articles discussing new experiments or measurement techniques, interesting solutions to engineering.
Development of new or improved fabrication or manufacturing techniques.
Reviews or survey articles of new or evolving fields oriented to assist others in understanding the new area.