6.a44 computational photography contrast.pdf · frédo durand — mit computer science and...

62
6.A44 Computational Photography Frédo Durand

Upload: others

Post on 21-Mar-2020

0 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: 6.A44 Computational Photography Contrast.pdf · Frédo Durand — MIT Computer Science and Artificial Intelligence Laboratory - fredo@mit.edu Light, exposure and dynamic range •

6.A44 Computational PhotographyFrédo Durand

Page 2: 6.A44 Computational Photography Contrast.pdf · Frédo Durand — MIT Computer Science and Artificial Intelligence Laboratory - fredo@mit.edu Light, exposure and dynamic range •

Frédo Durand — MIT Computer Science and Artificial Intelligence Laboratory - [email protected]

Light, exposure and dynamic range

• Exposure: how bright is the scene overall• Dynamic range: contrast in the scene

• Bottomline problem: illumination level and contrast are not the same for a photo and for the real scene.

Page 3: 6.A44 Computational Photography Contrast.pdf · Frédo Durand — MIT Computer Science and Artificial Intelligence Laboratory - fredo@mit.edu Light, exposure and dynamic range •

Frédo Durand — MIT Computer Science and Artificial Intelligence Laboratory - [email protected]

Example:

• Photo with a Canon G3

• Jovan is too dark• Sky is too bright

Page 4: 6.A44 Computational Photography Contrast.pdf · Frédo Durand — MIT Computer Science and Artificial Intelligence Laboratory - fredo@mit.edu Light, exposure and dynamic range •

Frédo Durand — MIT Computer Science and Artificial Intelligence Laboratory - [email protected]

Tone mapping

• Bottomline problem: illumination level and contrast are not the same for a photo and for the real scene.

• Goal:Reproducea faithfulimpression

Page 5: 6.A44 Computational Photography Contrast.pdf · Frédo Durand — MIT Computer Science and Artificial Intelligence Laboratory - fredo@mit.edu Light, exposure and dynamic range •

Frédo Durand — MIT Computer Science and Artificial Intelligence Laboratory - [email protected]

Problem 1

• The range of illumination levels that we encounter is 10 to 12 orders of magnitudes

• Negatives/sensors can record 2 to three orders of magnitude

• How do we center this window? Exposure problem.

10-6 106

100

Negative/sensor

103

Real scenes

Page 6: 6.A44 Computational Photography Contrast.pdf · Frédo Durand — MIT Computer Science and Artificial Intelligence Laboratory - fredo@mit.edu Light, exposure and dynamic range •

Frédo Durand — MIT Computer Science and Artificial Intelligence Laboratory - [email protected]

Metering: measuring scene brightness

• Centered average• Spot• Incident

– Measure incoming light

Page 7: 6.A44 Computational Photography Contrast.pdf · Frédo Durand — MIT Computer Science and Artificial Intelligence Laboratory - fredo@mit.edu Light, exposure and dynamic range •

Frédo Durand — MIT Computer Science and Artificial Intelligence Laboratory - [email protected]

Nikon 3D Color Matrix

• Database of 30,000 photos• Multiple captors (segments)• Exposure depends on

– Brightness from each segments – Color– Contrast– Distance– Focus (where is the subject)

Page 8: 6.A44 Computational Photography Contrast.pdf · Frédo Durand — MIT Computer Science and Artificial Intelligence Laboratory - fredo@mit.edu Light, exposure and dynamic range •

Frédo Durand — MIT Computer Science and Artificial Intelligence Laboratory - [email protected]

Bracketing

• Takes 2 or three pictures around the automatic exposure

Page 9: 6.A44 Computational Photography Contrast.pdf · Frédo Durand — MIT Computer Science and Artificial Intelligence Laboratory - fredo@mit.edu Light, exposure and dynamic range •

Frédo Durand — MIT Computer Science and Artificial Intelligence Laboratory - [email protected]

Problem 2

