CvInvokeBalanceWhite Method |
http://www.emgu.com
The function implements different algorithm of automatic white balance, i.e. it tries to map image’s white color to perceptual white (this can be violated due to specific illumination or camera settings).
Namespace: Emgu.CVAssembly: Emgu.CV (in Emgu.CV.dll) Version: 3.0.0.2161 (3.0.0.2161)
Syntaxpublic static void BalanceWhite(
Mat src,
Mat dst,
WhiteBalanceMethod algorithmType,
float inputMin = 0f,
float inputMax = 255f,
float outputMin = 0f,
float outputMax = 255f
)
Public Shared Sub BalanceWhite (
src As Mat,
dst As Mat,
algorithmType As WhiteBalanceMethod,
Optional inputMin As Single = 0F,
Optional inputMax As Single = 255F,
Optional outputMin As Single = 0F,
Optional outputMax As Single = 255F
)
public:
static void BalanceWhite(
Mat^ src,
Mat^ dst,
WhiteBalanceMethod algorithmType,
float inputMin = 0f,
float inputMax = 255f,
float outputMin = 0f,
float outputMax = 255f
)
static member BalanceWhite :
src : Mat *
dst : Mat *
algorithmType : WhiteBalanceMethod *
?inputMin : float32 *
?inputMax : float32 *
?outputMin : float32 *
?outputMax : float32
(* Defaults:
let _inputMin = defaultArg inputMin 0f
let _inputMax = defaultArg inputMax 255f
let _outputMin = defaultArg outputMin 0f
let _outputMax = defaultArg outputMax 255f
*)
-> unit
Parameters
- src
- Type: Emgu.CVMat
The source. - dst
- Type: Emgu.CVMat
The DST. - algorithmType
- Type: Emgu.CV.CvEnumWhiteBalanceMethod
Type of the algorithm to use. Use SIMPLE to perform smart histogram adjustments (ignoring 4% pixels with minimal and maximal values) for each channel. - inputMin (Optional)
- Type: SystemSingle
Minimum value in the input image - inputMax (Optional)
- Type: SystemSingle
Maximum value in the input image - outputMin (Optional)
- Type: SystemSingle
Minimum value in the output image - outputMax (Optional)
- Type: SystemSingle
Maximum value in the output image
See Also