arXiv:2503.19283cs.CV2025-03AAAI被引 13

用扩散模型提升手机拍RAW图转SRGB的细节和色彩准确度

ISPDiffuser: Learning RAW-to-sRGB Mappings with Texture-Aware Diffusion Models and Histogram-Guided Color Consistency

  • 分两步:先恢复灰度图细节,再映射到彩色空间
  • 纹理增强损失让图像更细腻,直方图引导保证色彩准确
  • 适合想用AI提升手机拍照质量的研究者和开发者

RAW-to-sRGB映射(即模拟传统相机图像信号处理器,ISP)旨在从智能手机传感器捕捉的原始数据生成接近单反画质的sRGB图像。尽管现有学习方法已达到与复杂手工设计ISP相当的效果,但仍存在细节失真和色彩偏差问题。本文提出ISPDiffuser,一种基于扩散模型的解耦框架,将映射过程分为灰度空间的细节重建与灰度到sRGB的颜色一致性映射。具体地,设计纹理感知扩散模型,利用其生成能力聚焦局部细节恢复,并引入纹理增强损失以促进更精细的纹理生成;随后提出直方图引导的颜色一致性模块,通过颜色直方图为指导学习精确色彩信息,设计颜色一致性损失以约束学习结果。大量实验表明,ISPDiffuser在定量指标和视觉效果上均优于当前最优方法。代码已开源。

原文摘要 · Abstract (English)

RAW-to-sRGB mapping, or the simulation of the traditional camera image signal processor (ISP), aims to generate DSLR-quality sRGB images from raw data captured by smartphone sensors. Despite achieving comparable results to sophisticated handcrafted camera ISP solutions, existing learning-based methods still struggle with detail disparity and color distortion. In this paper, we present ISPDiffuser, a diffusion-based decoupled framework that separates the RAW-to-sRGB mapping into detail reconstruction in grayscale space and color consistency mapping from grayscale to sRGB. Specifically, we propose a texture-aware diffusion model that leverages the generative ability of diffusion models to focus on local detail recovery, in which a texture enrichment loss is further proposed to prompt the diffusion model to generate more intricate texture details. Subsequently, we introduce a histogram-guided color consistency module that utilizes color histogram as guidance to learn precise color information for grayscale to sRGB color consistency mapping, with a color consistency loss designed to constrain the learned color information. Extensive experimental results show that the proposed ISPDiffuser outperforms state-of-the-art competitors both quantitatively and visually. The code is available at https://github.com/RenYangSCU/ISPDiffuser.

图像生成扩散模型手机摄影

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。