optimal illumination for image and video relighting

165
Optimal Illumination for Image and Video Relighting Francesc Moreno-Noguer Shree K. Nayar Peter N. Belhumeur Department of Computer Science – Columbia University European Conference on CVMP November 2005, London, UK

Upload: benito

Post on 02-Feb-2016

44 views

Category:

Documents


1 download

DESCRIPTION

Optimal Illumination for Image and Video Relighting. Francesc Moreno-Noguer Shree K. Nayar Peter N. Belhumeur. Department of Computer Science – Columbia University. European Conference on CVMP November 2005, London, UK. Objective. Objective. Objective. Objective. - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Optimal Illumination for Image and Video Relighting

Optimal Illumination for Image and Video Relighting

Francesc Moreno-Noguer Shree K. Nayar Peter N. Belhumeur

Department of Computer Science – Columbia University

European Conference on CVMP November 2005, London, UK

Page 2: Optimal Illumination for Image and Video Relighting

Objective

Page 3: Optimal Illumination for Image and Video Relighting

Objective

Page 4: Optimal Illumination for Image and Video Relighting

Objective

Page 5: Optimal Illumination for Image and Video Relighting

Objective

Page 6: Optimal Illumination for Image and Video Relighting

Relighting Static Objects

Page 7: Optimal Illumination for Image and Video Relighting

Relighting Static Objects

Page 8: Optimal Illumination for Image and Video Relighting

Relighting Static Objects

Page 9: Optimal Illumination for Image and Video Relighting

Relighting Static Objects

Page 10: Optimal Illumination for Image and Video Relighting

Relighting Static Objects

Page 11: Optimal Illumination for Image and Video Relighting

Relighting Static Objects

Page 12: Optimal Illumination for Image and Video Relighting

Relighting Static Objects

Page 13: Optimal Illumination for Image and Video Relighting

Relighting Static Objects

Page 14: Optimal Illumination for Image and Video Relighting

Relighting Static Objects

Page 15: Optimal Illumination for Image and Video Relighting

Relighting Static Objects

Page 16: Optimal Illumination for Image and Video Relighting

Relighting Static Objects

Page 17: Optimal Illumination for Image and Video Relighting

Relighting Static Objects

Page 18: Optimal Illumination for Image and Video Relighting

Relighting Static Objects

Page 19: Optimal Illumination for Image and Video Relighting

Relighting Static Objects

Page 20: Optimal Illumination for Image and Video Relighting

Relighting Static Objects

Page 21: Optimal Illumination for Image and Video Relighting

Relighting Static Objects

Page 22: Optimal Illumination for Image and Video Relighting

Relighting Static Objects

Page 23: Optimal Illumination for Image and Video Relighting

Relighting Static Objects

Page 24: Optimal Illumination for Image and Video Relighting

Relighting Static Objects

Page 25: Optimal Illumination for Image and Video Relighting

Relighting Static Objects

Page 26: Optimal Illumination for Image and Video Relighting

Relighting Static Objects

Page 27: Optimal Illumination for Image and Video Relighting

Relighting Static Objects

Page 28: Optimal Illumination for Image and Video Relighting

Relighting Static Objects

Page 29: Optimal Illumination for Image and Video Relighting

Relighting Static Objects

Page 30: Optimal Illumination for Image and Video Relighting

Relighting Static Objects

Page 31: Optimal Illumination for Image and Video Relighting

?

Relighting Static Objects

Page 32: Optimal Illumination for Image and Video Relighting

?

x x xx x x

x x x x x

x x x x x

x x x x x

x

x

x

Relighting Static Objects

Page 33: Optimal Illumination for Image and Video Relighting

x x xx x x

x x x x x

x x x x x

x x x x x

x

x

x

Relighting Static Objects

Page 34: Optimal Illumination for Image and Video Relighting

Relighting Moving Objects

Page 35: Optimal Illumination for Image and Video Relighting

Relighting Moving Objects

Page 36: Optimal Illumination for Image and Video Relighting

Relighting Moving Objects

Page 37: Optimal Illumination for Image and Video Relighting

Relighting Moving Objects

Page 38: Optimal Illumination for Image and Video Relighting

Relighting Moving Objects

Page 39: Optimal Illumination for Image and Video Relighting

Relighting Moving Objects

Page 40: Optimal Illumination for Image and Video Relighting

Relighting Moving Objects

Page 41: Optimal Illumination for Image and Video Relighting

Relighting Moving Objects

Page 42: Optimal Illumination for Image and Video Relighting

