So I doing some work with Rasters in ArcPro. Essential, we are looking at a land cover raster and trying to identify mean crop size. However, at a 30m pixel resolution, we're finding that we're losing pixel continuity on features that aren't wide enough (for example roads). Is there an automated way in Arc to say "if a pixel of a certain value is within 2 pixels of another pixel of the same value, overide the pixel of a different value to create continuity". For example: Below there is a black line running from the southeast corner towards the northwest, with a slight break in it where the road feature isn't quite capture. When pulling our metrics out, we want the grey space on the right of that black line to be a unique patch from the grey on the left of the black line... Is there a raster tool that would help us "fill in roads" where we have these breaks?
You'll probably have to play about with raster operations An overview of the Generalization toolset—ArcGIS Pro | Documentation , something like Expand and Shrink. If it was me, I might be tempted to use Raster to Polyline Raster to Polyline (Conversion)—ArcGIS Pro | Documentation and use the simplify option then maybe some manual cleanup or use of other Generalization tools.