Then, we center the filter over the origin pixel and calculate the new, filtered value of the origin by computing a weighted sum of each surrounding pixel, using the filter values as weights.

Illustration of a convolution weighted sum over one image pixel with a filter overlaid on top.

(Page 6)