Relighting Moving Objects

Page 43: Optimal Illumination for Image and Video Relighting

Relighting Moving Objects

Page 44: Optimal Illumination for Image and Video Relighting

Relighting Moving Objects

Page 45: Optimal Illumination for Image and Video Relighting

Relighting Moving Objects

Page 46: Optimal Illumination for Image and Video Relighting

Relighting Moving Objects

Page 47: Optimal Illumination for Image and Video Relighting

Relighting Moving Objects

Page 48: Optimal Illumination for Image and Video Relighting

Relighting Moving Objects

Page 49: Optimal Illumination for Image and Video Relighting

Relighting Moving Objects

Page 50: Optimal Illumination for Image and Video Relighting

Relighting Moving Objects

Page 51: Optimal Illumination for Image and Video Relighting

Relighting Moving Objects

Page 52: Optimal Illumination for Image and Video Relighting

Relighting Moving Objects

Page 53: Optimal Illumination for Image and Video Relighting

Relighting Moving Objects

Page 54: Optimal Illumination for Image and Video Relighting

Relighting Moving Objects

Page 55: Optimal Illumination for Image and Video Relighting

Relighting Moving Objects

Page 56: Optimal Illumination for Image and Video Relighting

Relighting Moving Objects

Page 57: Optimal Illumination for Image and Video Relighting

Relighting Moving Objects

Page 58: Optimal Illumination for Image and Video Relighting

Relighting Moving Objects

Page 59: Optimal Illumination for Image and Video Relighting

?

Relighting Moving Objects

Page 60: Optimal Illumination for Image and Video Relighting

?

x x xx x x

x x x x x

x x x x x

x x x x x

x

x

x

Relighting Moving Objects

Page 61: Optimal Illumination for Image and Video Relighting

x x xx x x

x x x x x

x x x x x

x x x x x

x

x

x

Relighting Moving Objects

Page 62: Optimal Illumination for Image and Video Relighting

x x xx x x

x x x x x

x x x x x

x x x x x

x

x

x

Relighting Moving Objects

Page 63: Optimal Illumination for Image and Video Relighting

Relighting Moving Objects

Page 64: Optimal Illumination for Image and Video Relighting

Relighting Moving Objects

Page 65: Optimal Illumination for Image and Video Relighting

Relighting Moving Objects

Page 66: Optimal Illumination for Image and Video Relighting

Relighting Moving Objects

Page 67: Optimal Illumination for Image and Video Relighting

Relighting Moving Objects

Page 68: Optimal Illumination for Image and Video Relighting

Relighting Moving Objects

Page 69: Optimal Illumination for Image and Video Relighting

Relighting Moving Objects

Page 70: Optimal Illumination for Image and Video Relighting

Relighting Moving Objects

Page 71: Optimal Illumination for Image and Video Relighting

Relighting Moving Objects

Page 72: Optimal Illumination for Image and Video Relighting

Relighting Moving Objects

Page 73: Optimal Illumination for Image and Video Relighting

Relighting Moving Objects

Page 74: Optimal Illumination for Image and Video Relighting

Relighting Moving Objects

Page 75: Optimal Illumination for Image and Video Relighting

Relighting Moving Objects

Page 76: Optimal Illumination for Image and Video Relighting

Relighting Moving Objects

Page 77: Optimal Illumination for Image and Video Relighting

Relighting Moving Objects

Page 78: Optimal Illumination for Image and Video Relighting

Relighting Moving Objects

Page 79: Optimal Illumination for Image and Video Relighting

Relighting Moving Objects

Page 80: Optimal Illumination for Image and Video Relighting

Relighting Moving Objects

Page 81: Optimal Illumination for Image and Video Relighting

Relighting Moving Objects

Page 82: Optimal Illumination for Image and Video Relighting

Relighting Moving Objects

Page 83: Optimal Illumination for Image and Video Relighting

= I

= L

Relighting Moving Objects

Page 84: Optimal Illumination for Image and Video Relighting

= Ialign

= L

Relighting Moving Objects

Page 85: Optimal Illumination for Image and Video Relighting

Lnew

Relighting Moving Objects

= Ialign

= L

Page 86: Optimal Illumination for Image and Video Relighting

Lnew

?Inew

Relighting Moving Objects

= Ialign

= L

Page 87: Optimal Illumination for Image and Video Relighting

Relighting Moving Objects

Inew= Ialign pinv(L) Lnew

Page 88: Optimal Illumination for Image and Video Relighting

1 + 2 3 4+ +=

Inew= Ialign pinv(L) Lnew

