8.47. Stress

8.47.1. Overview

16.236. ábra - Stress tone mapping example

„Stress” tone mapping example

Original image

„Stress” tone mapping example

Filter applied with default settings, after changing image precision in GIMP to 32-bit floating point linear light.

„Stress” tone mapping example

Filter applied with Samples 15 and Iterations 20.


This filter uses a Spatio Temporal Retinex-like Envelope with Stochastic Sampling (STRESS). The algorithms work by recalculating each pixel using envelopes for local upper and lower bounds in the image. The envelopes are obtained sampling neighbor pixels and can be interpreted as local reference maximum and minimum. This method can be used for local contrast stretching, automatic color correction, high dynamic range image rendering, spatial color gamut mapping, and color to grayscale conversion with good results.

Based on Ø. Kolås, I. Farup, and A. Rizzi, Spatio-temporal retinex-inspired envelope with stochastic sampling:A framework for spatial color algorithms, Journal of Imaging Science and Technology, vol. 55, no. 4, pp. 1–10, 2011.

[Megjegyzés] Megjegyzés

This filter is slow on larger images. For finding the best settings for your image you could make a small relevant selection first and save that as a preset before using that for the whole image.

8.47.2. Activating the filter

This filter is found in the image window menu under ColorsTone MappingStress.

8.47.3. Options

16.237. ábra - The Stress filter Dialog

The „Stress” filter Dialog

Presets

Presets are a common feature for several Colors commands. You can find its description in 8.1.1. szakasz - Colors Common Features.

Radius

Neighborhood taken into account, for enhancement ideal values are close to the longest side of the image (which can be either width or height). Increasing this value makes the filter slower.

Samples

Number of samples to do per iteration looking for the range of colors.

Iterations

Number of iterations; a higher number of iterations provides a less noisy rendering but makes the filter slower.

Enhance Shadows

When enabled shadow regions are also enhanced; when disabled a more natural result is yielded.

Input Type, Clipping, Blending Options, Preview and Split view

These are common features described in 8.1.1. szakasz - Colors Common Features.