I'm currently working with DEM rasters that I hillshaded. The data I received contain nodata borders, probably the footprint of the originial mosaic dataset. As I received them separately, I can't work on the footprint to delete the nodata lines. I'm trying to calculate the noData cells using the average value of the cells next to it, using raster calculator and this expression:
Con(IsNull("DEM"), FocalStatistics("DEM", NbrRectangle(5,5, "CELL"), "MEAN"), "DEM")
The expression is working, but I'm losing quality of my hillshaded DEM. Do you know how I can avoid this?
Before raster Calculator
After calculator on the down DEM