This page contains a description of the version of StackMaps included in XMapTools via the add-on system. Additional information about the standalone version of StackMaps can be found here.
How to add StackMaps to XMapTools?
StackMaps can be downloaded directly via the XMapTools interface using the Extension manager:
- Open MATLAB©, set the working directory and open XMapTools
- In menu, select File > Add-Ons > Manage Extensions
- Find StackMaps in the Extension manager
- Press the button Download (or Delete & Download to update the add-on)
- XMapTools downloads and install the add-on
Requirements & Opening StackMaps
You need to have the reference maps (e.g. X-ray maps) already imported in XMapTools before to use StakMaps.
- Import your maps in XMapTools and save your project
- Go to the workspace X-ray
- Select StackMaps in the add-on menu and click APPLY
- StackMaps extension opens and load the maps available in the workspace X-ray. Those should be used as reference images in stack map (left image)
- Select the map to be used as reference in the top left menu
- Press the button (1) Add Map to import the map to be transformed; note that only text files can be opened in StackMap (see the XMapTools user-guide for a description of compatible files)
- (Optional) use the rotate button Rot to adjust the orientation of the map in the central panel and select a color palette in the menu
- Set references points in the reference image (left) by pressing the button (2) Set reference points. Set the size of the zoom window (default 50 px) and left-click on the image first to zoom in and then to select a point. At least three points are required. Left-clicking validate the selection.
- Select the same reference points in the central image (to be scaled) using the button (3) Set reference points
- Click (4) Save transformation to save the geo-transformation data and select a file name. Transformation files are saved in a subdirectory (/Transformations/…)
- In the transformation panel below, select the reference image and the map to be adjusted (deformed image), the transformation file and press (5) Apply transformation
- The transformed image is displayed in the right display panel
- Select (6) Save image (as matrix) to generate the map to be imported in XMapTools
- Close StackMap and import the save file in XMapTools