deepness.common.processing_parameters.map_processing_parameters.MapProcessingParameters

class MapProcessingParameters(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)

Bases: object

Common parameters for map processing obtained from UI.

TODO: Add default values here, to later set them in UI at startup

Methods

Attributes

processing_overlap_px

Always divisible by 2, because overlap is on both sides of the tile

processing_stride_px

resolution_m_per_px

tile_size_m

resolution_cm_per_px

processed_area_type

tile_size_px

batch_size

local_cache

input_layer_id

mask_layer_id

processing_overlap

input_channels_mapping

property processing_overlap_px: int

Always divisible by 2, because overlap is on both sides of the tile