ReconfigISP: Reconfigurable Camera Image Processing Pipeline

Ke Yu, Zexian Li, Yue Peng, Chen Change Loy, Jinwei Gu

Introduction

Modern digital imaging relies heavily on the Image Signal Processor (ISP), a sequence of modules that converts RAW sensor data into viewable RGB images. Traditionally, ISPs are hand-engineered, fixed-order pipelines consisting of modules for denoising, white balancing, and tone mapping. While these traditional ISPs are efficient and interpretable, they are notoriously rigid. Adapting a camera to a new sensor or a specialized task, such as low-light surveillance, often requires months of manual tuning by domain experts.

Conversely, "Deep ISPs"—end-to-end neural networks—offer significant flexibility but come with their own set of drawbacks: they require massive datasets, lack the interpretability of modular systems, and are computationally intensive. ReconfigISP addresses this gap by creating an ISP that is as modular and efficient as a traditional one, yet as flexible and searchable as a deep network.

Methodology

ReconfigISP treats the ISP as a searchable graph of modules, leveraging Neural Architecture Search (NAS) to automatically assemble and tune the optimal processing pipeline for specific sensors, scenes, and tasks.

The two-stage optimization process for ISP architecture search and parameter tuning.

The framework introduces several key technical innovations:

  • Differentiable Proxy Networks: To enable backpropagation through traditionally non-differentiable algorithms (like BM3D or Median filters), the authors train lightweight CNNs to "imitate" these modules, making the entire pipeline differentiable.
  • Differentiable ISP Architecture Search: Utilizing a modified version of DARTS (Differentiable Architecture Search), the system learns architecture weights to select the most effective modules at each stage of the pipeline.
  • Proxy Tuning & Online Pruning: To maintain efficiency, the system fine-tunes proxy networks on-the-fly using task-specific data. It also employs online pruning to remove low-performing modules during the search phase, reducing computational overhead.
  • Two-Stage Optimization: The process first searches for the optimal architecture and subsequently fixes that architecture to fine-tune the specific parameters of the selected modules.

Experimental Setup

The researchers evaluated ReconfigISP across three distinct benchmarks to demonstrate its versatility:

  1. SID (See-in-the-Dark) Dataset: Focused on extreme low-light restoration using data from a Sony α7S II.
  2. S7 ISP Dataset: Used to test adaptation to mobile sensors using Samsung S7 smartphone images.
  3. OnePlus Dataset: A new dataset of driving scenes captured with a OnePlus 6T, specifically designed to evaluate ISP impact on downstream object detection tasks (e.g., detecting cars and buses).

Results and Discussion

ReconfigISP demonstrates significant improvements in both visual quality and task-specific performance.

Visual comparison of ReconfigISP against standard pipelines for image restoration (left) and object detection (right).

Key Insights

  • Task-Specific Optimization: The search process revealed that the optimal ISP configuration differs based on the end goal. For object detection, contrast and noise reduction were prioritized over traditional white balancing.
  • Data Efficiency: Unlike deep ISPs that require millions of parameters, ReconfigISP tunes only hundreds. This modularity allows it to remain stable even with limited training data (e.g., 5% of the SID set), where standard U-Nets often fail.
  • Performance vs. Latency: By incorporating a latency term into the loss function, the system can automatically derive "Fast" or "Faster" pipeline variants that balance processing speed with image quality.

Quantitative Performance

  • Restoration: On the SID dataset, ReconfigISP outperformed the default camera pipeline by over 10 dB PSNR in extreme low-light conditions.
  • Detection: On the OnePlus dataset, ReconfigISP achieved a 0.601 mAP, more than doubling the performance of the default Lightroom pipeline (0.318).
  • Computational Efficiency: The "ReconfigISP-Faster" variant achieved a 50x speedup compared to the full searchable version while maintaining superior quality over default camera ISPs.

Conclusion and Future Work

ReconfigISP successfully bridges the gap between traditional and deep ISPs, offering a reconfigurable, interpretable, and efficient solution for modern imaging needs. However, limitations remain, such as the fixed pipeline depth (currently 5 stages) and the dependency on a pre-defined module pool of 22 algorithms. Future research may explore searching for optimal pipeline lengths and optimizing architectures specifically for specialized hardware like DSPs or IPUs.

Summary updated

BibTeX
@inproceedings{yu2021reconfigisp,
  author = {Ke Yu and Zexian Li and Yue Peng and Chen Change Loy and Jinwei Gu},
  title = {{ReconfigISP: Reconfigurable Camera Image Processing Pipeline}},
  booktitle = {IEEE/CVF International Conference on Computer Vision},
  year = {2021},
  doi = {10.1109/iccv48922.2021.00421},
}
Figure