if prev_current_window_scaled_coords is None:

                # Locate the centre pixel coordinate that will define the origin of the geometric scaling procedure.
                current_window_scaled_coords = TSEPoint((image_centre_x - patch_half_width), i), TSEPoint((image_centre_x + patch_half_width), i + template_patch_height)