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
SizeThe 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
IInputArrayThe input image to process RGB or gray levels
outputToneMappedImage
IOutputArrayThe 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)