dacapo.experiments.tasks.inner_distance_task_config

Classes

InnerDistanceTaskConfig

This is a Distance task config used for generating and

Module Contents

class dacapo.experiments.tasks.inner_distance_task_config.InnerDistanceTaskConfig

This is a Distance task config used for generating and evaluating signed distance transforms as a way of generating segmentations.

The advantage of generating distance transforms over regular affinities is you can get a denser signal, i.e. 1 misclassified pixel in an affinity prediction could merge 2 otherwise very distinct objects, this cannot happen with distances.

channels

A list of channel names.

clip_distance

Maximum distance to consider for false positive/negatives.

tol_distance

Tolerance distance for counting false positives/negatives

scale_factor

The amount by which to scale distances before applying a tanh normalization.

Notes

This is a subclass of TaskConfig.

task_type
channels: List[str]
clip_distance: float
tol_distance: float
scale_factor: float