EndoCaver: Handling Fog, Blur and Glare in Endoscopic Images via Joint Deblurring-Segmentation
Zhuoyu Wu, Wenhui Ou, Pei-Sze Tan, Jiayan Yang, Wenqi Fang, Zheng Wang, Raphaël C. -W. Phan
TL;DR
EndoCaver tackles the challenge of degraded endoscopic imagery (fog, blur, glare) by proposing a lightweight transformer with a unidirectional dual-decoder that jointly performs deblurring and polyp segmentation. It introduces a Global Attention Module for cross-scale feature fusion, a Deblurring-Segmentation Aligner to share restoration cues across tasks, and a cosine-annealing loss scheduler (LoCoS) to stabilize multi-task optimization. The model achieves state-of-the-art Dice scores on clean data (0.922) and under severe degradation (0.889) on Kvasir-SEG while using only 7.81M parameters and 11.86 GMAC, enabling efficient on-device deployment. Ablation studies confirm the necessity of LoCoS, DSA, and GAM for strong cross-task feature sharing and robust performance under distribution shifts. Overall, EndoCaver offers a practical, computation-efficient solution for real-time endoscopic analysis with improved robustness to common imaging degradations.
Abstract
Endoscopic image analysis is vital for colorectal cancer screening, yet real-world conditions often suffer from lens fogging, motion blur, and specular highlights, which severely compromise automated polyp detection. We propose EndoCaver, a lightweight transformer with a unidirectional-guided dual-decoder architecture, enabling joint multi-task capability for image deblurring and segmentation while significantly reducing computational complexity and model parameters. Specifically, it integrates a Global Attention Module (GAM) for cross-scale aggregation, a Deblurring-Segmentation Aligner (DSA) to transfer restoration cues, and a cosine-based scheduler (LoCoS) for stable multi-task optimisation. Experiments on the Kvasir-SEG dataset show that EndoCaver achieves 0.922 Dice on clean data and 0.889 under severe image degradation, surpassing state-of-the-art methods while reducing model parameters by 90%. These results demonstrate its efficiency and robustness, making it well-suited for on-device clinical deployment. Code is available at https://github.com/ReaganWu/EndoCaver.
