Spatial Prewitt filterΒΆ
Spatial Prewitt filter. See Wikipedia for general information.
Parameters
- Raster layer [raster]
- Raster layer to be processed band-wise.
- Function [string]
Python code. See prewitt for information on different parameters.
Default:
from scipy.ndimage.filters import prewitt function = lambda array: prewitt(array, axis=0)
Outputs
- Output raster layer [rasterDestination]
- Raster file destination.
Command-line usage
>qgis_process help enmapbox:SpatialPrewittFilter
:
----------------
Arguments
----------------
raster: Raster layer
Argument type: raster
Acceptable values:
- Path to a raster layer
function: Function
Default value: from scipy.ndimage.filters import prewitt
function = lambda array: prewitt(array, axis=0)
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