dacapo.experiments.tasks.post_processors.threshold_post_processor

Module Contents

Classes

ThresholdPostProcessor

Base class of all post-processors.

class dacapo.experiments.tasks.post_processors.threshold_post_processor.ThresholdPostProcessor

Base class of all post-processors.

A post-processor takes a model’s prediction and converts it into the final output (e.g., per-voxel class probabilities into a semantic segmentation).

enumerate_parameters() Iterable[dacapo.experiments.tasks.post_processors.threshold_post_processor_parameters.ThresholdPostProcessorParameters]

Enumerate all possible parameters of this post-processor.

set_prediction(prediction_array_identifier)
process(parameters: dacapo.experiments.tasks.post_processors.threshold_post_processor_parameters.ThresholdPostProcessorParameters, output_array_identifier: dacapo.store.array_store.LocalArrayIdentifier, num_workers: int = 16, block_size: daisy.Coordinate = Coordinate((256, 256, 256))) dacapo.experiments.datasplits.datasets.arrays.zarr_array.ZarrArray

Convert predictions into the final output.