AnsweredAssumed Answered

How to revalue incorrect rasters?

Question asked by lhammer96 on Dec 16, 2019
Latest reply on Dec 16, 2019 by Dan_Patterson

I've attached an example raster image of sea ice concentrations that I am working with. In this case, only the blue and orange rasters are correct values. I'm curious if there is a way to do some sort of neighborhood analysis that will revalue rasters based on the values of their neighbors. For example if a black raster is in the center of a 3 x 3 grid and has 6 blue neighbors and 2 orange neighbors, I would like that middle raster to be blue. If black center raster has 5 orange neighbors and 3 blue, I would like it to be orange. For the purpose of getting an answer lets say 4 orange and 4 black neighbors would be orange. Any way of doing this? Thanks!


Sorry if this is in the wrong place, I'm new here and would take any suggestions for improvement