Then, we center the filter over the origin pixel and calculate the new, filtered RGB value of the origin by computing a weighted sum of each surrounding pixel's RGB values, using the filter values as weights.
(Page 8)