RAW-Adapter: Adapting Pre-trained Visual Model to Camera RAW Images and A Benchmark

Ziteng Cui, Jianfei Yang, Tatsuya Harada
3/21/2025
cs.CV

No official code found. Best implementation: cuiziteng/ECCV_RAW_Adapter (101 stars, MIT, last commit 2025-04-29).

Abstract

In the computer vision community, the preference for pre-training visual models has largely shifted toward sRGB images due to their ease of acquisition and compact storage. However, camera RAW images preserve abundant physical details across diverse real-world scenarios. Despite this, most existing visual perception methods that utilize RAW data directly integrate image signal processing (ISP) stages with subsequent network modules, often overlooking potential synergies at the model level. Building on recent advances in adapter-based methodologies in both NLP and computer vision, we propose RAW-Adapter, a novel framework that incorporates learnable ISP modules as input-level adapters to adjust RAW inputs. At the same time, it employs model-level adapters to seamlessly bridge ISP processing with high-level downstream architectures. Moreover, RAW-Adapter serves as a general framework applicable to various computer vision frameworks. Furthermore, we introduce RAW-Bench, which incorporates 17 types of RAW-based common corruptions, including lightness degradations, weather effects, blurriness, camera imaging degradations, and variations in camera color response. Using this benchmark, we systematically compare the performance of RAW-Adapter with state-of-the-art (SOTA) ISP methods and other RAW-based high-level vision algorithms. Additionally, we propose a RAW-based data augmentation strategy to further enhance RAW-Adapter's performance and improve its out-of-domain (OOD) generalization ability. Extensive experiments substantiate the effectiveness and efficiency of RAW-Adapter, highlighting its robust performance across diverse scenarios.

View on arXivView PDF

Code Implementations(1)

MIT

📷 [ECCV 2024] RAW-Adapter: Adapting Pre-trained Visual Model to Camera RAW Images

1017Shell, PythonJul 9, 20241 years agoMIT
computational-photographyeccveccv2024exposure-correctionisp+2 more

Similar Papers

Cite this paper

@article{cui2025rawadapter,
  title  = {RAW-Adapter: Adapting Pre-trained Visual Model to Camera RAW Images and A Benchmark},
  author = {Ziteng Cui and Jianfei Yang and Tatsuya Harada},
  year   = {2025},
  eprint = {2503.17027},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2503.17027v1}
}

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

Discussion