Photographic Tone Reproduction for Digital Images

19
1 Photographic Tone Reproduction for Digital Images Brandon Lloyd COMP238 October 2002

description

Photographic Tone Reproduction for Digital Images. Brandon Lloyd COMP238 October 2002. The range of light in the real world spans 10 orders of magnitude! A single scene’s luminance values may have as much as 4 orders of magnitude difference - PowerPoint PPT Presentation

Transcript of Photographic Tone Reproduction for Digital Images

Page 1: Photographic Tone Reproduction for Digital Images

1

Photographic Tone Reproduction for Digital Images

Brandon Lloyd

COMP238October 2002

Page 2: Photographic Tone Reproduction for Digital Images

2

Problems with High Dynamic Range (HDR)

• The range of light in the real world spans 10 orders of magnitude!

• A single scene’s luminance values may have as much as 4 orders of magnitude difference

• A typical CRT can only display 2 orders of magnitude

• Tone-mapping is the process of producing a good image of HDR data

Page 3: Photographic Tone Reproduction for Digital Images

3

Zone System

• Used by Ansel Adams. Utilizes measured luminance to produce a good final print

• Zone: an approximate luminance level. There are 11 print zones

• Middle-grey: Subjective middle brightness region of the scene, typically map to zone V

• Key: Subjective lightness or darkness of a scene

Page 4: Photographic Tone Reproduction for Digital Images

4

Zone System

• Measure the luminance on a surface perceived as middle-gray - map to zone V

• Measure dynamic range from both light and dark areas.

• If dynamic range < 9 zones then full range can be captured in print

• Otherwise dodging-and-burning must be used to bring out details

• Dodging-and-burning: Witholding or adding light in development to lighten or darken the final print

Page 5: Photographic Tone Reproduction for Digital Images

5

Algorithm

• First apply a scaling to the whole image. This similar to setting the exposure for mapping to middle-gray

• Apply automatic dodging-and-burning to compress dynamic range if necessary

Page 6: Photographic Tone Reproduction for Digital Images

6

Luminance Scaling

• Use log-average luminance to approximate the key of the scene

• In a normal-key image middle-gray maps to a key value a = .18 suggesting the function:

Page 7: Photographic Tone Reproduction for Digital Images

7

Luminance Scaling

Page 8: Photographic Tone Reproduction for Digital Images

8

Luminance Scaling

• Control burn out of high luminances

Page 9: Photographic Tone Reproduction for Digital Images

9

Automatic Dodging-and-Burning

• Think of this as local adaptation, choosing a key value for every pixel

• Need a properly chosen neighborhood• Dodging-and-burning is applied to regions

bounded by large contrasts• Use center-surround functions to measure

local contrast at different scales

),,(1

),(

syxL

yxLL

ld

Page 10: Photographic Tone Reproduction for Digital Images

10

Automatic Dodging-and-Burning

• The effects of using different scales

Center

Surround

s1

s2

s3

s1 s2 s3

Page 11: Photographic Tone Reproduction for Digital Images

11

Automatic Dodging-and-Burning

• Use difference of Gaussians for center-surround function

Page 12: Photographic Tone Reproduction for Digital Images

12

Automatic Dodging-and-Burning

• Choose largest neighborhood around a pixel with fairly even luminances

• Take the largest scale that doesn’t exceed a contrast threshold:

• Final local operator

Page 13: Photographic Tone Reproduction for Digital Images

13

Automatic Dodging-and-Burning

Details recovered by using dodging-and-burning

Page 14: Photographic Tone Reproduction for Digital Images

14

Results

• Used FFT to compute the Gaussians• 8 discrete scales ranging from 1 pixel to 43

increasing by a factor of 1.6 = 0.05

Page 15: Photographic Tone Reproduction for Digital Images

15

Results

Page 16: Photographic Tone Reproduction for Digital Images

16

Results

Page 17: Photographic Tone Reproduction for Digital Images

17

Results

Page 18: Photographic Tone Reproduction for Digital Images

18

Comparison

Durand et al. Reinhard et al.

Page 19: Photographic Tone Reproduction for Digital Images

19

Comparison

Durand et al. Reinhard et al.