Underwater Organism Color Fine-Tuning via Decomposition and Guidance

Xiaofeng Cong, Jie Gui, Junming HouAAAI 2024

Abstract

Due to wavelength-dependent light attenuation and scattering, underwater organisms often appear color-distorted. Existing enhancement methods typically focus on generating fixed-color outputs, which is limited by the lack of perfect ground-truth labels in complex underwater environments. This paper proposes CECF (Color Enhancement and Color Fine-tuning), a framework that provides both standard restoration and controllable color adjustment. By decomposing images into content and color codes, CECF allows users to steer the final appearance of organisms using guidance images. Experimental results on benchmarks like UIEB and EUVP demonstrate that CECF achieves state-of-the-art performance in both enhancement quality and fine-tuning flexibility.

The Challenge of Underwater Color

Underwater photography is a battle against physics. Water absorbs different wavelengths of light at different rates—red disappears first, followed by orange and yellow—leaving most raw images with a thick cyan or green filter.

Existing Deep Learning-based Underwater Image Enhancement (DL-UIE) methods typically map a distorted image to a single "clear" version. However, there is no single "perfect" ground-truth for these environments. If a reference image is biased, the network learns that bias. CECF shifts the goal from finding one absolute truth to providing a controllable tool that can restore colors or adjust them based on user-provided guidance.

Methodology: Decomposition and Guidance

The core of the CECF algorithm is the decomposition of an image into two latent representations: a Content Code ($c_x$) for shapes and textures, and a Color Code ($m_x$) for chromatic information.

UE-Net Architecture

The system uses an encoder-decoder structure trained through a four-process joint procedure:

  1. Supervised Enhancement (P1): Learns the basic mapping from distorted to clear images.
  2. Self-Reconstruction (P2) & Cross-Reconstruction (P3): These processes force the network to decouple content from color by swapping codes between images and attempting to reconstruct the originals.
  3. Color Fine-tuning (P4): This is the user-controlled "knob." By blending the color code of a guidance image ($g$) with the distorted image's code using a parameter $\alpha$, the user can shift the organism's color toward the target.
A comparison showing a distorted underwater fish (top) and the enhanced result (bottom) achieved through the CECF framework.

A key observation driving this logic is that the hue of long-wavelength colors (reds/oranges) remains approximately invariant during enhancement, providing a stable anchor for fine-tuning.

Examples of guidance images ($g$) used in the fine-tuning process to steer the color of underwater organisms toward specific targets like yellow or red.

Experimental Results

CECF was evaluated on three primary benchmarks: UIEB, EUVP-I (ImageNet), and EUVP-S (Scenes).

  • Quantitative Performance: CECF achieved a PSNR of 21.819 and an SSIM of 0.894 on the UIEB dataset, outperforming established models like WaterNet and SGUIE.
  • No-Reference Quality: On the UIQM metric, which measures quality without a ground-truth, CECF remained highly competitive, often producing more visually natural results than other state-of-the-art methods.
  • Controllability: Qualitative results show that by varying $\alpha$ from 0 to 0.5, the color of a fish can be smoothly transitioned toward a vibrant red or yellow based on the guidance image, while keeping the background and textures intact.

Conclusion and Future Work

CECF represents a significant step toward flexible underwater image processing. While powerful, the authors note that the system currently requires segmentation masks to fine-tune specific organisms without affecting the entire scene. Future work will focus on integrating automated segmentation for an end-to-end "select and tune" experience.

The source code for this project is available at: https://github.com/Xiaofeng-life/CECF

Summary updated

BibTeX
@inproceedings{cong2024underwater,
  author = {Xiaofeng Cong and Jie Gui and Junming Hou},
  title = {{Underwater Organism Color Fine-Tuning via Decomposition and Guidance}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2024},
  url = {https://openreview.net/forum?id=LLrHnxkU1X},
}
Figure