Thresholding From Mean
This module performs an adaptive global thresholding of the input image by computing a deviation from the mean of its grayscale values.
The ThresholdingFromMean module performs an adaptive thresholding of the input data based on a deviation from the mean of its grayscale values.
The computation of the mean is global to the input image.
The deviation can be either multiplicative, as a proportion of the mean, or additive, as a static offset from the mean.
In addition, it is also possible to limit the result, as well as the computation of the mean, to a custom portion of the input data by providing a mask for it.
Data courtesy of Florie Mialhe, CNES Toulouse