MaskTable property (Main Control)

Visual Basic example
Visual C++ 4.0 example

Syntax short MaskTable (short iIndex);

Overview:  Refer to Changing Brightness and Contrast.

Remarks

Lookup table that identifies the valid values in the HTable. This is one of the four tables that the RemapHue method uses to change the bitmap's hue, saturation and value. Hue, Saturation, and Value levels range from 0 to 255. Therefore, the lookup tables each have 256 entries. The current hue, saturation and value of a pixel correspond to the table indexes. If the bUseMaskTable parameter is set to TRUE when the RemapHue method is called, then this table is used to identify which values in the HTable property are valid. If MaskTable(i) is non-zero, then HTable(i) is to be used. If MaskTable(i) is 0 then HTable(i) is ignored.

See Also

Elements:  RemapHue method, HTable property, STable property, VTable property, HSV_HfromRGB method, HSV_SfromRGB method, HSV_VfromRGB method, RGBfromHSV method

Topics:  Raster Images: Modifying Intensity Values