Computational Photography Photographie Algorithmique Frdo Durand - - PowerPoint PPT Presentation

computational photography photographie algorithmique
SMART_READER_LITE
LIVE PREVIEW

Computational Photography Photographie Algorithmique Frdo Durand - - PowerPoint PPT Presentation

Computational Photography Photographie Algorithmique Frdo Durand MIT - EECS/CSAIL Willow / INRIA / ENS Thursday, October 8, 2009 Langue Frenglish... ...ou franglais? Thursday, October 8, 2009 Qui je suis / Who I am Eleve ENS


slide-1
SLIDE 1

Computational Photography Photographie Algorithmique

Frédo Durand MIT - EECS/CSAIL Willow / INRIA / ENS

Thursday, October 8, 2009

slide-2
SLIDE 2

Langue

  • Frenglish...
  • ...ou franglais?

Thursday, October 8, 2009

slide-3
SLIDE 3

Qui je suis / Who I am

  • Eleve ENS 1993-97
  • Doctorat a Grenoble 1999
  • Post-doc au MIT 1999-2002
  • Enseignant au MIT depuis 2002
  • Prof invite a l’ENS et dans l’equipe ENS-INRIA

Willow en automne 2009

  • Par ailleurs photographe amateur

Thursday, October 8, 2009

slide-4
SLIDE 4

Photography

  • amateur photographer, mostly wildlife, travel

Thursday, October 8, 2009

slide-5
SLIDE 5

Photography

Thursday, October 8, 2009

slide-6
SLIDE 6

I like equipment

Thursday, October 8, 2009

slide-7
SLIDE 7

Today's plan

  • Introduction of Computational Photography
  • Course facts
  • Syllabus
  • History
  • Color

Thursday, October 8, 2009

slide-8
SLIDE 8

The unfinished digital photography revolution

Traditional photography:

  • optics focuses optical array
  • nto sensor
  • chemistry records final image

Digital photography

  • optics focuses optical array
  • nto sensor
  • digital sensor records final image

Thursday, October 8, 2009

slide-9
SLIDE 9

Computational Photography

Arbitrary computation between the optical array and the final image

Data recorded by sensor is not the final image

Generalized imaging Lots of computation Final image

Thursday, October 8, 2009

slide-10
SLIDE 10

Computational Photography

Arbitrary computation between optical array and final image (or final product)

Post-process after traditional imaging

  • a.k.a. image processing (maybe more interactive)
  • But also combine multiple images to overcome limits of

traditional imaging (HDR, panorama)

Design imaging architecture together with computation

  • Computational cameras, computational illumination,

coded imaging, data-rich imaging

Extract more than just 2D images

New media (panorama, photo tourism)

Thursday, October 8, 2009

slide-11
SLIDE 11

Quick demos

Computational Photography @ MIT

  • Thursday, October 8, 2009
slide-12
SLIDE 12

Tone mapping

  • One of your assignments!

Before After

Thursday, October 8, 2009

slide-13
SLIDE 13

with Soonmin Bae and Sylvain Paris [Siggraph 06]

Users often disappointed by BW photos

Black and white digital

Thursday, October 8, 2009

slide-14
SLIDE 14

High-quality black and white

Can we “transfer” some of the low-level qualities?

with Soonmin Bae & Sylvain Paris [Siggraph 06]

Thursday, October 8, 2009

slide-15
SLIDE 15

Input photograph

Thursday, October 8, 2009

slide-16
SLIDE 16

Our result based on Adams' example

With Bae & Paris [Siggraph 06]

Thursday, October 8, 2009

slide-17
SLIDE 17

Motion magnification

with Liu, Torralba, Freeman & Adelson [Siggraph 2005]

Analyze motion in video (robust to occlusion)

Magnify motion that is hard to see

Thursday, October 8, 2009

slide-18
SLIDE 18

Motion magnification

with Liu, Torralba, Freeman & Adelson [Siggraph 2005]

Analyze motion in video (robust to occlusion)

Magnify motion that is hard to see

Thursday, October 8, 2009

slide-19
SLIDE 19

Modeling virtual scenes from images

n

A former students, Max Chen, went to ILM (LucasFilm) to implement technology developed for his Master’s. He received a technical Oscar for it.

