HVI Colour Space & CIDNet – Detailed Study Notes
Paper & Context
Title: “You Only Need One Color Space: An Efficient Network for Low-light Image Enhancement” (arXiv:2402.05809v3, 17 Jun 2024)
Task focus: Low-Light Image Enhancement (LLIE) – restoring brightness, suppressing noise, correcting color bias in images captured with insufficient illumination.
Core claim: A single, newly designed color space (HVI) is enough to stabilise LLIE; it removes the need for juggling sRGB & HSV/YCbCr during training/inference.
Code: https://github.com/Fediory/HVI-CIDNet
Motivation & Shortcomings of Existing Color Spaces
sRGB
Brightness & chromaticity entangled across three channels.
Tiny noise in one channel (e.g., red) ⇒ large global colour/brightness artifacts (Fig 1).
Networks compensate with many parameters and explicit colour/brightness losses.
HSV
Separates Value (brightness) from Hue/Saturation but…
Hue axis is discontinuous (wrap-around at 0/1 produces colour jumps).
Entire plane at Value = 0 maps to a single RGB triplet ⇒ one-to-many mapping ⇒ black artifacts in extreme dark regions.
YCbCr
Solves hue discontinuity but still has non-bijective pure-black mapping.
Proposed HVI (Horizontal/Vertical-Intensity) Colour Space
Design goals: (i) strict one-to-one mapping to sRGB, (ii) explicit decoupling of intensity vs. chroma, (iii) trainable adaptability to camera spectral bias & illumination range.
Building Blocks
Intensity map
Trainable parameters
: adjusts colour-point density in low-intensity regions.
Colour-density plane
: camera-specific hue-bias factors to neutralise green / blue dominance.
Piece-wise linear perceptual hue mapping (Eq 3).
Trainable function : saturation reshaping; must satisfy .
Orthogonal HV plane
Final horizontal / vertical channels
Inverse (PHVIT)
Recover from enhanced maps, then hue via .
Saturation , Value (linear gains ).
Guarantees surjective HVI→HSV and bijective HVI→sRGB.
CIDNet: Colour- & Intensity-Decoupling Network
Lightweight: 1.88 M parameters, 7.57 GFLOPs (256² input) – suitable for edge devices.
Pipeline
HVIT: sRGB → (Intensity map I, HV map) in HVI.
Dual-branch UNet-based enhancement network.
Intensity-branch (I-branch): learns global illumination mapping.
HV-branch: denoises colour & preserves structure.
Six Lighten Cross-Attention (LCA) blocks inserted symmetrically.
Residual addition of original HVI maps for ease of learning.
PHVIT: enhanced HVI → sRGB.
Lighten Cross-Attention (LCA) Block
Sub-modules
Cross-Attention Block (CAB)
• Query from one branch, Key/Value from the other ⇒ bidirectional guidance.
• Output: .Intensity Enhance Layer (IEL)
• Decomposes CAB output into illumination & reflectance via depth-wise convs.
• Enhancement: .Color Denoise Layer (CDL): symmetric to IEL but focuses on chroma noise suppression.
Loss Functions
In HVI space
In sRGB space: identical loss definition.
Joint objective: .
Experimental Setup
Datasets
Paired: LOL-v1 (485/15), LOL-v2-Real (689/100), LOL-v2-Syn (900/100), SICE (train/val/test = 7:1:2), Sony-Total-Dark (SID subset), LOL-Blur.
Unpaired: DICM, LIME, MEF, NPE, VV.
Training details
Optimiser: Adam .
LR schedule: cosine annealing from .
Padded inputs to multiple of , reflect padding.
Clip to admissible HVI domain .
Metrics
Paired: PSNR, SSIM, LPIPS.
Unpaired: BRISQUE, NIQE.
Quantitative Highlights (selected)
LOL-v1 GT-mean: dB / / (best or 2ⁿᵈ best across board).
LOL-v2-Real Normal-light: / – exceeds RetinexFormer by +1.32 dB.
Sony-Total-Dark: +9.9 % PSNR vs. LEDNet, –12.7 % LPIPS.
LOL-Blur: 26.57 dB PSNR & lowest perceptual error, despite lowest FLOPs.
Qualitative Observations
CIDNet restores true object colours without over-saturation; avoids green cast typical of SNR-Aware.
Preserves fine texture in shadows; no hue flipping in near-black regions (proof of bijective HVI).
Under extreme darkness (Sony-Total-Dark): convincingly hallucinates missing details while keeping global tone natural.
Ablation Findings
Colour space choice
HVI > sRGB > HSV; switching to HSV drops PSNR by ≥10 dB (due to hue discontinuity).
LCA efficacy
Adding LCA to baseline UNet (+HVI) ↑PSNR by +5.4 dB.
Removing CAB leads to over-exposed halos; removing IEL / CDL leaves noise or under-exposure.
Dual-branch vs. single branch
Separate HV & I paths ↑PSNR +1.16 dB.
Loss design
Combining HVI-space & RGB-space losses superior; adding VGG19 perceptual loss yields extra +0.68–1.99 dB.
HVIT variants
Feeding Intensity-map + full HVI-map (ours) outperforms “all-HVI” or “Int+HV-only” inputs.
Robustness & Generalisation
Cross-dataset (train LOL-v1 → test LOL-v2-Syn): top SSIM 0.820 & best LPIPS 0.215.
Plug-and-play HVI transform
Augments RetinexFormer, LEDNet, Restormer, SNR-Aware; all 11 metrics improve while FLOPs unchanged.
Inference latency (256×256)
GPU ≈ 0.053 s, CPU ≈ 0.416 s – fastest among compared methods.
Practical & Ethical Considerations
Edge deployment feasible: <2 M parameters.
Applicable to surveillance, mobile photography, medical endoscopy where low-light capture common.
Ethical use: enhanced images may reveal previously hidden personal details; consent & privacy policies required.
Avoid misleading forensic conclusions: network may hallucinate plausible but incorrect content in totally black regions.
Connections & Future Directions
Extends Retinex-theory separation via learned colour space instead of manual Y channel.
Bridges classical colour science (bijective mapping) with deep learning adaptability (trainable k, γ parameters).
Potential to integrate HVI into diffusion-based LLIE, HDR reconstruction, or video frame pipelines.
Further study: hardware-aware training to auto-adapt HVI to specific sensor spectral response.