Figure 1:
Corresponding location of b, c, and d with the current pixel a in the image field.