| TonemapCreate Method |
Creates simple linear mapper with gamma correction
Namespace:
OpenCvSharp
Assembly:
OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0
Syntax public static Tonemap Create(
float gamma = 1f
)
Public Shared Function Create (
Optional gamma As Single = 1F
) As Tonemap
public:
static Tonemap^ Create(
float gamma = 1f
)
static member Create :
?gamma : float32
(* Defaults:
let _gamma = defaultArg gamma 1f
*)
-> Tonemap
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.
Return Value
Type:
Tonemap[Missing <returns> documentation for "M:OpenCvSharp.Tonemap.Create(System.Single)"]
See Also