9/20/2010 - princeton university computer science...preliminary results by sashi kumar penta sun sun...

9
9/20/2010 1 COS526: Advanced Computer Graphics Tom Funkhouser Fall 2010 Slides from Durand, Efros, Finkelstein, Freeman, Lazebnik, Rusinkiewicz, Seitz Background Image Processing o Basic signal processing o Filtering, resampling, warping, ... Rendering o Polygon rendering pipeline o Ray tracing Modeling o Basic 3D object representations o Polygonal meshes Background Image Processing o Basic signal processing o Filtering, resampling, warping, ... Rendering o Polygon rendering pipeline o OpenGL Modeling o Basic 3D object representations o Polygonal meshes Input signal Input signal Reconstructed signal Reconstructed signal Sampled signal Sampled signal Background Image Processing o Basic signal processing o Filtering, resampling, warping, ... Rendering o Polygon rendering pipeline o Ray tracing Modeling o Basic 3D object representations o Polygonal meshes 3D Geometric Primitives Modeling Transformation Modeling Transformation Viewing Transformation Viewing Transformation Projection Transformation Projection Transformation Lighting Lighting Image Clipping Clipping Scan Conversion Scan Conversion Background Image Processing o Basic signal processing o Filtering, resampling, warping, ... Rendering o Polygon rendering pipeline o Ray tracing Modeling o Basic 3D object representations o Polygonal meshes CS526 Syllabus Computational Photography o Image composition o Texture synthesis o Image-based rendering Geometric Representations o Laplacian meshes o Multiresolution meshes o Point representations Shape Analysis o Matching o Segmentation o Deformation Global illumination o Reflectance o Simulating light transport

Upload: others

Post on 03-Oct-2020

0 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: 9/20/2010 - Princeton University Computer Science...Preliminary results by Sashi Kumar Penta Sun Sun et al. (2005) Computational Photography Example: image completion Preliminary results

9/20/2010

1

COS526: Advanced Computer Graphics

Tom Funkhouser Fall 2010

Slides from Durand, Efros, Finkelstein, Freeman, Lazebnik, Rusinkiewicz, Seitz

BackgroundImage Processingo Basic signal processingo Filtering, resampling, warping, ...

Renderingo Polygon rendering pipelineo Ray tracing

Modelingo Basic 3D object representationso Polygonal meshes

BackgroundImage Processingo Basic signal processingo Filtering, resampling, warping, ...

Renderingo Polygon rendering pipelineo OpenGL

Modelingo Basic 3D object representationso Polygonal meshes

Input signalInput signal

Reconstructed signalReconstructed signal

Sampled signalSampled signal

BackgroundImage Processingo Basic signal processingo Filtering, resampling, warping, ...

Renderingo Polygon rendering pipelineo Ray tracing

Modelingo Basic 3D object representationso Polygonal meshes

3D Geometric Primitives

ModelingTransformation

ModelingTransformation

ViewingTransformation

ViewingTransformation

ProjectionTransformation

ProjectionTransformation

LightingLighting

Image

ClippingClipping

ScanConversion

ScanConversion

BackgroundImage Processingo Basic signal processingo Filtering, resampling, warping, ...

Renderingo Polygon rendering pipelineo Ray tracing

Modelingo Basic 3D object representationso Polygonal meshes

CS526 SyllabusComputational Photographyo Image compositiono Texture synthesiso Image-based rendering

Geometric Representationso Laplacian mesheso Multiresolution mesheso Point representations

Shape Analysiso Matchingo Segmentationo Deformation

Global illuminationo Reflectanceo Simulating light transport

Page 2: 9/20/2010 - Princeton University Computer Science...Preliminary results by Sashi Kumar Penta Sun Sun et al. (2005) Computational Photography Example: image completion Preliminary results

9/20/2010

2

CS526 SyllabusComputational Photographyo Image compositiono Texture synthesiso Image-based rendering

Geometric Representationso Laplacian mesheso Multiresolution mesheso Point representations

Shape Analysiso Matchingo Segmentationo Deformation

Global illuminationo Reflectanceo Simulating light transport

CS526 SyllabusComputational Photographyo Image compositiono Texture synthesiso Image-based rendering

Geometric Representationso Laplacian mesheso Multiresolution mesheso Point representations

Shape Analysiso Matchingo Segmentationo Deformation

Global illuminationo Reflectanceo Simulating light transport

Sorkine

CS526 SyllabusComputational Photographyo Image compositiono Texture synthesiso Image-based rendering

Geometric Representationso Laplacian mesheso Multiresolution mesheso Point representations

Shape Analysiso Matchingo Segmentationo Deformation

Global illuminationo Reflectanceo Simulating light transport

Praun

CS526 SyllabusComputational Photographyo Image compositiono Texture synthesiso Image-based rendering

Geometric Representationso Laplacian mesheso Multiresolution mesheso Point representations

Shape Analysiso Matchingo Segmentationo Deformation

Global illuminationo Reflectanceo Simulating light transport

Jensen

Coursework

4 Short written exercises

3 Programming assignments

Final project

Computational Photography

Page 3: 9/20/2010 - Princeton University Computer Science...Preliminary results by Sashi Kumar Penta Sun Sun et al. (2005) Computational Photography Example: image completion Preliminary results

