Presentation is loading. Please wait.

Presentation is loading. Please wait.

Photographic Tone Reproduction for Digital Images Erik Reinhard Utah Mike Stark Peter Shirley Jim Ferwerda Cornell.

Similar presentations


Presentation on theme: "Photographic Tone Reproduction for Digital Images Erik Reinhard Utah Mike Stark Peter Shirley Jim Ferwerda Cornell."— Presentation transcript:

1 Photographic Tone Reproduction for Digital Images Erik Reinhard Utah Mike Stark Peter Shirley Jim Ferwerda Cornell

2 Tone Reproduction Problem Watch the lightWatch the light Compare with projection on screenCompare with projection on screen

3 Overview Tone reproduction is difficult whenTone reproduction is difficult when –Dynamic range is high –Algorithm is used in predictive context Requirements of a practical operatorRequirements of a practical operator Skip many details (see paper for those)Skip many details (see paper for those)

4 Dynamic Range Ratio of brightest and darkest regions where detail is visibleRatio of brightest and darkest regions where detail is visible Implies that some controlled burn-out is desirable!Implies that some controlled burn-out is desirable! Simplifies tone reproduction problemSimplifies tone reproduction problem

5 Controlled Burn-out is OK No detail expected when looking into the sun (sunspots)

6 Zones Lin: 1 2 4 8 16 32 64 128 256 Lin: 1 2 4 8 16 32 64 128 256 Log: 1 2 3 4 5 6 7 8 9 Each doubling of intensity is new zoneEach doubling of intensity is new zone Nine zones with visible detail can be mapped to print, fewer to displaysNine zones with visible detail can be mapped to print, fewer to displays Zones are a good measure of dynamic rangeZones are a good measure of dynamic range

7 Typical Dynamic Ranges Photographs: 4-6 zones with visible detail (after digitizing)Photographs: 4-6 zones with visible detail (after digitizing) HDR images: 7-11 zones with visible detailHDR images: 7-11 zones with visible detail Tone reproduction should not be very difficult for most images!Tone reproduction should not be very difficult for most images!

8 11 Zones7 Zones

9 Rest of Talk: A very simple global operator adequate for most images (up to 11 zones)A very simple global operator adequate for most images (up to 11 zones) A local operator that handles very high dynamic range images (12 zones and more)A local operator that handles very high dynamic range images (12 zones and more)

10 Global vs. Local GlobalGlobal –Scale each pixel according to a fixed curve –Key issue: shape of curve LocalLocal –Scale each pixel by a local average –Key issue: size of local neighborhood

11 Global Operator Compression curve needs toCompression curve needs to –Bring everything within range –Leave dark areas alone In other wordsIn other words –Asymptote at 1 –Derivative of 1 at 0

12 Global Operator

13 Global Operator Results 8 Zones7 Zones

14 Global Operator Results 12 Zones

15 Global Operator Results 15 Zones

16 Local Operator ReplaceReplace WithWith V1 is our dodge-and-burn operatorV1 is our dodge-and-burn operator

17 Dodge and Burn Roughly equivalent to local adaptationRoughly equivalent to local adaptation Compute by carefully choosing a local neighborhood for each pixelCompute by carefully choosing a local neighborhood for each pixel Then take a local average of this neighborhood (which is V1)Then take a local average of this neighborhood (which is V1)

18 Dodge and Burn Computation Compute Gaussian blurred images at different scales (sizes)Compute Gaussian blurred images at different scales (sizes) Take difference of Gaussians to detect high contrast (Blommaert model)Take difference of Gaussians to detect high contrast (Blommaert model) Take Gaussian at largest scale that does not exceed contrast threshold (V1)Take Gaussian at largest scale that does not exceed contrast threshold (V1)

19 Size of Local Neighborhood

20

21 Subtleties Gaussians computed at relatively small scalesGaussians computed at relatively small scales For sufficient accuracy, computation rewritten in terms of the error functionFor sufficient accuracy, computation rewritten in terms of the error function For sufficient speed, computation performed in Fourier domainFor sufficient speed, computation performed in Fourier domain

22 Local Operator Results 15 Zones Light bulb visible Small halo around lamp shade Text on book visible

23 Conclusions Most “high dynamic range” images are medium dynamic rangeMost “high dynamic range” images are medium dynamic range This makes tone reproduction a fairly straightforward problem for most practical applications/imagesThis makes tone reproduction a fairly straightforward problem for most practical applications/images

24 Conclusions Our global operator is very simple and is adequate for most imagesOur global operator is very simple and is adequate for most images Our local operator is more involved and compresses very high dynamic range images adequatelyOur local operator is more involved and compresses very high dynamic range images adequately

25 Further Work Two manual parameters:Two manual parameters: –Key value to determine overall intensity of result –White point to fix contrast loss for low to medium dynamic range images Both can be automated with a straightforward algorithm – see forthcoming journal of graphics tools and my web pageBoth can be automated with a straightforward algorithm – see forthcoming journal of graphics tools and my web page

26 Acknowledgments Thanks to Greg Ward, Paul Debevec, Sumant Pattanaik, Jack TumblinThanks to Greg Ward, Paul Debevec, Sumant Pattanaik, Jack Tumblin This work was sponsored by NSF grants 97-96136, 97-31859, 98-18344, 99-78099 and by the DOE AVTC/VIEWSThis work was sponsored by NSF grants 97-96136, 97-31859, 98-18344, 99-78099 and by the DOE AVTC/VIEWS

27 Erratum Equation 1 in the paper should be: Note: source code on CDROM is correct!

28 Informal comparison Gradient-space [Fattal et al.] Bilateral [Durand et al.] Photographic [Reinhard et al.]

29 Informal comparison Gradient-space [Fattal et al.] Bilateral [Durand et al.] Photographic [Reinhard et al.]


Download ppt "Photographic Tone Reproduction for Digital Images Erik Reinhard Utah Mike Stark Peter Shirley Jim Ferwerda Cornell."

Similar presentations


Ads by Google