Scripting Resources for DigitalMicrograph™ |
Masked Area Scaling |
|
Function |
Script to scale the intensity of subareas of an image. These can be defined by oval/box annotations or rectangular/freehand ROIs. |
Version |
version:20190723, v1.0 |
Author |
D. R. G. Mitchell |
Acknowledgements |
- |
Comments |
Define regions of an image to be scaled using oval/box annotations or rectangular/freehand ROIs. You will need to hold down SHIFT when adding more than one ROI, to avoid deleting any previously added ROIs. Running the script with a suitably annotated image shown front-most will prompt for a scaling factor for the selected areas; less than one reduces the intensity and greater than one increases it. Finally, the option to apply a temperature colour scale is provided. |
System Requirements |
Should be compatible with all recent versions of DigitalMicrograph. |
Known Issues |
Clearly, this is not a scientific tool, but can be used to prepare figures for publication, such as highlighting the size/position of an objective aperture on a SADP used for a particular dark field condition etc. |
Supported |
Yes |
Included Files |
Main script file. |
Source Code |
See attached script file. |