Photographic Tone Reproduction For Digital Images
Photographic Tone Reproduction For Digital Images
Abstract
Linear map
A classic photographic task is the mapping of the potentially high
dynamic range of real world luminances to the low dynamic range
of the photographic print. This tone reproduction problem is also
faced by computer graphics practitioners who map digital images to
a low dynamic range print or screen. The work presented in this pa-
per leverages the time-tested techniques of photographic practice to
develop a new tone reproduction operator. In particular, we use and
extend the techniques developed by Ansel Adams to deal with dig-
ital images. The resulting algorithm is simple and produces good
results for a wide variety of images.
CR Categories: I.4.10 [Computing Methodologies]: Image Pro-
cessing and Computer Vision—Image Representation
Keywords: Tone reproduction, dynamic range, Zone System.
New operator
267
Darkest Brightest
textured textured
shadow Dynamic range = 15 scene zones highlight
Middle grey
2x L 2x+1 L 2x+2 L 2x+3 L 2x+4 L . . . 2x+15 L 2x+16 L
Middle grey maps to Zone V
Figure 4: The mapping from scene zones to print zones. Scene zones
at either extreme will map to pure black (zone 0) or white (zone X)
if the dynamic range of the scene is eleven zones or more.
Light
268
about the adobe’s true reflectance. Only knowledge of the geometry
Key value 0.09 Key value 0.18
and light inter-reflections would allow one to know the difference
between luminance ratios of a dark-dyed adobe house and a normal
adobe house. However, the Zone System provides the photogra-
pher with a small set of subjective controls. These controls form
the basis for our tone reproduction algorithm described in the next
section.
269
L = 0.5 1.0 1.5 3 ∞
white
Radiance map courtesy of Greg Ward (top) and Cornell Program of Computer Graphics (bottom)
Ld
0 1 2 3 4 5
World luminance (L)
Input Output
270
Center sm too large causes dark rings to form around bright areas (s3 in
Scale too small (s 1) the same figure), while choosing the scale as outlined above causes
Surround the right amount of detail and contrast enhancement without intro-
ducing unwanted artifacts (s2 in Figure 9).
Center Using a larger scale sm tends to increase contrast and enhance
Surround Right scale (s 2) edges. The value of the threshold in Equation 8, as well as the
choice of φ in Equation 7, serve as edge enhancement parameters
and work by manipulating the scale that would be chosen for each
pixel. Decreasing forces the appropriate scale sm to be larger.
Center Increasing φ also tends to select a slightly larger scale sm , but only
Surround at small scales due to the division of φ by s2 . An example of the
effect of varying φ is given in Figure 10.
Scale too large (s 3) A further observation is that because V1 tends to be smaller than
L for very bright pixels, our local operator is not guaranteed to keep
the display luminance Ld below 1. Thus, for extremely bright areas
some burn-out may occur and this is the reason we clip the display
luminance to 1 afterwards. As noted in section 2, a small amount
of burn-out may be desirable to make light sources such as the sun
look very bright.
Scale too small (s 1) Right scale (s 2) Scale too large (s 3)
In summary, by automatically selecting an appropriate neigh-
borhood for each pixel we effectively implement a pixel-by-pixel
dodging and burning technique as applied in photography [Adams
1983]. These techniques locally change the exposure of a film, and
so darken or brighten certain areas in the final print.
4 Results
Radiance map courtesy of Paul Debevec
271
Radiance map courtesy of Paul Debevec
φ=1 φ = 10 φ = 15
Radiance map and top image courtesy of Cornell Program of Computer Graphics
chophysical data [Ferwerda et al. 1996]. We have used the Pattanaik
photopic portion of their algorithm.
272
Ward’s contrast scale factor Chiu Schlick Stockham
Figure 11: Cornell box high dynamic range images including close-ups of the light sources. The dynamic range of this image is 12 zones.
273
side using the Cornell box high dynamic range image as input. The Accurate implementation Spline approximation
model is slightly different from the original Cornell box because we
have placed a smaller light source underneath the ceiling of the box
so that the ceiling receives a large quantity of direct illumination, a
characteristic of many architectural environments. This image has
little high frequency content and it is therefore easy to spot any
deficiencies in the tone mapping operators we have applied. In this
and the following figures, the operators are ordered roughly by their
ability to bring the image within dynamic range. Using the Cornell
Radiance map courtesy of Cornell Program of Computer Graphics
box image (Figure 11), we eliminate those operators that darken the
image too much and therefore we do not include the contrast based
scaling factor and Chiu’s algorithm in further tests. Figure 14: Compare the spline based local operator (right) with the
more accurate local operator (left). The spline approach exhibits
Similar to the Cornell box image is the Nave photograph, al-
some blocky artifacts on the table, although this is masked in the
though this is a low-key image and the stained glass windows con-
rest of the image.
tain high frequency detail. From a photographic point of view, good
tone mapping operators would show detail in the dark areas while
still allowing the windows to be admired. The histogram adjust- Algorithm Preprocessing Tone Mapping Total
ment algorithm achieves both goals, although halo-like artifacts are Image size: 512 × 512
introduced around the bright window. Both the Tumblin-Rushmeier Local 1.23 0.08 1.31
model and Ferwerda’s visibility matching method fail to bring the Spline 0.25 0.11 0.36
church window within displayable range. The same is true for Global 0.02 0.03 0.05
Stockham style filtering and Schlick’s method. Image size: 1024 × 1024
The most difficult image to bring within displayable range is Local 5.24 0.33 5.57
presented in Figures 1 and 13. Due to its large dynamic range, Spline 1.00 0.47 1.47
it presents problems for most tone reproduction operators. This im- Global 0.70 0.11 0.18
age was first used for Pattanaik’s local adaptation model [Pattanaik
et al. 1998]. Because his operator includes color correction as well Table 1: Timing in seconds for our global (Equation 3) and local
as dynamic range reduction, we have additionally color corrected (Equation 9) operators. The middle rows show the timing for the
our tone-mapped image (Figure 13) using the method presented approximated Gaussian convolution using a multiscale spline ap-
in [Reinhard et al. 2001]. Pattanaik’s local adaptation operator pro- proach [Burt and Adelson 1983].
duces visible artifacts around the light source in the desk image,
while the new operator does not.
The efficiency of both our new global (Equation 3, without that most of the images in this figure present serious challenges to
dodging-and-burning) and local tone mapping operators (Equa- other tonemapping operators. Interestingly, the area around the sun
tion 9) is high. Timings obtained on a 1.8 GHz Pentium 4 PC in the rendering of the landscape is problematic for any method
are given in Table 1 for two different image sizes. While we have that attempts to bring the maximum scene luminance within a dis-
not counted any disk I/O, the timings for preprocessing as well as playable range without clamping. This is not the case for our oper-
the main tone mapping algorithm are presented. The preprocessing ator because it only brings textured regions within range, which is
for the local operator (Equation 9) consists of the mapping of the relatively simple because, excluding the sun, this scene only has a
log average luminance to the key value, as well as all FFT calcu- small range of luminances. A similar observation can be made for
lations. The total time for a 5122 image is 1.31 seconds for the the image of the lamp on the table and the image with the streetlight
local operator, which is close to interactive, while our global oper- behind the tree.
ator (Equation 3) performs at a rate of 20 frames per second, which
we consider real-time. Computation times for the 10242 images is
around 4 times slower, which is according to expectation.
5 Summary
We have also experimented with a fast approximation of Photographers aim to compress the dynamic range of a scene in a
the Gaussian convolution using a multiscale spline based ap- manner that creates a pleasing image. We have developed a rela-
proach [Burt and Adelson 1983], which was first used in the con- tively simple and fast tone reproduction algorithm for digital im-
text of tone reproduction by [Tumblin et al. 1999], and have found ages that borrows from 150 years of photographic experience. It
that the computation is about 3.7 times faster than our Fourier do- is designed to follow their practices and is thus well-suited for ap-
main implementation. This improved performance comes at the plications where creating subjectively satisfactory and essentially
cost of some small artifacts introduced by the approximation, which artifact-free images is the desired goal.
can be successfully masked by the high frequency content of the
photographs. If high frequencies are absent, some blocky artifacts
become visible, as can be seen in Figure 14. On the other hand, Acknowledgments
just like its FFT based counter-part, this approximation manages to
bring out the detail of the writing on the open book in this figure Many researchers have made their high dynamic range images
as opposed to our global operator of Equation 3 (compare with the and/or their tone mapping software available, and without that help
left image of Figure 8). As such, the local FFT based implementa- our comparisons would have been impossible. This work was sup-
tion, the local spline based approximation and the global operator ported by NSF grants 89-20219, 95-23483, 97-96136, 97-31859,
provide a useful trade-off between performance and quality, allow- 98-18344, 99-77218, 99-78099, EIA-8920219 and by the DOE
ing any user to select the best operator given a specified maximum AVTC/VIEWS.
run-time.
Finally, to demonstrate that our method works well on a broad
range of high dynamic range images, Figure 15 shows a selection
of tone-mapped images using our new operator. It should be noted
274
10 zones 7 zones
5 zones 4 zones
Renderings by Peter Shirley
9 zones 8 zones
Radiance map courtesy of Greg Ward Radiance map courtesy of Cornell Program of Computer Graphics
Figure 15: A selection of high and low dynamic range images tone-mapped using our new operator. The labels in the figure indicate the
dynamic ranges of the input data.
275
References O PPENHEIM , A. V., S CHAFER , R., AND S TOCKHAM , T. 1968. Nonlinear filtering
of multiplied and convolved signals. Proceedings of the IEEE 56, 8, 1264–1291.
A DAMS , A. 1980. The camera. The Ansel Adams Photography series. Little, Brown
and Company. PARDO , A., AND S APIRO , G. 2001. Visualization of high dynamic range images.
Tech. Rep. 1753, Institute for Mathematics and its Applications, University of Min-
A DAMS , A. 1981. The negative. The Ansel Adams Photography series. Little, Brown nesota.
and Company.
PATTANAIK , S. N., F ERWERDA , J. A., FAIRCHILD , M. D., AND G REENBERG , D. P.
A DAMS , A. 1983. The print. The Ansel Adams Photography series. Little, Brown and 1998. A multiscale model of adaptation and spatial vision for realistic image dis-
Company. play. In SIGGRAPH 98 Conference Proceedings, Addison Wesley, M. Cohen, Ed.,
B LOMMAERT, F. J. J., AND M ARTENS , J.-B. 1990. An object-oriented model for Annual Conference Series, ACM SIGGRAPH, 287–298.
brightness perception. Spatial Vision 5, 1, 15–41. PATTANAIK , S. N., T UMBLIN , J., Y EE , H., , AND G REENBERG , D. P. 2000. Time-
B URT, P. J., AND A DELSON , E. H. 1983. A multiresolution spline with application dependent visual adaptation for fast realistic display. In SIGGRAPH 2000 Con-
to image mosaics. ACM Transactions on Graphics 2, 4, 217–236. ference Proceedings, Addison Wesley, K. Akeley, Ed., Annual Conference Series,
ACM SIGGRAPH, 47–54.
C HIU , K., H ERF, M., S HIRLEY, P., S WAMY, S., WANG , C., AND Z IMMERMAN ,
K. 1993. Spatially nonuniform scaling functions for high contrast images. In P ELI , E. 1990. Contrast in complex images. J. Opt. Soc. Am. A 7, 10 (October),
Proceedings of Graphics Interface ’93, 245–253. 2032–2040.
C OHEN , J., T CHOU , C., H AWKINS , T., AND D EBEVEC , P. 2001. Real-Time high P ESSOA , L., M INGOLLA , E., AND N EUMANN , H. 1995. A contrast- and luminance-
dynamic range texture mapping. In Rendering techniques 2001, S. J. Gortler and driven multiscale network model of brightness perception. Vision Research 35, 15,
K. Myszkowski, Eds., 313–320. 2201–2223.
D EBEVEC , P. E., AND M ALIK , J. 1997. Recovering high dynamic range radiance R AHMAN , Z., J OBSON , D. J., AND W OODELL , G. A. 1996. A multiscale retinex
maps from photographs. In SIGGRAPH 97 Conference Proceedings, Addison Wes- for color rendition and dynamic range compression. In SPIE Proceedings: Appli-
ley, T. Whitted, Ed., Annual Conference Series, ACM SIGGRAPH, 369–378. cations of Digital Image Processing XIX, vol. 2847.
D URAND , F., AND D ORSEY, J. 2000. Interactive tone mapping. In Eurographics R AHMAN , Z., W OODELL , G. A., AND J OBSON , D. J. 1997. A comparison of
Workshop on Rendering, 219–230. the multiscale retinex with other image enhancement techniques. In IS&T’s 50th
Annual Conference: A Celebration of All Imaging, vol. 50, 426–431.
FAIRCHILD , M. D. 1998. Color appearance models. Addison-Wesley, Reading, MA.
R EINHARD , E., A SHIKHMIN , M., G OOCH , B., AND S HIRLEY, P. 2001. Color
F ERWERDA , J. A., PATTANAIK , S., S HIRLEY, P., AND G REENBERG , D. P. 1996. A transfer between images. IEEE Computer Graphics and Applications 21 (Septem-
model of visual adaptation for realistic image synthesis. In SIGGRAPH 96 Confer- ber/October), 34–41.
ence Proceedings, Addison Wesley, H. Rushmeier, Ed., Annual Conference Series,
ACM SIGGRAPH, 249–258. S CHEEL , A., S TAMMINGER , M., AND S EIDEL , H.-P. 2000. Tone reproduction for
interactive walkthroughs. Computer Graphics Forum 19, 3 (August), 301–312.
G EIGEL , J., AND M USGRAVE , F. K. 1997. A model for simulating the photographic
development process on digital images. In SIGGRAPH 97 Conference Proceedings, S CHLICK , C. 1994. Quantization techniques for the visualization of high dynamic
Addison Wesley, T. Whitted, Ed., Annual Conference Series, ACM SIGGRAPH, range pictures. In Photorealistic Rendering Techniques, Springer-Verlag Berlin
135–142. Heidelberg New York, P. Shirley, G. Sakas, and S. Müller, Eds., 7–20.
G OVE , A., G ROSSBERG , S., AND M INGOLLA , E. 1995. Brightness perception, S TOCKHAM , T. 1972. Image processing in the context of a visual model. Proceedings
illusory contours, and corticogeniculate feedback. Visual Neuroscience 12, 1027– of the IEEE 60, 7, 828–842.
1052. S TROEBEL , L., C OMPTON , J., C URRENT, I., AND Z AKIA , R. 2000. Basic photo-
G RAVES , C. 1997. The zone system for 35mm photographers, second ed. Focal Press. graphic materials and processes, second ed. Focal Press.
H ANSEN , T., BARATOFF , G., AND N EUMANN , H. 2000. A simple cell model T UMBLIN , J., AND RUSHMEIER , H. 1991. Tone reproduction for realistic computer
with dominating opponent inhibition for robust contrast detection. Kognitionswis- generated images. Tech. Rep. GIT-GVU-91-13, Graphics, Visualization, and Use-
senschaft 9, 93–100. ability Center, Georgia Institute of Technology.
H OLM , J. 1996. Photographics tone and colour reproduction goals. In CIE Expert T UMBLIN , J., AND RUSHMEIER , H. 1993. Tone reproduction for computer generated
Symposium ’96 on Colour Standards for Image Technology, 51–56. images. IEEE Computer Graphics and Applications 13, 6 (November), 42–48.
J ERNIGAN , M. E., AND M C L EAN , G. F. 1992. Lateral inhibition and image process- T UMBLIN , J., AND T URK , G. 1999. LCIS: A boundary hierarchy for detail-preserving
ing. In Non-linear vision: determination of neural receptive fields, function, and contrast reduction. In Siggraph 1999, Computer Graphics Proceedings, Addison
networks, R. B. Pinter and B. Nabet, Eds. CRC Press, ch. 17, 451–462. Wesley Longman, Los Angeles, A. Rockwood, Ed., Annual Conference Series,
83–90.
J OHNSON , C. 1999. The practical zone system. Focal Press.
T UMBLIN , J., H ODGINS , J. K., AND G UENTER , B. K. 1999. Two methods for
L AND , E. H., AND M C C ANN , J. J. 1971. Lightness and retinex theory. J. Opt. Soc.
display of high contrast images. ACM Transactions on Graphics 18 (1), 56–94.
Am. 63, 1, 1–11.
U PSTILL , S. 1985. The Realistic Presentation of Synthetic Images: Image Processing
L ONDON , B., AND U PTON , J. 1998. Photography, sixth ed. Longman.
in Computer Graphics. PhD thesis, University of California at Berkeley.
M ARR , D., AND H ILDRETH , E. C. 1980. Theory of edge detection. Proceedings of
WARD , G., RUSHMEIER , H., AND P IATKO , C. 1997. A visibility matching tone
the Royal Society of London, B 207, 187–217.
reproduction operator for high dynamic range scenes. IEEE Transactions on Visu-
M ARR , D. 1982. Vision, a computational investigation into the human representation alization and Computer Graphics 3, 4 (December).
and processing of visual information. W H Freeman and Company, San Fransisco.
WARD L ARSON , G., AND S HAKESPEARE , R. A. 1998. Rendering with Radiance.
M ATKOVIC , K., N EUMANN , L., AND P URGATHOFER , W. 1997. A survey of tone Morgan Kaufmann Publishers.
mapping techniques. In 13th Spring Conference on Computer Graphics, W. Straßer,
WARD , G. 1994. A contrast-based scalefactor for luminance display. In Graphics
Ed., 163–170.
Gems IV, P. Heckbert, Ed. Academic Press, Boston, 415–421.
M C NAMARA , A., C HALMERS , A., AND T ROSCIANKO , T. 2000. STAR: Visual
W HITE , M., Z AKIA , R., AND L ORENZ , P. 1984. The new zone system manual.
perception in realistic image synthesis. In Eurographics 2000 STAR reports, Euro-
Morgan & Morgan, Inc.
graphics, Interlaken, Switzerland.
W OODS , J. C. 1993. The zone system craftbook. McGraw Hill.
M C N AMARA , A. 2001. Visual perception in realistic image synthesis. Computer
Graphics Forum 20, 4 (December), 211–224.
M ILLER , N. J., N GAI , P. Y., AND M ILLER , D. D. 1984. The application of computer
graphics in lighting design. Journal of the IES 14 (October), 6–26.
M ITCHELL , E. N. 1984. Photographic Science. John Wiley and Sons, New York.
276