• The image intensity does not match the real conditions

10-6 106

10-6 106

Sunny scene

Watched in a dark room

Page 10: 6.A44 Computational Photography Contrast.pdf · Frédo Durand — MIT Computer Science and Artificial Intelligence Laboratory - fredo@mit.edu Light, exposure and dynamic range •

Frédo Durand — MIT Computer Science and Artificial Intelligence Laboratory - [email protected]

Hunt and Stevens effect

• Stevens effect– Contrast increases with luminance

Page 11: 6.A44 Computational Photography Contrast.pdf · Frédo Durand — MIT Computer Science and Artificial Intelligence Laboratory - fredo@mit.edu Light, exposure and dynamic range •

Frédo Durand — MIT Computer Science and Artificial Intelligence Laboratory - [email protected]

Hunt and Stevens effect

• Stevens effect– Contrast increases with luminance

• Bartleson-Breneman effect– Image contrast changes with surround– A dark surround decreases contrast

(make the black of the image look less deep)• Hunt effect

– Colorfulness increases with luminance

• Hence (one of) the need for gamma correction

Page 12: 6.A44 Computational Photography Contrast.pdf · Frédo Durand — MIT Computer Science and Artificial Intelligence Laboratory - fredo@mit.edu Light, exposure and dynamic range •

Frédo Durand — MIT Computer Science and Artificial Intelligence Laboratory - [email protected]

Problem 3: Picture dynamic range

• Typically 1: 20 or 1:50– Black is ~ 50x darker than white

• Max 1:500

10-6 106

10-6 106

Real world

Picture

Low contrast

Page 13: 6.A44 Computational Photography Contrast.pdf · Frédo Durand — MIT Computer Science and Artificial Intelligence Laboratory - fredo@mit.edu Light, exposure and dynamic range •

Frédo Durand — MIT Computer Science and Artificial Intelligence Laboratory - [email protected]

Contrast reduction

• Match limited contrast of the medium• Preserve details

10-6 106

10-6 106

Real world

Picture

Low contrast

High dynamic range

Page 14: 6.A44 Computational Photography Contrast.pdf · Frédo Durand — MIT Computer Science and Artificial Intelligence Laboratory - fredo@mit.edu Light, exposure and dynamic range •

Frédo Durand — MIT Computer Science and Artificial Intelligence Laboratory - [email protected]

Histogram

• See http://www.luminous-landscape.com/tutorials/understanding-series/understanding-histograms.shtml

• http://www.luminous-landscape.com/tutorials/expose-right.shtml

• Horizontal axis is pixel value• Vertical axis is number of pixels

Page 15: 6.A44 Computational Photography Contrast.pdf · Frédo Durand — MIT Computer Science and Artificial Intelligence Laboratory - fredo@mit.edu Light, exposure and dynamic range •

Frédo Durand — MIT Computer Science and Artificial Intelligence Laboratory - [email protected]

Highlights

• Clipped pixels (value >255) • Pro and semi-pro digital cameras allow you to make them

blink.

Page 16: 6.A44 Computational Photography Contrast.pdf · Frédo Durand — MIT Computer Science and Artificial Intelligence Laboratory - fredo@mit.edu Light, exposure and dynamic range •

Frédo Durand — MIT Computer Science and Artificial Intelligence Laboratory - [email protected]

The infamous 8 bits

• Digital photography• 8 bits means 1 to 255 contrast• Enough for display• Not enough for

– Editing– Tone reproduction– Dodging & burning– Etc.

Page 17: 6.A44 Computational Photography Contrast.pdf · Frédo Durand — MIT Computer Science and Artificial Intelligence Laboratory - fredo@mit.edu Light, exposure and dynamic range •

Frédo Durand — MIT Computer Science and Artificial Intelligence Laboratory - [email protected]

The limit of illusion

• Pozzo’s ceiling: the Sky is not bright enough

