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