15-463 (15-862): Computational Photography - Computer...

55
15-463 (15-862): Computational Photography

Transcript of 15-463 (15-862): Computational Photography - Computer...

Page 1: 15-463 (15-862): Computational Photography - Computer …graphics.cs.cmu.edu/courses/15-463/2010_fall/Lectures/Introduction.pdf · 15-463 (15-862): Computational Photography. 15-463

15-463 (15-862): Computational Photography

Page 2: 15-463 (15-862): Computational Photography - Computer …graphics.cs.cmu.edu/courses/15-463/2010_fall/Lectures/Introduction.pdf · 15-463 (15-862): Computational Photography. 15-463

15-463 (15-862): Computational Photography

Staff• Prof: Alexei Efros (efros@cs), 4207 NSH (for now)

• TA: Ronit Slyper (rys@cs)

Web Page• http://graphics.cs.cmu.edu/courses/15-463/

Discussion Forum:• Googlegroups ???

Page 3: 15-463 (15-862): Computational Photography - Computer …graphics.cs.cmu.edu/courses/15-463/2010_fall/Lectures/Introduction.pdf · 15-463 (15-862): Computational Photography. 15-463

Today

Introductions

Why Computational Photography?

Overview of the course

Administrative stuff

Page 4: 15-463 (15-862): Computational Photography - Computer …graphics.cs.cmu.edu/courses/15-463/2010_fall/Lectures/Introduction.pdf · 15-463 (15-862): Computational Photography. 15-463

A bit about me

Alexei (Alyosha) Efros

Associate Professor in Robotics and CSD

also work with colleagues in Paris and Oxford

Teaching

The plan is to have fun and learn cool things, both

you and me!

Social warning: I don’t see well

Research

Graphics, Vision, Machine Learning, Visual Perception

Page 5: 15-463 (15-862): Computational Photography - Computer …graphics.cs.cmu.edu/courses/15-463/2010_fall/Lectures/Introduction.pdf · 15-463 (15-862): Computational Photography. 15-463

PhD Thesis on Texture and Action Synthesis

Antonio’s son cannot walk but he can fly

Smart Erase button in MS Digital Image Pro:

Page 6: 15-463 (15-862): Computational Photography - Computer …graphics.cs.cmu.edu/courses/15-463/2010_fall/Lectures/Introduction.pdf · 15-463 (15-862): Computational Photography. 15-463

More recent work

Derek Hoiem, Alexei Efros, Martial Hebert

Page 7: 15-463 (15-862): Computational Photography - Computer …graphics.cs.cmu.edu/courses/15-463/2010_fall/Lectures/Introduction.pdf · 15-463 (15-862): Computational Photography. 15-463
Page 8: 15-463 (15-862): Computational Photography - Computer …graphics.cs.cmu.edu/courses/15-463/2010_fall/Lectures/Introduction.pdf · 15-463 (15-862): Computational Photography. 15-463
Page 9: 15-463 (15-862): Computational Photography - Computer …graphics.cs.cmu.edu/courses/15-463/2010_fall/Lectures/Introduction.pdf · 15-463 (15-862): Computational Photography. 15-463
Page 10: 15-463 (15-862): Computational Photography - Computer …graphics.cs.cmu.edu/courses/15-463/2010_fall/Lectures/Introduction.pdf · 15-463 (15-862): Computational Photography. 15-463
Page 11: 15-463 (15-862): Computational Photography - Computer …graphics.cs.cmu.edu/courses/15-463/2010_fall/Lectures/Introduction.pdf · 15-463 (15-862): Computational Photography. 15-463
Page 12: 15-463 (15-862): Computational Photography - Computer …graphics.cs.cmu.edu/courses/15-463/2010_fall/Lectures/Introduction.pdf · 15-463 (15-862): Computational Photography. 15-463

Ronit (row-neat)

Page 13: 15-463 (15-862): Computational Photography - Computer …graphics.cs.cmu.edu/courses/15-463/2010_fall/Lectures/Introduction.pdf · 15-463 (15-862): Computational Photography. 15-463

What is Computational Photography?

• “computational techniques that enhance

or extend photography”

• Another medium for visual expression

Page 14: 15-463 (15-862): Computational Photography - Computer …graphics.cs.cmu.edu/courses/15-463/2010_fall/Lectures/Introduction.pdf · 15-463 (15-862): Computational Photography. 15-463

