STable property (Main Control)
Builder Syntax |
L_UINT STable [L_UINT uIndex]; |
Delphi Syntax |
STable [uIndex: L_UINT]: L_UINT; |
Overview |
Refer to Changing Brightness and Contrast. |
Remarks
If the bUseMaskTable and bUseSTable parameters are set to TRUE when the RemapHue method is called and the MaskTable [i] entry for a particular hue is not zero, then the saturation is changed to the saturation in STable [i]. If MaskTable [i] is 0 then STable [i] is ignored. For example, if RemapHue is called with both bUseMaskTable and bUseSTable set to TRUE, then if a pixel has a hue of 85 and the MaskTable [85] is not 0, the saturation of the pixel is changed to STable [85].
If the bUseMaskTable parameter is FALSE and the bUseSTable parameter is TRUE when the RemapHue method is called, then the Saturation for each color present in the image will be changed to STable [i]. For example, if a pixel has a saturation of 70, the saturation of the pixel is changed to STable [70]. If the next pixel has a saturation of 75, the saturation of that pixel is changed to STable [75].
Saturation entries range from 0 to RemapHueTablesSize-1 where
Saturation 0 contains the most white.
Saturation RemapHueTablesSize-1 contains no white.
See Also
Elements: |
RemapHue method, MaskTable property, HTable property, RemapHueTablesSize property, VTable property, HSV_HfromRGB method, HSV_SfromRGB method, HSV_VfromRGB method, RGBfromHSV method |
Topics: |