make_neg_windows#
- make_neg_windows(raster_source: RasterSource, label_source: ObjectDetectionLabelSource, chip_size: int, nb_windows: int, max_attempts: int, filter_windows: Callable, chip_nodata_threshold: float = 1.0) List[Box] [source]#
- Parameters
raster_source (RasterSource) –
label_source (ObjectDetectionLabelSource) –
chip_size (int) –
nb_windows (int) –
max_attempts (int) –
filter_windows (Callable) –
chip_nodata_threshold (float) –
- Return type