Capsule Endoscopy Image Enhancement for Small Intestinal Villi Clarity

Shaojie Zhang, Yinghui Wang, Peixuan Liu, Wei Li, Jinlong Yang, Tao Yan, Yukai Wang · DOI

Abstract

This paper presents, for the first time, an image enhancement methodology designed to enhance the clarity of small intestinal villi in Wireless Capsule Endoscopy (WCE) images. This method first separates the low-frequency and high-frequency components of small intestinal villi images using guided filtering. Subsequently, an adaptive light gain factor is generated based on the low-frequency component, and an adaptive gradient gain factor is derived from the convolution results of the Laplacian operator in different regions of small intestinal villi images. The obtained light gain factor and gradient gain factor are then combined to enhance the high-frequency components. Finally, the enhanced high-frequency component is fused with the original image to achieve adaptive sharpening of the edges of WCE small intestinal villi images. The experiments affirm that, compared to established WCE image enhancement methods, our approach not only accentuates the edge details of WCE small intestine villi images but also skillfully suppresses noise amplification, thereby preventing the occurrence of edge overshooting.

Introduction

Wireless Capsule Endoscopy (WCE) is a non-invasive procedure used to examine the gastrointestinal tract. However, it faces significant hardware limitations due to the use of miniature LEDs and cameras, often resulting in dark, low-contrast images. In these conditions, the microscopic structures of the small intestine—the villi—are frequently blurred or invisible.

Anatomical diagram of the small intestine illustrating the microscopic villi and their internal structures.

Villi morphology serves as a critical diagnostic marker for conditions such as malabsorption and indigestion. While general image enhancement methods like Histogram Equalization (HE) or Retinex exist, they often fail in this specific context by over-amplifying noise in dark regions or creating "edge overshooting"—distracting white halos around sharp edges. This paper introduces a specialized framework to highlight these microscopic structures without introducing such artifacts.

Methodology

The proposed method utilizes a specialized Unsharp Masking (USM) framework operating in the HSI (Hue, Saturation, Intensity) color space to avoid color distortion. The core innovation lies in the calculation of an adaptive gain factor to modulate sharpening.

  1. Guided Filtering Decomposition: A guided filter is used to split the image into low-frequency (smooth) and high-frequency (detail) components, preserving edges more effectively than standard Gaussian blurs.
  2. Adaptive Light Gain ($w1$): Based on local brightness, a compressed sine function boosts details in moderately lit areas while reducing enhancement in dark regions to prevent the amplification of sensor noise.
  3. Adaptive Gradient Gain ($w2$): A Laplacian operator identifies the "edginess" of a region. High gain is applied to fine villi details, while lower gain is applied to large folds or edges to prevent the halo effect.
  4. Fusion: These factors are combined into a single adaptive coefficient ($k$) that modulates the high-frequency component before it is reintegrated with the original image.

Results and Discussion

The method was evaluated using a dataset of 50 clinical WCE images and benchmarked against established algorithms such as HCUM and NLUM.

A representative clinical WCE image showing the typical low-contrast environment of the small intestine.

Quantitative Analysis

The proposed approach significantly outperformed traditional algorithms across key metrics:

  • PSNR (Peak Signal-to-Noise Ratio): Achieved a score of 34.42, a substantial improvement over the next best method (NLUM at 31.35).
  • NIQE (Natural Image Quality Evaluator): Scored 3.25 (lower is better), indicating that the enhanced images appear more natural and less over-processed.

Qualitative Insights

By making the gain factor a function of both local brightness and gradient, the algorithm mimics expert manual adjustment—carefully bringing out textures without blowing out edges. The use of the Laplacian operator as a "safety valve" effectively solves the halo problem that has historically affected Unsharp Masking techniques.

Conclusion

This research presents the first image enhancement method specifically designed for small intestinal villi clarity in WCE. While the method's performance is naturally limited in extremely dark regions where sensor data is absent, it successfully accentuates fine anatomical details while suppressing noise. Future work will explore deep learning-based generative approaches to reconstruct missing textures in these challenging "blind spots."

Summary updated

Abstract

This paper presents, for the first time, an image enhancement methodology designed to enhance the clarity of small intestinal villi in Wireless Capsule Endoscopy (WCE) images. This method first separates the low-frequency and high-frequency components of small intestinal villi images using guided filtering. Subsequently, an adaptive light gain factor is generated based on the low-frequency component, and an adaptive gradient gain factor is derived from the convolution results of the Laplacian operator in different regions of small intestinal villi images. The obtained light gain factor and gradient gain factor are then combined to enhance the high-frequency components. Finally, the enhanced high-frequency component is fused with the original image to achieve adaptive sharpening of the edges of WCE small intestinal villi images. The experiments affirm that, compared to established WCE image enhancement methods, our approach not only accentuates the edge details of WCE small intestine villi images but also skillfully suppresses noise amplification, thereby preventing the occurrence of edge overshooting.
BibTeX
@inproceedings{zhang2024capsule,
  author = {Shaojie Zhang and Yinghui Wang and Peixuan Liu and Wei Li and Jinlong Yang and Tao Yan and Yukai Wang},
  title = {{Capsule Endoscopy Image Enhancement for Small Intestinal Villi Clarity}},
  booktitle = {Mathematics},
  year = {2024},
  doi = {10.3390/math12213317},
}
Figure