Page 18: 6.A44 Computational Photography Contrast.pdf · Frédo Durand — MIT Computer Science and Artificial Intelligence Laboratory - fredo@mit.edu Light, exposure and dynamic range •

Frédo Durand — MIT Computer Science and Artificial Intelligence Laboratory - [email protected]

The limit of illusion

• Bruneleschi’sexperiment– Used a mirror

for the sky

Page 19: 6.A44 Computational Photography Contrast.pdf · Frédo Durand — MIT Computer Science and Artificial Intelligence Laboratory - fredo@mit.edu Light, exposure and dynamic range •

Frédo Durand — MIT Computer Science and Artificial Intelligence Laboratory - [email protected]

Tone Reproduction

• Not linear

log luminance

Log

prin

t den

sity

linear

highlightshadowSnapshot-Perspective-Speed, aperture-Filter-Lighting-Processing & Print-Make up-Retouching

Page 20: 6.A44 Computational Photography Contrast.pdf · Frédo Durand — MIT Computer Science and Artificial Intelligence Laboratory - fredo@mit.edu Light, exposure and dynamic range •

Frédo Durand — MIT Computer Science and Artificial Intelligence Laboratory - [email protected]

Tone Reproduction

• Not linear• Gamma

correction

log luminance

Log

prin

t den

sity

shoulderxγ

linear

toe

highlightshadowSnapshot-Perspective-Speed, aperture-Filter-Lighting-Processing & Print-Make up-Retouching

Page 21: 6.A44 Computational Photography Contrast.pdf · Frédo Durand — MIT Computer Science and Artificial Intelligence Laboratory - fredo@mit.edu Light, exposure and dynamic range •

Frédo Durand — MIT Computer Science and Artificial Intelligence Laboratory - [email protected]

Texture and contrast

Page 22: 6.A44 Computational Photography Contrast.pdf · Frédo Durand — MIT Computer Science and Artificial Intelligence Laboratory - fredo@mit.edu Light, exposure and dynamic range •

Frédo Durand — MIT Computer Science and Artificial Intelligence Laboratory - [email protected]

The Zone System

Snapshot-Perspective-Speed, aperture-Filter-Lighting-Processing & Print-Make up-Retouching

Page 23: 6.A44 Computational Photography Contrast.pdf · Frédo Durand — MIT Computer Science and Artificial Intelligence Laboratory - fredo@mit.edu Light, exposure and dynamic range •

Frédo Durand — MIT Computer Science and Artificial Intelligence Laboratory - [email protected]

Expansion and contraction

Page 24: 6.A44 Computational Photography Contrast.pdf · Frédo Durand — MIT Computer Science and Artificial Intelligence Laboratory - fredo@mit.edu Light, exposure and dynamic range •

Frédo Durand — MIT Computer Science and Artificial Intelligence Laboratory - [email protected]

Contraction

Page 25: 6.A44 Computational Photography Contrast.pdf · Frédo Durand — MIT Computer Science and Artificial Intelligence Laboratory - fredo@mit.edu Light, exposure and dynamic range •

Frédo Durand — MIT Computer Science and Artificial Intelligence Laboratory - [email protected]

Pre- exposure

• Expose with uniform whitebefore taking the photo

• Raise the dark tones

Page 26: 6.A44 Computational Photography Contrast.pdf · Frédo Durand — MIT Computer Science and Artificial Intelligence Laboratory - fredo@mit.edu Light, exposure and dynamic range •

Frédo Durand — MIT Computer Science and Artificial Intelligence Laboratory - [email protected]

Pre- exposure

Page 27: 6.A44 Computational Photography Contrast.pdf · Frédo Durand — MIT Computer Science and Artificial Intelligence Laboratory - fredo@mit.edu Light, exposure and dynamic range •

Frédo Durand — MIT Computer Science and Artificial Intelligence Laboratory - [email protected]

Two-solution development

• Different development of high and low value

