Underwater Organism Color Enhancement via Color Code Decomposition, Adaptation and Interpolation

Xiaofeng Cong, Jing Zhang, Yeying Jin, Junming Hou, Yu Zhao +3 more
9/29/2024
cs.CV

Official code: Xiaofeng-life/ColorCode (61 stars, last commit 2025-06-24).

Abstract

Underwater images often suffer from quality degradation due to absorption and scattering effects. Most existing underwater image enhancement algorithms produce a single, fixed-color image, limiting user flexibility and application. To address this limitation, we propose a method called \textit{ColorCode}, which enhances underwater images while offering a range of controllable color outputs. Our approach involves recovering an underwater image to a reference enhanced image through supervised training and decomposing it into color and content codes via self-reconstruction and cross-reconstruction. The color code is explicitly constrained to follow a Gaussian distribution, allowing for efficient sampling and interpolation during inference. ColorCode offers three key features: 1) color enhancement, producing an enhanced image with a fixed color; 2) color adaptation, enabling controllable adjustments of long-wavelength color components using guidance images; and 3) color interpolation, allowing for the smooth generation of multiple colors through continuous sampling of the color code. Quantitative and visual evaluations on popular and challenging benchmark datasets demonstrate the superiority of ColorCode over existing methods in providing diverse, controllable, and color-realistic enhancement results. The source code is available at https://github.com/Xiaofeng-life/ColorCode.

View on arXivView PDF

Code Implementations(1)

6133Shell, PythonSep 13, 20241 years ago

Similar Papers

Cite this paper

@article{cong2024underwater,
  title  = {Underwater Organism Color Enhancement via Color Code Decomposition, Adaptation and Interpolation},
  author = {Xiaofeng Cong and Jing Zhang and Yeying Jin and Junming Hou and Yu Zhao and Jie Gui and James Tin-Yau Kwok and Yuan Yan Tang},
  year   = {2024},
  eprint = {2409.19685},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2409.19685v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2409.19685.svg)](https://codeofpaper.com/paper/2409.19685)

Discussion