Table of Contents

Class Tonemap

Namespace
OpenCvSharp
Assembly
OpenCvSharp.dll

Base class for tonemapping algorithms - tools that are used to map HDR image to 8-bit range.

public class Tonemap : Algorithm, IDisposable
Inheritance
Tonemap
Implements
Derived
Inherited Members

Constructors

Tonemap(nint, nint, Action<nint>)

Relay constructor for subclasses.

Properties

Gamma

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

Methods

Create(float)

Creates simple linear mapper with gamma correction

Process(InputArray, OutputArray)

Tonemaps image