Fearless Luminance Adaptation: A Macro-Micro-Hierarchical Transformer for Exposure Correction

Gehui Li, Jinyuan Liu, Long Ma, Zhiying Jiang, Xin Fan +1 more
9/2/2023
cs.CV

No confident code implementation found for this paper.

Abstract

Photographs taken with less-than-ideal exposure settings often display poor visual quality. Since the correction procedures vary significantly, it is difficult for a single neural network to handle all exposure problems. Moreover, the inherent limitations of convolutions, hinder the models ability to restore faithful color or details on extremely over-/under- exposed regions. To overcome these limitations, we propose a Macro-Micro-Hierarchical transformer, which consists of a macro attention to capture long-range dependencies, a micro attention to extract local features, and a hierarchical structure for coarse-to-fine correction. In specific, the complementary macro-micro attention designs enhance locality while allowing global interactions. The hierarchical structure enables the network to correct exposure errors of different scales layer by layer. Furthermore, we propose a contrast constraint and couple it seamlessly in the loss function, where the corrected image is pulled towards the positive sample and pushed away from the dynamically generated negative samples. Thus the remaining color distortion and loss of detail can be removed. We also extend our method as an image enhancer for low-light face recognition and low-light semantic segmentation. Experiments demonstrate that our approach obtains more attractive results than state-of-the-art methods quantitatively and qualitatively.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{li2023fearless,
  title  = {Fearless Luminance Adaptation: A Macro-Micro-Hierarchical Transformer for Exposure Correction},
  author = {Gehui Li and Jinyuan Liu and Long Ma and Zhiying Jiang and Xin Fan and Risheng Liu},
  year   = {2023},
  eprint = {2309.00872},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2309.00872v2}
}

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/2309.00872.svg)](https://codeofpaper.com/paper/2309.00872)

Discussion