15-463 (15-862): computational...

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

Upload: others

Post on 02-Aug-2020

4 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: 15-463 (15-862): Computational Photographygraphics.cs.cmu.edu/courses/15-463/2011_fall/Lectures/... · 2011-08-30 · + easy to create new worlds + easy to manipulate objects/viewpoint

15-463 (15-862): Computational Photography

Page 2: 15-463 (15-862): Computational Photographygraphics.cs.cmu.edu/courses/15-463/2011_fall/Lectures/... · 2011-08-30 · + easy to create new worlds + easy to manipulate objects/viewpoint

15-463 (15-862): Computational Photography

Staff• Prof: Alexei Efros (efros@cs), 225 Smith Hall• TA: Natasha Kholgade ([email protected])

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

Discussion Forum:• Googlegroups ???

Page 3: 15-463 (15-862): Computational Photographygraphics.cs.cmu.edu/courses/15-463/2011_fall/Lectures/... · 2011-08-30 · + easy to create new worlds + easy to manipulate objects/viewpoint

Today

Introductions

Why Computational Photography?Overview of the course

Administrative stuff

Page 4: 15-463 (15-862): Computational Photographygraphics.cs.cmu.edu/courses/15-463/2011_fall/Lectures/... · 2011-08-30 · + easy to create new worlds + easy to manipulate objects/viewpoint

A bit about me

Alexei (Alyosha) EfrosAssociate Professor in Robotics and CSDalso work with colleagues in Paris and Oxford

TeachingThe plan is to have fun and learn cool things, both you and me!Social warning: I don’t see well

ResearchGraphics, Vision, Computer Graphics, Machine Learning, Visual Perception

Page 5: 15-463 (15-862): Computational Photographygraphics.cs.cmu.edu/courses/15-463/2011_fall/Lectures/... · 2011-08-30 · + easy to create new worlds + easy to manipulate objects/viewpoint

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 Photographygraphics.cs.cmu.edu/courses/15-463/2011_fall/Lectures/... · 2011-08-30 · + easy to create new worlds + easy to manipulate objects/viewpoint

Automatic Photo Pop-Up (SIGGRAPH 2005)

More previous work

Page 7: 15-463 (15-862): Computational Photographygraphics.cs.cmu.edu/courses/15-463/2011_fall/Lectures/... · 2011-08-30 · + easy to create new worlds + easy to manipulate objects/viewpoint
Page 8: 15-463 (15-862): Computational Photographygraphics.cs.cmu.edu/courses/15-463/2011_fall/Lectures/... · 2011-08-30 · + easy to create new worlds + easy to manipulate objects/viewpoint
Page 9: 15-463 (15-862): Computational Photographygraphics.cs.cmu.edu/courses/15-463/2011_fall/Lectures/... · 2011-08-30 · + easy to create new worlds + easy to manipulate objects/viewpoint
Page 10: 15-463 (15-862): Computational Photographygraphics.cs.cmu.edu/courses/15-463/2011_fall/Lectures/... · 2011-08-30 · + easy to create new worlds + easy to manipulate objects/viewpoint
Page 11: 15-463 (15-862): Computational Photographygraphics.cs.cmu.edu/courses/15-463/2011_fall/Lectures/... · 2011-08-30 · + easy to create new worlds + easy to manipulate objects/viewpoint
Page 12: 15-463 (15-862): Computational Photographygraphics.cs.cmu.edu/courses/15-463/2011_fall/Lectures/... · 2011-08-30 · + easy to create new worlds + easy to manipulate objects/viewpoint

Amateur Photographer

Page 13: 15-463 (15-862): Computational Photographygraphics.cs.cmu.edu/courses/15-463/2011_fall/Lectures/... · 2011-08-30 · + easy to create new worlds + easy to manipulate objects/viewpoint

What is Computational Photography?

• “computational techniques that enhance or extend photography”

• Another medium for visual expression

Page 14: 15-463 (15-862): Computational Photographygraphics.cs.cmu.edu/courses/15-463/2011_fall/Lectures/... · 2011-08-30 · + easy to create new worlds + easy to manipulate objects/viewpoint

