Show / Hide Table of Contents

Class TonemapMantiuk

This algorithm transforms image to contrast using gradients on all levels of gaussian pyramid, transforms contrast values to HVS response and scales the response. After this the image is reconstructed from new contrast values.

For more information see @cite MM06.

Inheritance
System.Object
DisposableObject
DisposableCvObject
Algorithm
Tonemap
TonemapMantiuk
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 TonemapMantiuk : Tonemap, ICvPtrHolder

Properties

| Improve this Doc View Source

Saturation

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

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

Scale

Gets or sets contrast scale factor. HVS response is multiplied by this parameter, thus compressing dynamic range. Values from 0.6 to 0.9 produce best results.

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

Methods

| Improve this Doc View Source

Create(Single, Single, Single)

Creates TonemapMantiuk object

Declaration
public static TonemapMantiuk Create(float gamma = 1F, float scale = 0.7F, float saturation = 1F)
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 scale

contrast scale factor. HVS response is multiplied by this parameter, thus compressing dynamic range. Values from 0.6 to 0.9 produce best results.

System.Single saturation
Returns
Type Description
TonemapMantiuk
| 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