| 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
)
Public Shared Function Create (
Optional gamma As Single = 1F,
Optional intensity As Single = 0F,
Optional lightAdapt As Single = 1F,
Optional colorAdapt As Single = 0F
) As TonemapReinhard
public:
static TonemapReinhard^ Create(
float gamma = 1f,
float intensity = 0f,
float lightAdapt = 1f,
float colorAdapt = 0f
)
static member Create :
?gamma : float32 *
?intensity : float32 *
?lightAdapt : float32 *
?colorAdapt : float32
(* Defaults:
let _gamma = defaultArg gamma 1f
let _intensity = defaultArg intensity 0f
let _lightAdapt = defaultArg lightAdapt 1f
let _colorAdapt = defaultArg colorAdapt 0f
*)
-> TonemapReinhard
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