Figure 8 High-pass filter convolution masks

 0  -1   0
-1   5  -1
 0  -1   0
-1  -1  -1
-1   9  -1
-1  -1  -1
 1  -2   1
-2   5  -2
 1  -2   1