Spatial filtering is the process of moving the filter mask from point to point in
an image. For linear spatial filter, the response is given by a sum of products of
the filter coefficients, and the corresponding image pixels in the area spanned by
the filter mask.