Windowable

class eolab.georastertools.Windowable[source]

Bases: object

Decorator of a eolab.georastertools.Rastertool that adds configuration parameters to set the windowable capability of the tool:

  • the window size

  • the mode for padding the window when at the edge of the image

Attributes

Windowable.pad_mode

//numpy.org/doc/stable/reference/generated/numpy.pad.html>`_ the image when the window is on the edge of the image The mode can be self defined or among [constant (default), edge, linear_ramp, maximum, mean, median, minimum, reflect, symmetric, wrap, empty].

Windowable.window_size

Size of the windows to split the image in small parts

Methods

Windowable.__init__()

Windowable.with_windows([window_size, pad_mode])

Configure the window generation for processing image