Table of Contents

Class TonemapReinhard

Namespace
Emgu.CV
Assembly
Emgu.CV.dll

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 float

gamma value for gamma correction

intensity float

result intensity in [-8, 8] range. Greater intensity produces brighter results.

lightAdapt float

light 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 float

chromatic 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

float

Intensity

Result intensity in [-8, 8] range. Greater intensity produces brighter results.

public float Intensity { get; set; }

Property Value

float

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

float

Methods

DisposeObject()

Release the unmanaged memory associated with this TonemapReinhard

protected override void DisposeObject()