To use these functions, the ImageJCV Feature is required.
ReinterpretCV(ImageJCV i, Number newWidth, Number newhHeight, Number newDepth, Number newNumChannels, Number newPixelFormat)
Reinterprets the content of an image (argument 0) as another image with different width, height, depth, number of channels or pixel format. Any parameter which is set to 1 will be replaced by the corresponding value of the original image. Buffer sizes of original and reinterpreted image must match!
Example: Convert a 16-bit grayscale image to a 32-bit RGBA image with half of the width: