[Paper Review] Multi-Scale Structural-aware Exposure Correction for Endoscopic Imaging
This paper proposes a multi-scale, structural-aware deep learning method for real-time exposure correction in endoscopic imaging by enhancing the LMSPEC loss function with a structural similarity (SSIM)-aware term to preserve fine textures and colors. The approach achieves a 4.40% and 4.21% relative SSIM improvement over LMSPEC for over- and underexposed images, respectively, on the Endo4IE dataset, while maintaining low inference time.
Endoscopy is the most widely used imaging technique for the diagnosis of cancerous lesions in hollow organs. However, endoscopic images are often affected by illumination artefacts: image parts may be over- or underexposed according to the light source pose and the tissue orientation. These artifacts have a strong negative impact on the performance of computer vision or AI-based diagnosis tools. Although endoscopic image enhancement methods are greatly required, little effort has been devoted to over- and under-exposition enhancement in real-time. This contribution presents an extension to the objective function of LMSPEC, a method originally introduced to enhance images from natural scenes. It is used here for the exposure correction in endoscopic imaging and the preservation of structural information. To the best of our knowledge, this contribution is the first one that addresses the enhancement of endoscopic images using deep learning (DL) methods. Tested on the Endo4IE dataset, the proposed implementation has yielded a significant improvement over LMSPEC reaching a SSIM increase of 4.40% and 4.21% for over- and underexposed images, respectively.
Motivation & Objective
- To address the critical challenge of illumination artifacts—over- and underexposure—in endoscopic imaging, which degrade the performance of AI-based diagnostic tools.
- To develop a real-time, deep learning-based image enhancement method that corrects exposure while preserving structural and textural details in endoscopic scenes.
- To extend the LMSPEC framework with a structural similarity-aware loss function to mitigate texture and color artifacts introduced by prior methods.
- To evaluate the proposed method on the Endo4IE dataset, focusing on quantitative metrics and qualitative fidelity in both over- and underexposed regions.
- To enable robust, generalizable enhancement for clinical deployment in computer-aided endoscopy systems.
Proposed method
- The method extends the LMSPEC loss function by incorporating a structural similarity (SSIM) term to prioritize preservation of fine textures and spatial details during exposure correction.
- A two-phase training strategy is employed: first training on 128×128 patches, then fine-tuning on 256×256 patches with transferred weights to improve feature learning.
- The discriminator is activated at a specified discriminator starting epoch (DSE) during the second phase to stabilize GAN-based training and improve realism.
- Three separate models are trained on underexposed (UE), overexposed (OE), and combined (C) data subsets, with hyperparameters tuned per subset to maximize performance.
- The final model uses a fine-tuned configuration with optimized learning rates, batch size, and training epochs, achieving improved generalization across exposure types.
- The approach leverages a U-Net-based generator with adversarial training, enhanced by a multi-scale SSIM loss to maintain perceptual quality.

Experimental results
Research questions
- RQ1Can a structural similarity-aware loss function improve texture and detail preservation in endoscopic image exposure correction compared to standard LMSPEC?
- RQ2Does the proposed method achieve better performance than LMSPEC on both overexposed and underexposed endoscopic images in terms of SSIM and PSNR?
- RQ3Can the method maintain real-time inference speed (e.g., >8 FPS) while improving image quality in clinical endoscopy?
- RQ4How does multi-scale training on different patch sizes affect the model’s ability to generalize across diverse illumination artifacts?
- RQ5To what extent does the method reduce color and texture artifacts compared to baseline LMSPEC in real-world endoscopic sequences?
Key findings
- The proposed method achieved a 4.40% relative improvement in SSIM for overexposed images compared to the baseline LMSPEC model on the Endo4IE dataset.
- For underexposed images, the method showed a 4.21% relative SSIM improvement over LMSPEC, indicating enhanced preservation of fine structural details.
- The model trained on combined data (C) with fine-tuned hyperparameters achieved the highest overall performance, outperforming both LMSPEC and the baseline model across all metrics.
- Qualitative results demonstrated that the proposed method produces more realistic and artifact-free images, particularly in textured regions, compared to LMSPEC.
- Despite improvements, the model still exhibits a slight hue shift in some enhanced images, suggesting a need for additional color preservation loss.
- The method achieved an inference throughput of 8 FPS, indicating moderate real-time performance, though further optimization is needed for clinical deployment.

Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.