QGIS Python Plugins Repository
SciPy Filters
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.
Python users get helpers.RasterWizard to quickly get the data of a raster layer as numpy array and the processing result back into QGIS as a new raster layer.
- Author
- Florian Neukirchen
- Maintainer
- riannek
- Tags
- python , raster , filter , analysis , edge , principal components analysis , pca , image , smoothing , no data
- Plugin home page
- https://github.com/florianneukirchen/scipy_filters
- Tracker
- Browse and report bugs
- Code repository
- https://github.com/florianneukirchen/scipy_filters
- Latest stable version
- 1.4
- Latest experimental version:
- 0.3
- Plugin ID
-
3297
Version | Experimental | Min QGIS version | Max QGIS version | Downloads | Uploaded by | Date |
---|---|---|---|---|---|---|
1.4 | no | 3.22.0 | 3.99.0 | 1267 | riannek | 2024-09-06T07:04:07.212417+00:00 |
1.2 | no | 3.22.0 | 3.99.0 | 1193 | riannek | 2024-04-20T21:32:59.677248+00:00 |
1.1 | no | 3.22.0 | 3.99.0 | 306 | riannek | 2024-04-16T15:55:53.543021+00:00 |
1.0 | no | 3.22.0 | 3.99.0 | 385 | riannek | 2024-04-02T10:28:30.654146+00:00 |
0.3 | yes | 3.22.0 | 3.99.0 | 396 | riannek | 2024-03-23T09:45:40.432231+00:00 |
0.2 | yes | 3.22.0 | 3.99.0 | 329 | riannek | 2024-03-15T13:44:54.391657+00:00 |
0.1 | yes | 3.22.0 | 3.99.0 | 276 | riannek | 2024-03-07T17:07:19.306919+00:00 |