Click or drag to resize

TonemapDragoCreate Method

Creates TonemapDrago object

Namespace:  OpenCvSharp
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0
Syntax
public static TonemapDrago Create(
	float gamma = 1f,
	float saturation = 1f,
	float bias = 0.85f
)

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.
saturation (Optional)
Type: SystemSingle
positive saturation enhancement value. 1.0 preserves saturation, values greater than 1 increase saturation and values less than 1 decrease it.
bias (Optional)
Type: SystemSingle
value for bias function in [0, 1] range. Values from 0.7 to 0.9 usually give best results, default value is 0.85.

Return Value

Type: TonemapDrago

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

See Also