340 likes | 486 Views
Noise Estimation from a Single Image. Ce Liu William T. Freeman. Richard Szeliski Sing Bing Kang. Parameter Tweaking in Computer Vision. Computer vision algorithms suffer from hand tuning parameters for particular images or image sequences
E N D
Noise Estimation from a Single Image Ce Liu William T. Freeman Richard Szeliski Sing Bing Kang
Parameter Tweaking in Computer Vision • Computer vision algorithms suffer from hand tuning parameters for particular images or image sequences • We want vision algorithms that behave properly under varying lighting conditions, blur levels and noise levels • Our work is one step in that direction • Given an image, estimate the noise level • Modify vision algorithms to be independent of noise
Image Noise Is Important in Vision • In image denoising the noise is assumed to be known as Additive Gaussian White Noise (AWGN) • However, in real applications the noise is unknown and non-additive • Many other computer vision algorithms also explicitly or implicitly assume the type and level of image noise • Hard to make vision algorithms fully automatic without knowing noise
s I Noise Level Function (NLF) • The standard deviation of noise s is a function of image brightness I • Measurable by fixing the camera and taking multiple shots of a static scene • For each pixel: • Mean: I • Standard deviation: s • NLF depends on camera, ISO, shutter speed, aperture • Our goal is to estimate NLF from a single image • How to estimate noise without separating noise and signal?
= + Signal Residual s s s Red Green Blue 0.2 0.2 0.2 Standard deviation 0.1 0.1 0.1 I I I 0 0 0 0 0.5 1 0 0.5 1 0 0.5 1 Brightness Piecewise Smooth Image Prior Affine model Patch Standard deviation s Brightness mean I For each RGB channel:
= + Signal Residual s s s Red Green Blue 0.2 0.2 0.2 Standard deviation 0.1 0.1 0.1 I I I 0 0 0 0 0.5 1 0 0.5 1 0 0.5 1 Brightness Piecewise Smooth Image Prior Patch
= + Signal Residual s s s Red Green Blue 0.2 0.2 0.2 Standard deviation 0.1 0.1 0.1 I I I 0 0 0 0 0.5 1 0 0.5 1 0 0.5 1 Brightness Piecewise Smooth Image Prior Patch
Segmentation-based Approach Observed image
Segmentation-based Approach Over-segmentation
Segmentation-based Approach Signal
Segmentation-based Approach Residual= noise + unmodelled image variation
s s s Residual std. dev. I I I Brightness Estimate NLFs • Assume brightness mean I is accurate estimate • Standard deviation s is an over-estimate: (may contain signal) • The lower envelope is the upper bound of NLF
s s s Residual std. dev. I I I Brightness Issues • Should the curve be strictly and tightly below the points?
s s s Residual std. dev. I I I Brightness Issues • Should the curve be strictly and tightly below the points? • How to handle the missing data?
s s s Residual std. dev. I I I Brightness Issues • Should the curve be strictly and tightly below the points? • How to handle the missing data? • Correlation between RGB channels?
s s s Residual std. dev. I I I Brightness Solutions • Formulate the inference problem in a probabilistic framework • Learn the prior of noise level functions
Outline • Over-segmentation and per-segment variance analysis • Learning the priors of noise level functions (NLF) • Synthesize CCD noise • Sample noise level functions • Learn the prior of noise level functions • Inference: estimate the upper bound of NLF • Bayesian MAP to estimate NLFs for RGB channels • Applications • Adaptive bilateral filtering • Canny edge detection
Dependent noise: Independent noise: Camera Noise • Noise model • Camera response function (CRF) f: download from Columbia camera response function database (used 196 typical CRFs) Shot Dark Current Camera Noise Noise Irradiance Scene Lens / L Radiance Atmospheric CCD Imaging / Fixed Pattern geometric Attenuation Bayer Pattern Noise Distortion Quantization Thermal Noise Noise Digital Image I Interpolation / A / D Gamma White t Demosaic Converter Correction Balancing Tsin et. al. Statistical calibration of CCD image process. ICCV, 2001
Camera response function: f Dependent noise: Independent noise: Estimate NLF Synthesize CCD Noise I
0.02 0.06 0.04 0.02 0.18 Dependent noise: Independent noise: 0.02 0.18 Sample NLFs by Varying the Parameters Camera response function (CRF) f
I Likelihood Function • The estimated standard deviation should be probabilistically bigger than and close to the true value • Bayesian MAP inference
Validation (1): Synthetic Noise • Add synthetic CCD noise, estimate, compare to the ground truth —ground truth estimated — — —
Validation (2): Measure NLF of a Real Camera • 29 images were taken under the same settings (the camera is not in the database for training) • The real NLF is obtained by computing mean and variance per pixel
Validation (3): Robustness Test • Verify that different images from the same camera give the same estimated NLF (camera not in the database for training)
Application (1): Adaptive Bilateral Filtering • Bilateral filter is an edge-preserving low-pass filter • Spatial sigma and range sigma • Adaptive bilateral filter • Down-weigh RGB values by signal and noise covariance matrices • The range sigma is set to be a function of the estimated standard deviation of the noise Input noisy image Smoothing kernel Denoised image From Durand and Dorsey, SIGGRAPH 02
Red Red Green Green Blue Blue low noise high noise Test on Low and High Noise
Results—Adaptive Bilateral Filtering Standard bilateral filtering Adaptive bilateral filtering low noise high noise
Results—Adaptive Bilateral Filtering Standard bilateral filtering Adaptive bilateral filtering Zoom in high noise
Red Red Green Green Blue Blue Application (2): Canny Edge Detection low noise high noise
Results—Canny Edge Detection Parameters adapted in MATLAB Parameters adapted by estimated noise low noise high noise
Conclusion • Piecewise-smooth image prior model to estimate the upper bound of noise level function (NLF) • Estimate the space of NLF by simulating CCD camera on the existing CRF database • Upper bounds are verified by both synthetic and real experiments • An important step to automate vision algorithms independent of noise
Thank you! Noise Estimation from a Single Image Ce Liu William T. Freeman CSAIL MIT Rick Szeliski Sing Bing Kang Microsoft Research