Click or drag to resize

TonemapMantiukCreate Method

Creates TonemapMantiuk object

Namespace:  OpenCvSharp
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0
Syntax
public static TonemapMantiuk Create(
	float gamma = 1f,
	float scale = 0.7f,
	float saturation = 1f
)

Parameters

gamma (Optional)
Type: SystemSingle
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.
scale (Optional)
Type: SystemSingle
contrast scale factor. HVS response is multiplied by this parameter, thus compressing dynamic range. Values from 0.6 to 0.9 produce best results.
saturation (Optional)
Type: SystemSingle

[Missing <param name="saturation"/> documentation for "M:OpenCvSharp.TonemapMantiuk.Create(System.Single,System.Single,System.Single)"]

Return Value

Type: TonemapMantiuk

[Missing <returns> documentation for "M:OpenCvSharp.TonemapMantiuk.Create(System.Single,System.Single,System.Single)"]

See Also