Table of Contents

Class RetinaFastToneMapping

Namespace
Emgu.CV.Bioinspired
Assembly
Emgu.CV.dll

A wrapper class which allows the tone mapping algorithm of Meylan & al(2007) to be used with OpenCV.

public class RetinaFastToneMapping : SharedPtrObject, IDisposable
Inheritance
RetinaFastToneMapping
Implements
Inherited Members

Constructors

RetinaFastToneMapping(Size)

Create a wrapper class which allows the tone mapping algorithm of Meylan & al(2007) to be used with OpenCV.

public RetinaFastToneMapping(Size inputSize)

Parameters

inputSize Size

The size of the images to process

Methods

ApplyFastToneMapping(IInputArray, IOutputArray)

Applies a luminance correction (initially High Dynamic Range (HDR) tone mapping)

public void ApplyFastToneMapping(IInputArray inputImage, IOutputArray outputToneMappedImage)

Parameters

inputImage IInputArray

The input image to process RGB or gray levels

outputToneMappedImage IOutputArray

The output tone mapped image

DisposeObject()

Release all unmanaged memory associated with the RetinaFastToneMapping model.

protected override void DisposeObject()

Setup(float, float, float)

Updates tone mapping behaviors by adjusting the local luminance computation area

public void Setup(float photoreceptorsNeighborhoodRadius = 3, float ganglioncellsNeighborhoodRadius = 1, float meanLuminanceModulatorK = 1)

Parameters

photoreceptorsNeighborhoodRadius float

The first stage local adaptation area

ganglioncellsNeighborhoodRadius float

The second stage local adaptation area

meanLuminanceModulatorK float

The factor applied to modulate the meanLuminance information (default is 1, see reference paper)