Abstract
ISPDiffuser is a novel framework designed to bridge the quality gap between smartphone RAW data and professional DSLR sRGB images. Traditional deep-learning Image Signal Processors (ISPs) often struggle with a trade-off between sharp textures and accurate color representation. ISPDiffuser addresses this by decoupling the mapping process into two specialized stages: a Texture-Aware Diffusion Model (TADM) for high-fidelity grayscale detail reconstruction and a Histogram-Guided Color Consistency Module (HCCM) for stable global colorization. Our approach achieves state-of-the-art performance on standard benchmarks, producing images with superior perceptual quality and structural accuracy.
Introduction
The Image Signal Processor (ISP) is critical for converting raw sensor data into viewable sRGB images. While deep learning has recently been applied to this task to emulate DSLR quality on mobile devices, existing models face significant challenges. Convolutional Neural Networks (CNNs) tend to produce blurry textures due to their local receptive fields. Conversely, while Diffusion Models excel at generating sharp details, they often suffer from "low-frequency bias," leading to inconsistent global colors and exposure. ISPDiffuser aims to synthesize the generative strengths of diffusion models with the stability of statistical color guidance.
Methodology
The core of ISPDiffuser is a decoupled framework that separates texture reconstruction from colorization:
- Texture-Aware Diffusion Model (TADM): This module focuses exclusively on reconstructing details in grayscale space. To prevent the generation of "hallucinated" structures, a Texture Enrichment Loss ($L_{tel}$) is employed. By using a Canny edge detector to compare generated features against the ground truth, the model is forced to prioritize intricate edges and high-frequency patterns.
- Histogram-Guided Color Consistency Module (HCCM): Following detail reconstruction, this module handles colorization. It predicts a global color histogram from the RAW input to serve as a spatially invariant guide. Through a cross-attention mechanism, the HCCM applies these colors to the grayscale features, ensuring global consistency across the frame.
The system is trained in two stages: an initial autoencoder training for image compression, followed by the joint training of the TADM and HCCM modules.
Experiments and Results
The model was evaluated on two industry-standard benchmarks: the Zurich RAW-to-DSLR (ZRR) dataset and the Mobile AI (MAI) dataset. ISPDiffuser achieved state-of-the-art (SOTA) results across both quantitative and qualitative measures.
- Quantitative Performance: On the MAI dataset, ISPDiffuser reached a PSNR of 25.64 dB, surpassing previous leaders like FourierISP (25.37 dB).
- Perceptual Quality: In a user study involving 26 participants, ISPDiffuser was consistently ranked as the highest quality output compared to LiteISPNet and MW-ISPNet.
- Visual Fidelity: As shown in the error maps, ISPDiffuser exhibits significantly lower content discrepancy in high-frequency regions, such as text and fine textures, compared to competing methods.
Discussion and Conclusion
The success of ISPDiffuser stems from its "divide and conquer" strategy, treating color and texture as distinct learning tasks. By using histograms as global anchors, the model maintains color stability that traditional diffusion models lack. Furthermore, the integration of classical computer vision tools like Canny edge detection provides effective guidance for modern generative architectures.
Despite its performance, inference speed remains a limitation. ISPDiffuser requires approximately 490ms to process a 448x448 image, which is slower than real-time CNN-based alternatives. Future work will focus on accelerating the sampling process using DPM-Solvers or Consistency Models to enable practical deployment in mobile camera applications.
Summary updated