Northern
Eclipse Help Reference |
Convert To 24-bit Color |
This function is used convert the current image into a 24-bits per pixel image (3 planes of 8-bits each for Red, Green, and Blue).
When the image source is monochrome, the monochrome data is copied into each color plane. If the monochrome data is greater than 8 bits in depth, only the most significant 8 bits are used. If it is a floating-point image, it is first internally converted to 8-bit gray.
When the image source is RGB 48, the most significant 8-bits are copied into the respective planes.
This function does nothing if the image is already the correct type.
This function works on the current image. The result is a new image.
See Also |
Convert to 48-bit Color, Convert to 8-bit Gray, Convert to 16-bit Gray, Convert to Floating-Point Gray |
References |
Table of Contents |