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
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
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
images
photos
to fix the bad ones automatically
3
Our Approach
performing manual edits
4
Previous Work
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
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
Levin et al. 2007, Raskar et al. 2006, Ben-Ezra et al. 2005, Ben-Ezra and Nayar 2004
5
Specific vs. General Priors
Generic Image Prior Multi-Image
Field of Experts [Roth and Black] Sparse Prior [Levin et al.] Example Based [Freeman et al.] Our Approach
Photo Collections [Dale et al.]
6
Facespace
with a few good examples
7
Personal Image Enhancement Pipeline
FACE DETECTION ALIGNMENT
GLOBAL AND LOCAL
ENHANCEMENT
FINAL ENHANCED IMAGE GOOD IMAGES BAD IMAGE INTRINSIC IMAGE DECOMPOSITION INTRINSIC IMAGE DECOMPOSITION
8
Intrinsic Images [Land and McCann 1971,Barrow and Tenenbaum 1978]
2004
Input Image Chroma R Detail/Texture Chroma G Lighting
9
Image Enhancements
10
Image Enhancements
11
Blur Formation
Blurry image Blur kernel (Point-Spread Function)
Zero Mean Gaussian Noise Sharp image
Convolution
12
Blur Estimation Goal
Blurry image Blur kernel
Zero Mean Gaussian Noise Sharp image Known Unknown Known σ
13
Deblurring: Multiple Possible Solutions
Blurry image Sharp image Blur kernel
14
Eigenspace
Mean Face Eigenvectors * 3 *σ + Mean Face Eigenvectors * -3 *σ + Mean Face
15
2 4 3 2 8 . 1 2 ,
) ( min arg , K K I I I K I B K I
p T K I
∇ + + − + − Λ Λ + ∇ + ⊗ − = λ λ µ µ ρ λ λ σ ρ Eigenspace used for Blind Deconvolution
B = Blurry Image I = Sharp Prediction Λ = Eigenbasis vectors µ = Mean Vector ρ(.) = Robust Norm σ = Noise standard deviation λ = Regularization parameter p < 1
Data Term Sparse Prior
16
Image Enhancements
17
Image Enhancements
18
Color Correction: Multiple Possible Solutions
Observed image White-balanced Image Lighting Color
19
White Balance and Exposure Correction
independently)
r C C
r r C r
r
− = µ ρ min arg
Cr = r scale Cg = g scale CL = L scale µr = Mean r Vector µg = Mean g Vector µL = Mean L Vector ρ(.) = Robust Norm
g C C
g g C g
g
− = µ ρ min arg
L C C
L L C L
L
− = µ ρ min arg
20
Image Enhancements
21
Image Enhancements
22
Face Correction: Patch Based [Freeman et al. 2000, Liu et al.
2007]
network
patches in and .
smooth.
g H
I ) (v I g
H
) (v N l
H
l H
I
) (v S
) (v I l
H
I
L H
I
G H
I
L H
I
24
Camera Motion Blur (Global Correction)
Good Example Images
25
Exposure Correction and White-Balancing
Good Example Images
26
Defocus Blur (Local Correction)
Good Example Images
27
Upsampling (Local Correction)
Good Example Images
29
Comparisons to Previous Work
Our Result Fergus et al. 2006
30
Comparisons to Color Constancy [Weijer et al. 2007 ]
Grayworld Shades of Gray Our Results Grayedge MaxRGB
31
Using Generic Faces
Our Result Liu et al. 2007 Our Result Liu et al. Generic (10) Generic (50) Generic Faces (10) Generic Faces (50)
32
Our Result Liu et al. 2007 Generic Faces (10) Generic Faces (50)
Using Generic Faces
Input
33
Discussion/Future Work
the Eigenspace
equally likely
Eigenspace
model
camera/phone
34
Contributions
for corrections
global corrections
priors
35
Thank You! http://research.microsoft.com/en- us/um/people/neel/personal_photos/