Method Create
- Namespace
- OpenCvSharp
- Assembly
- OpenCvSharp.dll
Create(float, float, float)
Creates TonemapMantiuk object
public static TonemapMantiuk Create(float gamma = 1, float scale = 0.7, float saturation = 1)
Parameters
gammafloatpositive 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.
scalefloatcontrast scale factor. HVS response is multiplied by this parameter, thus compressing dynamic range. Values from 0.6 to 0.9 produce best results.
saturationfloat