GPU accelerated image processing for everyone

CLIJ2 home


Applies a minimum filter with kernel size 3x3 n times to an image iteratively.

Odd iterations are done with box neighborhood, even iterations with a diamond. Thus, with n > 2, the filter shape is an octagon. The given number of iterations - 2 makes the filter result very similar to minimum sphere.

Categories: Background, Filter

Usage in ImageJ macro

Ext.CLIJx_topHatOctagonSliceBySlice(Image input, Image destination, Number iterations);

Back to CLIJ2 reference Back to CLIJ2 documentation