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.

Availability: Available in Fiji by activating the update sites clij and clij2. This function is part of clij2_-2.5.0.1.jar.

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