Figure 1: The center pixel and its 8 neighborhood pixels.