Noise, Image Reconstruction with Noise!

Similar documents
EE 367 / CS 448I Computational Imaging and Display Notes: Noise, Denoising, and Image Reconstruction with Noise (lecture 10)

2 Regularized Image Reconstruction for Compressive Imaging and Beyond

EE 367 / CS 448I Computational Imaging and Display Notes: Image Deconvolution (lecture 6)

PHYS 352. Shot Noise, 1/f Noise. current (which is rate of charge)

Pose Tracking II! Gordon Wetzstein! Stanford University! EE 267 Virtual Reality! Lecture 12! stanford.edu/class/ee267/!

High resolution traction force microscopy on small focal adhesions improved accuracy through optimal marker distribution and optical flow tracking

Non-negative Quadratic Programming Total Variation Regularization for Poisson Vector-Valued Image Restoration

Deconvolution. Parameter Estimation in Linear Inverse Problems

Lecture 9. PMTs and Laser Noise. Lecture 9. Photon Counting. Photomultiplier Tubes (PMTs) Laser Phase Noise. Relative Intensity

INTERNATIONAL JOURNAL OF ELECTRONICS AND COMMUNICATION ENGINEERING & TECHNOLOGY (IJECET)

Signal and Noise Modeling in Confocal Laser Scanning Fluorescence Microscopy

Computer Vision & Digital Image Processing

Detection of X-Rays. Solid state detectors Proportional counters Microcalorimeters Detector characteristics

An IDL Based Image Deconvolution Software Package

Inverse problem and optimization

Automated Segmentation of Low Light Level Imagery using Poisson MAP- MRF Labelling

Intensity Transformations and Spatial Filtering: WHICH ONE LOOKS BETTER? Intensity Transformations and Spatial Filtering: WHICH ONE LOOKS BETTER?

Machine Learning. Lecture 4: Regularization and Bayesian Statistics. Feng Li.

Ways to make neural networks generalize better

IMPROVING THE DECONVOLUTION METHOD FOR ASTEROID IMAGES: OBSERVING 511 DAVIDA, 52 EUROPA, AND 12 VICTORIA

ADMINISTRIVIA SENSOR

BLIND SEPARATION OF TEMPORALLY CORRELATED SOURCES USING A QUASI MAXIMUM LIKELIHOOD APPROACH

Atmospheric Extinction

CSE 559A: Computer Vision EVERYONE needs to fill out survey.

Miscellaneous. Regarding reading materials. Again, ask questions (if you have) and ask them earlier

Deconvolution of confocal microscopy images using proximal iteration and sparse representations

A Spatially Adaptive Wiener Filter for Reflectance Estimation

Quality & Information Content Of CHRIS Hyper-Spectral Data

AN NONNEGATIVELY CONSTRAINED ITERATIVE METHOD FOR POSITRON EMISSION TOMOGRAPHY. Johnathan M. Bardsley

DS-GA 1002 Lecture notes 11 Fall Bayesian statistics

Non-Convex Optimization. CS6787 Lecture 7 Fall 2017

Introduction to Systems Analysis and Decision Making Prepared by: Jakub Tomczak

Laboratory 3&4: Confocal Microscopy Imaging of Single-Emitter Fluorescence and Hanbury Brown and Twiss setup for Photon Antibunching

Satellite image deconvolution using complex wavelet packets

Bayesian Paradigm. Maximum A Posteriori Estimation

What is Image Deblurring?

ECE521 lecture 4: 19 January Optimization, MLE, regularization

Capturing and Processing Deep Space Images. Petros Pissias Eumetsat Astronomy Club 15/03/2018

A Variational Approach to Reconstructing Images Corrupted by Poisson Noise

Application of Image Restoration Technique in Flow Scalar Imaging Experiments Guanghua Wang

Detecting high energy photons. Interactions of photons with matter Properties of detectors (with examples)

Learning MMSE Optimal Thresholds for FISTA

2007 American Institute of Physics. Reprinted with permission.

Poisson Image Denoising Using Best Linear Prediction: A Post-processing Framework

Supplementary Figures Supplementary Figure 1: Estimation of the error of the number and brightness of molecules in a single cluster; Simulation

EE 574 Detection and Estimation Theory Lecture Presentation 8

Numerical Methods in TEM Convolution and Deconvolution

