Determination of transform parameters for the alignment of images, i.e. image registration using correlation-based methods