Page 28: 6.A44 Computational Photography Contrast.pdf · Frédo Durand — MIT Computer Science and Artificial Intelligence Laboratory - fredo@mit.edu Light, exposure and dynamic range •

Frédo Durand — MIT Computer Science and Artificial Intelligence Laboratory - [email protected]

Red Filter

Page 29: 6.A44 Computational Photography Contrast.pdf · Frédo Durand — MIT Computer Science and Artificial Intelligence Laboratory - fredo@mit.edu Light, exposure and dynamic range •

Frédo Durand — MIT Computer Science and Artificial Intelligence Laboratory - [email protected]

The Print

• W. Eugene Smith photo of Albert Schweitzer• 5 days to print!

Snapshot-Perspective-Speed, aperture-Filter-Lighting-Processing & Print-Make up-Retouching

Page 30: 6.A44 Computational Photography Contrast.pdf · Frédo Durand — MIT Computer Science and Artificial Intelligence Laboratory - fredo@mit.edu Light, exposure and dynamic range •

Frédo Durand — MIT Computer Science and Artificial Intelligence Laboratory - [email protected]

Traditional craft: dodging and burning

burningdodging

printprint

maskmask maskshadowmaskshadow

projector

• The artist at work

• Problems with dodging and burning– Tedious– Must move mask to avoid artifacts– Haloing for complex edges

Page 31: 6.A44 Computational Photography Contrast.pdf · Frédo Durand — MIT Computer Science and Artificial Intelligence Laboratory - fredo@mit.edu Light, exposure and dynamic range •

Frédo Durand — MIT Computer Science and Artificial Intelligence Laboratory - [email protected]

Traditional craft: dodging and burning

• Clearing Winter Stormby Ansel Adams

After dodging and burningStraight print

Page 32: 6.A44 Computational Photography Contrast.pdf · Frédo Durand — MIT Computer Science and Artificial Intelligence Laboratory - fredo@mit.edu Light, exposure and dynamic range •

Frédo Durand — MIT Computer Science and Artificial Intelligence Laboratory - [email protected]

Dodging/burning

Page 33: 6.A44 Computational Photography Contrast.pdf · Frédo Durand — MIT Computer Science and Artificial Intelligence Laboratory - fredo@mit.edu Light, exposure and dynamic range •

Frédo Durand — MIT Computer Science and Artificial Intelligence Laboratory - [email protected]

Neutral density Gradient Filter

• The sky is too bright– Gradient filter for the

top of the photo• The house is too dark

– Gradient filter forthe bottom of the photo

Snapshot-Perspective-Speed, aperture-Filter-Lighting-Processing & Print-Make up-Retouching

Page 34: 6.A44 Computational Photography Contrast.pdf · Frédo Durand — MIT Computer Science and Artificial Intelligence Laboratory - fredo@mit.edu Light, exposure and dynamic range •

Frédo Durand — MIT Computer Science and Artificial Intelligence Laboratory - [email protected]

Art Wolf

• From Edge of the Earth, Corner of the Sky

Page 35: 6.A44 Computational Photography Contrast.pdf · Frédo Durand — MIT Computer Science and Artificial Intelligence Laboratory - fredo@mit.edu Light, exposure and dynamic range •

Frédo Durand — MIT Computer Science and Artificial Intelligence Laboratory - [email protected]

Three Point Lighting

• Key light– Main and visible lighting

• Fill light– Fill-in shadows

• Back light– Emphasize silhouette– Make subject stand out

• Independent lighting

Snapshot-Perspective-Speed, aperture-Filter-Lighting-Processing & Print-Make up-Retouching

Page 36: 6.A44 Computational Photography Contrast.pdf · Frédo Durand — MIT Computer Science and Artificial Intelligence Laboratory - fredo@mit.edu Light, exposure and dynamic range •

Frédo Durand — MIT Computer Science and Artificial Intelligence Laboratory - [email protected]

