| TonemapDurandCreate Method |
Creates TonemapDurand object
Namespace:
OpenCvSharp.XPhoto
Assembly:
OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0
Syntax public static TonemapDurand Create(
float gamma = 1f,
float contrast = 4f,
float saturation = 1f,
float sigmaSpace = 2f,
float sigmaColor = 2f
)
Public Shared Function Create (
Optional gamma As Single = 1F,
Optional contrast As Single = 4F,
Optional saturation As Single = 1F,
Optional sigmaSpace As Single = 2F,
Optional sigmaColor As Single = 2F
) As TonemapDurand
public:
static TonemapDurand^ Create(
float gamma = 1f,
float contrast = 4f,
float saturation = 1f,
float sigmaSpace = 2f,
float sigmaColor = 2f
)
static member Create :
?gamma : float32 *
?contrast : float32 *
?saturation : float32 *
?sigmaSpace : float32 *
?sigmaColor : float32
(* Defaults:
let _gamma = defaultArg gamma 1f
let _contrast = defaultArg contrast 4f
let _saturation = defaultArg saturation 1f
let _sigmaSpace = defaultArg sigmaSpace 2f
let _sigmaColor = defaultArg sigmaColor 2f
*)
-> TonemapDurand
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. - contrast (Optional)
- Type: SystemSingle
resulting contrast on logarithmic scale, i. e. log(max / min), where max and min - 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. - sigmaSpace (Optional)
- Type: SystemSingle
bilateral filter sigma in coordinate space - sigmaColor (Optional)
- Type: SystemSingle
bilateral filter sigma in color space
Return Value
Type:
TonemapDurand[Missing <returns> documentation for "M:OpenCvSharp.XPhoto.TonemapDurand.Create(System.Single,System.Single,System.Single,System.Single,System.Single)"]
See Also