Available in the LEADTOOLS Imaging toolkit. |
RemapIntensity method (Main Control)
Visual Basic
example
Visual
C++ 4.0 example
Access 2.0 example
Access
95, 97 example
Visual
J++ example
Syntax short RemapIntensity (short iChannel);
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 and RemapTableSize properties to maintain the lookup table. Intensity levels range from 0 to the value of RemapTableSize property - 1. 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 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.
See Also
Elements: RemapTable property
Topics: Raster
Images: Modifying Intensity Values
Raster Images: Where the Region Preempts the Bitmap