# QRNet: A Quaternion-Based Retinex Framework for Enhanced Wireless Capsule Endoscopy Image Quality

**Authors:** Vladimir Frants, Sos Agaian

PMC · DOI: 10.3390/bioengineering12030239 · Bioengineering · 2025-02-26

## TL;DR

QRNet improves wireless capsule endoscopy image quality by using a quaternion-based Retinex framework that enhances clarity and color fidelity.

## Contribution

QRNet introduces a novel quaternion-based Retinex framework that preserves color fidelity while enhancing endoscopic images.

## Key findings

- QRNet improves PSNR by +2.3 dB, SSIM by +0.089, and reduces LPIPS by −0.126 on endoscopy datasets.
- Lesion segmentation accuracy increases by up to 5% with QRNet's enhanced image quality.
- Quaternion representation is crucial for maintaining color consistency in ablation studies.

## Abstract

Wireless capsule endoscopy (WCE) offers a non-invasive diagnostic alternative for the gastrointestinal tract using a battery-powered capsule. Despite advantages, WCE encounters issues with video quality and diagnostic accuracy, often resulting in missing rates of 1–20%. These challenges stem from weak texture characteristics due to non-Lambertian tissue reflections, uneven illumination, and the necessity of color fidelity. Traditional Retinex-based methods used for image enhancement are suboptimal for endoscopy, as they frequently compromise anatomical detail while distorting color. To address these limitations, we introduce QRNet, a novel quaternion-based Retinex framework. QRNet performs image decomposition into reflectance and illumination components within hypercomplex space, maintaining inter-channel relationships that preserve color fidelity. A quaternion wavelet attention mechanism refines essential features while suppressing noise, balancing enhancement and fidelity through an innovative loss function. Experiments on Kvasir-Capsule and Red Lesion Endoscopy datasets demonstrate notable improvements in metrics such as PSNR (+2.3 dB), SSIM (+0.089), and LPIPS (−0.126). Moreover, lesion segmentation accuracy increases by up to 5%, indicating the framework’s potential for improving early-stage lesion detection. Ablation studies highlight the quaternion representation’s pivotal role in maintaining color consistency, confirming the promise of this advanced approach for clinical settings.

## Full-text entities

- **Diseases:** gastrointestinal bleeding (MESH:D006471), inflammatory bowel disease (MESH:D015212), IBS (MESH:D043183), GI (MESH:D005767), Crohn's disease (MESH:D003424), CRC (MESH:D015179), celiac disease (MESH:D002446), bleeding (MESH:D006470), lesion (MESH:D009059), colorectal polyps (MESH:D003111), WCE (MESH:D002062), abdominal pain (MESH:D015746), Cancer (MESH:D009369), melanomas (MESH:D008545), inflammation (MESH:D007249), injury to (MESH:D014947)
- **Chemicals:** LIME (MESH:C016538), Kvasir (-)
- **Species:** Homo sapiens (human, species) [taxon 9606]

## Full text

_Full body text omitted from this summary view._ Fetch the complete paper as Markdown: https://tomesphere.com/paper/PMC11939397/full.md

## Figures

3 figures with captions in the complete paper: https://tomesphere.com/paper/PMC11939397/full.md

## References

50 references — full list in the complete paper: https://tomesphere.com/paper/PMC11939397/full.md

---
Source: https://tomesphere.com/paper/PMC11939397