arXiv:2609.02831cs.CVSep 2026

Manuscript Offprint

arXiv:2609.02831

Benchmarking RAW and RGB Restoration in Image Signal Processors

Zihao Lu, Radu Timofte, Marcos V. Conde

Zihao Lu

zihao.lu@stud-mail.uni-wuerzburg.de

Radu Timofte

radu.timofte@uni-wuerzburg.de

Marcos V. Conde †

marcos.conde@uni-wuerzburg.de

Computer Vision Laboratory

CAIDAS and IFI

University of Würzburg

Würzburg, Germany

† Corresponding Author

https://github.com/mv-lab/AISP

2 Sep

[cs.CV]

Figure

arXiv:2609.02101

Figure 1: Where should restoration happen in camera pipelines? Considering the limited computational budget in mobile devices, we compare two strategies around a fixed Image Signal Processor: (A) pre-ISP RAW restoration and (B) post-ISP RGB restoration.

Abstract

Modern cameras transform RAW sensor measurements into sRGB images through an image signal processor (ISP). We benchmark two placements for blind restoration around a fixed ISP: (A) pre-ISP restoration in the RAW domain and (B) post-ISP restoration in the sRGB domain. The benchmark covers four smartphone device groups, two learned ISPs, three degradation regimes—noise, blur, and joint noise and blur—, and several representative RAW and RGB restoration models.

Our results show that placement alone does not determine performance. The RAW restoration strategy outperforms the best generic RGB restoration models. However, RGB restoration models trained considering the ISP transformations, achieve the best overall performance. Our novel benchmark demonstrates that the image reconstruction performance strongly depends on the alignment between the restoration model and the target imaging pipeline. We consequently recommend reporting restoration placement and ISP-aware supervision as key experimental factors.

© 2026. The copyright of this document resides with its authors. It may be distributed unchanged freely in print or electronic forms.

Figure

Figure 2: A classical Image Signal Processor [☐].

1 Introduction and Motivation

Image restoration aims to recover high-quality images from degraded observations, such as noise, blur, and their joint effects. Most existing restoration methods operate in the RGB domain, where large-scale datasets and mature network architectures have led to strong performance on standard restoration benchmarks. However, RGB images are not direct sensor measurements. Digital cameras and smartphones employ a dedicated Image Signal Processor (ISP) to transform RAW sensor measurements into visually pleasing RGB images.

A simplified ISP pipeline can be expressed mathematically as:

yrgb=ISP(xraw)=γ(C(W(D(xraw))))(1)\mathbf{y}_{r g b}=\mathrm{I S P}(\mathbf{x}_{r a w})=\gamma(\mathbf{C}(\mathbf{W}(\mathcal{D}(\mathbf{x}_{r a w})))) \tag{1}

where xraw∈RH×W\mathbf{x}_{raw} \in \mathbb{R}^{H \times W} represents mosaiced RAW sensor data (typically following a Bayer RGGB pattern), and yrgb∈RH×W×3\mathbf{y}_{rgb} \in \mathbb{R}^{H \times W \times 3} is the final sRGB image. The core operations include (i) demosaicing D(⋅)\mathcal{D}(\cdot) to interpolate missing color values, (ii) white balancing W\mathbf{W} to correct color temperature, (iii) a color correction matrix (CCM) C\mathbf{C} for device-specific color calibration, and (iv) tone mapping γ(⋅)\gamma(\cdot) to compress dynamic range and apply gamma correction. Figure 2 illustrates this camera pipeline.

In practice, white balance and CCM parameters are typically calibrated or tuned based on sensor characterization and color charts [☐]. The tone mapping γ(⋅)\gamma(\cdot) is highly nonlinear (often a power function with γ≈1/2.2\gamma \approx 1/2.2 plus S-curves), which can amplify noise in darker regions and create complex interactions between degradations. Consequently, post-ISP restoration must handle artifacts that have been transformed by the camera pipeline. Conversely, a post-ISP model trained on outputs from the target pipeline can learn these ISP-specific artifacts directly.

These observations motivate a controlled comparison of restoration before and after the ISP. Existing comparisons often confound restoration domain with degradation synthesis, training data, camera pipeline, or evaluation protocol. It therefore remains unclear whether performance differences arise from the RAW or RGB domain itself or from alignment between the restoration training distribution and the target pipeline.

To compare RAW pre-processing and RGB post-processing, we assume that the ISP is fixed and treated as a black box: its weights are never updated jointly with the restoration model, and the restoration model does not use ISP parameters or gradients. This reflects proprietary camera pipelines whose internal operations are inaccessible. Recent work has explored learning ISP transformations end-to-end [☐, ☐, ☐], but practical challenges remain: (i) large-scale paired RAW–RGB training data are expensive and device-specific; (ii) real camera ISPs are commonly proprietary and non-differentiable; and (iii) their behavior varies with lighting, scene content, and exposure. A restoration model may nevertheless be trained on examples from the output distribution of a fixed target ISP without accessing its internal parameters and configuration.

As shown in Figure 1, Strategy A always denotes pre-ISP RAW restoration, whereas Strategy B always denotes post-ISP RGB restoration. Independently of placement, we distinguish generic models, which are not trained on outputs from the target ISP, from ISP-aware models, which are trained using examples from the target fixed ISP's output distribution. Under this terminology, RAW restoration is stronger than generic RGB restoration (using all-in-one pre-trained models), while ISP-aware RGB restoration performs best in the sensor-specific comparison.

Contributions In this paper, we introduce a systematic comparison framework for evaluating pre-ISP RAW restoration and post-ISP RGB restoration with fixed ISPs. The framework separates restoration placement from the training regime, allowing us to distinguish domain effects from alignment with the target ISP distribution.

Our work fills this gap through a multi-camera evaluation spanning four smartphone groups and three degradation levels (denoising, deblurring, and joint restoration), together with real-world examples.

Our experimental validation shows that restoration performance depends strongly on the training distribution. Generic pre-trained RGB methods struggle with ISP-transformed degradations, whereas an RGB model trained using outputs from the fixed target ISP can recover both input degradations and pipeline-specific artifacts. This finding qualifies any universal claim that either RAW or RGB restoration is intrinsically preferable.

References (36)