Figura 16.215. «Stress» tone mapping example
Immagine originale
Filter applied with default settings, after changing image precision in GIMP to 32-bit floating point linear light.
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.
![]() |
Nota |
---|---|
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. |
«Presets» are a common feature for several Colors commands. You can find its description in Sezione 8.1.1, «Caratteristiche comuni dei colori».
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.
Number of samples to do per iteration looking for the range of colors.
Number of iterations; a higher number of iterations provides a less noisy rendering but makes the filter slower.
When enabled shadow regions are also enhanced; when disabled a more natural result is yielded.
These are common features described in Sezione 8.1.1, «Caratteristiche comuni dei colori».