Class TonemapReinhard
This is a global tonemapping operator that models human visual system. Mapping function is controlled by adaptation parameter, that is computed using light adaptation and color adaptation.
public class TonemapReinhard : Tonemap, IDisposable, IAlgorithm
- Inheritance
-
TonemapReinhard
- Implements
- Inherited Members
- Extension Methods
Constructors
TonemapReinhard(float, float, float, float)
Creates TonemapReinhard object.
public TonemapReinhard(float gamma = 1, float intensity = 0, float lightAdapt = 1, float colorAdapt = 0)
Parameters
gamma
floatgamma value for gamma correction
intensity
floatresult intensity in [-8, 8] range. Greater intensity produces brighter results.
lightAdapt
floatlight adaptation in [0, 1] range. If 1 adaptation is based only on pixel value, if 0 it's global, otherwise it's a weighted mean of this two cases.
colorAdapt
floatchromatic adaptation in [0, 1] range. If 1 channels are treated independently, if 0 adaptation level is the same for each channel.
Properties
ColorAdaptation
chromatic adaptation in [0, 1] range. If 1 channels are treated independently, if 0 adaptation level is the same for each channel.
public float ColorAdaptation { get; set; }
Property Value
Intensity
Result intensity in [-8, 8] range. Greater intensity produces brighter results.
public float Intensity { get; set; }
Property Value
LightAdaptation
Light adaptation in [0, 1] range. If 1 adaptation is based only on pixel value, if 0 it is global, otherwise it is a weighted mean of this two cases.
public float LightAdaptation { get; set; }
Property Value
Methods
DisposeObject()
Release the unmanaged memory associated with this TonemapReinhard
protected override void DisposeObject()