HOW TO
Using a 'kernal file' will restrict the analysis to the neighbours surrounding the cell currently being processed. Some simple mathematical evaluations will lead to the final result.
3 3
1 1 1
1 0 1
1 1 1
Code:
Grid: fmax = FOCALMAX (in_grd, IRREGULAR, donut.txt)
Grid: fmin = FOCALMIN (in_grd, IRREGULAR, donut.txt)
Code:
Grid: diffmax = ABS (fmax - in_grd)
Grid: diffmin = ABS (in_grd - fmin)
Code:
Grid: finaldiff = MAX (diffmax, diffmin)
Get help from ArcGIS experts
Download the Esri Support App