A common means of filtering images is through the use of "sliding neighborhood processing", where a "mask" is slid across the input image and at each point, an output pixel is computed using some formula that combines the pixels within the current neighborhood. This type of processing is shown diagrammatically in Figure 4-1, which is a high-level illustration of a 3×3 mask being applied to an image.