ColorSpace Property (ILEADRasterDlgClr)

Visual Basic example

Visual C++ example

 

Syntax

ColorSpaceConstants ColorSpace;

Overview

Refer to Using Imaging Common Dialogs

Remarks

Gets or sets the color space to be used.

The ColorSpace property is associated with the following dialog boxes:

LocalHistoEqualize dialog box:

In this case it represents the color space to equalize. Possible values are:

 

Value

Meaning

 

RGB_SPACE

[0x0001] Linearize the number of pixels across the RGB color space. (Separated channels)

 

YUV_SPACE

[0x0002] Linearize the number of pixels across the YUV color space. (Best results)

 

GRAY_SPACE

[0x0004] Linearize the number of pixels per gray level in a gray level representation of the image.

 

Color Dialog box:

In this case it represents the color box selected when the color dialog box closed. Possible values are:

 

Value

Meaning

 

COLOR_COLORSPACE_SHOW_HUE

[0x00000010] HSB-Hue Based color space.

 

COLOR_COLORSPACE_SHOW_BRIGHTNESS

[0x00000020] HSB-Brightness Based color space.

 

COLOR_COLORSPACE_SHOW_WHEEL

[0x00000040] HSB-Wheel Based color space.

 

COLOR_COLORSPACE_SHOW_RGB

[0x00000080] RGB-3D Additive color space.

 

COLOR_COLORSPACE_SHOW_CMY

[0x00000100] CMY-3D Subtractive color space.

 

COLOR_COLORSPACE_SHOW_CMYK

[0x00000200] CMYK-3D Subtractive color space.

 

COLOR_COLORSPACE_SHOW_LAB

[0x00000400] LAB- Device Independent color space.

See Also

Elements

ShowLocalHistoEqualizeDlg method, ShowColorDlg method