Change the bit-depth of an image stack. This module provides multiple ways to handle the intensity transformation from one bit-depth to another.
Note: Different scaling modes currently only apply when reducing the bit-depth of an image. As such, converting from 8-bit to 16-bit will always result in direct conversion of intensities.
Parameters
Input image (default = "") Input image to be converted to another bit-depth.
Apply to input image (default = "true") If selected, the converted image will replace the input image in the workspace. All measurements associated with the input image will be transferred to the converted image.
Output image (default = "") Name of the output converted image.
Output image type (default = "8-bit integer") Target bit-depth to convert the image to. Pixel intensities will lie within the following ranges for each bit-depth: 8-bit (0-255), 16-bit (0-65535), 32-bit (floating point precision). Scaling mode (default = "Clip (direct conversion)") Method for calculating the intensity transformation between the input and output bit-depths
- "Clip (direct conversion)" will convert directly from the input to output bit-depth without performing any intensity scaling. As such, any input intensities outside the available range of the output bit-depth will be clipped to the closest possible value. For example, an input 16-bit image with intensity range 234-34563 converted to 8-bit will have an output range of 234-255.
- "Fill target range (normalise)" will stretch the input intensity range to fill the available output intensity range. For example, an input 16-bit image with intensity range 234-34563 converted to 8-bit will have an output range of 0-255. Images converted to 32-bit will be scaled to the range 0-1.
- "Scale proportionally" will proportionately scale intensities such that the input and output intensity ranges fill their respective bit-depths by equal amounts. For example, an input 16-bit image with intensity range 234-34563 converted to 8-bit will have an output range of 1-135.