Depicting Our World: The Beginning

Prehistoric Painting, Lascaux Cave, France

~ 13,000 -- 15,000 B.C.

Page 15: 15-463 (15-862): Computational Photography - Computer …graphics.cs.cmu.edu/courses/15-463/2010_fall/Lectures/Introduction.pdf · 15-463 (15-862): Computational Photography. 15-463

The Empress Theodora with her court.

Ravenna, St. Vitale 6th c.

Depicting Our World: Middle Ages

Page 16: 15-463 (15-862): Computational Photography - Computer …graphics.cs.cmu.edu/courses/15-463/2010_fall/Lectures/Introduction.pdf · 15-463 (15-862): Computational Photography. 15-463

Nuns in Procession. French ms. ca. 1300.

Depicting Our World: Middle Ages

Page 18: 15-463 (15-862): Computational Photography - Computer …graphics.cs.cmu.edu/courses/15-463/2010_fall/Lectures/Introduction.pdf · 15-463 (15-862): Computational Photography. 15-463

Depicting Our World: Renaissance

Piero della Francesca,

The Flagellation (c.1469)

Page 19: 15-463 (15-862): Computational Photography - Computer …graphics.cs.cmu.edu/courses/15-463/2010_fall/Lectures/Introduction.pdf · 15-463 (15-862): Computational Photography. 15-463

Depicting Our World: Toward Perfection

Jan van Eyck, The Arnolfini Marriage (c.1434)

Page 20: 15-463 (15-862): Computational Photography - Computer …graphics.cs.cmu.edu/courses/15-463/2010_fall/Lectures/Introduction.pdf · 15-463 (15-862): Computational Photography. 15-463

Depicting Our World: Toward Perfection

Lens Based Camera Obscura, 1568

Page 21: 15-463 (15-862): Computational Photography - Computer …graphics.cs.cmu.edu/courses/15-463/2010_fall/Lectures/Introduction.pdf · 15-463 (15-862): Computational Photography. 15-463

Depicting Our World: Perfection!

Still Life, Louis Jaques Mande Daguerre, 1837

Page 22: 15-463 (15-862): Computational Photography - Computer …graphics.cs.cmu.edu/courses/15-463/2010_fall/Lectures/Introduction.pdf · 15-463 (15-862): Computational Photography. 15-463

Depicting Our World: Realism?

Page 23: 15-463 (15-862): Computational Photography - Computer …graphics.cs.cmu.edu/courses/15-463/2010_fall/Lectures/Introduction.pdf · 15-463 (15-862): Computational Photography. 15-463

Paris,

according to

Flickr

Page 24: 15-463 (15-862): Computational Photography - Computer …graphics.cs.cmu.edu/courses/15-463/2010_fall/Lectures/Introduction.pdf · 15-463 (15-862): Computational Photography. 15-463

Paris,

according

to Google

StreetView

Knopp, Sivic, Pajdla, ECCV 2010

Page 25: 15-463 (15-862): Computational Photography - Computer …graphics.cs.cmu.edu/courses/15-463/2010_fall/Lectures/Introduction.pdf · 15-463 (15-862): Computational Photography. 15-463

Paris, according to me

Page 26: 15-463 (15-862): Computational Photography - Computer …graphics.cs.cmu.edu/courses/15-463/2010_fall/Lectures/Introduction.pdf · 15-463 (15-862): Computational Photography. 15-463

Depicting Our World: Ongoing Quest

Pablo Picasso David Hockney

Page 27: 15-463 (15-862): Computational Photography - Computer …graphics.cs.cmu.edu/courses/15-463/2010_fall/Lectures/Introduction.pdf · 15-463 (15-862): Computational Photography. 15-463

Better than realism?

David Hockney, Place Furstenberg, (1985)

Page 28: 15-463 (15-862): Computational Photography - Computer …graphics.cs.cmu.edu/courses/15-463/2010_fall/Lectures/Introduction.pdf · 15-463 (15-862): Computational Photography. 15-463

Alyosha Efros

Place Furstenberg, 2009

Which one is right?

Multiple viewpoints Single viewpoint

David Hockney,

Place Furstenberg, 1985