Depicting Our World: The Beginning

Prehistoric Painting, Lascaux Cave, France~ 13,000 -- 15,000 B.C.

Page 15: 15-463 (15-862): Computational Photographygraphics.cs.cmu.edu/courses/15-463/2011_fall/Lectures/... · 2011-08-30 · + easy to create new worlds + easy to manipulate objects/viewpoint

The Empress Theodora with her court. Ravenna, St. Vitale 6th c.

Depicting Our World: Middle Ages

Page 16: 15-463 (15-862): Computational Photographygraphics.cs.cmu.edu/courses/15-463/2011_fall/Lectures/... · 2011-08-30 · + easy to create new worlds + easy to manipulate objects/viewpoint

Nuns in Procession. French ms. ca. 1300.

Depicting Our World: Middle Ages

Page 17: 15-463 (15-862): Computational Photographygraphics.cs.cmu.edu/courses/15-463/2011_fall/Lectures/... · 2011-08-30 · + easy to create new worlds + easy to manipulate objects/viewpoint

Depicting Our World: RenaissanceEast Doors (1452)North Doors (1424)

Lorenzo Ghiberti(1378-1455)

Page 18: 15-463 (15-862): Computational Photographygraphics.cs.cmu.edu/courses/15-463/2011_fall/Lectures/... · 2011-08-30 · + easy to create new worlds + easy to manipulate objects/viewpoint

Depicting Our World: Renaissance

Piero della Francesca,The Flagellation (c.1469)

Page 19: 15-463 (15-862): Computational Photographygraphics.cs.cmu.edu/courses/15-463/2011_fall/Lectures/... · 2011-08-30 · + easy to create new worlds + easy to manipulate objects/viewpoint

Depicting Our World: Toward Perfection

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

Page 20: 15-463 (15-862): Computational Photographygraphics.cs.cmu.edu/courses/15-463/2011_fall/Lectures/... · 2011-08-30 · + easy to create new worlds + easy to manipulate objects/viewpoint

Depicting Our World: Toward Perfection

Lens Based Camera Obscura, 1568

Page 21: 15-463 (15-862): Computational Photographygraphics.cs.cmu.edu/courses/15-463/2011_fall/Lectures/... · 2011-08-30 · + easy to create new worlds + easy to manipulate objects/viewpoint

Depicting Our World: Perfection!

Still Life, Louis Jaques Mande Daguerre, 1837

Page 22: 15-463 (15-862): Computational Photographygraphics.cs.cmu.edu/courses/15-463/2011_fall/Lectures/... · 2011-08-30 · + easy to create new worlds + easy to manipulate objects/viewpoint

Depicting Our World: Realism?

Page 23: 15-463 (15-862): Computational Photographygraphics.cs.cmu.edu/courses/15-463/2011_fall/Lectures/... · 2011-08-30 · + easy to create new worlds + easy to manipulate objects/viewpoint

Paris,according to

Flickr

Page 24: 15-463 (15-862): Computational Photographygraphics.cs.cmu.edu/courses/15-463/2011_fall/Lectures/... · 2011-08-30 · + easy to create new worlds + easy to manipulate objects/viewpoint

Paris, according to GoogleStreetView

Knopp, Sivic, Pajdla, ECCV 2010

Page 25: 15-463 (15-862): Computational Photographygraphics.cs.cmu.edu/courses/15-463/2011_fall/Lectures/... · 2011-08-30 · + easy to create new worlds + easy to manipulate objects/viewpoint

Paris, according to me

Page 26: 15-463 (15-862): Computational Photographygraphics.cs.cmu.edu/courses/15-463/2011_fall/Lectures/... · 2011-08-30 · + easy to create new worlds + easy to manipulate objects/viewpoint

After realism …

Monet, La rue Montorgueil

Page 27: 15-463 (15-862): Computational Photographygraphics.cs.cmu.edu/courses/15-463/2011_fall/Lectures/... · 2011-08-30 · + easy to create new worlds + easy to manipulate objects/viewpoint

Depicting Our World: Ongoing Quest

Pablo Picasso David Hockney

