Arithmetic mean filter
From AWF-Wiki
(Difference between revisions)
(→Mean filter using SAGA) |
(→Mean filter using SAGA) |
||
Line 17: | Line 17: | ||
[[File:Qgis_smooth_mean.png|400px]] | [[File:Qgis_smooth_mean.png|400px]] | ||
{| class="wikitable" | {| class="wikitable" | ||
− | |style="border: 0pt" | [[file:Qgis_campus_pansharp.png|thumb|left|400px|'''Figure B:''' Input image: | + | |style="border: 0pt" | [[file:Qgis_campus_pansharp.png|thumb|left|400px|'''Figure B:''' Input image: Sentinel-2 composite (RGB=B7,B6,B5) of campus north, University Göttingen]] |
|style="border: 0pt" | [[file:Qgis_campus_mean.png|thumb|center|400px|'''Figure C:''' Output image: mean filtered Sentinel-2 composite (RGB=B7,B6,B5) of campus north, University Göttingen]] | |style="border: 0pt" | [[file:Qgis_campus_mean.png|thumb|center|400px|'''Figure C:''' Output image: mean filtered Sentinel-2 composite (RGB=B7,B6,B5) of campus north, University Göttingen]] | ||
|} | |} | ||
[[category:Spatial Filtering]] | [[category:Spatial Filtering]] |
Revision as of 19:12, 17 November 2018
Arithmetic mean filter is commonly used for noise reduction. The filter computes the value of each output pixel by finding the statistical mean of the neighborhood of the corresponding input pixel (Fig. A).
Mean filter using OTB
Does currently not work in OTB plugin for QGIS 3.4. Use OTB standalone.
- In the search engine of the Processing Toolbox, type Smoothing and select Smoothing(mean) under Image Filtering of the Orfeo Toolbox.
- Under the Parameters tab, select a single band or a multiband file as input layer.
- Select mean from the drop-down list as Smoothing Type.
- Adjust the Radius of a circular element in pixel size.
Mean filter using SAGA
- In the search engine of the Processing Toolbox, type Simple filter and select Simple filter under Image Filtering of SAGA.
- Under the Parameters tab, select a single band as Grid.
- Select Circle from the drop-down list as Search Mode.
- Choose Smooth as Filter
- Use the 2 pixels as Radius.