CLIJ2

Logo

GPU accelerated image processing for everyone

CLIJ2 home

topHatOctagon

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.

Usage in ImageJ macro

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

Back to CLIJ2 reference Back to CLIJ2 documentation

Imprint