A method for aligning a pair of digital images includes providing a pair
of digital images, wherein each said image comprises a plurality of
intensities corresponding to a domain of points in a D-dimensional space,
and the pair of images present adjacent views of a same object of
interest. A weighting function is applied to each image of the pair of
images, wherein the weighting function is centered on the object of
interest, the weighting function has a maximum value on the object of
interest, and the value of the weighting function decreases with
increasing distance from the object of interest. The pair of images is
aligned by correlated the weighted intensities on one image with those in
the other image.