Figure 5. The illustration of the SSD criterion for image registration.
The panels (A,B) show the reference image and the image to be registered. The panel (C) shows overlaying of both the images, the gray part corresponds to the difference between the images. The panel (D) shows the difference on itself. As the patterns are 3 × 3 pixels, the difference part corresponds to SSD of 4.