Here's a cool new feature suggested by Dan Ruscitto at GE. It was a bit of work to implement (I had to get a little help), but it works really nice I think.
Basically he wanted to align and crop the raw intensity images from multiple passes (say 10 elements in two spectrometer passes), acquired at high magnification during which the stage or sample had drifted slightly, so they could be quantified in better alignment. It works with two or even more spectrometer mapping passes!
To perform this alignment and crop method open the Log Window from the Window menu in the main CalcImage window and select the new Align and Crop Raw Images menu as seen here:
Then open a reference image (typically a BSE image from the first spectrometer pass) using the Select Reference Image button, and then open a similar image from the 2nd spectrometer pass (again typically a BSE image from the second spectrometer pass), this time using the Select Overlay Image button.
I created an artificial (very large) offset on some test images, so the idea is clear for everyone, though normally I would expect only a few pixels of drift in x or y. Right now the code is limited to 10% drift, but we could allow for larger offsets if necessary...
Then using the mouse drag or the offset updown controls, we adjust the overlay image until it is perfectly aligned with the reference image as seen here:
Then we click the Save Overlay Offsets button to store the overlay for the alignment of this spectrometer pass (the second spectrometer pass). If there is a third or fourth spectrometer pass again we select an overlay image from that spectrometer pass (you must keep the original reference image!), and again align it to the reference image and again, click the save Overlay Offsets button to save the alignment for this next spectrometer pass. The app remembers the alignments of each overlay for you automatically...
Once we have our spectrometer passes all aligned, we simply click the Crop All Images button and the software will go through all the images in the list and crop them all to the same size! The cropped images are saved to a sub folder so your original images don't get over written (because they will have the same names as the original images!).
Finally this isn't a necessary step but just for fun I loaded the cropped reference and overlay images in (from the _Crop subfolder), and you can see that the images are perfectly aligned and a little smaller...
This is just a first cut at the feature, but I think it's pretty cool. Here is the general order of operations:
1. Acquire your standards in PFE and your x-ray maps in Probe Image.
2. Create a new project in CalcImage as usual (using the project wizard), selecting the PFE run and the images from the PI run. This converts everything to GRD files.
3. Now use the Clone menu in the CalcImage menu to clone the project to another folder.
4. Run the align and crop procedure above on the images in the cloned project folder. This will create a "_Crop" sub folder.
5. Now copy the cropped images into the cloned project folder (overwriting the existing images, but we still have the original uncropped x-rays maps!).
6. Run the quant on the cropped images.
Let me know what you all think...
john