ComponentFlags property (ILEADRasterProcess)
short ComponentFlags (short iIndex) | |
Overview |
Refer to Correcting Colors |
Remarks
Gets or sets a value that indicates how values within the range are treated, how the threshold pixel is treated and the new values for any rejected values. Possible values are
The following are the flags that indicate how the values between the minimum and maximum threshold range are treated:
Value |
Meaning |
CLTH_TYP_BANDPASS |
[0x00000000] The values falling outside the range are modified |
CLTH_TYP_BANDREJECT |
[0x00000001] The values falling inside the range are modified |
The following are the flags that indicate how the threshold pixel is treated:
Value |
Meaning |
CLTH_MOD_CHANNEL |
[0x00000000] Each channel component is modified independently. |
CLTH_MOD_ALL |
[0x00000010] The pixel is rejected by the test if one of the components is rejected. |
The following are the flags that indicate the new values for the rejected values:
Value |
Meaning |
CLTH_VALUE_MIN |
[0x00000000] The rejected values are set to 0. |
CLTH_VALUE_MAX |
[0x00000100] The rejected values are set to the maximum value. |
CLTH_VALUE_CLAMP |
[0x00000200] The rejected component values less than the ComponentMinRange property are set to the minimum value in the used color space component. The rejected component values greater than the ComponentMaxRange property are set to the maximum value in the used color space component. This works only with the CLTH_MOD_CHANNEL flag. |
See Also
Elements: |
ComponentMinRange property, ComponentMaxRange property, ColorThreshold method |
Topics: |
|
|