Arithmetic mean filter

From AWF-Wiki
Jump to: navigation, search

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).

Figure A: Principle of arithmetic mean filtering using a rectangular moving window to define a neighborhood

Mean filter using QGIS OTB plugin

  • In search engine of the Processing Toolbox, type Smoothing and select Smoothing 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.

OTB Smoothing mean.png

Mean filter using SAGA

  • In search engine of the Processing Toolbox, type Simple filter and select Simple filter under Raster Filter 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.

Qgis smooth mean.png

Figure B: Input image: Sentinel-2 composite (RGB=B7,B6,B5) of campus north, University Göttingen
Figure C: Output image: mean filtered Sentinel-2 composite (RGB=B7,B6,B5) of campus north, University Göttingen
Personal tools
Namespaces

Variants
Actions
Navigation
Development
Toolbox
Print/export