Page 28: 15-463 (15-862): Computational Photographygraphics.cs.cmu.edu/courses/15-463/2011_fall/Lectures/... · 2011-08-30 · + easy to create new worlds + easy to manipulate objects/viewpoint

Better than realism?

David Hockney, Place Furstenberg, (1985)

Page 29: 15-463 (15-862): Computational Photographygraphics.cs.cmu.edu/courses/15-463/2011_fall/Lectures/... · 2011-08-30 · + easy to create new worlds + easy to manipulate objects/viewpoint

Alyosha EfrosPlace Furstenberg, 2009

Which one is right?

Multiple viewpoints Single viewpoint

David Hockney, Place Furstenberg, 1985

Page 30: 15-463 (15-862): Computational Photographygraphics.cs.cmu.edu/courses/15-463/2011_fall/Lectures/... · 2011-08-30 · + easy to create new worlds + easy to manipulate objects/viewpoint

Depicting Our World: Ongoing Quest

Antonio Torralba & Aude Oliva (2002)

Page 31: 15-463 (15-862): Computational Photographygraphics.cs.cmu.edu/courses/15-463/2011_fall/Lectures/... · 2011-08-30 · + easy to create new worlds + easy to manipulate objects/viewpoint

Enter Computer Graphics...

Page 32: 15-463 (15-862): Computational Photographygraphics.cs.cmu.edu/courses/15-463/2011_fall/Lectures/... · 2011-08-30 · + easy to create new worlds + easy to manipulate objects/viewpoint

GRAPHICS

Traditional Computer Graphics

3D geometry

physics

Simulation

projection

Page 33: 15-463 (15-862): Computational Photographygraphics.cs.cmu.edu/courses/15-463/2011_fall/Lectures/... · 2011-08-30 · + easy to create new worlds + easy to manipulate objects/viewpoint

State of the Art

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

Page 34: 15-463 (15-862): Computational Photographygraphics.cs.cmu.edu/courses/15-463/2011_fall/Lectures/... · 2011-08-30 · + easy to create new worlds + easy to manipulate objects/viewpoint

The richness of our everyday world

Photo by Svetlana Lazebnik

Page 35: 15-463 (15-862): Computational Photographygraphics.cs.cmu.edu/courses/15-463/2011_fall/Lectures/... · 2011-08-30 · + easy to create new worlds + easy to manipulate objects/viewpoint

Beauty in complexity

University Parks, Oxford

Page 36: 15-463 (15-862): Computational Photographygraphics.cs.cmu.edu/courses/15-463/2011_fall/Lectures/... · 2011-08-30 · + easy to create new worlds + easy to manipulate objects/viewpoint

Which parts are hard to model?

Photo by Svetlana Lazebnik

Page 37: 15-463 (15-862): Computational Photographygraphics.cs.cmu.edu/courses/15-463/2011_fall/Lectures/... · 2011-08-30 · + easy to create new worlds + easy to manipulate objects/viewpoint

People

From “Final Fantasy”

On the Tube, London

Page 38: 15-463 (15-862): Computational Photographygraphics.cs.cmu.edu/courses/15-463/2011_fall/Lectures/... · 2011-08-30 · + easy to create new worlds + easy to manipulate objects/viewpoint

Faces / Hair

Photo by Joaquin Rosales Gomez

From “Final Fantasy”

Page 39: 15-463 (15-862): Computational Photographygraphics.cs.cmu.edu/courses/15-463/2011_fall/Lectures/... · 2011-08-30 · + easy to create new worlds + easy to manipulate objects/viewpoint

Hyper-humans

Page 40: 15-463 (15-862): Computational Photographygraphics.cs.cmu.edu/courses/15-463/2011_fall/Lectures/... · 2011-08-30 · + easy to create new worlds + easy to manipulate objects/viewpoint

Urban Scenes

Virtual LA (SGI)

Photo of l LA

Page 41: 15-463 (15-862): Computational Photographygraphics.cs.cmu.edu/courses/15-463/2011_fall/Lectures/... · 2011-08-30 · + easy to create new worlds + easy to manipulate objects/viewpoint

Nature

River Cherwell, Oxford

