Clump and eliminate classes in a raster in ArcMap or R

المشرف العام

Administrator
طاقم الإدارة
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.





أكثر...
 
أعلى