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