GBO_SCALE2 can be used for aligning SXT images with each other or with
other images. GBO_SCALE2 takes two images, resizes them and lays them
on top of one another by typing:
IDL> outimg=GBO_SCALE2(trgimg, gboimg)
IDL> outimg=GBO_SCALE2(sxtimg, gboimg, index1, sxt=1)
IDL> outimg=GBO_SCALE2(sxtimg1, sxtimg2, index1, index2, sxt=2, /mktv)
which will scale the input image gboimg and center it to
match a target image trgimg. If either of these is an SXT image then
it needs to have its index passed as well, and the SXT keyword should be
set to 1 or 2 appropriately, (i.e., for one or two SXT images).
GBO_SCALE2 corrects for different vertical and horizontal diameters. The MKTV keyword allows you to plot the result directly. This should work with general sized images.