hysteresis_threshold#

omnipose.utils.hysteresis_threshold(image, low, high)[source]#

Pytorch implementation of skimage.filters.apply_hysteresis_threshold(). Discprepencies occur for very high thresholds/thin objects.