7
votes
2answers
129 views

Using ArcGIS to filter cells where 7 or 8 of the neighbors are different

I have land cover data that I would like to clean using some generalization tools. Majority filter does almost exactly what I want, but is missing one key option. Majority filter allows you to change ...
1
vote
1answer
342 views

Filtering a raster by pixel value with GDAL

I have downloaded Globcover data in GeoTIFF format. I want to create a new grid which only has values where the Globcover data (the only band in the TIF file) has one certain value (==190). Can I do ...
8
votes
1answer
471 views

How to apply a Majority filter in GRASS GIS?

I was wondering if someone could help me write a majority filter for GRASS GIS. I have this map (see below) which I need to run a filter over to make the red areas a bit more dominant. I know I can ...