Class TonemapMantiuk
This algorithm transforms image to contrast using gradients on all levels of gaussian pyramid, transforms contrast values to HVS response and scales the response. After this the image is reconstructed from new contrast values.
public class TonemapMantiuk : Tonemap, IDisposable, IAlgorithm
- Inheritance
-
TonemapMantiuk
- Implements
- Inherited Members
- Extension Methods
Constructors
TonemapMantiuk(float, float, float)
Creates TonemapMantiuk object
public TonemapMantiuk(float gamma = 1, float scale = 0.7, float saturation = 1)
Parameters
gamma
floatgamma value for gamma correction.
scale
floatcontrast scale factor. HVS response is multiplied by this parameter, thus compressing dynamic range. Values from 0.6 to 0.9 produce best results.
saturation
floatsaturation enhancement value.
Properties
Saturation
Saturation enhancement value.
public float Saturation { get; set; }
Property Value
Scale
Contrast scale factor. HVS response is multiplied by this parameter, thus compressing dynamic range. Values from 0.6 to 0.9 produce best results.
public float Scale { get; set; }
Property Value
Methods
DisposeObject()
Release the unmanaged memory associated with this TonemapMantiuk
protected override void DisposeObject()