Align Slices Horizontally

Category: Image Display
Author:
Description: Align individual or all slices in a LinePlotImageDisplay horizontally by either calibration or un-calibrated units (channel). This is to mimic the contextual menu command "Align Slice Horizontally by ...".
Acknowledgements: Based on Bernhard Schaffer's example codes showing how to use the LinePlotImageDisplaySetImageToGroupTransform() function
Script version: 1.0
DM/GMS version: GMS 2.3.0
Script written as a function: Yes
Source: Show code
Download Source Code: Download