Related Plugins and Tags

QGIS Python Plugins Repository

SciPy Filters Plugin icon

Plugin ID: 3297
(3) votes 

Filter collection implemented with SciPy

QGIS plugin providing access to SciPy filters via the processing toolbox. SciPy offers a range of highly optimised algorithms for i.e. multidimensional image processing and signal processing, and some can be useful to analyze raster layers.
Includes raster filters such as:
- binary/grey morphology (dilation, erosion, closing, opening; tophat etc.)
- principal component analysis (PCA)
- statistical filters (local variance, std, median, minimum, percentile etc.)
- edge detection (sobel, prewitt, gaussian magnitude etc.)
- convolution with a custom kernel (both, classic and FFT versions)
- sharpening with unsharp mask
- noise removal with Wiener filter
- blurring (gaussian, box filter etc.)
- Pixel statistics (std, mean, min ... of all bands for individual pixels)
- Get no data mask, apply no data mask (i.e. set cells to no data)
- fill no data cells of all bands with value, band mean or minimum, maximum or central value of the data type
Most filters are based on scipy.ndimage, a library to filter images (or arrays, rasters) in n dimensions. These are either applied on each layer seperately in 2D, or in 3D on a 3D datacube consisting of all bands. In most cases, the plugin simply provides a user interface for a single SciPy function, gets the raster data using GDAL, calls the SciPy function with the provided parameters and loads the result back into QGIS. A few filters (PCA, unsharp mask, pixel statistics etc.) use custom functions that where implemented using SciPy and/or Numpy.
For many filters, a custom footprint and/or structure or kernel can be provided, adjusting the size and shape of the filter.

Florian Neukirchen
pythonrasterfilteranalysisedgeprincipal components analysispcaimagesmoothingno data
Plugin home page
Browse and report bugs
Code repository
Latest stable version
Latest experimental version:
Plugin ID
Version Experimental Min QGIS version Max QGIS version Downloads Uploaded by Date
1.0 no 3.22.0 3.99.0 157 riannek 2024-04-02T10:28:30.654146+00:00
0.3 yes 3.22.0 3.99.0 53 riannek 2024-03-23T09:45:40.432231+00:00
0.2 yes 3.22.0 3.99.0 44 riannek 2024-03-15T13:44:54.391657+00:00
0.1 yes 3.22.0 3.99.0 78 riannek 2024-03-07T17:07:19.306919+00:00

Sustaining Members