The Majority filter is often used in the post-processing of a thematic per pixel classification map. It generalizes and reduces single pixel misclassifactions.
- In the search engine of the Processing Toolbox, type Majority and select Majority filter under Raster filter of SAGA.
- Select a thematic classification map as Grid.
- Select search mode circle
- Type 2 (pixels) as Radius.