Next: sun_b, Previous: subshift, Up: Internal Routines [Contents][Index]
subshiftc, im1, im2, xoff, yoff [,
apod]
Determines the sub-pixel shift between two two-dimensional images
im1
and im2
and returns the found shift
(measured in pixels) in xoff
and yoff
. If
apod
is specified, then apodization is applied to the
compared images. The merit value (i.e., the measure of goodness) is
returned in global variable !meritc
. This routine favors
algorithm symmetry over execution speed; i.e., the results for a
positive shift are nearly equal to the results for the corresponding
negative shift.