Lighting

• Fill light

Page 37: 6.A44 Computational Photography Contrast.pdf · Frédo Durand — MIT Computer Science and Artificial Intelligence Laboratory - fredo@mit.edu Light, exposure and dynamic range •

Frédo Durand — MIT Computer Science and Artificial Intelligence Laboratory - [email protected]

Portrait Lighting

• Ansel Adams

Snapshot-Perspective-Speed, aperture-Filter-Lighting-Processing & Print-Make up-Retouching

Page 38: 6.A44 Computational Photography Contrast.pdf · Frédo Durand — MIT Computer Science and Artificial Intelligence Laboratory - fredo@mit.edu Light, exposure and dynamic range •

Frédo Durand — MIT Computer Science and Artificial Intelligence Laboratory - [email protected]

Fill-in

Snapshot-Perspective-Speed, aperture-Filter-Lighting-Processing & Print-Make up-Retouching

Page 39: 6.A44 Computational Photography Contrast.pdf · Frédo Durand — MIT Computer Science and Artificial Intelligence Laboratory - fredo@mit.edu Light, exposure and dynamic range •

Frédo Durand — MIT Computer Science and Artificial Intelligence Laboratory - [email protected]

Lighting

• Painting with light

Page 40: 6.A44 Computational Photography Contrast.pdf · Frédo Durand — MIT Computer Science and Artificial Intelligence Laboratory - fredo@mit.edu Light, exposure and dynamic range •

Frédo Durand — MIT Computer Science and Artificial Intelligence Laboratory - [email protected]

Silhouette

• Wolfrang Weber The Lash Bird Dancer On MadagascarLate 20s

Page 41: 6.A44 Computational Photography Contrast.pdf · Frédo Durand — MIT Computer Science and Artificial Intelligence Laboratory - fredo@mit.edu Light, exposure and dynamic range •

Frédo Durand — MIT Computer Science and Artificial Intelligence Laboratory - [email protected]

Contrast

• Bert Stern

Page 42: 6.A44 Computational Photography Contrast.pdf · Frédo Durand — MIT Computer Science and Artificial Intelligence Laboratory - fredo@mit.edu Light, exposure and dynamic range •

Frédo Durand — MIT Computer Science and Artificial Intelligence Laboratory - [email protected]

The digital world

• 2 big problems– Acquisition– Tone mapping

Page 43: 6.A44 Computational Photography Contrast.pdf · Frédo Durand — MIT Computer Science and Artificial Intelligence Laboratory - fredo@mit.edu Light, exposure and dynamic range •

Frédo Durand — MIT Computer Science and Artificial Intelligence Laboratory - [email protected]

Half of the job: acquisition

• Not my job! (Charlie Sodini’s job)

• Multiple exposure photo [Debevec & Malik 1997]

• HDR sensors: e.g. SMaL, FujiHDR valuefor each pixel

Recover response curve

Page 44: 6.A44 Computational Photography Contrast.pdf · Frédo Durand — MIT Computer Science and Artificial Intelligence Laboratory - fredo@mit.edu Light, exposure and dynamic range •

Frédo Durand — MIT Computer Science and Artificial Intelligence Laboratory - [email protected]

Multiple exposure photography

• Demo!• Cf. assignment• http://www.debevec.org/Research/HDR/

Page 45: 6.A44 Computational Photography Contrast.pdf · Frédo Durand — MIT Computer Science and Artificial Intelligence Laboratory - fredo@mit.edu Light, exposure and dynamic range •

Frédo Durand — MIT Computer Science and Artificial Intelligence Laboratory - [email protected]

Tone mapping with Bilateral filter

• Input: high-dynamic-range image– (floating

point per pixel)

Page 46: 6.A44 Computational Photography Contrast.pdf · Frédo Durand — MIT Computer Science and Artificial Intelligence Laboratory - fredo@mit.edu Light, exposure and dynamic range •

