darsia.DynamicThresholdModel#
- class DynamicThresholdModel(method=None, threshold_lower=None, threshold_upper=None, labels=None, key='', **kwargs)[source]#
Bases:
StaticThresholdModelClass for dynamic thresholding.
Constructor of DynamicThresholdModel.
- Parameters:
Methods
calibrate(img, mask)Adapt threshold values using a dynamic strategies.
update_model_parameters(*args)