ScanSettings

Contents

ScanSettings#

class rapidtools.processing.feature_extractors.ScanSettings(building: bool, overlap_ratio: float, merge_overlaps: bool, neck_width_m: float, min_detection_rate: float, regularize: bool)[source]#

Bases: object

The scan settings in effect for a prompt (see SAM3OrthoFeatureExtractor.scan_settings()).

Variables:
  • building (bool) – Whether the prompt asks for buildings.

  • overlap_ratio (float) – Fractional overlap between adjacent tiles.

  • merge_overlaps (bool) – Dissolve touching detections (True) or keep one asset per object.

  • neck_width_m (float) – Width below which masks are cut into pieces.

  • min_detection_rate (float) – Share of the tiles seeing an object that must have detected it.

  • regularize (bool) – Give the footprints straight, square walls.