Relighting Moving Objects

Page 89: Optimal Illumination for Image and Video Relighting

=

Relighting Moving Objects

Inew= Ialign pinv(L) Lnew

1 + 2 3 4+ +=

Page 90: Optimal Illumination for Image and Video Relighting

What is the optimal lighting?

Page 91: Optimal Illumination for Image and Video Relighting

What is the optimal lighting?

Lopt ?

Page 92: Optimal Illumination for Image and Video Relighting

Sources of error in video relighting

Sub-basis error

Ground Truth

Page 93: Optimal Illumination for Image and Video Relighting

Sources of error in video relighting

Sub-basis error

Ground Truth Rendered 3 basis

Error 3 basis

Page 94: Optimal Illumination for Image and Video Relighting

Sources of error in video relighting

Sub-basis error

Ground Truth Rendered 3 basis

Error 3 basis

Page 95: Optimal Illumination for Image and Video Relighting

Sources of error in video relighting

Sub-basis error

Ground Truth Rendered 3 basis

Error 3 basis

Rendered 6 basis

Error 6 basis

Page 96: Optimal Illumination for Image and Video Relighting

Sources of error in video relighting

Sub-basis error

Ground Truth Rendered 3 basis

Error 3 basis

Rendered 6 basis

Error 6 basis

Page 97: Optimal Illumination for Image and Video Relighting

Sources of error in video relighting

Alignment errorReference

frame

Page 98: Optimal Illumination for Image and Video Relighting

Sources of error in video relighting

Alignment errorReference

frameFrame

t+1

Page 99: Optimal Illumination for Image and Video Relighting

Sources of error in video relighting

Alignment errorReference

frame

Alignment errors

Frame t+1

Page 100: Optimal Illumination for Image and Video Relighting

Sources of error in video relighting

Alignment errorReference

frame

Alignment errors

Frame t+1

Frame t+2

Page 101: Optimal Illumination for Image and Video Relighting

Sources of error in video relighting

Alignment errorReference

frame

Alignment errors

Frame t+1

Frame t+2

Page 102: Optimal Illumination for Image and Video Relighting

Sources of error in video relighting

Alignment errorReference

frame

Alignment errors

Frame t+1

Frame t+2

Frame t+3

Page 103: Optimal Illumination for Image and Video Relighting

Sources of error in video relighting

Alignment errorReference

frame

Alignment errors

Frame t+1

Frame t+2

Frame t+3

Page 104: Optimal Illumination for Image and Video Relighting

Sources of error in video relighting

Alignment errorReference

frame

Alignment errors

Frame t+1

Frame t+2

Frame t+3

Frame t+4

Page 105: Optimal Illumination for Image and Video Relighting

Sources of error in video relighting

Alignment errorReference

frame

Alignment errors

Frame t+1

Frame t+2

Frame t+3

Frame t+4

Page 106: Optimal Illumination for Image and Video Relighting

Sources of error in video relighting

Alignment errorReference

frame

Alignment errors

Frame t+1

Frame t+2

Frame t+3

Frame t+4

Frame t+5

Page 107: Optimal Illumination for Image and Video Relighting

Sources of error in video relighting

Alignment errorReference

frame

Alignment errors

Frame t+1

Frame t+2

Frame t+3

Frame t+4

Frame t+5

Page 108: Optimal Illumination for Image and Video Relighting

Sources of error in video relighting

Orientation error

Page 109: Optimal Illumination for Image and Video Relighting

Sources of error in video relighting

Orientation error

Page 110: Optimal Illumination for Image and Video Relighting

Sources of error in video relighting

Reference frame

Orientation error

Page 111: Optimal Illumination for Image and Video Relighting

Sources of error in video relighting

Reference frame

Perfectly aligned frame

Orientation error

Page 112: Optimal Illumination for Image and Video Relighting

Sources of error in video relighting

Reference frame

Error afterperfect

alignment

Perfectly aligned frame

Orientation error

Page 113: Optimal Illumination for Image and Video Relighting

Sources of error in video relighting

Sub-basis error

Alignment error

Orientation error

Page 114: Optimal Illumination for Image and Video Relighting

Criterion for selecting the OLB

Minimize the sub-basis error

BUT

Keep the number of reference images to a minimum

Page 115: Optimal Illumination for Image and Video Relighting

Object independent lighting bases

Spherical Harmonic basis (SHLB)

Page 116: Optimal Illumination for Image and Video Relighting

Object independent lighting bases

Spherical Harmonic basis (SHLB)

