Theory of Operation The weighted neighborhood average operation for each pixel uses its nine pixel neighborhood labeled below: a b c d e f g h i Then, the weighted average = ((a + c + g + i) + 2*(b + d + f + h) + 4*e)/16
The weighted neighborhood average operation for each pixel uses its nine pixel neighborhood labeled below:
a b c
d e f
g h i
Then, the weighted average = ((a + c + g + i) + 2*(b + d + f + h) + 4*e)/16