deepness.common.processing_parameters.superresolution_parameters.SuperresolutionParameters

class SuperresolutionParameters(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, output_scaling: float, model: ModelBase, scale_factor: int)

Bases: MapProcessingParameters

Parameters for Inference of Super Resolution model (including pre/post-processing) obtained from UI.

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

output_scaling

model

scale_factor

property processing_overlap_px: int

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