Class TonemapDrago
Adaptive logarithmic mapping is a fast global tonemapping algorithm that scales the image in logarithmic domain. Since it's a global operator the same function is applied to all the pixels, it is controlled by the bias parameter.
public class TonemapDrago : Tonemap, IDisposable, IAlgorithm
- Inheritance
-
TonemapDrago
- Implements
- Inherited Members
- Extension Methods
Constructors
TonemapDrago(float, float, float)
Creates TonemapDrago object.
public TonemapDrago(float gamma = 1, float saturation = 1, float bias = 0.85)
Parameters
gamma
floatgamma value for gamma correction.
saturation
floatpositive saturation enhancement value. 1.0 preserves saturation, values greater than 1 increase saturation and values less than 1 decrease it.
bias
floatvalue for bias function in [0, 1] range. Values from 0.7 to 0.9 usually give best results, default value is 0.85.
Properties
Bias
Value for bias function in [0, 1] range. Values from 0.7 to 0.9 usually give best results, default value is 0.85.
public float Bias { get; set; }
Property Value
Saturation
Positive saturation enhancement value. 1.0 preserves saturation, values greater than 1 increase saturation and values less than 1 decrease it.
public float Saturation { get; set; }
Property Value
Methods
DisposeObject()
Release the unmanaged memory associated with this TonemapDrago
protected override void DisposeObject()