n

Thursday, October 8, 2009

slide-20
SLIDE 20

Thursday, October 8, 2009

slide-21
SLIDE 21

Image and Depth from a Conventional Camera with a Coded Aperture

With Anat Levin, Rob Fergus, Bill Freeman [Siggraph 2007] RGB & coarse depth from single image

Thursday, October 8, 2009

slide-22
SLIDE 22

Objects at focusing distance are sharp

Defocus & depth

Sensor Lens

Thursday, October 8, 2009

slide-23
SLIDE 23

Objects far from focusing distance are blurrier

Defocus & depth

Sensor Lens Defocus blur

Thursday, October 8, 2009

slide-24
SLIDE 24

Objects far from focusing distance are blurrier

Defocus & depth

Sensor Lens Defocus blur

Thursday, October 8, 2009

slide-25
SLIDE 25

Objects far from focusing distance are blurrier

By inferring blur, we can infer depth

Defocus & depth

Sensor Lens Defocus blur

In focus Out of focus

Thursday, October 8, 2009

slide-26
SLIDE 26

Build your own coded aperture

Thursday, October 8, 2009

slide-27
SLIDE 27

Open the lens

Thursday, October 8, 2009

slide-28
SLIDE 28

Open the lens

Thursday, October 8, 2009

slide-29
SLIDE 29

Open the lens

Thursday, October 8, 2009

slide-30
SLIDE 30

Open the lens

Thursday, October 8, 2009

slide-31
SLIDE 31

Open the lens

Thursday, October 8, 2009

slide-32
SLIDE 32

Open the lens

Thursday, October 8, 2009

slide-33
SLIDE 33

Open the lens

Thursday, October 8, 2009

slide-34
SLIDE 34

Now the critical part

Thursday, October 8, 2009

slide-35
SLIDE 35

Cardboard mask

Thursday, October 8, 2009

slide-36
SLIDE 36

Cardboard mask

Thursday, October 8, 2009

slide-37
SLIDE 37

Cardboard mask

Thursday, October 8, 2009

slide-38
SLIDE 38

Cardboard mask

Thursday, October 8, 2009

slide-39
SLIDE 39

Cardboard mask

Thursday, October 8, 2009

slide-40
SLIDE 40

Cardboard mask

Thursday, October 8, 2009

slide-41
SLIDE 41

Cardboard mask

careful use

  • f scotch tape

Thursday, October 8, 2009

slide-42
SLIDE 42

Close it up

Thursday, October 8, 2009

slide-43
SLIDE 43

Close it up

Thursday, October 8, 2009

slide-44
SLIDE 44

Close it up

Thursday, October 8, 2009

slide-45
SLIDE 45

Close it up

Thursday, October 8, 2009

slide-46
SLIDE 46

Close it up

Thursday, October 8, 2009

slide-47
SLIDE 47

Close it up

Thursday, October 8, 2009

slide-48
SLIDE 48

Close it up

Thursday, October 8, 2009

slide-49
SLIDE 49

Voilà!

Thursday, October 8, 2009

slide-50
SLIDE 50

Input

Thursday, October 8, 2009

slide-51
SLIDE 51

Deconvolved (all-focus)

Thursday, October 8, 2009

slide-52
SLIDE 52

Close up

Original image All-focus image

Thursday, October 8, 2009

slide-53
SLIDE 53

Depth

Thursday, October 8, 2009

slide-54
SLIDE 54

Refocusing (from single image!)

Thursday, October 8, 2009

slide-55
SLIDE 55

Refocusing (from single image!)

Thursday, October 8, 2009

slide-56
SLIDE 56

Refocusing (from single image!)

Thursday, October 8, 2009

slide-57
SLIDE 57

Refocusing (from single image!)

Thursday, October 8, 2009

slide-58
SLIDE 58

Results

Thursday, October 8, 2009

slide-59
SLIDE 59

Input

Thursday, October 8, 2009

slide-60
SLIDE 60

Deconvolved

Thursday, October 8, 2009

slide-61
SLIDE 61

Refocusing (from single image!)

Thursday, October 8, 2009

slide-62
SLIDE 62