Page 29: 15-463 (15-862): Computational Photography - Computer …graphics.cs.cmu.edu/courses/15-463/2010_fall/Lectures/Introduction.pdf · 15-463 (15-862): Computational Photography. 15-463

Depicting Our World: Ongoing Quest

Antonio Torralba & Aude Oliva (2002)

Page 30: 15-463 (15-862): Computational Photography - Computer …graphics.cs.cmu.edu/courses/15-463/2010_fall/Lectures/Introduction.pdf · 15-463 (15-862): Computational Photography. 15-463

Enter Computer Graphics...

Page 31: 15-463 (15-862): Computational Photography - Computer …graphics.cs.cmu.edu/courses/15-463/2010_fall/Lectures/Introduction.pdf · 15-463 (15-862): Computational Photography. 15-463

GRAPHICS

Traditional Computer Graphics

3D geometry

physics

Simulation

projection

Page 32: 15-463 (15-862): Computational Photography - Computer …graphics.cs.cmu.edu/courses/15-463/2010_fall/Lectures/Introduction.pdf · 15-463 (15-862): Computational Photography. 15-463

State of the Art

•Amazingly real

•But so sterile, lifeless, futuristic (why?)

Page 33: 15-463 (15-862): Computational Photography - Computer …graphics.cs.cmu.edu/courses/15-463/2010_fall/Lectures/Introduction.pdf · 15-463 (15-862): Computational Photography. 15-463

The richness of our everyday world

Photo by Svetlana Lazebnik

Page 34: 15-463 (15-862): Computational Photography - Computer …graphics.cs.cmu.edu/courses/15-463/2010_fall/Lectures/Introduction.pdf · 15-463 (15-862): Computational Photography. 15-463

Beauty in complexity

University Parks, Oxford

Page 35: 15-463 (15-862): Computational Photography - Computer …graphics.cs.cmu.edu/courses/15-463/2010_fall/Lectures/Introduction.pdf · 15-463 (15-862): Computational Photography. 15-463

Which parts are hard to model?

Photo by Svetlana Lazebnik

Page 36: 15-463 (15-862): Computational Photography - Computer …graphics.cs.cmu.edu/courses/15-463/2010_fall/Lectures/Introduction.pdf · 15-463 (15-862): Computational Photography. 15-463

People

From “Final Fantasy”

On the Tube, London

Page 37: 15-463 (15-862): Computational Photography - Computer …graphics.cs.cmu.edu/courses/15-463/2010_fall/Lectures/Introduction.pdf · 15-463 (15-862): Computational Photography. 15-463

Faces / Hair

Photo by Joaquin Rosales Gomez

From “Final Fantasy”

Page 38: 15-463 (15-862): Computational Photography - Computer …graphics.cs.cmu.edu/courses/15-463/2010_fall/Lectures/Introduction.pdf · 15-463 (15-862): Computational Photography. 15-463

Hyper-humans

Page 39: 15-463 (15-862): Computational Photography - Computer …graphics.cs.cmu.edu/courses/15-463/2010_fall/Lectures/Introduction.pdf · 15-463 (15-862): Computational Photography. 15-463

Urban Scenes

Virtual LA (SGI)

Photo of l LA

Page 41: 15-463 (15-862): Computational Photography - Computer …graphics.cs.cmu.edu/courses/15-463/2010_fall/Lectures/Introduction.pdf · 15-463 (15-862): Computational Photography. 15-463

The Realism Spectrum

+ easy to create new worlds

+ easy to manipulate

objects/viewpoint

- Very hard to look realistic

+ instantly realistic

+ easy to aquire

- very hard to manipulate

objects/viewpoint

Computer Graphics PhotographyComputational

Photography

Realism

Manipulation

Ease of capture

Page 42: 15-463 (15-862): Computational Photography - Computer …graphics.cs.cmu.edu/courses/15-463/2010_fall/Lectures/Introduction.pdf · 15-463 (15-862): Computational Photography. 15-463

Virtual Real World

Campanile Moviehttp://www.debevec.org/Campanile/

Page 43: 15-463 (15-862): Computational Photography - Computer …graphics.cs.cmu.edu/courses/15-463/2010_fall/Lectures/Introduction.pdf · 15-463 (15-862): Computational Photography. 15-463

Course Outline

Page 44: 15-463 (15-862): Computational Photography - Computer …graphics.cs.cmu.edu/courses/15-463/2010_fall/Lectures/Introduction.pdf · 15-463 (15-862): Computational Photography. 15-463

Programming Project 0

The Vertigo Effect

Page 45: 15-463 (15-862): Computational Photography - Computer …graphics.cs.cmu.edu/courses/15-463/2010_fall/Lectures/Introduction.pdf · 15-463 (15-862): Computational Photography. 15-463

Programming Project 1

Images of the Russian Empire -- colorizing the

Prokudin-Gorskii photo collection

Page 46: 15-463 (15-862): Computational Photography - Computer …graphics.cs.cmu.edu/courses/15-463/2010_fall/Lectures/Introduction.pdf · 15-463 (15-862): Computational Photography. 15-463

Programming Project 2

TBD

Page 47: 15-463 (15-862): Computational Photography - Computer …graphics.cs.cmu.edu/courses/15-463/2010_fall/Lectures/Introduction.pdf · 15-463 (15-862): Computational Photography. 15-463

Programming Project 3

Face warping and morphing

Page 48: 15-463 (15-862): Computational Photography - Computer …graphics.cs.cmu.edu/courses/15-463/2010_fall/Lectures/Introduction.pdf · 15-463 (15-862): Computational Photography. 15-463

Programming Project 4

Photo Mosaics

Full screen panoramas (cubic): http://www.panoramas.dk/

Mars: http://www.panoramas.dk/fullscreen3/f2_mars97.html

2003 New Years Eve: http://www.panoramas.dk/fullscreen3/f1.html

Page 49: 15-463 (15-862): Computational Photography - Computer …graphics.cs.cmu.edu/courses/15-463/2010_fall/Lectures/Introduction.pdf · 15-463 (15-862): Computational Photography. 15-463

Programming Project 4

Automatic Mosaic Stitching

Page 50: 15-463 (15-862): Computational Photography - Computer …graphics.cs.cmu.edu/courses/15-463/2010_fall/Lectures/Introduction.pdf · 15-463 (15-862): Computational Photography. 15-463

Programming Project 5

Tour Into the Picture

Page 51: 15-463 (15-862): Computational Photography - Computer …graphics.cs.cmu.edu/courses/15-463/2010_fall/Lectures/Introduction.pdf · 15-463 (15-862): Computational Photography. 15-463

Final Project

Something cool!!!

Page 52: 15-463 (15-862): Computational Photography - Computer …graphics.cs.cmu.edu/courses/15-463/2010_fall/Lectures/Introduction.pdf · 15-463 (15-862): Computational Photography. 15-463

Administrative Stuff

Grading• Written and Programming Assignments (60%)

• Exam (20%) Nov 16

• Final Project (20%)

• Class Participation: priceless

Late Policy• Five late days total, to be spent wisely

• 20% off from each extra late day

Cheating• Let’s not embarrass ourselves

Hardware/Software• CMU clusters

• MATLAB

Page 53: 15-463 (15-862): Computational Photography - Computer …graphics.cs.cmu.edu/courses/15-463/2010_fall/Lectures/Introduction.pdf · 15-463 (15-862): Computational Photography. 15-463

General Comments

Prerequisites

• Linear algebra!!!

• Some computer graphics, vision, or image processing is

useful, but not required.

Emphasis on programming projects!

• Building something from scratch

Graduate Version:• Need to do more on each project, plus a final paper

Misc:• No laptops, no cell phones, smartphones, etc.

Page 54: 15-463 (15-862): Computational Photography - Computer …graphics.cs.cmu.edu/courses/15-463/2010_fall/Lectures/Introduction.pdf · 15-463 (15-862): Computational Photography. 15-463

A Fair Warning…

Reasons not to take the class:

• Lots of work

• Need time to think, not just follow instructions

• Not worth it if you don’t enjoy it

Reasons to take the class:

• It’s your reward after 3 grueling years

• You get to create pictures, unleash your

creative potential

• Interested in grad school?

Page 55: 15-463 (15-862): Computational Photography - Computer …graphics.cs.cmu.edu/courses/15-463/2010_fall/Lectures/Introduction.pdf · 15-463 (15-862): Computational Photography. 15-463

Cameras

Really cool

Not too expensive nowadays (<$150)

e.g. Canon A1100