Hillshade.with_windows

Hillshade.with_windows(window_size: int = 1024, pad_mode: str = 'edge')

Configure the window generation for processing image

Parameters:
  • window_size (int, optional, default=1024) – Size of windows for splitting the processed image in small parts so that processing can be distributed on several cpus.

  • pad_mode (str, optional, default="edge") – Mode for padding data around the windows that are on the edge of the image. See https://numpy.org/doc/stable/reference/generated/numpy.pad.html

Returns:

The current instance so that it is possible to chain the with… calls (fluent API)

Return type:

eolab.georastertools.Rastertool