Refocusing (from single image!)

Thursday, October 8, 2009

slide-63
SLIDE 63

Refocusing (from single image!)

Thursday, October 8, 2009

slide-64
SLIDE 64

Today's plan

  • Introduction of Computational Photography
  • Course facts
  • Syllabus
  • History

Thursday, October 8, 2009

slide-65
SLIDE 65

Administrivia

  • Staff

– Frédo Durand fredo@mit.edu

  • Web page:

– http://people.csail.mit.edu/fredo/Classes/Comp_Photo_ENS/

– Lecture notes will be posted

Thursday, October 8, 2009

slide-66
SLIDE 66

Optional Assignment

  • http://stellar.mit.edu/S/course/6/sp09/6.815/

homework/index.html

  • Good way to understand material better
  • Matlab is a good language to implement those

algorithms

Thursday, October 8, 2009

slide-67
SLIDE 67

Final project

  • That’s how you get graded
  • Propose your subject or I’ll post ideas.
  • Talk to me to refine subject.
  • Topic should be decided in the next couple of weeks
  • Project due Nov 19

Thursday, October 8, 2009

slide-68
SLIDE 68

Textbook

  • No textbook required
  • Lots of resources on the net
  • Siggraph course notes

– http://www.merl.com/people/raskar/photo/

  • Will post lectures slides
  • Links to articles in slides

Thursday, October 8, 2009

slide-69
SLIDE 69

Questions?

Thursday, October 8, 2009

slide-70
SLIDE 70

Introductions

  • Who are you?
  • What do you know about photography?
  • Why you want to take this class?

Thursday, October 8, 2009

slide-71
SLIDE 71

Math background?

  • Linear algebra?
  • PDEs?
  • Linear programming?
  • Fourier analysis?

Thursday, October 8, 2009

slide-72
SLIDE 72

What do you think you will learn?

Thursday, October 8, 2009

slide-73
SLIDE 73

What the class is not about

  • Little about art, photographers
  • Little about EE (sensors, A/D, etc)
  • Not a lot about optics

– but some cool stuff such as wavefront coding

  • Not how to use Photoshop

– But how its coolest tools work

  • Not much about 3D imaging
  • Not too much fundamentals of signal processing
  • Not much computational imaging, no tomography, no

radar, no microscopy

  • Not much computer vision, computer graphics

– We avoided overlap with 6.837 and 6.801/6.866

Thursday, October 8, 2009

slide-74
SLIDE 74

What the class is about

  • Software aspects of computational photography

– but a bit of hardware as well, lens technology, new camera designs

  • Basic tools

– Linear & non-linear image processing, color

  • Emphasis on applications

– High-dynamic range photography, photomontage, panoramas, foreground extraction, inpainting, morphing

  • Emphasis on recent research results

Thursday, October 8, 2009

slide-75
SLIDE 75

Skills you will acquire

  • Implementation of basic tools

– Color demosaicing – Seam carving – Matting – Bilateral filter, tone mapping – Gradient reconstruction – Panorama stitching

  • General approaches to computational photography
  • Important problems in computational photography

Thursday, October 8, 2009

slide-76
SLIDE 76

Non-photo motivation

  • It's about any kind of data !

– Speech, motion, geometry, etc. – Example:

  • Music
  • Motion graphs
  • Poisson mesh editing
  • BTF shop
  • Lots of fundamental numerical tools

Thursday, October 8, 2009

slide-77
SLIDE 77

Questions?

Thursday, October 8, 2009

slide-78
SLIDE 78

Today's plan

  • Introduction of Computational Photography
  • Course facts
  • Syllabus
  • History

Thursday, October 8, 2009

slide-79
SLIDE 79

A la carte

  • This course is a shortened version of my MIT class.
  • We can adapt to your interest. Email me or tell me

which of the following topics are most interesting to you.

  • By default I will favor the early ones.

Thursday, October 8, 2009

slide-80
SLIDE 80

Syllabus

  • Color and color perception
  • Demosaicing

Thursday, October 8, 2009

slide-81
SLIDE 81

Syllabus

  • High Dynamic

Range Imaging

  • Bilateral

filtering and HDR display

  • Matting

