Scripting Resources for DigitalMicrograph™

banner

Dave Mitchell's DigitalMicrograph™ Scripting Website

Home | Scripts | Examples | Functions | Recent Updates | Tutorials | Resources | Publications | Consulting | Projects | Contact & Bio |PyJEM| Search

 

Function: Convert a multiimage imagedocument into a flat image
Function
This function takes an imagedocument containing multiple images and converts it into a (flat) single image.
Version
version:20210223, v1.0
Author
D. R. G. Mitchell
Acknowledgements
-
Comments

Imagedocuments can contain multiple images which overlap. An example would be montages created using the scrapcopy() and scrappaste() functions. This function will convert such an imagedocument and convert it into a flat, single image, the contents of which match that of the (overlapping) images in the image document. Content which is front-most in the multi-image imagedocument is preserved in the final flat image.

System Requirements
Should be compatible with all recent versions of DigitalMicrograph.
Known Issues
-
Supported
Yes
Included Files
Main script file.
Source Code

See attached script file.