We start with a 0-padded image and a filter, with 'pixels' containing values calculated by the function we want to apply all over the image. Different filters use different functions, which produce different filter values. The above filter will blur the image.