AutoWhiteBalance

Performs white balance automatic setting

int AutoWhiteBalance(
        const IMAGE             *image,
        const FIG_HEADER        *figure,
        double          *whiteBalance
)

Parameters
*image
Image data address
*figure
Figure data structure address
*whiteBalance
White balance value

Return Value
NORMAL(0): Successful completion
ERROR(-1): Unsuccessful completion
ERR_WBUPP(-110): Too bright
ERR_WBLOW(-111): Too dark

Description
Performs the white balance automatic setting.
Also determines whether the input image is suitable for white balance.

Notes