cs.CVMar 16, 2026

SpiralDiff: Spiral Diffusion with LoRA for RGB-to-RAW Conversion Across Cameras

Authors: Huanjing Yue, Shangbin Xie, Cong Cao, Qian Wu, Lei Zhang, Lei Zhao, Jingyu Yang

Organizations: School of Electrical and Information Engineering, Tianjin University · State key laboratory of Smart Power Distribution Equipment and System, Tianjin University · Individual

Abstract

RAW images preserve superior fidelity and rich scene information compared to RGB, making them essential for tasks in challenging imaging conditions. To alleviate the high cost of data collection, recent RGB-to-RAW conversion methods aim to synthesize RAW images from RGB. However, they overlook two key challenges: (i) the reconstruction difficulty varies with pixel intensity, and (ii) multi-camera conversion requires camera-specific adaptation. To address these issues, we propose SpiralDiff, a diffusion-based framework tailored for RGB-to-RAW conversion with a signal-dependent noise weighting strategy that adapts reconstruction fidelity across intensity levels. In addition, we introduce CamLoRA, a camera-aware lightweight adaptation module that enables a unified model to adapt to different camera-specific ISP characteristics. Extensive experiments on four benchmark datasets demonstrate the superiority of SpiralDiff in RGB-to-RAW conversion quality and its downstream benefits in RAW-based object detection. Our code and model are available at https://github.com/Chuancy-TJU/SpiralDiff.

Figures & tables

Explore similar work

CardsList
  1. RawGen: Learning Camera Raw Image Generation

    Mar 31, 2026Dongyoung Kim, Junyong Lee, Abhijith Punnappurath +4Computational ImagingImage Generation

  2. RAWIC: Bit-Depth Adaptive Lossless Raw Image Compression

    Mar 30, 2026Chunhang Zheng, Tongda Xu, Mingli Xie +2Learned Image Compression

  3. MERIT: Multi-domain Efficient RAW Image Translation

    Mar 21, 2026Wenjun Huang, Shenghao Fu, Yian Jin +10Image-to-Image Translation