CLIJ2

Logo

GPU accelerated image processing for everyone

CLIJ2 home

localThresholdPhansalkar

By Peter Haub, Robert Haase

Computes the local threshold (Fast version) based on Auto Local Threshold (Phansalkar method) see: https://imagej.net/Auto_Local_Threshold see code in: https://github.com/fiji/Auto_Local_Threshold/blob/c955dc18cff58ac61df82f3f001799f7ffaec5cb/src/main/java/fiji/threshold/Auto_Local_Threshold.java#L636 Formulary:

t = mean * (1 + p * exp(-q * mean) + k * ((stdev / r) - 1))

Category: Filter

Availability: Available in Fiji by activating the update sites clij and clij2. This function is part of clijx_-0.32.0.1.jar.

Usage in ImageJ macro

Ext.CLIJx_localThresholdPhansalkar(Image source, Image destination, Number radius, Number k, Number r);

Back to CLIJ2 reference Back to CLIJ2 documentation

Imprint