Prior Metadata-Driven RAW Reconstruction: Eliminating the Need for Per-Image Metadata

Wencheng Han,Chen Zhang,Yang Zhou,Wentao Liu,Chen Qian,Chengzhong Xu,Jianbing Shen
DOI: https://doi.org/10.1145/3664647.3680819
2024-01-01
Abstract:While RAW images are efficient for image editing and perception tasks, their large size can strain camera storage and bandwidth. Reconstruction methods of RAW images from sRGB data typically require additional metadata from the RAW image, which increases camera processing computations. To address this problem, we propose using Prior Meta as a reference to reconstruct the RAW data instead of relying on per-image metadata. Prior metadata is extracted offline from reference RAW images, which are usually part of the training dataset and have similar scenes and light conditions as the target image. With this prior metadata, the camera does not need to provide any extra processing other than the sRGB images, and our model can autonomously find the desired prior information. To achieve this, we design a three-step pipeline. First, we build a pixel searching network that can find the most similar pixels in the reference RAW images as prior information. Then, in the second step, we compress the large-scale reference images to about 0.02% of their original size to reduce the searching cost. Finally, in the last step, we develop a neural network reconstructor to reconstruct the high-fidelity RAW images. Our model achieves comparable, and even better, performance than RAW reconstruction methods based on metadata.
What problem does this paper attempt to address?