Introduction
Exposure correction is a fundamental challenge in computer vision, aimed at restoring images suffering from under- or over-exposure. Traditional methods often struggle with two primary limitations: local receptive fields and irreversible detail loss. Convolutional neural networks (CNNs) typically focus on local patches, making it difficult to maintain global lighting consistency. Furthermore, in extreme lighting conditions—such as deep shadows or blown-out highlights—data is often lost, and standard discriminative models lack the generative capacity to reconstruct these missing textures.
To address these issues, we present OSMamba, an Omnidirectional Spectral Mamba framework that leverages the efficiency of State Space Models (SSMs) and the generative power of Diffusion Models to achieve state-of-the-art exposure correction.
Methodology
OSMamba introduces two key innovations to overcome the limitations of previous architectures: Omnidirectional Spectral Scanning and a Dual-Domain Prior Generator.
Omnidirectional Spectral Scanning (OS-Scan)
Operating in the frequency domain via Fast Fourier Transforms (FFT), the model separates images into amplitude (illumination) and phase (structure). While standard Mamba models scan images linearly (row-by-row or column-by-column), OSMamba introduces diagonal scanning paths. Since frequency spectra exhibit central symmetry, this omnidirectional approach allows the model to capture complex global dependencies and spectral interactions that traditional scans overlook, effectively providing a global receptive field.
Dual-Domain Prior Generator (DDPG)
To combat irreversible detail loss, OSMamba incorporates a conditional Diffusion Model. During training, a teacher module learns the features of well-exposed ground truth images. At inference, the DDPG acts as a student, taking the incorrectly exposed image and generating a compact "diffusion prior." This prior provides the generative "hints" needed to reconstruct textures in severely degraded areas. By injecting this prior into the Mamba blocks, the network can restore fine details without the massive computational overhead of full-image diffusion.
Key Results
OSMamba was evaluated on three major benchmarks: MSEC (multi-exposure), SICE (large-scale exposure), and LCDP (mixed-exposure). The model achieved State-of-the-Art (SOTA) performance across all datasets. On the SICE dataset, OSMamba reached a PSNR of 22.82 dB, a significant 1.01 dB improvement over the previous best method, CoTF.
Qualitatively, OSMamba demonstrates a superior ability to recover natural colors in over-exposed regions and reveal sharp textures in under-exposed shadows, avoiding the blurry or noisy artifacts common in previous methods.
Conclusion
By combining the global modeling capabilities of Omnidirectional Spectral Mamba with the generative guidance of a Dual-Domain Diffusion Prior, OSMamba sets a new standard for exposure correction. Future work will explore extending this architecture to High Dynamic Range (HDR) reconstruction and further optimizing the computational efficiency of the diffusion prior injection process.
Summary updated