Table of Contents

Method Create

Namespace
OpenCvSharp
Assembly
OpenCvSharp.dll

Create(float, float, float)

Creates TonemapDrago object

public static TonemapDrago Create(float gamma = 1, float saturation = 1, float bias = 0.85)

Parameters

gamma float

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.

saturation float

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

bias float

value for bias function in [0, 1] range. Values from 0.7 to 0.9 usually give best results, default value is 0.85.

Returns

TonemapDrago