9/20/2010

3

What is Computational Photography?

Definition 1: the use of photographic imagery to create content for computer graphics

Slide by Lazebnik

Traditional Computer Graphics

3D geometry

physics

simulation

projection

Slide by Efros

State of the Art

Amazingly real … but sterile, lifeless, futuristicSlide by Efros

The richness of our everyday world

Pavia, Italy Slide by Efros

Beauty in complexity

Blue Mountains, Australia Slide by Efros

Which parts are hard to model?

Slide by Efros

Page 4: 9/20/2010 - Princeton University Computer Science...Preliminary results by Sashi Kumar Penta Sun Sun et al. (2005) Computational Photography Example: image completion Preliminary results

9/20/2010

4

People

“Final Fantasy”

On the Tube, London

Slide by Efros

Faces / Hair

Photo by Joaquin Rosales Gomez

“Final Fantasy”

Slide by Efros

Urban Scenes

Virtual LA (SGI)

Photo of LA

Slide by Efros

Nature

River Cherwell, Oxford

Slide by Efros

Traditional Photography

Camera controls:o Viewpointo Lenso Shutter speedo Apertureo Sensor

Slide by Freeman and Durand

Traditional Photography

Pin-hole camera:

From Photography, London et al.

Page 5: 9/20/2010 - Princeton University Computer Science...Preliminary results by Sashi Kumar Penta Sun Sun et al. (2005) Computational Photography Example: image completion Preliminary results

9/20/2010

5

Traditional Photography

Pin-hole size?

From Photography, London et al.

Traditional Photography

Pin-hole size?o Smaller produces sharper image (up to limits of diffraction)

o Larger lets in more light

From Wandell

Traditional Photography

Lenses

f

Slide by Freeman and Durand

Traditional Photography

Lenses

Slide by Freeman and Durand

fDD’

1D’ D

1 1f

+ =

Traditional Photography

Lenses+ More light+ Sharp … - at one depth

From Photography, London et al.

Traditional Photography

Effect of different focal lengths24mm

50mm

135mm

Page 6: 9/20/2010 - Princeton University Computer Science...Preliminary results by Sashi Kumar Penta Sun Sun et al. (2005) Computational Photography Example: image completion Preliminary results

9/20/2010

6

Limitations of traditional photography

Limited resolution

Slide by Lazebnik

Limitations of traditional photography

Single depth of focus

Slide by Lazebnik

Limitations of traditional photography

Bad color / no color

Slide by Lazebnik

Limitations of traditional photography

Limited dynamic range

Slide by Lazebnik

Limitations of traditional photography

Single viewpoint

NFL

Limitations of traditional photography

Static scene

Slide by Lazebnik

Page 7: 9/20/2010 - Princeton University Computer Science...Preliminary results by Sashi Kumar Penta Sun Sun et al. (2005) Computational Photography Example: image completion Preliminary results

9/20/2010

7

Limitations of traditional photography

Blur, camera shake, noise, damage

Slide by Lazebnik

Limitations of traditional photography

Unfortunate expressions

Slide by Lazebnik

Limitations of traditional photography

Unwanted objects

Slide by Lazebnik

The Realism Spectrum

+ easy to manipulateobjects/viewpoint

- hard to acquire/create

- hard to make realistic

- hard to manipulate objects/viewpoint

+ easy to acquire

+ instantly realistic

Computer Graphics PhotographyComputationalPhotography

RealismManipulation

Ease of capture

Slide by Efros

What is Computational Photography?

Definition 1: the use of photographic imagery to create graphics content

Definition 2: The use of computational techniques to overcome limitations of traditional photography

Slide by Lazebnik

Computational Photography

Example: high-dynamic range

Preliminary results by Sashi Kumar Penta

Debevec

Page 8: 9/20/2010 - Princeton University Computer Science...Preliminary results by Sashi Kumar Penta Sun Sun et al. (2005) Computational Photography Example: image completion Preliminary results

9/20/2010

8

Computational Photography

Example: deblurring

Preliminary results by Sashi Kumar Penta

Fergus

Computational Photography

Example: super-resolution

Preliminary results by Sashi Kumar Penta

Hertzmann

Computational Photography

Example: creating panorama

Preliminary results by Sashi Kumar Penta

Computational Photography

Example: gigapixel images

Preliminary results by Sashi Kumar Penta

Kopf

Computational Photography

Example: color harmonization

Cohen-Or

Computational Photography

Example: background replacement

Preliminary results by Sashi Kumar Penta

Page 9: 9/20/2010 - Princeton University Computer Science...Preliminary results by Sashi Kumar Penta Sun Sun et al. (2005) Computational Photography Example: image completion Preliminary results

9/20/2010

9

Computational Photography

Example: image completion

Preliminary results by Sashi Kumar Penta

Sun

Sun et al. (2005)

Computational Photography

Example: image completion

Preliminary results by Sashi Kumar Penta

Efros

Computational Photography

Example: tour into the picture

Preliminary results by Sashi Kumar Penta

Horry

Computational Photography

Example: photo tourism

Preliminary results by Sashi Kumar Penta

Snavely

Next Time

Texture synthesis