
183Correcting Imaging Defects
The 3 × 3 and 5 × 5 kernels shown earlier would be implemented by processing rows and
columns using:
1
1
11
1
2
2
22
4
°
[]
and or
11
12
4
and
Figure4.17 graphically shows the separability of the Gaussian smooth. The implementation
of some classes of convolution kernels can be separated in this way, but most cannot and for
purposes of understanding the algorithms it is best to consider the entire array of weights.
In subsequent sections on image processing, other uses for kernels are shown in which the
weights are not symmetrical and are not all positive. The implementation ...