Frédo Durand — MIT Computer Science and Artificial Intelligence Laboratory - [email protected]

Naïve technique

• Scene has K orders of magnitude, image has N• Simplest contrast reduction?• 1: X → X * N / K• 2: X → X * K / N• 3: X → XN/K

• 4: X → XK/N

• 5: X → N/K log X• 6: X → K/N log X

Page 47: 6.A44 Computational Photography Contrast.pdf · Frédo Durand — MIT Computer Science and Artificial Intelligence Laboratory - fredo@mit.edu Light, exposure and dynamic range •

Frédo Durand — MIT Computer Science and Artificial Intelligence Laboratory - [email protected]

Naïve: Gamma compression

• X → XN/K , a.k.a. X −> Xγ

• Colors are washed-out

Input Gamma

Page 48: 6.A44 Computational Photography Contrast.pdf · Frédo Durand — MIT Computer Science and Artificial Intelligence Laboratory - fredo@mit.edu Light, exposure and dynamic range •

Frédo Durand — MIT Computer Science and Artificial Intelligence Laboratory - [email protected]

Gamma compression on intensity

• Colors are OK, but details (intensity high-frequency) are blurred

Gamma on intensityIntensity

Color

Page 49: 6.A44 Computational Photography Contrast.pdf · Frédo Durand — MIT Computer Science and Artificial Intelligence Laboratory - fredo@mit.edu Light, exposure and dynamic range •

Frédo Durand — MIT Computer Science and Artificial Intelligence Laboratory - [email protected]

Chiu et al. 1993

• Reduce contrast of low-frequencies• Keep high frequencies

Reduce low frequencyLow-freq.

High-freq.

Color

Page 50: 6.A44 Computational Photography Contrast.pdf · Frédo Durand — MIT Computer Science and Artificial Intelligence Laboratory - fredo@mit.edu Light, exposure and dynamic range •

Frédo Durand — MIT Computer Science and Artificial Intelligence Laboratory - [email protected]

The halo nightmare

• For strong edges• Because they contain high frequency

Reduce low frequencyLow-freq.

High-freq.

Color

Page 51: 6.A44 Computational Photography Contrast.pdf · Frédo Durand — MIT Computer Science and Artificial Intelligence Laboratory - fredo@mit.edu Light, exposure and dynamic range •

Frédo Durand — MIT Computer Science and Artificial Intelligence Laboratory - [email protected]

Our approach

• Do not blur across edges• Non-linear filtering

OutputLarge-scale

Detail

Color

Page 52: 6.A44 Computational Photography Contrast.pdf · Frédo Durand — MIT Computer Science and Artificial Intelligence Laboratory - fredo@mit.edu Light, exposure and dynamic range •

Frédo Durand — MIT Computer Science and Artificial Intelligence Laboratory - [email protected]

Review: Bilateral filtering

[Tomasi and Manduchi 1998], SUSAN, sigma filter

