Northern
Eclipse Help Reference |
Convert To 16-bit Gray |
This function is used convert the current image into a 16-bits per pixel image (1 plane of 16-bit grayscale data).
When the image source is color, the color data is converted into a grayscale value. If the color data is less than 16 bits in depth, the data is bit promoted with zeros used for the least significant data.
When the image source is Gray 8, the data is copied with bit promotion and zeros used for the least significant bits. If it is a floating-point image, the intensity range is calculated and used to divide the image into 65536 gray values.
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 24-bit Color, Convert to 8-bit Gray, Convert to Floating-Point Gray |
References |
Table of Contents |