Image type converter

Change the bit-depth of an image stack.

Description

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

ParameterDescription
Input imageInput image to be converted to another bit-depth.
Apply to input imageIf 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 imageName of the output converted image.
Output image typeTarget 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 modeMethod 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.