Training Neural Networks on RAW and HDR Images for Restoration Tasks

Andrew Yanzhe Ke, Lei Luo, Xiaoyu Xiang, Yuchen Fan, Rakesh Ranjan +2 more
12/6/2023
eess.IVcs.CV

No official code found. Best implementation: gfxdisp/ColorVideoVDP (136 stars, MIT, last commit 2026-04-18).

Abstract

The vast majority of standard image and video content available online is represented in display-encoded color spaces, in which pixel values are conveniently scaled to a limited range (0-1) and the color distribution is approximately perceptually uniform. In contrast, both camera RAW and high dynamic range (HDR) images are often represented in linear color spaces, in which color values are linearly related to colorimetric quantities of light. While training on commonly available display-encoded images is a well-established practice, there is no consensus on how neural networks should be trained for tasks on RAW and HDR images in linear color spaces. In this work, we test several approaches on three popular image restoration applications: denoising, deblurring, and single-image super-resolution. We examine whether HDR/RAW images need to be display-encoded using popular transfer functions (PQ, PU21, and mu-law), or whether it is better to train in linear color spaces, but use loss functions that correct for perceptual non-uniformity. Our results indicate that neural networks train significantly better on HDR and RAW images represented in display-encoded color spaces, which offer better perceptual uniformity than linear spaces. This small change to the training strategy can bring a very substantial gain in performance, between 2 and 9 dB.

View on arXivView PDF

Code Implementations(1)

MIT

Colour video VDP

13625Shell, MATLABDec 25, 20226 months agoMIT

Similar Papers

Cite this paper

@article{ke2023training,
  title  = {Training Neural Networks on RAW and HDR Images for Restoration Tasks},
  author = {Andrew Yanzhe Ke and Lei Luo and Xiaoyu Xiang and Yuchen Fan and Rakesh Ranjan and Alexandre Chapiro and Rafał K. Mantiuk},
  year   = {2023},
  eprint = {2312.03640},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2312.03640v3}
}

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

Discussion