Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

Raw-JPEG Adapter: Efficient Raw Image Compression with JPEG

About

Digital cameras digitize scene light into linear raw representations, which the image signal processor (ISP) converts into display-ready outputs. While raw data preserves full sensor information--valuable for editing and vision tasks--formats such as Digital Negative (DNG) require large storage, making them impractical in constrained scenarios. In contrast, JPEG is a widely supported format, offering high compression efficiency and broad compatibility, but it is not well-suited for raw storage. This paper presents RawJPEG Adapter, a lightweight, learnable, and invertible preprocessing pipeline that adapts raw images for standard JPEG compression. Our method applies spatial and optional frequency-domain transforms, with compact parameters stored in the JPEG comment field, enabling accurate raw reconstruction. Experiments across multiple datasets show that our method achieves higher fidelity than direct JPEG storage, supports other codecs, and provides a favorable trade-off between compression ratio and reconstruction accuracy.

Mahmoud Afifi, Ran Zhang, Michael S. Brown• 2025

Related benchmarks

TaskDatasetResultRank
Raw Image ReconstructionS24 (test)
PSNR46.22
72
Raw Image ReconstructionS7 dataset
PSNR47.24
20
Raw Image ReconstructionMIT-Adobe 5K
PSNR49.67
20
Raw Image ReconstructionNUS dataset
PSNR48.32
20
RAW ReconstructionS24 (test)
PSNR46.22
11
Raw Image ReconstructionS7 dataset 42 (test)
PSNR50.96
5
Raw Image ReconstructionMIT-Adobe 5K 5 (test)
PSNR52
5
Raw Image ReconstructionNUS 6 (test)
PSNR49.36
5
Showing 8 of 8 rows

Other info

Follow for update