Difference between revisions of "Dynamic Range Compression"

Line 1: Line 1:
<div class="pagetitle">Dynamic Range Compression</div>
== Introduction ==
== Introduction ==

Revision as of 21:41, 9 December 2019

Dynamic Range Compression

1 Introduction

Dynamic range in broad terms is the ratio of the largest to the smallest value of a measured signal. There are various things you as a photographer have to deal with which have a dynamic range of their own - human visual perception has a dynamic range (you can see very faint stars at night and you can see a bright sky during daytime, though not both at once), your monitor has a dynamic range (far lower than human vision), as does your camera's sensor and the electronics which process the signal captured by the sensor. The Dynamic Range Compression tool is used to compress and redistribute the dynamic range of the scene captured in a photograph.

The dynamic range of the scene is the ratio of the brightest element in the scene to the darkest. If you imagine an outdoor scene on a very foggy day, the brightest element would not appear much brighter from the darkest element, so the scene is said to have a low dynamic range. On the other hand, if you were to stand indoors on a sunny day, the sun-lit clouds outside would appear far brighter than the lamp-lit room, let alone the dark corners of the room - this is a high dynamic range scene.

The dynamic range of the scene being captured usually exceeds the dynamic range of the viewing device (monitor, laptop, smartphone). To show the scene on the viewing device, generally two things can happen: either a certain segment of the dynamic range which falls outside of that which the monitor can reproduce is discarded (the sky outside is clipped white so the you can see the inside of the room, or the sky outside is reproduced at the cost of the room being clipped black), or the dynamic range of the scene can be compressed so that both the dark and the light areas are visible, and that is where this tool comes into play.

The Dynamic Range Compression tool is used to compress the dynamic range of an image, reducing highlights and lifting shadows. It is based on the paper Gradient Domain High Dynamic Range Compression, referred to in other software such as Luminance HDR simply as "Fattal".

The tool operates in RGB space and is applied right after Noise Reduction and Haze Removal, but before other tone curve adjustments such as the Exposure controls.

The "detail" slider corresponds to the α (alpha) parameter in the paper, and the "amount" slider corresponds to β (beta).

There are alternative ways of compressing the dynamic range using other tools. The most simple would be a negative contrast value in the Exposure tool to reduce (or rather to redistribute) the dynamic range, however the effect would most likely appear flat and unappealing. A curve gives one more control over the process, however this tool is designed specifically for the task.

2 Usage

Use this tool when the dynamic range of the photographed scene is too high to be reproduced on your monitor in an aesthetically pleasing way, that is when you find that the difference between the dark tones and the bright tones (the contrast) is so strong that there is a lack of detail in those areas.

Heads-up panorama stitchers! The effects of this tool depend on the dynamic range (and histogram) of the image being edited. If you are processing a series of images intended for stitching, where each image contains a section of a scene adjacent to the one before it, even if you were to apply identical parameters to these images using this tool, the end results would not be consistent - there would be sudden changes in brightness between adjacent images. Do not use this Dynamic Range Compression tool on the source images. If you need to compress the dynamic range across a series of images in a consistent way, use a curve instead. You can, however, use this tool on the stitched panorama.

3 Interface

3.1 Amount

Sets the amount of compression, where higher values lead to more dynamic range compression.

3.2 Detail

The amount of detail that is preserved can be tuned with this parameter. Negative values smooth the image by reducing local contrast, while positive values increase it.

3.3 Anchor

This parameter biases the compression towards the shadows or the highlights. It functions in effect as an exposure compensation.