GPU accelerated image processing for everyone

CLIJ2 home


By Robert Haase based on work by G. Landini and W. Rasband

The automatic thresholder utilizes the threshold methods from ImageJ on a histogram determined on the GPU to determine a threshold value as similar as possible to ImageJ ‘Apply Threshold’ method.

Enter one of these methods in the method text field: [Default, Huang, Intermodes, IsoData, IJ_IsoData, Li, MaxEntropy, Mean, MinError, Minimum, Moments, Otsu, Percentile, RenyiEntropy, Shanbhag, Triangle, Yen]

Usage in ImageJ macro

Ext.CLIJ2_getAutomaticThreshold(Image input, String method, Number threshold_value);

License terms

The code for the automatic thresholding methods originates from

Detailed documentation on the implemented methods can be found online:

Back to CLIJ2 reference Back to CLIJ2 documentation