| imregister (Aug2004) | rjtools | imregister (Aug2004) |
If a very large transformation is required, one may want to start with marking only a few reference objects that can easilly be identified in the image to be registered. And subsequently use more objects to perform the final registration during a second call to this task. If a transposition is involved you may want to transpose the image first, such that the image orientation is closer to that of the reference image.
Note, that interpolation of pixel values always leads to a slight loss in spatial resolution, and in a change of the noise characteristics of the images (correlated noise).
rj> imregister 0152.NGC5267U 0152.NGC5267Ur 0137.NGC5267U "" refrecen+
IMREGISTER: input = "0152.NGC5267U.fits"
reference = "0137.NGC5267U.fits"
Wait for the cursor cross to appear in the image display area, then
mark at least 3 objects (stars) for coordinate referencing using
the 'c' key (press q to quit).
...
(mark stars)
...
Recentering objects in the reference coordinate list ...
Wait for the cursor cross to appear in the image display area, then
mark all reference stars in the same order using the 'c' key.
...
(mark one or more stars, depending on the situation)
...
Guessing the positions of the unmarked reference objects...
Recentering objects in the coordinate list ...
GEOMAP: Computing the spatial transformation function...
X fit ok. Y fit ok.
Xin and Yin fit rms: 0.06708224 0.0366997
Mean Xref and Yref: 321.5475 289.5375
Mean Xin and Yin: 320.9775 289.715
X and Y shift: -0.6733525 0.5605336 (xin yin)
X and Y scale: 0.9995855 0.9995855 (xin / xref yin / yref)
X and Y axis rotation: 0.047 0.047 (degrees degrees)
GEOTRAN: 0152.NGC5267U.fits --> 0152.NGC5267Ug.fits
Finished.
and text log file 'register.log' will list the following information:
IMREGISTER: IRAF2.12.1 raj@hasnap Dec 10 22:37:49 2003
reference = 0137.NGC5267U.fits
refcoords = 0137.NGC5267U.coo
input = 0152.NGC5267U.fits
TVMARK: N_obj = 5, N_marked = 1, N_guessed = 4
GEOMAP: Computing the spatial transformation function...
X fit ok. Y fit ok.
Xin and Yin fit rms: 0.06708224 0.0366997
Mean Xref and Yref: 321.5475 289.5375
Mean Xin and Yin: 320.9775 289.715
X and Y shift: -0.6733525 0.5605336 (xin yin)
X and Y scale: 0.9995855 0.9995855 (xin / xref yin / yref)
X and Y axis rotation: 0.047 0.047 (degrees degrees)
GEOTRAN: interpol = spline3 boundary=wrap
0152.NGC5267U.fits --> 0152.NGC5267Ug.fits
IMREGISTER: Finished.