Method Create
- Namespace
- OpenCvSharp.XPhoto
- Assembly
- OpenCvSharp.dll
Create(float, float, float, float, float)
Creates TonemapDurand object
public static TonemapDurand Create(float gamma = 1, float contrast = 4, float saturation = 1, float sigmaSpace = 2, float sigmaColor = 2)
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.
contrastfloatresulting contrast on logarithmic scale, i. e. log(max / min), where max and min
saturationfloatpositive saturation enhancement value. 1.0 preserves saturation, values greater than 1 increase saturation and values less than 1 decrease it.
sigmaSpacefloatbilateral filter sigma in coordinate space
sigmaColorfloatbilateral filter sigma in color space