| 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
)
Public Shared Function Create (
Optional gamma As Single = 1F,
Optional saturation As Single = 1F,
Optional bias As Single = 0.85F
) As TonemapDrago
public:
static TonemapDrago^ Create(
float gamma = 1f,
float saturation = 1f,
float bias = 0.85f
)
static member Create :
?gamma : float32 *
?saturation : float32 *
?bias : float32
(* Defaults:
let _gamma = defaultArg gamma 1f
let _saturation = defaultArg saturation 1f
let _bias = defaultArg bias 0.85f
*)
-> TonemapDrago
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