RasterFilter
- class eolab.georastertools.processing.rasterproc.RasterFilter(name: str, algo: ~typing.Callable | None = None, nodata: float = -2.0, dtype: ~numpy.dtype = <class 'numpy.float32'>, per_band_algo: bool = False)[source]
Bases:
RasterProcessingClass that defines a raster processing for applying a filter on a kernel (square of configurable size).
Attributes
Process an algo that is called on a multidimensional array of data
Aliases of the processing
Definition of Arguments that parametrize the processing algorithm (see with_arguments for the description of the data structure)
Set the compression to use
Long description of the processing
Type of the generated data
Help message of the processing
Type of the processed data
Name of the processing
Bits size of the generated data
No data value of the generated data
Whether the algo is applied on a dataset that contains only one band (per_band_algo=True) or on a dataset with all bands (per_band_algo=False)
Methods
RasterFilter.__init__(name[, algo, nodata, ...])Constructor.
RasterFilter.compute(input_data)Compute the output from the different bands of the input data.
RasterFilter.configure(argsdict)Configure the processing algo with its specific arguments' values
RasterFilter.with_arguments(arguments)Add new arguments that parametrize the processing algorithm.
RasterFilter.with_documentation([aliases, ...])Set up the documentation for the processing