Image Registration
The Image Registration command brings the images of an Image Set into high-precision subpixel alignment. This command uses the Command Toolbar interface to work interactively with the images. Other precise alignment tools that compensate for relative shifts include Align on Point and Align on Object. If the World Coordinate System is calibrated for the images, you can also register using the Align by WCS command.
To open the Image Registration Toolbar, open the Process > Alignment menu or Coordinates > Alignment menu and select Image Registration .
See Also:
Advanced tutorial: Tutorial: Introduction to Image Registration.
"Quick Registration procedure (below): Use this when successive images are within ~20 pixels of alignment. Also see the Quick Registration Example.
Alternative methods in the Coordinates > Alignment menu: Align on Point, Align on Object, Align by WCS.
Image Registration is operated from a command toolbar. The commands are described below:
To register images, the software must determine the mathematical correction to be applied to each image so that features align to those on a master, or reference image. This involves matching similar points among the images so that, for example, coordinate A on the first image corresponds to coordinate B on the second image, and so on. Coordinates A and B form a coordinate pair. One or more coordinate pairs is needed to compute the relationship between positions on the pair of images. If the images differ by a simple offset, then a minimum of only 1 coordinate pair is required to compute the relationship as a simple (x,y) offset. If the misalignment is more complex, involving field rotation or scale changes, then at least 3 coordinate pairs are needed to compute the relationship between each pair of images. Mathematically, using the minimum number of coordinate pairs constitutes a minimally determined solution with no information about random errors. Using more than the minimum over-determines the solution so that a random error can be computed. Mira reports the random error as a root-mean-square, or RMS, value in each axis. For example, if the RMS is 0.1 pixels, then it can be expected that pixels in the neighborhood of the reference points are aligned typically with an error of 0.1 pixels. After the transformation is computed, Mira brings the images into alignment by resampling the intensities of all pixels onto the new coordinate grid determined by the transformation equations. An undo copy is saved for each image so that you can retrieve the unregistered images if you do not like the result.
The process of registering images can be classified into 3 principal steps:
Collecting reference points for computing the transformations between the images.
Computing the transformation equations that map the images onto a reference image.
Applying the transformation equations by resampling the images at fractional pixel positions.
These steps are described in detail in the following sections.
Mira provides 2 strategies for collecting the reference points in step 1: a) Manual marking and b) Tracking. If the images differ by small misalignments (say, 20 pixels or less from one image to the next), then you can use tracking. This means that you mark reference points on one image, then have Mira track those points to all other images in the image set. If the images have large misalignments, such as large rotations, significant scale differences, or mirror flips, then tracking will not work and you must manually mark the points on all images. The number of points marked on each image follows some rules based on the type of transformation being used.
If using the Shift method, then the same number of points must be marked on all images. Mira uses the mean coordinate of all points to determine the average relative shift between each pair of images.
If using the Shear method, Mira matches the pattern of points marked on each image in order to establish which points go into which coordinate pairs. Therefore, you do not have to mark the same number of points on each image. However, Mira must be able to match a pattern of at least 3 coordinates on each pair of images, since this is the minimum number of points required to compute a mathematical solution.
After points have been defined, Mira collects them from the image pairs and may compute a pattern match to determine which points form pairs for solving the transformation equations. As described above, if you use the Shift method, then points are not matched but their coordinates in one image simply averaged to get an average position from which the shift is determined. If the Shear method is used, Mira uses pattern matching to determine which points form pairs; all non-paired points are discarded from the coordinate pairs.
One of the images is defined to be the reference image; this is the image to which the others are aligned. Usually the reference image is the first image of the set, but you can set it using the Image Registration Properties dialog.
NOTE: Choose the Reference Image on the Resampling Properties page before computing the transformation using the button on the Image Registration toolbar.
The transformation equations are mathematical mappings between each image and the reference image. The transformation equations are computed by using the coordinate pairs to solve the equations you have chosen to describe the image misalignments. Mira reports the transformation coefficients in an Text Editor Window. If the solution is over-determined—that is, more than 1 point for the Shift method or more than 3 points for the Shear method—then Mira reports the RMS error of the registration. This comes from the 1-sigma error in the matrix solution of the transformation equations.
After the transformation has been computed, the equations are applied to the image set to map all images onto the coordinate grid of the reference image. This aligns the images. To perform the alignment, the entire grid of pixel intensities must be re-calculated on the transformed grid. This process is known as re-sampling. The re-sampling process adjusts the pixel intensities to estimate what they would be if placed not at their actual locations but at a different location as predicted by the transformation equations. Mira offers 3 re-sampling options.
Saving Undo Copies of the Images — or Not
The Image Registration Properties dialog offers the option to save an undo copy of each image before it is registered. Using Undo allows you to recover the original images if you want to re-do the registration. However, you can save a lot of memory by unchecking the Save Undo Copy option in the Resampling Properties page. This allows more images or larger images to be registered.
This procedure uses a single reference point that can be found in all images within a small error box near the same coordinate. This procedure gives rapid, yet excellent registration when the following conditions are met:
The images are within ~20 pixels of alignment.
There is no rotational misalignment.
Open the Image Registration Toolbar. It opens in Marking Mode.
Click the mouse on an isolated star, sharp peak, or point highlight.
Click to track the point through the image set.
Click to calculate the transformation equations.
Click to apply the transformations and bring the images into alignment.
This method uses the Shift transformation and tracking to efficiently achieve excellent registration between images that are only slightly out of alignment.
Tutorial: Introduction to Image Registration
Mira Pro x64 8.72 User's Guide, Copyright Ⓒ 2024 Mirametrics, Inc.
All Rights Reserved.