MaskTable property (Main Control)

C++ Builder example

Delphi example

 

Builder Syntax

L_UINT MaskTable [L_UINT uIndex]

Delphi Syntax

MaskTable [uIndex: L_UINT]: L_UINT

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 RemapHueTablesSize-1. Therefore, the lookup tables each have RemapHueTablesSize-1 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, RemapHueTablesSize property, VTable property, HSV_HfromRGB method, HSV_SfromRGB method, HSV_VfromRGB method, RGBfromHSV method

Topics:

Raster Images: Modifying Intensity Values