Abstract
Modelling and analyzing noise in images is a fundamental task in many computer vision systems. Traditionally, noise has been modelled per color channel assuming that the color channels are independent. Although the color channels can be considered as mutually independent in camera RAW images, signals from different color channels get mixed during the imaging process inside the camera due to gamut mapping, tone-mapping, and compression. We show the influence of the in-camera imaging pipeline on noise and propose a new noise model in the 3D RGB space to accounts for the color channel mix-ups. A data-driven approach for determining the parameters of the new noise model is introduced as well as its application to image denoising. The experiments show that our noise model represents the noise in regular JPEG images more accurately compared to the previous models and is advantageous in image denoising.
Introduction
In computer vision, noise is frequently treated as a simple mathematical nuisance—random values added to pixels, typically modeled as independent Gaussian noise for each color channel. While this assumption is largely valid for "RAW" sensor data, it fails significantly for the images encountered in daily use, such as JPEGs in the sRGB color space. This paper addresses the gap between theoretical noise models and real-world image characteristics by examining how the internal camera processing pipeline correlates noise across color channels.
The In-Camera Imaging Pipeline
The journey from a camera's RAW sensor output to a final compressed image involves a series of complex transformations: demosaicing, white balancing, gamut mapping, tone mapping, and JPEG compression. Each of these stages alters the statistical properties of the noise.
While demosaicing and white balancing maintain some degree of linear noise property, gamut mapping—the process of fitting sensor colors into the sRGB space—is the primary step that breaks channel independence. Furthermore, JPEG compression introduces spatial dependencies, meaning the noise at a specific pixel is influenced by the surrounding $8 \times 8$ block of pixels.
Proposed 3D Multivariate Noise Model
To accurately capture these effects, the authors propose a "holistic" noise model that treats noise as a 3D multivariate Gaussian distribution. Unlike traditional models that use a single variance ($\sigma^2$) per channel, this approach utilizes a $3 \times 3$ covariance matrix. This matrix captures not only the noise intensity in each channel but also the correlations between them (e.g., R/G, R/B, and G/B correlations).
Crucially, the model is content-dependent. Because the relationship between a pixel's local context and its noise covariance is highly non-linear, the researchers employ a Multi-Layer Perceptron (MLP). This neural network takes the RGB values of a pixel and its surrounding $8 \times 8$ patch as input to predict the six unique parameters of the covariance matrix. This allows the model to account for the spatial noise characteristics introduced by JPEG compression.
Experimental Setup and Results
The model was trained and validated using a custom dataset of 11 static scenes captured with various cameras (Nikon D800, D600, Canon 5D Mark III, and Samsung Galaxy S6). Ground truth noise-free images were generated by averaging 500 identical frames per scene, providing a precise baseline for measuring real-world noise distributions.
The proposed model was integrated into the Bayesian Non-Local Means (BNLM) denoising algorithm, replacing standard Euclidean distance with a Mahalanobis distance derived from the predicted covariance matrices.
Key Results: * Quantitative Performance: The method consistently outperformed state-of-the-art algorithms like BM3D. On a Nikon D800 at ISO 3200, the model achieved a PSNR improvement of nearly 5 dB. * Qualitative Quality: Visually, the cross-channel model preserves fine textures and avoids the "blotchy" color noise or over-smoothed "plastic" appearance often seen with traditional methods. It effectively removes correlated color chatter while maintaining sharp underlying details.
Conclusion
This research demonstrates that accounting for the cross-channel correlations induced by the in-camera imaging pipeline is essential for high-quality image denoising. By moving from independent channel models to a holistic 3D multivariate Gaussian approach, the authors provide a more accurate representation of noise in real-world sRGB images, leading to significant improvements in both quantitative metrics and visual fidelity.
Summary updated