Fourier basis (FLB)

Page 117: Optimal Illumination for Image and Video Relighting

Object independent lighting bases

Fourier basis (FLB)

Haar basis (HaLB)

Spherical Harmonic basis (SHLB)

Page 118: Optimal Illumination for Image and Video Relighting

Object dependent lighting basis

Optimal Lighting Basis (OLB)

• Computed as a simple calibration procedure before acquisition

• Initial acquisition of the images of the still object under single light sources

• Compute SVD over the matrix of images

• Computed as a simple calibration procedure before acquisition

• Initial acquisition of the images of the still object under single light sources

• Compute SVD over the matrix of images

...A=

Page 119: Optimal Illumination for Image and Video Relighting

A=UDWT

Object dependent lighting basis

Page 120: Optimal Illumination for Image and Video Relighting

A=UDWT

...A=

Object dependent lighting basis

Page 121: Optimal Illumination for Image and Video Relighting

A=UDWT

...A=

...U=

Object dependent lighting basis

Page 122: Optimal Illumination for Image and Video Relighting

A=UDWT

...A=

...

...

U=

W = T

Object dependent lighting basis

Page 123: Optimal Illumination for Image and Video Relighting

A=UDWT

...A=

...

...

...

U=

W = T

Lopt=

Object dependent lighting basis

Page 124: Optimal Illumination for Image and Video Relighting

Synthetic results

Optimal Lighting Basis (OLB)

Spherical Hamonic (SHLB)

Page 125: Optimal Illumination for Image and Video Relighting

Synthetic results

Optimal Lighting Basis (OLB)

Spherical Hamonic (SHLB)

Optimal Lighting Basis (OLB)

Fourier (FLB)

Haar (HaLB)

Page 126: Optimal Illumination for Image and Video Relighting

Synthetic results – Static objects

Ground Truth

Page 127: Optimal Illumination for Image and Video Relighting

Synthetic results – Static objects

Fourier 16 basis

Error

Fourier 16 basis

Ground Truth

Page 128: Optimal Illumination for Image and Video Relighting

Synthetic results – Static objects

Fourier 16 basis OLB 16 basis

Error

Fourier 16 basis

Error

OLB 16 basis

Ground Truth

Page 129: Optimal Illumination for Image and Video Relighting

Synthetic results – Static objects

Ground Truth

Page 130: Optimal Illumination for Image and Video Relighting

Synthetic results – Static objects

Haar 3 basis

Error

Haar 3 basis

Ground Truth

Page 131: Optimal Illumination for Image and Video Relighting

Synthetic results – Static objects

Haar 3 basis OLB 3 basis

Error

Haar 3 basis

Error

OLB 3 basis

Ground Truth

Page 132: Optimal Illumination for Image and Video Relighting

Synthetic results – Static objects

Ground Truth

Page 133: Optimal Illumination for Image and Video Relighting

Synthetic results – Static objects

Sph. Harm.

7 basis

Error

Sph. Harm. 7 basis

Ground Truth

Page 134: Optimal Illumination for Image and Video Relighting

Synthetic results – Static objects

Sph. Harm.

7 basis

OLB 7 basis

Error

Sph. Harm. 7 basis

Error

OLB 7 basis

Ground Truth

Page 135: Optimal Illumination for Image and Video Relighting

Synthetic results – Static objects

Ground Truth

Page 136: Optimal Illumination for Image and Video Relighting

Synthetic results – Static objects

Sph. Harm. 3 basis

Error

Sph. Harm. 3 basis

Ground Truth

Page 137: Optimal Illumination for Image and Video Relighting

Synthetic results – Static objects

Sph. Harm. 3 basis OLB 3 basis

Error

Sph. Harm. 3 basis

Error

OLB 3 basis

Ground Truth

Page 138: Optimal Illumination for Image and Video Relighting

Synthetic results – Static objects

Page 139: Optimal Illumination for Image and Video Relighting

Synthetic results – Static objects

Dragon Example:

Page 140: Optimal Illumination for Image and Video Relighting

Synthetic results – Static objects

8 OLB = 8 x 1.6 SHLB 13 SHLBDragon Example:

Page 141: Optimal Illumination for Image and Video Relighting

Synthetic results – Static objects

8 OLB = 8 x 1.6 SHLB 13 SHLB8 OLB = 8 x 1.9 SHLB 15 FLB

Dragon Example:

Page 142: Optimal Illumination for Image and Video Relighting

Synthetic results – Static objects

