personal photo enhancement using example images
play

Personal Photo Enhancement using Example Images Neel Joshi - PowerPoint PPT Presentation

Personal Photo Enhancement using Example Images Neel Joshi Wojciech Matusik, Edward H. Adelson, and David J. Kriegman Microsoft Research, Disney Research, Adobe Research, MERL, MIT CSAIL, and UCSD Motivation and Approach 2 It is difficult


  1. Personal Photo Enhancement using Example Images Neel Joshi Wojciech Matusik, Edward H. Adelson, and David J. Kriegman Microsoft Research, Disney Research, Adobe Research, MERL, MIT CSAIL, and UCSD

  2. Motivation and Approach 2  It is difficult for most users to fix their images  It’s easier for users to rate their good photos X   Use examples of a persons good photos to fix the bad ones automatically

  3. Our Approach 3 X  Focus on images with faces  Use a known face as a calibration object  Users provide good examples, instead X performing manual edits

  4. Previous Work 4  Deblurring and Upsampling/Super-Resolution  Poisson image/noise models [Richardson 1972; Lucy 1974]; Sparse gradient priors [Fergus et al. 2006; Levin 2006; Levin 2007]; Sparse wavelet coefficients [de Rivaz 2001]; Spatially Varying [Whyte et al. 2010; Gupta et al. 2010]; Baker and Kanade 2000; Freeman et al. 2000; Freeman et al. 2002; Liu et al. 2007; Dai et al. 2007; Fattal 2007  Denoising  Sparse wavelet coefficients [Simoncelli and Adelson 1996; Portilla et al. 2003], Anisotropic diffusion [Perona and Malik 1990], Field of Experts [Roth and Black 2005];, Baker and Kanade 2000; Freeman et al. 2000; Freeman et al. 2002; Liu et al. 2007; Dai et al. 2007; Fattal 2007  White-Balancing/Color Correction  Finlayson et al. 2004, 2005; Weijer et al. 2007  Using photo collections  Baker and Kanade 2000, Liu et al. 2007 , Dale et al. 2009  Hardware Methods  Joshi et al. 2010, Raskar et al. 2008, Levin et al. 2008, Veeraraghavan et al. 2007, Levin et al. 2007, Raskar et al. 2006, Ben-Ezra et al. 2005, Ben-Ezra and Nayar 2004

  5. Specific vs. General Priors 5 Example Based Sparse Prior Field of Experts Photo Collections Our Approach [Freeman et al.] [Dale et al.] [Levin et al.] [Roth and Black] X Generic Multi-Image Image Prior  We use an identity specific prior

  6. Facespace 6  Faces are a subspace of all images  Eigenfaces -- Turk and Petland 1987  Person-specific space is relatively small  The range of images can be captured with a few good examples

  7. Personal Image Enhancement Pipeline 7 I NTRINSIC I MAGE D ECOMPOSITION B AD I MAGE FACE ALIGNMENT DETECTION G LOBAL AND L OCAL ENHANCEMENT I NTRINSIC I MAGE D ECOMPOSITION G OOD I MAGES F INAL E NHANCED I MAGE

  8. Intrinsic Images [Land and McCann 1971,Barrow and Tenenbaum 1978] 8 Chroma R Detail/Texture Input Image Lighting Chroma G  Separation into Lighting, Texture, Color Layers  Use base/detail decomposition of Eisemann and Durand 2004

  9. Image Enhancements 9  Blur (Global)  Color/Exposure Balance (Global)  Super-Resolution/Up- sampling

  10. Image Enhancements 10  Blur  Color/Exposure Balance  Super-Resolution/Up- sampling

  11. Blur Formation 11 Blurry image = Blur kernel Sharp image Zero Mean Gaussian Noise (Point-Spread Function) + ⊗ Convolution

  12. Blur Estimation Goal 12 Blurry image = Known Known σ Sharp image Blur kernel Zero Mean Gaussian Noise + ⊗ Unknown

  13. Deblurring: Multiple Possible Solutions 13 Sharp image Blur kernel ⊗ = = ⊗ Blurry image ⊗ =

  14. Eigenspace 14 Mean Face Eigenvectors * 3 * σ + Mean Face Eigenvectors * -3 * σ + Mean Face  Identity Specific Images are used to build an aligned eigenspace

  15. Eigenspace used for Blind Deconvolution 15 Data Term Sparse Prior ( ) 0 . 8 = ρ − ⊗ σ + λ ∇ B = Blurry Image 2 I , K arg min B I K I 1 I = Sharp Prediction I , K Λ = Eigenbasis vectors ( ( ) ) + λ ρ Λ Λ − µ + µ − T µ = Mean Vector ( I ) I 2 ρ (.) = Robust Norm σ = Noise standard + λ p + λ ∇ 2 K K deviation 3 4 λ = Regularization parameter  Eigenspace used as a linear constraint p < 1  Robust norm  Sparsity and smoothness priors on the Kernel  Solved using an Multi-Scale EM style algorithm

  16. Image Enhancements 16  Blur  Color/Exposure Balance  Super-Resolution/Up- sampling

  17. Image Enhancements 17  Blur  Color/Exposure Balance  Super-Resolution/Up- sampling

  18. Color Correction: Multiple Possible Solutions 18 White-balanced Image Lighting Color = X Observed image = X

  19. White Balance and Exposure Correction 19 C r = r scale ( ) = ρ µ − C C r arg min C g = g scale r r r C L = L scale C r ( ) = ρ µ − C arg min C g g g g µ r = Mean r Vector C g µ g = Mean g Vector ( ) = ρ µ − C arg min C L µ L = Mean L Vector L L L C L ρ (.) = Robust Norm  Diagonal white balancing matrix (scales r and g independently)  Exposure adjustment scales lighting layer

  20. Image Enhancements 20  Blur  Color/Exposure Balance  Super-Resolution/Up- sampling

  21. Image Enhancements 21  Blur  Color/Exposure Balance  Super-Resolution/Up- sampling

  22. Face Correction: Patch Based [Freeman et al. 2000, Liu et al. 22 2007] S  ( v )  I l ( v ) H  N l ( v ) H l I H  I g ( v ) H I g I H • High-frequencies hallucinated by minimizing the energy of patch-based Markov network • Two types of energies: • external potential — to model the connective statistics between two linked L G I I H H patches in and . L I H • internal potential — to make adjacent patches in smooth. • Energy minimization by raster scan [Freeman et al. 2000]

  23. Results

  24. Camera Motion Blur (Global Correction) 24 Good Example Images

  25. Exposure Correction and White-Balancing 25 Good Example Images

  26. Defocus Blur (Local Correction) 26 Good Example Images

  27. Upsampling (Local Correction) 27 Good Example Images

  28. Comparisons

  29. Comparisons to Previous Work 29 Fergus et al. 2006 Our Result

  30. Comparisons to Color Constancy [Weijer et al. 2007 ] 30 Grayworld MaxRGB Shades of Gray Grayedge Our Results

  31. Using Generic Faces 31 Generic Generic Our Result Liu et al. 2007 Faces (10) Faces (50) Our Result Generic (10) Liu et al. Generic (50)

  32. Using Generic Faces 32 Input Our Result Liu et al. 2007 Generic Faces (10) Generic Faces (50)

  33. Discussion/Future Work 33  Latent photo may not be well modeled by the Eigenspace  All parts of the Eigenspace may not be equally likely  A prior on the distribution within the Eigenspace  Better non rigid alignment/morphable model  Personalized Enhancement on camera/phone

  34. Contributions 34   We use good examples of known face images for corrections  Faces are used as calibration objects for global corrections  We can further improve the faces in images  Identity-specific priors out-perform generic priors

  35. Thank You! 35 http://research.microsoft.com/en- us/um/people/neel/personal_photos/

Recommend


More recommend