lFlags

Flag that indicates which color space to remap. Possible values are:

Value

Meaning

RGB_SPACE

[0x0001] Use the histogram of RGB color space. (separated channels)

YUV_SPACE

[0x0002] Use the histogram of YUV color space.(Best results)

GRAY_SPACE

[0x0004] Use the histogram of a gray level representation of the image.