• Spatial Gaussian f

),( ξxf )(ξI

output input

=)(xJ ∑ξ

Page 53: 6.A44 Computational Photography Contrast.pdf · Frédo Durand — MIT Computer Science and Artificial Intelligence Laboratory - fredo@mit.edu Light, exposure and dynamic range •

Frédo Durand — MIT Computer Science and Artificial Intelligence Laboratory - [email protected]

Review: Bilateral filtering

[Tomasi and Manduchi 1998]

• Spatial Gaussian f• Gaussian g on the intensity difference

=)(xJ ),( ξxf ))()(( xIIg −ξ )(ξI∑ξ)(

1xk

output input

xx

Page 54: 6.A44 Computational Photography Contrast.pdf · Frédo Durand — MIT Computer Science and Artificial Intelligence Laboratory - fredo@mit.edu Light, exposure and dynamic range •

Frédo Durand — MIT Computer Science and Artificial Intelligence Laboratory - [email protected]

Theoretical framework

• Framework of robust statistics– Output = estimator at each pixel– Less influence to outliers (because of g)

• Unification with anisotropic diffusion– Mostly equivalent– Some differences

• Details and other insights in paper

Page 55: 6.A44 Computational Photography Contrast.pdf · Frédo Durand — MIT Computer Science and Artificial Intelligence Laboratory - fredo@mit.edu Light, exposure and dynamic range •

Frédo Durand — MIT Computer Science and Artificial Intelligence Laboratory - [email protected]

Spatial support

• Exterior is much brighter than window frame– Image has had its contrast reduced for visualization

• Estimate at point x: Which pixels contribute?

x

Page 56: 6.A44 Computational Photography Contrast.pdf · Frédo Durand — MIT Computer Science and Artificial Intelligence Laboratory - fredo@mit.edu Light, exposure and dynamic range •

Frédo Durand — MIT Computer Science and Artificial Intelligence Laboratory - [email protected]

Support: bilateral vs. diffusion

• Guess which one is the bilateral filter(the other one is anisotropic diffusion)

1 2

x x

Page 57: 6.A44 Computational Photography Contrast.pdf · Frédo Durand — MIT Computer Science and Artificial Intelligence Laboratory - fredo@mit.edu Light, exposure and dynamic range •

Frédo Durand — MIT Computer Science and Artificial Intelligence Laboratory - [email protected]

Spatial support

• Anisotropic diffusion cannot diffuse across edges• Bilateral filtering can• Larger support => more reliable estimator

Support of anisotropic diffusion Support of bilateral

x x

Page 58: 6.A44 Computational Photography Contrast.pdf · Frédo Durand — MIT Computer Science and Artificial Intelligence Laboratory - fredo@mit.edu Light, exposure and dynamic range •

Frédo Durand — MIT Computer Science and Artificial Intelligence Laboratory - [email protected]

Live demo

• Whatever GHz Pentium 4

• Industrial interest– Embedded in the camera– In the download software– For surveillance

Page 59: 6.A44 Computational Photography Contrast.pdf · Frédo Durand — MIT Computer Science and Artificial Intelligence Laboratory - fredo@mit.edu Light, exposure and dynamic range •

Frédo Durand — MIT Computer Science and Artificial Intelligence Laboratory - [email protected]

Traditional photo craft: Fill-in

• Flash to illuminate the interior• Brings interior intensity to level of exterior

Without fill in Flash set up With fill in

Page 60: 6.A44 Computational Photography Contrast.pdf · Frédo Durand — MIT Computer Science and Artificial Intelligence Laboratory - fredo@mit.edu Light, exposure and dynamic range •

Frédo Durand — MIT Computer Science and Artificial Intelligence Laboratory - [email protected]

Traditional craft: dodging and burning

• Locally darken or lighten• Mask to expose some areas less

burningdodging

projector

negative

print

mask

Does masking make an area

A: Darker

B: Brighter

Page 61: 6.A44 Computational Photography Contrast.pdf · Frédo Durand — MIT Computer Science and Artificial Intelligence Laboratory - fredo@mit.edu Light, exposure and dynamic range •

Frédo Durand — MIT Computer Science and Artificial Intelligence Laboratory - [email protected]

Traditional craft: dodging and burning

• Clearing Winter Stormby Ansel Adams

After dodging and burningStraight print

Page 62: 6.A44 Computational Photography Contrast.pdf · Frédo Durand — MIT Computer Science and Artificial Intelligence Laboratory - fredo@mit.edu Light, exposure and dynamic range •

Frédo Durand — MIT Computer Science and Artificial Intelligence Laboratory - [email protected]

Traditional craft: dodging and burning

burningdodging

printprint

maskmask maskshadowmaskshadow

projector

• The artist at work

• Problems with dodging and burning– Tedious– Must move mask to avoid artifacts– Haloing for complex edges