Hello! I got a classified raster and for every point in that raster im trying to get all the classvalues of the points within a circular neighborhood. "Focal Statistics" seems to be efficient at getting these values and creating statistics out of them, I'm however only interested in getting the original values. Is there a way to get these ? I already tried "extract circle", however iterating over every point in a raster, extracting the raster and than converting the raster into a numpy array each time takes too much time to be a viable option.
Additional Info:
Focal_Statistics:
https://desktop.arcgis.com/en/arcmap/10.3/tools/spatial-analyst-toolbox/how-focal-statistics-works.htm#:~:text=The%20Focal%20Statistics%20tool%20performs,specified%20neighborhood%20around%20that%20location.
I found that in the arcpy.sa.function.py file where focal statistics is defined, it basically only gives metadata to the generic apply() function, that uses a built-in "Focal" function.
result = arcpy.sa.Apply(in_raster, "Focal", args)
Args containing all the parameters like rasterm radius what kind of neighborhood should be used. I couldn't find any more information of the generic "Focal" function and all the links online seems to direct to "FocalStatistics". It seems the Focal function is defined somewhere that can't be accessed directly. Does anyone have more information on that ?