Spatial morphological White Top-Hat filterΒΆ

Spatial morphological White Top-Hat filter. See Wikipedia for general information.

Parameters

Raster layer [raster]
Raster layer to be processed band-wise.
Function [string]

Python code. See scipy.ndimage.white_tophat for information on different parameters.

Default:

from scipy.ndimage.morphology import white_tophat

function = lambda array: white_tophat(array, size=(3, 3))

Outputs

Output raster layer [rasterDestination]
Raster file destination.

Command-line usage

>qgis_process help enmapbox:SpatialMorphologicalWhiteTophatFilter:

----------------
Arguments
----------------

raster: Raster layer
    Argument type:  raster
    Acceptable values:
            - Path to a raster layer
function: Function
    Default value:  from scipy.ndimage.morphology import white_tophat

function = lambda array: white_tophat(array, size=(3, 3))
    Argument type:  string
    Acceptable values:
            - String value
outputRaster: Output raster layer
    Argument type:  rasterDestination
    Acceptable values:
            - Path for new raster layer

----------------
Outputs
----------------

outputRaster: <outputRaster>
    Output raster layer