Image enhancement. Why image enhancement? Why image enhancement? Why image enhancement? Example of artifacts caused by image encoding

SOS Boosting of Image Denoising Algorithms

Probabilistic and Bayesian Machine Learning

Sparsity and Morphological Diversity in Source Separation. Jérôme Bobin IRFU/SEDI-Service d Astrophysique CEA Saclay - France

Communication Engineering Prof. Surendra Prasad Department of Electrical Engineering Indian Institute of Technology, Delhi

Math background for PS1. Jiahui Shi

Compressed Sensing: Extending CLEAN and NNLS

Bayes Filter Reminder. Kalman Filter Localization. Properties of Gaussians. Gaussians. Prediction. Correction. σ 2. Univariate. 1 2πσ e.

Approximate Message Passing Algorithms

The deconvolution of lunar brightness temperature based on maximum entropy method using Chang E-2 microwave data

Application of deconvolution to images from the EGRET gamma-ray telescope

Comunicações Ópticas Noise in photodetectors MIEEC EEC038. Henrique Salgado Receiver operation

Auxiliaire d enseignement Nicolas Ayotte

Maximum-Likelihood fitting

Autonomous Navigation for Flying Robots

Bayesian Classifiers and Probability Estimation. Vassilis Athitsos CSE 4308/5360: Artificial Intelligence I University of Texas at Arlington

Review for Exam 1. Erik G. Learned-Miller Department of Computer Science University of Massachusetts, Amherst Amherst, MA

Learning from Data: Regression

Detection of Subsurface Defects using Active Infrared Thermography

Reduction procedure of long-slit optical spectra. Astrophysical observatory of Asiago

ECE521 week 3: 23/26 January 2017

Coherent use of opposing lenses for axial resolution increase. II. Power and limitation of nonlinear image restoration

Lecture Notes 2 Charge-Coupled Devices (CCDs) Part I. Basic CCD Operation CCD Image Sensor Architectures Static and Dynamic Analysis

Noise-Blind Image Deblurring Supplementary Material

AS750 Observational Astronomy

CSCI567 Machine Learning (Fall 2014)

Lecture 2: From Linear Regression to Kalman Filter and Beyond

Image Processing by the Curvelet Transform

ADVANCED MACHINE LEARNING ADVANCED MACHINE LEARNING. Non-linear regression techniques Part - II

Gaussian and Linear Discriminant Analysis; Multiclass Classification

CS 4495 Computer Vision Principle Component Analysis

ECE521 Lecture7. Logistic Regression

EXPOSURE TIME ESTIMATION

Model-based Correlation Measure for Gain and Offset Nonuniformity in Infrared Focal-Plane-Array Sensors

Sean Escola. Center for Theoretical Neuroscience

Introduction to Bayesian methods in inverse problems

Simultaneous Multi-frame MAP Super-Resolution Video Enhancement using Spatio-temporal Priors

Wide-field Infrared Survey Explorer

Analysis of Rate-distortion Functions and Congestion Control in Scalable Internet Video Streaming

3.3 ANALYSIS. H2RG CHARACTERISATION METHODS Bogna Kubik, analyst. NISP, NI-SCS Test Readiness Review IPNL, October 2016

Patch similarity under non Gaussian noise

Bayesian Machine Learning

Linear Diffusion and Image Processing. Outline

Counting Photons to Calibrate a Photometer for Stellar Intensity Interferometry

Bayesian statistics. DS GA 1002 Statistical and Mathematical Models. Carlos Fernandez-Granda

Efficient Variational Inference in Large-Scale Bayesian Compressed Sensing

CCD OPERATION. The BBD was an analog delay line, made up of capacitors such that an analog signal was moving along one step at each clock cycle.

Lecture 5: GPs and Streaming regression

You, too, can make useful and beautiful astronomical images at Mees: Lesson 3

Kalman filtering and friends: Inference in time series models. Herke van Hoof slides mostly by Michael Rubinstein

Lecture 15. Theory of random processes Part III: Poisson random processes. Harrison H. Barrett University of Arizona

Spatially adaptive alpha-rooting in BM3D sharpening

Lecture 4: Probabilistic Learning

Transcription:

Noise, Image Reconstruction with Noise! EE367/CS448I: Computational Imaging and Display! stanford.edu/class/ee367! Lecture 10! Gordon Wetzstein! Stanford University!

