Scripting Resources for DigitalMicrograph™ |
Function: Rotate and Crop | |
Function |
A function which applies a user specified rotation to the passed in image. Black space is added during rotation. This function will calculate the maximum square area on the image which excludes the added black space. |
Version |
version:20130223, v1.0 |
Author |
D. R. G. Mitchell |
Acknowledgements |
- |
Comments |
This is useful when rotating diffraction patterns to align them with their corresponding image. |
System Requirements |
Tested on GMS 1.x, but should be compatible with GMS 2.x -if not, please advise. |
Known Issues |
- |
Supported |
Yes |
Included Files |
Main script file. |
Source Code |
See the attached script file. |