# RawMoment: Recovering the Sharp Moment via Generative RAW-to-RGB Deblurring

AI.info

> A blurry photo is difficult to repair because the camera must both undo motion blur and convert noisy RAW sensor data into a viewable color image. The authors develop RawMoment, which combines motion…

**arXiv**: 2611.35700 · Preprint · not peer-reviewed

**Published**: 2026-11-26

**Authors**: Sicheng Yang, Song Fei, Tian Ye, Jianan Sun, Bin Chen, Yu Wang, Lei Zhu

## In plain words

A blurry photo is difficult to repair because the camera must both undo motion blur and convert noisy RAW sensor data into a viewable color image. The authors develop RawMoment, which combines motion examples collected from real videos with simulated sensor measurements, then uses a pretrained image-generation model to reconstruct sharp RGB images.

## AI summary

## Overview

- **Research area:** Computational photography, RAW image processing, motion deblurring, and generative image restoration.
- **Technical level:** Advanced.
- **Scope:** The paper introduces a method and synthetic data pipeline for turning blurry camera-sensor RAW measurements into sharp, natural-looking RGB images.

## What This Paper Is About

A blurry photo is difficult to repair because the camera must both undo motion blur and convert noisy RAW sensor data into a viewable color image. The authors develop RawMoment, which combines motion examples collected from real videos with simulated sensor measurements, then uses a pretrained image-generation model to reconstruct sharp RGB images. They aim for the method to work on real captures from cameras it was not trained specifically for.

## Key Contributions

1. **A data-generation pipeline based on real video motion.** The researchers select and screen video clips, combine consecutive frames to simulate long-exposure blur, and use a center frame as the sharp reference. They then simulate RAW sensor effects to create paired training data.
2. **RawMoment-Bench for evaluation.** The benchmark contains held-out examples made with the same sensor-simulation pipeline, allowing evaluation on videos separate from those used for training and validation.
3. **A way to connect RAW inputs to a pretrained image generator.** RawMoment adapts a RAW encoder to the generator’s RGB latent representation, then adds spatial information from the RAW image and sensor acquisition details to guide restoration.
4. **Evaluation of quality and generalization.** The paper compares RawMoment with traditional and generative restoration methods on RawMoment-Bench, RealBlur, and Magic8-Pro, and reports ablations, an inference-time comparison, and a pilot user study.

## Main Findings

- **Perceptual quality:** The paper reports that RawMoment leads 17 of 21 no-reference metric comparisons across the three datasets. Its abstract reports an average relative MUSIQ improvement of 33.2% over the strongest competing method on each dataset.
- **Full-reference results:** On RawMoment-Bench, RawMoment reduces LPIPS by 37.6% compared with the best competing method. On RealBlur, it reduces LPIPS from 0.2932 to 0.2394.
- **Transfer to real captures:** A model trained on synthetic pairs performs well on RealBlur and Magic8-Pro without camera-specific fine-tuning. Magic8-Pro contains unpaired real RAW images, so the paper reports no full-reference metrics for that dataset.
- **Data helps generalization:** In the dataset ablation, training on RawMoment improves MUSIQ on Magic8-Pro for all five compared methods, including RawMoment.
- **Conditioning modules help:** Removing either RAW Spatial Encoding or Sensor Physics Modulation reduces reported restoration quality on RealBlur; using both gives the strongest results in that ablation.
- **User study:** In a pilot study with three observers, RawMoment achieves an overall mean opinion score of 4.62 on a five-point scale, 1.22 points higher than LoFormer.
- **Faster sampling trades some perceptual quality for speed:** On RealBlur, reducing Euler sampling steps from 40 to 5 cuts reported latency from 2,979.04 to 411.15 ms. MUSIQ decreases from 54.64 to 50.17, while PSNR changes from 22.82 to 23.19 dB.

## Methodology in Plain English

