GPU accelerated image processing for everyone

CLIJ2 home


Apply a maximum filter (diamond shape) to the input image.

The radius is fixed to 1 and pixels with value 0 are ignored. Note: Pixels with 0 value in the input image will not be overwritten in the output image. Thus, the result image should be initialized by copying the original image in advance.

Usage in ImageJ macro

Ext.CLIJ2_nonzeroMaximumDiamond(Image input, Image destination);

Back to CLIJ2 reference Back to CLIJ2 documentation