Page 42: 15-463 (15-862): Computational Photographygraphics.cs.cmu.edu/courses/15-463/2011_fall/Lectures/... · 2011-08-30 · + easy to create new worlds + easy to manipulate objects/viewpoint

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 PhotographyComputationalPhotography

RealismManipulationEase of capture

Page 43: 15-463 (15-862): Computational Photographygraphics.cs.cmu.edu/courses/15-463/2011_fall/Lectures/... · 2011-08-30 · + easy to create new worlds + easy to manipulate objects/viewpoint

Virtual Real World

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

Page 44: 15-463 (15-862): Computational Photographygraphics.cs.cmu.edu/courses/15-463/2011_fall/Lectures/... · 2011-08-30 · + easy to create new worlds + easy to manipulate objects/viewpoint

Course Outline

• (cool) Image Processing

• Lots of Visual Data

• Cameras and 3D

Page 45: 15-463 (15-862): Computational Photographygraphics.cs.cmu.edu/courses/15-463/2011_fall/Lectures/... · 2011-08-30 · + easy to create new worlds + easy to manipulate objects/viewpoint

Project 1

Images of the Russian Empire -- colorizing the Prokudin-Gorskii photo collection

Page 46: 15-463 (15-862): Computational Photographygraphics.cs.cmu.edu/courses/15-463/2011_fall/Lectures/... · 2011-08-30 · + easy to create new worlds + easy to manipulate objects/viewpoint

Programming Project 2

TBD

Page 47: 15-463 (15-862): Computational Photographygraphics.cs.cmu.edu/courses/15-463/2011_fall/Lectures/... · 2011-08-30 · + easy to create new worlds + easy to manipulate objects/viewpoint

Programming Project 3

Face warping and morphing

Page 48: 15-463 (15-862): Computational Photographygraphics.cs.cmu.edu/courses/15-463/2011_fall/Lectures/... · 2011-08-30 · + easy to create new worlds + easy to manipulate objects/viewpoint

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 Photographygraphics.cs.cmu.edu/courses/15-463/2011_fall/Lectures/... · 2011-08-30 · + easy to create new worlds + easy to manipulate objects/viewpoint

Programming Project 4

Automatic Mosaic Stitching

Page 50: 15-463 (15-862): Computational Photographygraphics.cs.cmu.edu/courses/15-463/2011_fall/Lectures/... · 2011-08-30 · + easy to create new worlds + easy to manipulate objects/viewpoint

Programming Project 5

Tour Into the Picture

Page 51: 15-463 (15-862): Computational Photographygraphics.cs.cmu.edu/courses/15-463/2011_fall/Lectures/... · 2011-08-30 · + easy to create new worlds + easy to manipulate objects/viewpoint

Final Project

Something cool!!!

Page 52: 15-463 (15-862): Computational Photographygraphics.cs.cmu.edu/courses/15-463/2011_fall/Lectures/... · 2011-08-30 · + easy to create new worlds + easy to manipulate objects/viewpoint

Administrative Stuff

Grading• Written and Programming Assignments (60%)• Exam (20%) • 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 Photographygraphics.cs.cmu.edu/courses/15-463/2011_fall/Lectures/... · 2011-08-30 · + easy to create new worlds + easy to manipulate objects/viewpoint

Textbook

http://szeliski.org/Book/

Page 54: 15-463 (15-862): Computational Photographygraphics.cs.cmu.edu/courses/15-463/2011_fall/Lectures/... · 2011-08-30 · + easy to create new worlds + easy to manipulate objects/viewpoint

Cameras

Really cool

Not too expensive nowadays (<$150)

e.g. Canon A1100

Page 55: 15-463 (15-862): Computational Photographygraphics.cs.cmu.edu/courses/15-463/2011_fall/Lectures/... · 2011-08-30 · + easy to create new worlds + easy to manipulate objects/viewpoint

General CommentsPrerequisites

• 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 56: 15-463 (15-862): Computational Photographygraphics.cs.cmu.edu/courses/15-463/2011_fall/Lectures/... · 2011-08-30 · + easy to create new worlds + easy to manipulate objects/viewpoint

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• Not for these who care too much about their

grade

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?