What s a Pixel?! photon to electron converter!! photoelectric effect!! source: Molecular Expressions! wikipedia!

What s a Pixel?! source: Molecular Expressions! microlens: focus light on photodiode! color filter: select color channel! quantum efficiency: ~50%! fill factor: fraction of surface area used for light gathering! photon-to-charge conversion and ADC includes noise!

sensitivity! of sensor! to light! digital gain! ISO ( film speed )! bobatkins.com!

! Noise! noise is (usually) bad! many sources of noise: heat, electronics, amplifier gain, photon to electron conversion, pixel defects, read,! let s start with something simple: fixed pattern noise!

Fixed Pattern Noise!! dead or hot pixels, dust,! remove with dark frame calibration:!!! I = I! I captured dark I! white! I dark! on RAW image! not JPEG (nonlinear)! Emil Martinec!

Noise! other than that, different noise follows different statistical distributions, these two are crucial:! Gaussian! Poisson!

!!! Gaussian Noise!! thermal, read, amplifier! additive, signal-independent, zero-mean! + =

with i.i.d. Gaussian noise:! (independent and identically-distributed)! Gaussian Noise! b = x +! x! N ( x,0)!! N ( 0," 2 ) additive Gaussian noise!

with i.i.d. Gaussian noise:! Gaussian Noise! b = x + η x N ( x,0) ( ) (independent and identically-distributed)! η N 0,σ 2 b N ( x,σ 2 ) p( b x,σ ) = 1 2πσ 2 e b x ( ) 2 2σ 2

with i.i.d. Gaussian noise:! Gaussian Noise! b = x +! x! N ( x,0) ( ) (independent and identically-distributed)!!! N 0," 2 b! N ( x,! 2 ) Bayes rule:! p( b x,! ) = 1 2"! 2 e# ( b#x) 2 2! 2

with i.i.d. Gaussian noise:! Gaussian Noise - MAP! b = x +! x! N ( x,0) ( ) (independent and identically-distributed)!!! N 0," 2 b! N ( x,! 2 ) Bayes rule:! maximum-a-posteriori estimation:! p( b x,! ) = 1 2"! 2 e# ( b#x) 2 2! 2

Gaussian Noise MAP Flat Prior! trivial solution (not useful in practice):! p( x) = 1

Gaussian Noise MAP Self Similarity Prior! Gaussian denoisers like non-local means and other selfsimilarity priors actually solve this problem:!

General Self Similarity Prior! generic proximal operator for function f(x):! proximal operator for some image prior!

General Self Similarity Prior! can use self-similarity as general image prior (not just for denoising)! proximal operator for some image prior!

General Self Similarity Prior! can use self-similarity as general image prior (not just for denoising)!! 2 = " /!! = " /! (h parameter in most NLM! implementations is std. dev.)! proximal operator for some image prior!

Image Reconstruction with Gaussian Noise! x N Ax,0 with i.i.d. Gaussian noise:! b = Ax + η ( ) ( ) (independent and identically-distributed)! η N 0,σ 2

Image Reconstruction with Gaussian Noise! x N Ax,0 with i.i.d. Gaussian noise:! b = Ax + η ( ) ( ) (independent and identically-distributed)! η N 0,σ 2 b N ( Ax,σ 2 ) p( b x,σ ) = 1 2πσ 2 e b Ax ( ) 2 2σ 2

Image Reconstruction with Gaussian Noise! x! N Ax,0 with i.i.d. Gaussian noise:! b = Ax +! ( ) ( ) (independent and identically-distributed)!!! N 0," 2 b! N ( Ax,! 2 ) Bayes rule:! maximum-a-posteriori estimation:! p( b x,! ) = 1 2"! 2 e# ( b#ax) 2 2! 2 regularized least squares (use ADMM)!

Scientific Sensors! e.g., Andor ixon Ultra 897: cooled to -100 C! scientific CMOS & CCD! reduce pretty much all noise, except for photon noise!

What is Photon (or Shot) Noise?! noise caused by the fluctuation when the incident light is converted to charge (detection)! also observed in the light emitted by a source, i.e. due to particle nature of light (emission)! same for re-emission à cascading Poisson processes are also described by a Poisson process [Teich and Saleh 1998]!

Photon Noise! noise is signal dependent! for N measured photo-electrons! standard deviation is, variance is! mean is! N Poisson distribution! σ = N σ 2 = N f (k; N) = N k e N k!

Photon Noise - SNR! signal-to-noise ratio SNR = N N SNR in db N photons:!! = N 2N photons:! nonlinear!! = 2 N 1,000 10,000 N

Photon Noise - SNR! signal-to-noise ratio SNR = N N N photons:!! = N 2N photons:! nonlinear!! = 2 N wikipedia!

Maximum Likelihood Solution for Poisson Noise! image formation:! probability of measurement i:! joint probability of all M measurements (use notation trick ):!

Maximum Likelihood Solution for Poisson Noise!!!!! log-likelihood function:! gradient:!

Maximum Likelihood Solution for Poisson Noise! Richardson-Lucy algorithm: iterative approach to ML estimation for Poisson noise! simple idea:! 1.! at solution, gradient will be zero!! 2.! when converged, further iterations will not change, i.e.!

! Richardson-Lucy Algorithm! equate gradient to zero! rearrange so that 1 is on one side of equation! = 0

! Richardson-Lucy Algorithm! equate gradient to zero! rearrange so that 1 is on one side of equation! = 0 set equal to!

! Richardson-Lucy Algorithm! for any multiplicative update rule scheme:! start with positive initial guess (e.g. random values)! apply iteration scheme! future updates are guaranteed to remain positive! always get smaller residual! RL multiplicative update rules:!

Richardson-Lucy Algorithm - Deconvolution! Blurry & Noisy Measurement! RL Deconvolution!

Richardson-Lucy Algorithm! what went wrong?! Poisson deconvolution is a tough problem, without priors it s pretty much hopeless! let s try to incorporate the one prior we have learned: total variation!

!! Richardson-Lucy Algorithm + TV! log-likelihood function:! gradient:!

!!! Richardson-Lucy Algorithm + TV! gradient of anisotropic TV term! this is dirty : possible division by 0!!

!! Richardson-Lucy Algorithm + TV! follow the same logic as RL, RL+TV multiplicative update rules:! 2 major problems & solution hacks :! 1.! still possible division by 0 when gradient is zero!! set fraction to 0 if gradient is 0 2.! multiplicative update may become negative!! only work with (very) small values for lambda

(A Dirty but Easy Approach to) Richardson-Lucy with a TV Prior! Measurements! RL! RL+TV, lambda=0.005! RL+TV, lambda=0.025! Log Residual! Mean Squared Error!

Signal-to-Noise Ratio (SNR)! SNR = = mean pixel value standard deviation of pixel value = µ σ PQ e t PQ e t + Dt + N r 2 signal! noise! P = incident photon flux (photons/pixel/sec) Q e = quantum efficiency t = eposure time (sec) D = dark current (electroncs/pixel/sec), including hot pixels N r = read noise (rms electrons/pixel), including fixed pattern noise

Signal-to-Noise Ratio (SNR)! SNR = mean pixel value standard deviation of pixel value = µ! signal! noise! = PQ e t 2 PQ e t + Dt + N r signal-dependent! signal-independent! P = incident photon flux (photons/pixel/sec) Q e = quantum efficiency t = eposure time (sec) D = dark current (electroncs/pixel/sec), including hot pixels N r = read noise (rms electrons/pixel), including fixed pattern noise

Next: Compressive Imaging! single pixel camera! compressive hyperspectral imaging! compressive light field imaging! Marwah et al., 2013! Wakin et al. 2006!

References and Further Reading! https://en.wikipedia.org/wiki/shot_noise! L. Lucy, 1974 An iterative technique for the rectification of observed distributions. Astron. J. 79, 745 754.! W. Richardson, 1972 Bayesian-based iterative method of image restoration J. Opt. Soc. Am. 62, 1, 55 59.! N. Dey, L. Blanc-Feraud, C. Zimmer, Z. Kam, J. Olivo-Marin, J. Zerubia, 2004 A deconvolution method for confocal microscopy with total variation regularization, In IEEE Symposium on Biomedical Imaging: Nano to Macro, 1223 1226! M. Teich, E. Saleh, 1998, Cascaded stochastic processes in optics, Traitement du Signal 15(6)! please also read the lecture notes, especially for the clean ADMM derivation for solving the maximum likelihood estimation of Poisson reconstruction with TV prior!!