CLIJ2

Logo

GPU accelerated image processing for everyone

CLIJ2 home

convertUInt8

Convert the input image to a unsigned integer image with 8 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.

convertUInt8 often follows after

Usage in ImageJ macro

Ext.CLIJ2_convertUInt8(Image source, Image destination);

Example scripts

convert.ijm

Back to CLIJ2 reference Back to CLIJ2 documentation

Imprint