satellit_sam.workflows.process.tiling
satellit_sam.workflows.process.tiling
Auto-generated from
satellit_sam/src/satellit_sam/workflows/process/tiling.pybysatellit_sam/scripts/generate_api_docs.py.
Workflow helpers for image tiling.
Functions
make_image_tiles
def make_image_tiles(
image_path: Path, output_path: Path, tile_width: int, tile_height: int, overlap: int
) -> TilesDir:
Load an image from disk and save tiled outputs.
GeoTIFF inputs are tiled via GDAL window reads so only one tile-sized
raster portion is loaded in memory at a time.
Arguments
image_path: Path to the source image. output_path: Directory where tile outputs are written. tile_width: Tile width in pixels. tile_height: Tile height in pixels. overlap: Overlap between neighboring tiles in pixels.
Returns
Tile directory descriptor for generated outputs.
Exceptions
ValueError: If tile dimensions or overlap values are invalid.
Classes
No public classes.