Dragon Example: 8 OLB = 8 x 1.6 SHLB 13 SHLB8 OLB = 8 x 1.9 SHLB 15 FLB8 OLB = 8 x 3.2 SHLB 25 HaLB

Page 143: Optimal Illumination for Image and Video Relighting

Frame #50

Synthetic results – Moving objects

Frame #1

OLB vs. SHLB

Page 144: Optimal Illumination for Image and Video Relighting

Frame #50

Synthetic results – Moving objects

Frame #1

9 OLB

OLB vs. SHLB

Page 145: Optimal Illumination for Image and Video Relighting

Frame #50

Synthetic results – Moving objects

Frame #1

9 OLB 16 SHLB

OLB vs. SHLB

Page 146: Optimal Illumination for Image and Video Relighting

Frame #50

Synthetic results – Moving objects

Frame #1

OLB vs. Fourier & Haar

Page 147: Optimal Illumination for Image and Video Relighting

Frame #50

Synthetic results – Moving objects

Frame #1

3 OLB

OLB vs. Fourier & Haar

Page 148: Optimal Illumination for Image and Video Relighting

Frame #50

Synthetic results – Moving objects

Frame #1

3 OLB 5 FLB

OLB vs. Fourier & Haar

Page 149: Optimal Illumination for Image and Video Relighting

Frame #50

Synthetic results – Moving objects

Frame #1

3 OLB 5 FLB

OLB vs. Fourier & Haar

16 HaLB

Page 150: Optimal Illumination for Image and Video Relighting

Real Experiments - Setup

Page 151: Optimal Illumination for Image and Video Relighting

Real Experiments - Procedure

OLB computation

1.1. Static scene, single lights1.2. SVD OLB

Video adquisition

2. Moving scene, OLB

Postprocessing 3.1. Alignment3.2. Relighting

Page 152: Optimal Illumination for Image and Video Relighting

Real Experiments – Tennis Ball

Page 153: Optimal Illumination for Image and Video Relighting

Real Experiments – Tennis Ball

Page 154: Optimal Illumination for Image and Video Relighting

Real Experiments – Face

Page 155: Optimal Illumination for Image and Video Relighting

Real Experiments – Face

Page 156: Optimal Illumination for Image and Video Relighting

Real Experiments – Face

Page 157: Optimal Illumination for Image and Video Relighting

Real Experiments – Room corner

Page 158: Optimal Illumination for Image and Video Relighting

Real Experiments – Room corner

Page 159: Optimal Illumination for Image and Video Relighting

Real Experiments – Room corner

Page 160: Optimal Illumination for Image and Video Relighting

Real Experiments – Room corner

Page 161: Optimal Illumination for Image and Video Relighting

Conclusions

• Proposed an “object-dependent” lighting basis appropriate for relighting tasks.

• Minimizes the number of reference images needed for relighting.

• Effective method for video relighting.

• Proposed an “object-dependent” lighting basis appropriate for relighting tasks.

• Minimizes the number of reference images needed for relighting.

• Effective method for video relighting.

Page 162: Optimal Illumination for Image and Video Relighting

Future work

• Use faster cameras.

• Use “motion-dependent” relighting bases.

• Use faster cameras.

• Use “motion-dependent” relighting bases.

Frame t+1

Frame t+2

Frame t+3

Frame t+4

Frame t+5

Frame t

Slow motion

More accurate results

Page 163: Optimal Illumination for Image and Video Relighting

Future work

• Use faster cameras.

• Use “motion-dependent” relighting bases.

• Use faster cameras.

• Use “motion-dependent” relighting bases.

Fast motion

Frame t+1

Frame t+2

Frame t+3

Frame t+4

Frame t+5

Frame t

Slow motion

Reduce alignment & orientation

errors

More accurate results

Page 164: Optimal Illumination for Image and Video Relighting

Acknowledgments

• Ko Nishino for his useful comments.

• Anne Fleming for her help in the edition of the videos.

• All the people from the “Laboratory for the Study of Visual Appearance” and “Columbia Automated Vision Environment's” at Columbia University.

• Cyberware for the 3D models.

• Funding Sponsors: • Spanish Ministry of Science & Technology• National Science Foundation

• Ko Nishino for his useful comments.

• Anne Fleming for her help in the edition of the videos.

• All the people from the “Laboratory for the Study of Visual Appearance” and “Columbia Automated Vision Environment's” at Columbia University.

• Cyberware for the 3D models.

• Funding Sponsors: • Spanish Ministry of Science & Technology• National Science Foundation

Page 165: Optimal Illumination for Image and Video Relighting