how can I eliminate "island" raster cells from a layer?

Discussion created by weigelsj on Feb 19, 2013
Latest reply on Feb 21, 2013 by curtvprice
I want to clean up a raster layer by generalizing in a way that any "island" cells are eliminated.  There are only 2 values in the layer, 0 and 6.  So, for any cell that is currently of value 6 that is surrounded by all 8 cells with a value of 0, I want to change the "island" cell from a 6 to a zero.  

There must be a way to do this, but I am new to using raster analysis in arcgis and have tried everything I can think of.

Thanks for any ideas.