Graph of changes in the value of the criterion J as a function of Δm and Δn . Depending on the displacements of the points V
1 to V
5 (Δm and Δn), the value of the criterion J is calculated. One global minimum occurring for the displacements -18 and -3 pixels in the axis of rows and columns respectively is visible. This value provides information about the need to move the image of the patient so that it would better (with respect to the criterion J) match the pattern.