1. **Build realistic training examples from video.** The authors start with OpenVid-1M clips and filter out unsuitable footage and windows with problems such as cuts, exposure jumps, irregular timing, excessive frame-to-frame movement, or insufficient sharpness. They blend consecutive frames in linear light to make a blurred image and use the center frame as its sharp target.
2. **Simulate camera RAW measurements.** They crop the examples, adjust brightness and white balance, add signal-dependent sensor noise, and sample the result using an RGGB Bayer pattern. This produces paired RAW inputs and RGB targets without requiring paired RAW captures from the original videos.
3. **Teach a RAW encoder to work with the generator.** RawMoment starts from a pretrained RGB image encoder and adapts it to encode RAW inputs into a compatible representation. The encoder is trained using both blurred and sharp examples, while the RGB encoder and decoder remain frozen.
4. **Give the generator spatial and sensor information.** One learned branch extracts spatial features from the RAW input; another encodes acquisition details such as ISO, noise characteristics, white balance, and black and white levels. These conditions guide a pretrained diffusion transformer as it generates a sharp RGB image.
5. **Train and evaluate.** The model is trained in two stages on the synthetic pairs. At inference, it starts from noise and iteratively generates an image conditioned on the RAW input and sensor settings. The authors test it on their held-out benchmark and on external datasets.

The RawMoment dataset contains 10,000 image pairs derived from 9,142 videos. Each pair is rendered into three RAW variants, producing 30,000 paired RAW-RGB tuples. RawMoment-Bench contains 200 held-out pairs.

## Why This Matters

- **Impact on research:** The work addresses two linked challenges: the scarcity of diverse paired RAW training data and the difficulty of using large pretrained image generators for sensor-domain restoration. Its video-based synthesis approach and benchmark offer a way to study both.
- **Potential applications:** - Improving low-light photos affected by camera shake or subject motion. - Restoring images from mobile or other camera sensors with RAW capture pipelines. - Processing photos from different cameras without training a separate restoration model for each camera. - Supporting computational photography systems that need to combine deblurring, denoising, and color reconstruction.
- **Industry relevance:** The method targets a practical imaging problem and is evaluated on real RAW captures from a Sony A7R3 and an HONOR Magic8 Pro. Its inference-time experiments also show a clear speed–quality trade-off that matters for deployment. However, the paper identifies inference efficiency and memory use as areas for further work.

## Future Directions

- Reduce inference time and memory use through accelerated generative sampling and lighter model architectures, as proposed by the authors.
- Investigate how well the approach handles a wider range of real sensor responses, lighting conditions, and motion patterns.
- Expand evaluation with additional real RAW captures and reference data, especially for settings where full-reference image quality can be measured.
- Explore whether the synthetic data and conditioning approach can support other RAW restoration tasks beyond motion deblurring.

## Target Audience

This paper is most useful to researchers and practitioners in computational photography, RAW image processing, image restoration, and generative modeling. It may also interest camera and mobile-imaging teams working on low-light photography, cross-camera image processing, or the practical use of pretrained image-generation models.

## Authors’ abstract

Jointly performing motion deblurring and image signal processing on RAW measurements is challenging. Progress is limited by insufficient scene, motion, and camera diversity in paired datasets, while existing methods have yet to fully exploit pretrained generative priors for this joint task. We present RawMoment, which brings together motion supervision from real videos and the visual knowledge of a pretrained text-to-image model. Our data construction separates natural…

[The full abstract on arXiv](https://arxiv.org/abs/2611.35700)

[Read the original paper](https://arxiv.org/abs/2611.35700)

## Related papers

- [SoL-Refiner: Speed-of-Light One-Step Refinement for High-Resolution Video](https://ai.info/paper/sol-refiner-speed-of-light-one-step-refinement-for-high-resolution-video-2609.37969) 2026-09-29 · cs.CV · Also by Lei Zhu, Tian Ye
- [VQ-Seg: Vector-Quantized Token Perturbation for Semi-Supervised Medical Image Segmentation](https://ai.info/paper/vq-seg-vector-quantized-token-perturbation-for-semi-supervised-medical-2601.10124) 2026-01-15 · cs.CV · Also by Lei Zhu, Sicheng Yang
- [Motion-Aware Reward Modeling for Instruction-Guided Video Editing](https://ai.info/paper/motion-aware-reward-modeling-for-instruction-guided-video-editing-2611.22495) 2026-11-17 · cs.CV · Also by Yu Wang
- [LongBanana: An Expert-Verified Benchmark for Long-Context Multi-Reference Image Synthesis](https://ai.info/paper/longbanana-an-expert-verified-benchmark-for-long-context-multi-2611.06856) 2026-11-04 · cs.CV · Also by Yu Wang
- [WorldSR: Harnessing World Knowledge Search for Grounded Image Super-Resolution](https://ai.info/paper/worldsr-harnessing-world-knowledge-search-for-grounded-image-super-2610.28423) 2026-10-20 · cs.CV · Also by Yu Wang

---

Canonical: https://ai.info/paper/rawmoment-recovering-the-sharp-moment-via-generative-raw-to-rgb-2611.35700
