[Paper Review] Learning Raw Image Denoising with Bayer Pattern Unification and Bayer Preserving Augmentation
This paper proposes BayerUnify and BayerAug—novel data pre-processing and augmentation techniques for deep learning-based raw image denoising. By unifying diverse Bayer patterns into a single standard and enabling geometrically valid augmentations, the method trains a single robust model across heterogeneous datasets, achieving state-of-the-art performance with 52.11 dB PSNR and 0.9969 SSIM on the NTIRE 2019 Real Image Denoising Challenge.
In this paper, we present new data pre-processing and augmentation techniques for DNN-based raw image denoising. Compared with traditional RGB image denoising, performing this task on direct camera sensor readings presents new challenges such as how to effectively handle various Bayer patterns from different data sources, and subsequently how to perform valid data augmentation with raw images. To address the first problem, we propose a Bayer pattern unification (BayerUnify) method to unify different Bayer patterns. This allows us to fully utilize a heterogeneous dataset to train a single denoising model instead of training one model for each pattern. Furthermore, while it is essential to augment the dataset to improve model generalization and performance, we discovered that it is error-prone to modify raw images by adapting augmentation methods designed for RGB images. Towards this end, we present a Bayer preserving augmentation (BayerAug) method as an effective approach for raw image augmentation. Combining these data processing technqiues with a modified U-Net, our method achieves a PSNR of 52.11 and a SSIM of 0.9969 in NTIRE 2019 Real Image Denoising Challenge, demonstrating the state-of-the-art performance. Our code is available at https://github.com/Jiaming-Liu/BayerUnifyAug.
Motivation & Objective
- To address the challenge of training a single denoising model across heterogeneous raw image datasets with varying Bayer patterns.
- To overcome the limitations of standard RGB-based data augmentation when applied to raw images, which can distort spatial relationships and degrade performance.
- To improve model generalization and performance in raw image denoising by introducing domain-specific pre-processing and augmentation techniques.
Proposed method
- BayerUnify unifies different Bayer patterns (e.g., RGGB, BGGR, GRBG) into a single standard (BGGR) using flipping and cropping operations, preserving spatial structure.
- BayerAug enables geometric data augmentation (e.g., flipping, cropping) on raw images by applying pattern-aware transformations that maintain the physical consistency of the Bayer grid.
- The method processes raw images as 4-channel RGGB tensors, ensuring that pre-processing and augmentation do not disrupt the underlying sensor pattern.
- A modified U-Net architecture with residual blocks and PReLU activation is used, replacing standard convolutions to improve feature learning.
- Model training uses data split by metadata (e.g., camera model), with each model specialized to its input pattern after BayerUnify normalization.
- Inference applies BayerUnify to standardize test inputs, followed by model ensembling based on metadata classification.
Experimental results
Research questions
- RQ1How can raw image datasets with diverse Bayer patterns be effectively unified to train a single, generalizable denoising model?
- RQ2What are the performance consequences of applying standard RGB-style data augmentation techniques to raw image data?
- RQ3Can pattern-aware augmentation preserve spatial and structural consistency in raw images while increasing training diversity?
- RQ4To what extent do proper pre-processing and augmentation improve generalization and performance in raw image denoising?
- RQ5Can a unified, augmented training pipeline outperform pattern-specific models in real-world denoising benchmarks?
Key findings
- The proposed BayerUnify and BayerAug techniques significantly improve model performance, achieving 52.11 dB PSNR and 0.9969 SSIM on the NTIRE 2019 Real Image Denoising Challenge (Track 1).
- Naïve data pre-processing (e.g., naive channel permutation) and naïve augmentation degrade performance, with PSNR dropping to 42.78 dB on GRBG patterns, highlighting the need for pattern-aware methods.
- BayerUnify alone improves PSNR by 1.14 dB over naïve unification, demonstrating its effectiveness in preserving spatial structure across Bayer patterns.
- Combining BayerUnify with BayerAug yields the highest performance, achieving 51.95 dB PSNR on RGGB data, a 0.12 dB improvement over BayerUnify with naïve augmentation.
- The ablation study confirms that improper pre-processing and augmentation introduce artifacts and degrade generalization, validating the necessity of the proposed techniques.
- The final model, enhanced with residual blocks and model ensembling, achieves state-of-the-art results, confirming the effectiveness of the proposed data pipeline.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.