Calculation of a weighted sum using a 3 by 3 filter with all values as 1/9 overlaid on the first pixel of an image where each cell has RGB values.

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)