Average filter is windowed filter of linear class, that smooths signal (image). The filter works as low-pass one. The basic idea behind filter is for any elemen
Some Basic thoughts/steps:
You should be able to scale this pretty easily with 2D-memory and multidimensional kernel-calls.