# Learning sRGB-to-Raw-RGB De-rendering with Content-Aware Metadata

arXiv: https://arxiv.org/abs/2206.01813 · HTML: https://mlsanity.com/paper/2206.01813/

## Key facts

- Cited by 22 papers in the map (data through 14 Oct 2026).
- Builds on 13 of its 40 references that are in the map.
- First posted on arXiv 3 Jun 2022.

## Builds on (most cited first, 13 of 13)

- [Adam: A Method for Stochastic Optimization](https://mlsanity.com/paper/1412.6980/) (2014)
- [U-Net: Convolutional Networks for Biomedical Image Segmentation](https://mlsanity.com/paper/1505.04597/) (2015)
- [Model-Agnostic Meta-Learning for Fast Adaptation of Deep Networks](https://mlsanity.com/paper/1703.03400/) (2017)
- [Estimating or Propagating Gradients Through Stochastic Neurons for Conditional Computation](https://mlsanity.com/paper/1308.3432/) (2013)
- [Deep Image Prior](https://mlsanity.com/paper/1711.10925/) (2017)
- [Unprocessing Images for Learned Raw Denoising](https://mlsanity.com/paper/1811.11127/) (2018)
- [Single-Image HDR Reconstruction by Learning to Reverse the Camera Pipeline](https://mlsanity.com/paper/2004.01179/) (2020)
- [Superpixel Segmentation with Fully Convolutional Networks](https://mlsanity.com/paper/2003.12929/) (2020)
- [Modeling Radiometric Uncertainty for Vision with Tone-mapped Color Images](https://mlsanity.com/paper/1311.6887/) (2013)
- [Modelling the Scene Dependent Imaging in Cameras with a Deep Neural Network](https://mlsanity.com/paper/1707.08350/) (2017)
- [A Little Bit More: Bitplane-Wise Bit-Depth Recovery](https://mlsanity.com/paper/2005.01091/) (2020)
- [BitNet: Learning-Based Bit-Depth Expansion](https://mlsanity.com/paper/1910.04397/) (2019)
- [Image Companding and Inverse Halftoning using Deep Convolutional Neural Networks](https://mlsanity.com/paper/1707.00116/) (2017)

## Built on by (most cited first, 22 of 22)

- [Bilateral Guided Radiance Field Processing](https://mlsanity.com/paper/2406.00448/) (2024)
- [ParamISP: Learned Forward and Inverse ISPs using Camera Parameters](https://mlsanity.com/paper/2312.13313/) (2023)
- [Raw Image Reconstruction with Learned Compact Metadata](https://mlsanity.com/paper/2302.12995/) (2023)
- [Beyond the Pixel: a Photometrically Calibrated HDR Dataset for Luminance and Color Prediction](https://mlsanity.com/paper/2304.12372/) (2023)
- [Reversed Image Signal Processing and RAW Reconstruction. AIM 2022 Challenge Report](https://mlsanity.com/paper/2210.11153/) (2022)
- [Beyond Learned Metadata-based Raw Image Reconstruction](https://mlsanity.com/paper/2306.12058/) (2023)
- [Data Models for Dataset Drift Controls in Machine Learning With Optical Images](https://mlsanity.com/paper/2211.02578/) (2022)
- [GamutMLP: A Lightweight MLP for Color Loss Recovery](https://mlsanity.com/paper/2304.11743/) (2023)
- [Color Matching Using Hypernetwork-Based Kolmogorov-Arnold Networks](https://mlsanity.com/paper/2503.11781/) (2025)
- [A Learnable Color Correction Matrix for RAW Reconstruction](https://mlsanity.com/paper/2409.02497/) (2024)
- [RAWMamba: Unified sRGB-to-RAW De-rendering With State Space Model](https://mlsanity.com/paper/2411.11717/) (2024)
- [RAWild: Sensor-Agnostic RAW Object Detection via Physics-Guided Curve and Grid Modeling](https://mlsanity.com/paper/2605.05941/) (2026)
- [Accelerating Learned Image Compression Through Modeling Neural Training Dynamics](https://mlsanity.com/paper/2505.18107/) (2025)
- [Addressing Image Authenticity When Cameras Use Generative AI](https://mlsanity.com/paper/2604.21879/) (2026)
- [Raw Instinct: Trust Your Classifiers and Skip the Conversion](https://mlsanity.com/paper/2403.14439/) (2024)
- [Raw-JPEG Adapter: Efficient Raw Image Compression with JPEG](https://mlsanity.com/paper/2509.19624/) (2025)
- [Edit-aware RAW Reconstruction](https://mlsanity.com/paper/2512.05859/) (2025)
- [RAW-Domain Degradation Models for Realistic Smartphone Super-Resolution](https://mlsanity.com/paper/2603.12493/) (2026)
- [SpiralDiff: Spiral Diffusion with LoRA for RGB-to-RAW Conversion Across Cameras](https://mlsanity.com/paper/2603.14885/) (2026)
- [RAWIC: Bit-Depth Adaptive Lossless Raw Image Compression](https://mlsanity.com/paper/2603.28105/) (2026)
- [Linear Image Generation by Synthesizing Exposure Brackets](https://mlsanity.com/paper/2604.21008/) (2026)
- [MambaRaw: Selective State Space Modeling for Efficient 4K Raw Image Reconstruction](https://mlsanity.com/paper/2606.24479/) (2026)

## Abstract (arXiv)

Most camera images are rendered and saved in the standard RGB (sRGB) format by the camera's hardware. Due to the in-camera photo-finishing routines, nonlinear sRGB images are undesirable for computer vision tasks that assume a direct relationship between pixel values and scene radiance. For such applications, linear raw-RGB sensor images are preferred. Saving images in their raw-RGB format is still uncommon due to the large storage requirement and lack of support by many imaging applications. Several "raw reconstruction" methods have been proposed that utilize specialized metadata sampled from the raw-RGB image at capture time and embedded in the sRGB image. This metadata is used to parameterize a mapping function to de-render the sRGB image back to its original raw-RGB format when needed. Existing raw reconstruction methods rely on simple sampling strategies and global mapping to perform the de-rendering. This paper shows how to improve the de-rendering results by jointly learning sampling and reconstruction. Our experiments show that our learned sampling can adapt to the image content to produce better raw reconstructions than existing methods. We also describe an online fine-tuning strategy for the reconstruction network to improve results further.
