Extend this to create a main object which will run 'cls' (a benchmark).
This class encompasses an attempt to create a fast sequential focal mean operation, using whatever tricks we can to eke out some speed.
Extend this to create an actual benchmarking class.
Result: Array.fill is really slow and should not be used
Reading the same raster as a .tif (with GeoTools) and as an ARG with GeoTrellis
This class encompasses an attempt to create a fast sequential focal mean operation, using whatever tricks we can to eke out some speed.
We require the raster to contain array data, which we will look up via apply instead of get. The kernel is a square, and the length of a side is twice the radius plus one. Thus, radius=1 means a 3x3 square kernel (9 cells), and radius=3 means a 7x7 square kernel (49 cells).