Automatic stack alignment

The automatic alignment routine attempts to align images by cross-correlations using Fourier transforms. If you have lots of similarly-shaped features in your images, then you may want to align based only on a subregion of the image and limit alignment searches to some finite pixel shift from image to image (30 is a reasonable number). Remember that when you select a subregion, you have to allow for the fact that the borders of the subregion will be smoothed with a Gaussian of 4 pixels (i.e., make the subregion larger). The alignment widget is shown in Fig. 11. Two images are displayed:

The options you have in the menu are: As the alignment runs, it shows you a plot of the drift of the center position of the images. When alignment is complete, the Skip alignment changes to Complete; go to stack_analyze and all other buttons become insensitive.

Figure 11: The automatic alignment widget.
\includegraphics{stack_align}

Holger Fleckenstein 2008-07-08