4 Jan 2021

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.

This 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.
Besides, 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