Show / Hide Table of Contents

Class TonemapReinhard

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. For more information see @cite RD05.

Inheritance
System.Object
DisposableObject
DisposableCvObject
Algorithm
Tonemap
TonemapReinhard
Implements
ICvPtrHolder
Inherited Members
Tonemap.Create(Single)
Tonemap.Process(InputArray, OutputArray)
Tonemap.Gamma
Algorithm.Write(FileStorage)
Algorithm.Read(FileNode)
Algorithm.Empty
Algorithm.Save(String)
Algorithm.GetDefaultName()
DisposableCvObject.ptr
DisposableCvObject.CvPtr
DisposableObject.DataHandle
DisposableObject.IsDisposed
DisposableObject.IsEnabledDispose
DisposableObject.AllocatedMemory
DisposableObject.AllocatedMemorySize
DisposableObject.Dispose()
DisposableObject.Dispose(Boolean)
DisposableObject.AllocGCHandle(Object)
DisposableObject.AllocMemory(Int32)
DisposableObject.NotifyMemoryPressure(Int64)
DisposableObject.ThrowIfDisposed()
Namespace: OpenCvSharp
Assembly: OpenCvSharp.dll
Syntax
public sealed class TonemapReinhard : Tonemap, ICvPtrHolder

Properties

| Improve this Doc View Source

ColorAdaptation

Gets or sets chromatic adaptation in [0, 1] range. If 1 channels are treated independently, if 0 adaptation level is the same for each channel.

Declaration
public float ColorAdaptation { get; set; }
Property Value
Type Description
System.Single
| Improve this Doc View Source

Intensity

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

Declaration
public float Intensity { get; set; }
Property Value
Type Description
System.Single
| Improve this Doc View Source

LightAdaptation

Gets or sets 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.

Declaration
public float LightAdaptation { get; set; }
Property Value
Type Description
System.Single

Methods

| Improve this Doc View Source

Create(Single, Single, Single, Single)

Creates TonemapReinhard object

Declaration
public static TonemapReinhard Create(float gamma = 1F, float intensity = 0F, float lightAdapt = 1F, float colorAdapt = 0F)
Parameters
Type Name Description
System.Single gamma

positive value for gamma correction. Gamma value of 1.0 implies no correction, gamma equal to 2.2f is suitable for most displays. Generally gamma > 1 brightens the image and gamma < 1 darkens it.

System.Single intensity

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

System.Single lightAdapt

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.

System.Single colorAdapt

chromatic adaptation in [0, 1] range. If 1 channels are treated independently, if 0 adaptation level is the same for each channel.

Returns
Type Description
TonemapReinhard
| Improve this Doc View Source

DisposeManaged()

Releases managed resources

Declaration
protected override void DisposeManaged()
Overrides
Tonemap.DisposeManaged()
| Improve this Doc View Source

DisposeUnmanaged()

Declaration
protected override void DisposeUnmanaged()
Overrides
Tonemap.DisposeUnmanaged()
| Improve this Doc View Source

Get()

Declaration
public override IntPtr Get()
Returns
Type Description
IntPtr
Overrides
Tonemap.Get()

Implements

ICvPtrHolder
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX