CLIJ2

Logo

GPU accelerated image processing for everyone

CLIJ2 home

convertUInt16

Convert the input image to a unsigned integer image with 16 bits per pixel.

Pixel values are copied as they are. Use multiplyImageWithScalar in order to scalepixel values when reducing bit-depth to prevent cutting-off intensity ranges. The target image should not exist with a different type before this method is called.

convertUInt16 often follows after

Usage in ImageJ macro

Ext.CLIJ2_convertUInt16(Image source, Image destination);

Example scripts

bitdepthConversion.ijm
convert.ijm

Back to CLIJ2 reference Back to CLIJ2 documentation

Imprint