Hello,
I have a points shapefile that I want to use to get the average of 4 surrounding pixels of each point (5 points). Is there a way I can do that without the need to create a buffer zone around the points.
Thanks
Hi YEMY. Sounds like you want to use the Point Statistics GP tool - under Spatial Analyst Tools/Neighbourhood in the system toolbox. Will probably need a SA license.
To get the 4 surrounding pixels, you could try using a Circle Neighbourhood with a map radius just big enough to grab the top/bottom/left/right pixels - assuming your points are centered in the cell - but haven't tested. Otherwise you could use the Focal Statistics tool with an irregular neighborhood (custom kernel file) and use the Sample GP tool to give the calculated cell value back to a point.
https://pro.arcgis.com/en/pro-app/2.9/tool-reference/spatial-analyst/point-statistics.htm
Hello, unfortunately it didn't work