RemapIntensity method (ILEADRasterProcess)
short RemapIntensity (ILEADRaster *pRaster, ChannelConstants Channel); | |
Overview |
Refer to Changing Brightness and Contrast. |
Remarks
Uses a lookup table to change the bitmap's intensity values. You can apply the change to red, green, blue, or all color channels.
Use the RemapTable property to maintain the lookup table. Intensity levels range from 0 to 255. Therefore, the lookup table has 256 entries. The current intensity values correspond to the table indexes. The values of the entries are the new values to be applied.
This method supports 12 and 16-bit grayscale images and 48 and 64-bit color images. Support for 12 and 16-bit grayscale images and 48 and 64-bit color images is available only in the Document/Medical toolkits.
This method does not support signed data images. It returns the error code ERROR_SIGNED_DATA_NOT_SUPPORTED if a signed data image is passed to this method.
See Also
Elements: |
|
Topics: |
|
|