Thursday, October 8, 2009

slide-82
SLIDE 82

Syllabus

  • Gradient image manipulation

Thursday, October 8, 2009

slide-83
SLIDE 83

Syllabus

  • Tampering detection

Thursday, October 8, 2009

slide-84
SLIDE 84

Syllabus

  • Panoramic imaging
  • Image and video registration
  • Spatial warping operations

Thursday, October 8, 2009

slide-85
SLIDE 85

Seam Carving

Thursday, October 8, 2009

slide-86
SLIDE 86

Syllabus

  • Active flash methods
  • Lens technology
  • Depth and defocus

No-flash Flash

  • ur

result

Thursday, October 8, 2009

slide-87
SLIDE 87

Syllabus

  • Future cameras
  • Plenoptic function and light fields

Thursday, October 8, 2009

slide-88
SLIDE 88

Questions?

Thursday, October 8, 2009

slide-89
SLIDE 89

Quick equipment discussion

  • If you’re wondering how to get serious about

photography

  • Ask me for more advice if needed.
  • I can do an SLR initiation session if requested

Thursday, October 8, 2009

slide-90
SLIDE 90

Equipment

  • Do get an SLR (compacts are way too limited)
  • Don't worry about brand
  • Don't worry about the body, get the cheapest one
  • Worry about lenses

– Zooms are convenient but quality can be a problem

  • avoid the basic zoom, but the one above is usually great
  • Avoid large focal range (18-300: yuck!)
  • Maximum aperture matters (the smaller the number, the better)

– Get a 50mm f/1.8 (cheap, high quality, wide aperture)

  • Get a tripod
  • Get an external flash if you want to take “event” pictures

– And orient towards wall/ceiling – Good flash photography is very difficult

  • Count ~1k for camera+standard zoom+50mm

Thursday, October 8, 2009

slide-91
SLIDE 91

Today's plan

  • Introduction of Computational Photography
  • Course facts
  • Syllabus
  • History

Thursday, October 8, 2009

slide-92
SLIDE 92

Quiz (0.001% of grade)

  • When was photography invented?
  • By whom?

– Exposure time?

Thursday, October 8, 2009

slide-93
SLIDE 93

Quiz

  • When was photography invented? 1826
  • By whom? Niepce

– Exposure time? 8 hours

  • William Henry Fox Talbot invents the calotype in

1834 which pretty much invents the negative

Thursday, October 8, 2009

slide-94
SLIDE 94

First production camera?

Thursday, October 8, 2009

slide-95
SLIDE 95

First production camera?

  • 1839. Daguerrotype

Thursday, October 8, 2009

slide-96
SLIDE 96

Beginning of hobby photography?

  • 1900 Kodak Brownie

Thursday, October 8, 2009

slide-97
SLIDE 97

Quiz

  • Who did the first color photography?
  • When?

Thursday, October 8, 2009

slide-98
SLIDE 98

Quiz

  • Who did the first color photography?

– Maxwell (yes, the same from the EM equations)

  • When? 1861

Tartan Ribbon Thursday, October 8, 2009

slide-99
SLIDE 99

Quiz

  • Some of the oldest color photos still preserved:

Prokudin-Gorskii http://www.loc.gov/exhibits/empire/

Tartan Ribbon Thursday, October 8, 2009

slide-100
SLIDE 100

Prokudin-Gorskii

  • Digital restoration

http://www.loc.gov/exhibits/empire/

Thursday, October 8, 2009

slide-101
SLIDE 101

Prokudin-Gorskii

Thursday, October 8, 2009

slide-102
SLIDE 102

Prokudin-Gorskii

Thursday, October 8, 2009

slide-103
SLIDE 103

Instant photography?

Thursday, October 8, 2009

slide-104
SLIDE 104

Instant photography?

  • 1947, Edwin Land

(Polaroid founder)

Thursday, October 8, 2009

slide-105
SLIDE 105

First TV?

Transmission of moving images

Thursday, October 8, 2009

slide-106
SLIDE 106

First TV?

Transmission of moving images

  • 1884 - Paul Nipkow

– Using rotating disk with raster spiral – But amplification problems

Thursday, October 8, 2009

slide-107
SLIDE 107

