image statistics
play

Image Statistics space of all images typical images 10/03 Image - PowerPoint PPT Presentation

Image Statistics space of all images typical images 10/03 Image Statistical Model Applications Image Processing / Graphics: Noise removal: How easily can we detect (and remove) artifacts or distortions? Compression: how compactly can


  1. Image Statistics space of all images typical images 10/03

  2. Image Statistical Model Applications Image Processing / Graphics: • Noise removal: How easily can we detect (and remove) artifacts or distortions? • Compression: how compactly can we represent an image? • Synthesis: can we make realistic-looking synthetic images? Theoretical Neurobiology: • Do sensory neurons perform optimal decomposition of images? • If so, how does the system learn this decomposition? 10/03

  3. Image Denoising y = x + w, where w is Gaussian, white. y is an observed transform coefficient. Bayes least squares solution: � dx P ( y | x ) P ( x ) x x ( y ) = E ( x | y ) = ˆ � dx P ( y | x ) P ( x ) 10/03

  4. Pixel Statistics 8000 7000 6000 5000 4000 3000 2000 1000 0 0 50 100 150 200 250 4 x 10 2.5 2 1.5 1 0.5 Range: [0, 230] Dims: [512, 512] / 2 0 0 50 100 150 200 250 x 10 4 3.5 3 2.5 2 1.5 1 0.5 Range: [0, 253] Dims: [512, 512] / 2 0 0 50 100 150 200 250 300 10/03

  5. Principal Component Analysis (PCA) Find linear transform (specifically, rotation and axis re-scaling) that trans- form the covariance matrix to the identity. a. b. c. 4 20 20 -20 -20 -4 -20 20 -20 20 -4 4 Well-known eigenvalue/eigenvector solution Assuming translation-invariance (stationarity), Fourier transform suf- fices Assuming scale-invariance, spectrum must fall as 1 /f α 10/03

  6. Image Spectra 6 10 5 10 4 10 Power 3 10 2 10 1 10 0 10 0 1 2 3 10 10 10 10 Spatial−frequency (cycles/image) Empirically, power spectrum of natural images falls as 1 /f α , α ∼ 2 . [Field ’87, Ruderman & Bialek ’94, etc] 10/03

  7. Model I: Fourier+Gaussian Coefficient density: Basis set: Image: � � � � 10/03

  8. Denoising I (Fourier/Gaussian) Bayes Least Squares solution is linear (Wiener filter): σ 2 f E ( x f | y f ) = y f σ 2 f + σ 2 w 20 signal noise 15 10 5 0 1 Wiener filter 0.5 0 −3 −2 −1 0 1 2 3 frequency 10/03

  9. Denoising I 10/03

  10. PCA is Insufficient b. a. left : 1 /f Gaussian noise. right : whitened natural image. [after Field, ’87] 10/03

  11. Bandpass Filters Reveal non-Gaussian Behaviors 0 10 Response histogram Gaussian density Probability −2 10 −4 10 −500 0 500 Filter Response Marginal densities of bandpass filtered images are non-Gaussian (and thus have higher entropy than a Gaussian of the same variance) [Field ’87; Mallat ’89; Simoncelli etal. ’90; Zetzsche ’90] 10/03

  12. PCA on Linear Combination of non-Gaussian Sources Linear Mixture After PCA Rotation After Whitening 4 0.4 0.4 3 0.3 0.3 2 0.2 0.2 0.1 0.1 1 0 0 0 −0.1 −0.1 −1 −0.2 −0.2 −2 −0.3 −0.3 −3 −0.4 −0.4 −4 −0.4 −0.2 0 0.2 0.4 −0.4 −0.2 0 0.2 0.4 −4 −2 0 2 4 2nd-order whitening does not necessarily recover independent sources! Need an additional rotation matrix... 10/03

  13. Independent Component Analysis (ICA) Seek linear transform that maximizes statistical independence of trans- form coefficients. Many algorithms have been developed. 10/03

  14. Fourth-order ICA (Cardoso ’89) Diagonalize covariance matrix maximizes coefficient kurtosis (4th mo- ment divided by squared variance). 1. Rotate to PCA (2nd-order eigenvector) axes 2. Whiten (scale axes by inverse of corresponding eigenvalue) 3. Rotate to axes given by eigenvectors of: x | 2 � x T � � E | � x · � Recovers independent components, • assuming linear mixture of independent sources • assuming components have unique kurtoses • up to axis re-ordering and re-scaling 10/03

  15. ICA on Photographic Images Linear operators with maximally independent (or maximally non-Gaussian) responses are oriented bandpass filters [Bell/Sejnowski ’97; Olshausen/Field ’96] 10/03

  16. Sample Kurtosis vs. Filter Bandwidth 16 14 12 Sample Kurtosis 10 8 6 4 0 0.5 1 1.5 2 2.5 3 Filter Bandwidth (octaves) For most images, maximum is near one octave [after Field, 1987] . 10/03

  17. Model II: ”Wavelet” + nonGaussian Coefficient density: Basis set: Image: � � � • Need a basis of bandpass oriented filters (our next topic..) • Need a model for the marginal densities 10/03

  18. Example Marginals Boats Lena Toys Goldhill −100 −50 0 50 100 −100 −50 0 50 100 −100 −50 0 50 100 −100 −50 0 50 100 p = 0 . 62 p = 0 . 56 p = 0 . 52 p = 0 . 60 ∆ H = 0 . 014 ∆ H = 0 . 013 ∆ H = 0 . 021 ∆ H = 0 . 0019 • Coefficient densities well fit by generalized Laplacians [Mallat 1989; Simoncelli/Adelson 1996] : f ( c ) ∝ e −| c/s | p , p ∈ [0 . 5 , 0 . 8] . • Non-Gaussianity due to both image content and choice of basis. 10/03

  19. MAP estimator p = 0 . 5 p = 1 . 0 p = 2 . 0 MAP estimators for generalized Gaussian coefficient prior with three different exponents. Dashed line is the identity function. 10/03

  20. BLS estimator p = 0 . 5 p = 1 . 0 p = 2 . 0 10/03

  21. BLS estimator error 0.75 Estimate variance / Noise variance 0.7 0.65 0.6 0.55 0.5 0.45 0 0.5 1 1.5 2 p Error of BLS estimates as a function of the generalized Gaussian expo- nent. 10/03

  22. Denoising system ^ c 0 c 0 Forward Transform Inverse Transform ^ c 1 c 1 Noisy Image ^ c k c k Estimators 10/03

  23. Denoising Simulation: Face noisy I-linear (4.8) (10.61) III-GSM II-marginal nbd: 5 × 5 + p (11.98) (13.60) - Semi-blind (all parameters estimated except for σ w ). - SNR values shown in parentheses, log 10 (var(im) / var(err)) 10/03

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend