deepness.common.processing_parameters.segmentation_parameters.SegmentationParameters¶
- class SegmentationParameters(resolution_cm_per_px: float, processed_area_type: ProcessedAreaType, tile_size_px: int, batch_size: int, local_cache: bool, input_layer_id: str, mask_layer_id: str | None, processing_overlap: ProcessingOverlap, input_channels_mapping: ChannelsMapping, postprocessing_dilate_erode_size: int, model: ModelBase, pixel_classification__probability_threshold: float)¶
Bases:
MapProcessingParametersParameters for Inference of Segmentation model (including pre/post-processing) obtained from UI.
Methods
Attributes
Always divisible by 2, because overlap is on both sides of the tile
processing_stride_pxresolution_m_per_pxtile_size_mpostprocessing_dilate_erode_sizemodelpixel_classification__probability_threshold- property processing_overlap_px: int¶
Always divisible by 2, because overlap is on both sides of the tile