Electronic photography?

  • A. A. CAMPBELL SWINTON AND ELECTRONIC

PHOTOGRAPHY - 1908

  • 25 images per second

Thursday, October 8, 2009

slide-108
SLIDE 108

Television (II)

  • PHILO T. FARNSWORTH TELEVISION - 1932

Thursday, October 8, 2009

slide-109
SLIDE 109

Color TV

Thursday, October 8, 2009

slide-110
SLIDE 110

Color TV

  • First broadcast in 1951, CBS

Thursday, October 8, 2009

slide-111
SLIDE 111

Autofocus

Thursday, October 8, 2009

slide-112
SLIDE 112

Autofocus

  • 1978, Konica
  • 1981 Pentax ME-F.
  • Canon T80 1985

– Canon AL1 had focus assist but no actuator

  • Minolta Maxxum 1985 (AF in body)

Thursday, October 8, 2009

slide-113
SLIDE 113

Japanese take over camera market?

Thursday, October 8, 2009

slide-114
SLIDE 114

Japanese take over camera market?

  • 1959 Nikon F

– First motorized SLR – First 100% viewfinder – Mirror lockup

  • Lots of pros switched from Leica to Nikon

Thursday, October 8, 2009

slide-115
SLIDE 115

First scanned photo?

Thursday, October 8, 2009

slide-116
SLIDE 116

First scanned photo?

  • 1957, Russell A. Kirsch of the National Bureau of

Standards, 176x176

Thursday, October 8, 2009

slide-117
SLIDE 117

CCD technology?

Thursday, October 8, 2009

slide-118
SLIDE 118

CCD technology?

  • 1969, Willard S. Boyle and George E. Smith, Bell

Laboratories

  • Just got the

Nobel prize!

Thursday, October 8, 2009

slide-119
SLIDE 119

Computer Graphics?

Computers to create image

Thursday, October 8, 2009

slide-120
SLIDE 120

Computer Graphics?

Computers to create image

  • Sketchpad, 1961, Ivan Sutherland’s MIT PhD

