Function details: Sediment#

In this chapter we describe additional details for certain functionalities of the Sediment widget.

Masking#

Auto Threshold#

The auto-threshold method considers the pixel distribution of the currently selected layer (Select layer to use). If multiple channels are selected, an average is computed. Then a Gaussian is fitted to the pixel intensity distribution using sklearn’s EllipticEnvelope. Based on the standard deviation \(\sigma\) and mean \(\mu\) produced by the fit and the factor \(f\) set in Distribution width factor, a min/max threshold \(t\) is set using \(t = \mu \pm f * \sigma\).