I have classified an image and am left with the usual salt and pepper matrix. I can see that there are patterns in the classification that will require a method to combine areas that have a range of classified pixels (i.e. if an area within 40 pixels contains 30-40% of this classification and 20-40% of this, then it should be classified at such and such). Any one have any ideas on how to accomplish this? I assume that it will best be accomplished using a mixture of tools and coding, but not certain where to start. Thanks!