thesis (advised by??

Thursday, October 8, 2009

slide-121
SLIDE 121

Computer Graphics?

Computers to create image

  • Sketchpad, 1961, Ivan Sutherland’s MIT PhD

thesis (advised by Claude Shannon)

Thursday, October 8, 2009

slide-122
SLIDE 122

Paint program

Thursday, October 8, 2009

slide-123
SLIDE 123

Paint program

  • Dick Shoup: SuperPaint [1972-73]

– 8 bits – http://www.rgshoup.com/prof/ SuperPaint/

  • Alvy Ray Smith (Pixar co-founder):

Paint [1975-77] – 8 bits then 24 bits – http://www.alvyray.com/Awards/ AwardsMain.htm – http://www.alvyray.com/Bio/ BioMain.htm

  • Tom Porter: Paint

Thursday, October 8, 2009

slide-124
SLIDE 124

Photoshop

Thursday, October 8, 2009

slide-125
SLIDE 125

Photoshop

  • Thomas Knoll and John Knoll began

development in 1987

  • Version 1.0 on Mac: 1990
  • http://en.wikipedia.org/wiki/Photoshop#Development
  • http://www.storyphoto.com/multimedia/multimedia_photoshop.html

Thursday, October 8, 2009

slide-126
SLIDE 126

Internet photo browsing

  • (Web browser that can display photos)

Thursday, October 8, 2009

slide-127
SLIDE 127

Internet photo browsing

  • (Web browser that can display photos)
  • Mosaics, NCSA, Urbana Champaign, 1992

Thursday, October 8, 2009

slide-128
SLIDE 128

First digital camera?

Thursday, October 8, 2009

slide-129
SLIDE 129

First digital camera?

  • 1975, Steve Sasson, Kodak
  • Uses ccd from Fairchild semiconductor, A/D from

Motorola, .01 megapixels, 23 second exposure, recorded on digital cassette

Thursday, October 8, 2009

slide-130
SLIDE 130

Still video camera

  • Sony Mavica 1981

– Electronic but analog

Thursday, October 8, 2009

slide-131
SLIDE 131

Completely Digital Commercial camera

http://www.g4tv.com/l

Thursday, October 8, 2009

slide-132
SLIDE 132

Completely Digital Commercial camera

  • 1991 first completely digital Logitech Dycam 376x240

http://www.g4tv.com/l

Thursday, October 8, 2009

slide-133
SLIDE 133

Digital

  • 1994 Apple quicktake, first mass-market color digital

camera, 640 x 480 (commercial failure)

http://www-users.mat.uni.torun.pl/~olka/l Thursday, October 8, 2009

slide-134
SLIDE 134

First megapixel sensor

  • Of reasonable size?

Thursday, October 8, 2009

slide-135
SLIDE 135

First megapixel sensor

  • Of reasonable size?
  • (Kodak) Videk 1987, 1.4MPixels

Thursday, October 8, 2009

slide-136
SLIDE 136

Digital SLR?

Thursday, October 8, 2009

slide-137
SLIDE 137

Digital SLR?

  • 1992 Kodak DCS 200, 1.5 Mpixels, based on Nikon

body

Thursday, October 8, 2009

slide-138
SLIDE 138

Pros adopt digital?

Thursday, October 8, 2009

slide-139
SLIDE 139

Pros adopt digital?

  • Nikon D1 1999, 2.7MPixels

Thursday, October 8, 2009

slide-140
SLIDE 140

Consumer digital SLR?

Thursday, October 8, 2009

slide-141
SLIDE 141

Consumer digital SLR?

  • Canon D30, 2000 3MPixels

Thursday, October 8, 2009

slide-142
SLIDE 142

Camera phone?

Thursday, October 8, 2009

slide-143
SLIDE 143

Camera phone?

  • In November 2000 Sharp and J-Phone introduced the

first camera-phone in Japan

Thursday, October 8, 2009

slide-144
SLIDE 144

Traditional Photography

  • XVIth century (drawing by da Vinci) Camera Obscura
  • XVIIth century Robert Boyle finds that silver chloride darkens under exposure, but he

believes it's due to air.

  • Angelo de Sala figures out it's the sun
  • early nineteenth century, Thomas Wedgwood captures silhouettes but they disappear
  • 1825, Niepce makes first photo (8 hour exposure!)
  • Daguerre reduces this to half an hour (development) Daguerreotype, public in 1839.

Impossible to reproduce.

  • William Henry Fox Talbot invents the calotype in 1834 which pretty much invents the negative
  • Frederick Scott Archer in 1851 reduces exposure to a couple seconds
  • 1855 beginning of stereo mania
  • 1861 Maxwell shows the fist color photograph
  • 1877 Edweard Muybridge photographs running horses
  • 1893 Flash bulb, invented for underwater photography
  • 1906 Panchromatic film that truly enable color photography
  • 1924 Leica 35mm interchangable camera
  • 1930 flash bulb (Paul Vierkotter)
  • 1936 Kodak SLR camera
  • 1948 Pentax introduces automatic diaphragm
  • 1949 Zeiss developes the Contax, the first SLR with pentaprism for uninversed image
  • 1963: Polaroid instant film
  • 1964 Pentax TTL (through the lens) metering
  • 1981 Pentax autofocus camera

Thursday, October 8, 2009

slide-145
SLIDE 145

Refs

  • http://www.digicamhistory.com/
  • http://www.photo.net/history/timeline
  • http://inventors.about.com/library/inventors/blphotography.htm
  • http://www.loc.gov/exhibits/empire/
  • http://www.spartacus.schoolnet.co.uk/USAphotographers.htm
  • http://www.eyeconart.net/history/photography.htm
  • http://www.scphoto.com/html/history.html
  • http://www.g4tv.com/callforhelparchive/features/44534/

Witness_to_History_The_Digital_Camera.html

  • http://www.digicamhistory.com/
  • http://www-users.mat.uni.torun.pl/~olka/
  • http://inventors.about.com/od/pstartinventions/a/Photography.htm
  • http://www.ted.photographer.org.uk/camera_designs_3.htm
  • http://accad.osu.edu/~waynec/history/timeline.html
  • http://en.wikipedia.org/wiki/History_of_the_single-

lens_reflex_camera

Thursday, October 8, 2009