Table of Contents

Class TonemapDrago

Namespace
Emgu.CV
Assembly
Emgu.CV.dll

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 float

gamma value for gamma correction.

saturation float

positive saturation enhancement value. 1.0 preserves saturation, values greater than 1 increase saturation and values less than 1 decrease it.

bias float

value 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

float

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

float

Methods

DisposeObject()

Release the unmanaged memory associated with this TonemapDrago

protected override void DisposeObject()