Tone Mapper
4 nodes
On this page 4
To Pixel Image (Drago)
FunctionDrago's adaptive logarithmic mapping (2003): luminance compressed by a logarithm whose base moves from 2 in the shadows to 10 in the highlights, the bias choosing how quickly.
Signature
ToPixelImageDrago -> Pixel Image
HDR: Hdr Pixel Image
exposureCompensation: Low Accuracy Number
saturation: Low Accuracy Number
bias: Low Accuracy NumberPixelImage ToPixelImageDrago(
HdrPixelImage hdr,
float exposureCompensation = 0f,
float saturation = 1f,
float bias = 0.85f)Parameters
| name | type | default | description |
|---|---|---|---|
| HDR | Hdr Pixel Image | — | The HDR image, scene-linear. |
| exposureCompensation | Low Accuracy Number | 0 | Stops added after mapping: +1 doubles the brightness. |
| saturation | Low Accuracy Number | 1 | Colour saturation: 1 keeps the image's colours, below 1 mutes them. |
| bias | Low Accuracy Number | 0.85 | From 0.7 to 0.9: lower keeps more contrast in the highlights; 0.85 is the paper's default. |
Returns
| result | Pixel Image |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Tone Mapper
- Package
- Image Processing
To Pixel Image (Durand)
FunctionDurand and Dorsey's fast bilateral filtering (2002): the log-luminance split by a bilateral filter into a base layer, whose range is compressed to Contrast, and the detail, kept.
Signature
ToPixelImageDurand -> Pixel Image
HDR: Hdr Pixel Image
exposureCompensation: Low Accuracy Number
contrast: Low Accuracy Number
saturation: Low Accuracy Number
sigmaSpace: Low Accuracy Number
sigmaColor: Low Accuracy NumberPixelImage ToPixelImageDurand(
HdrPixelImage hdr,
float exposureCompensation = 0f,
float contrast = 4f,
float saturation = 1f,
float sigmaSpace = 2f,
float sigmaColor = 2f)Parameters
| name | type | default | description |
|---|---|---|---|
| HDR | Hdr Pixel Image | — | The HDR image, scene-linear. |
| exposureCompensation | Low Accuracy Number | 0 | Stops added after mapping: +1 doubles the brightness. |
| contrast | Low Accuracy Number | 4 | The range the base layer is compressed to, in natural-log units; 4 gives about 1:55. |
| saturation | Low Accuracy Number | 1 | Colour saturation: 1 keeps the image's colours, below 1 mutes them. |
| sigmaSpace | Low Accuracy Number | 2 | The bilateral filter's spatial sigma, in pixels. |
| sigmaColor | Low Accuracy Number | 2 | The bilateral filter's range sigma, in log-luminance. |
Returns
| result | Pixel Image |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Tone Mapper
- Package
- Image Processing
To Pixel Image (Mantiuk)
FunctionMantiuk's perceptual contrast mapping (2006): the log-luminance's contrast, at every scale of a pyramid, compressed by Scale in a perceptual response and the luminance solved back from it.
Signature
ToPixelImageMantiuk -> Pixel Image
HDR: Hdr Pixel Image
exposureCompensation: Low Accuracy Number
scale: Low Accuracy Number
saturation: Low Accuracy NumberPixelImage ToPixelImageMantiuk(
HdrPixelImage hdr,
float exposureCompensation = 0f,
float scale = 0.7f,
float saturation = 1f)Parameters
| name | type | default | description |
|---|---|---|---|
| HDR | Hdr Pixel Image | — | The HDR image, scene-linear. |
| exposureCompensation | Low Accuracy Number | 0 | Stops added after mapping: +1 doubles the brightness. |
| scale | Low Accuracy Number | 0.7 | Contrast scale, from 0.6 to 0.9: lower compresses more. |
| saturation | Low Accuracy Number | 1 | Colour saturation: 1 keeps the image's colours, below 1 mutes them. |
Returns
| result | Pixel Image |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Tone Mapper
- Package
- Image Processing
To Pixel Image (Reinhard)
FunctionReinhard's photographic tone reproduction (2005): each channel compressed by v / (v + adaptation), the adaptation level a blend of the pixel's own colour and luminance and of the image's means.
Signature
ToPixelImageReinhard -> Pixel Image
HDR: Hdr Pixel Image
exposureCompensation: Low Accuracy Number
intensity: Low Accuracy Number
lightAdaptation: Low Accuracy Number
colorAdaptation: Low Accuracy NumberPixelImage ToPixelImageReinhard(
HdrPixelImage hdr,
float exposureCompensation = 0f,
float intensity = 0f,
float lightAdaptation = 1f,
float colorAdaptation = 0f)Parameters
| name | type | default | description |
|---|---|---|---|
| HDR | Hdr Pixel Image | — | The HDR image, scene-linear. |
| exposureCompensation | Low Accuracy Number | 0 | Stops added after mapping: +1 doubles the brightness. |
| intensity | Low Accuracy Number | 0 | Overall brightness, from -8 to 8: higher is brighter. |
| lightAdaptation | Low Accuracy Number | 1 | From 0 to 1: 1 adapts each pixel to its own light, 0 to the image's average. |
| colorAdaptation | Low Accuracy Number | 0 | From 0 to 1: 1 adapts each channel separately, 0 adapts all three to luminance. |
Returns
| result | Pixel Image |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Tone Mapper
- Package
- Image Processing