after interpolation of sediment classes, I obtained a raster which looks like the image below (sample of the river). I would like to clump and eliminate areas within the raster that are below a certain area. I am open to use R or ArcMap 9.3.
In searching I have come across the Shrink and Expand functions in Arc. However, it doesnt work on my dataset. The function provided on this site looks promising, by applying a moving filter window in the raster
package in r
. However it does so for a continuous variable, and mine is categorical.
Any suggestions would be welcomed, thanks.
Best Answer
I believe that a sieve approach would work for you. This is a much more robust way to establish a MMU (minimal mapping unit) or filter data that focal approaches.