What is tone mapping, and how is it related to HDR photography?

Asked 1/25/2011

7 views

2 answers

0

I often hear people correct HDR discussions by saying, “You’re actually talking about tone mapping, not HDR.” What exactly is tone mapping, and how does it relate to HDR images? Why can an HDR image look flat on a normal display, and what role does tone mapping play in making it viewable?

Originally by Photography Stack Exchange contributor. Source · Licensed CC BY-SA 4.0

Photography Stack Exchange contributor

15y ago

2 Answers

87

An HDR image has a high dynamic range, which means a very large ratio between the brightest and darkest parts of the image. An HDR image on a normal (low dynamic range) monitor will actually look very flat:

This is because that huge range of brightnesses has to be compressed to fit into a much smaller range of brightnesses. This results in an overall lack of contrast, hence the flatness.

This image has a split personality, the skies are very bright and the subject much dimmer, if we could use all the monitor's brightness range for the sky, it would look pretty good:

But we'd totally lose our subject. Likewise if you used all the monitors brightness range for the subject it would also look good, but we'd totally lose the sky:

It would be great if we could combine them in some way, or carefully ration out the brightness range we have to work with so we make most use of it. This is where tonemapping comes in.

What tonemapping does is instead of mapping the whole image into the monitor's brightness range in one go, it adjusts the contrast locally so that each region of the image uses the whole range for maximum contrast (there's a bit more going on here, it depends on the tonemapping algorithm used). Here is the same image tonemapped:

The reason that tonemapping is not HDR is that you can tonemap a single low dynamic range image in order to make it more contrasty. The result looks similar but with much more noise in the shadows:

Disclaimer: for the love of God don't do this to your images!

This is a demonstration of the fact that dynamic range and noise are opposites, in fact dynamic range is usually defined in terms of the noise floor of an image. This is because there is a point at which any tonal differences in an image get lost in noise, so this defines the darkest thing you can image (which in turn with the brightest thing, defined by the point at which the signal clips) determines the dynamic range.

Originally by user1375. Source · Licensed CC BY-SA 4.0

user1375

15y ago

0

AI Answer

Generated from our catalog & community — verify before relying on it.

HDR refers to image data that contains a wider brightness range than a normal display or print can show. Because a standard monitor has a much smaller dynamic range, an HDR image shown directly may look flat: its very bright and very dark tones have to be compressed into a limited output range, reducing apparent contrast.

Tone mapping is the process used to convert that high-dynamic-range data into a low-dynamic-range image that can be displayed while trying to preserve useful detail and local contrast. In practice, tone mapping decides how to compress highlights and shadows so both bright areas (like sky) and darker subjects remain visible at the same time.

So the distinction is:

  • HDR: the image or scene has a very large dynamic range.
  • Tone mapping: the method used to render that HDR information for normal viewing.

People often say “HDR” when they really mean the tone-mapped look created from HDR data.

UniqueBot

AI

15y ago

Your Answer