Click or drag to resize

TonemapReinhardCreate Method

Creates TonemapReinhard object

Namespace:  OpenCvSharp
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0
Syntax
public static TonemapReinhard Create(
	float gamma = 1f,
	float intensity = 0f,
	float lightAdapt = 1f,
	float colorAdapt = 0f
)

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.
intensity (Optional)
Type: SystemSingle
result intensity in [-8, 8] range. Greater intensity produces brighter results.
lightAdapt (Optional)
Type: SystemSingle
light adaptation in [0, 1] range. If 1 adaptation is based only on pixel value, if 0 it's global, otherwise it's a weighted mean of this two cases.
colorAdapt (Optional)
Type: SystemSingle
chromatic adaptation in [0, 1] range. If 1 channels are treated independently, if 0 adaptation level is the same for each channel.

Return Value

Type: TonemapReinhard

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

See Also