Stack Maps is a Matlab-based User Interface that enables to superimpose two maps acquired with different instruments.
The program takes as input a minimum of two images, one being the reference images, and the other being the one to transform. It asks the user to select a minimum of 3 reference points that can be identified on both images. Then it computes and applies an affine transformation (scaling, shearing, rotation) to transform the second image to be superimposable with the reference image. If needed a resampling (modification of the number of pixels) of the image is done.
The program holds a few others options like to transform other images on the basis of a computed transformation, apply scalar to the maps, and evaluate the correlation between the images by plotting pixel values of a map versus the pixel values of an other map, etc.
Reference points can be identified in both images, it can be inclusions, cracks or edges of the crystal. Thanks to these positions on both images, the program can compute the transformation and apply it to the infrared map to be superimposable with the microprobe map.
If it has been developped to superimpose maps of OH concentration measured by transmission infrared spectroscopy with maps of major element compositions measured by electron microprobe, it can be used for various sets of data (LA-ICPMS, BSE …).
An early access of the program Stackmaps for Matlab is available here, and a full version will be integrated soon to XMapTools software.