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

 

Interactive Thresholding
Function

Dynamically threshold the foremost image via an ROI imposed on a histogram. The resulting binary image and contour map are calculated.

Version
version:2004070, v1.2
Author
D. R. G. Mitchell
Acknowledgements
Based on a demo script by Bernhard Schaffer which showed how to link objects.
Comments
-
System Requirements
Should be compatible with all recent versions of DigitalMicrograph.
Known Issues

When thresholding do not click on any image other than the histogram as the order of the images must be preserved for the script to work.

Supported
Yes
Included Files
Main script file.
Source Code

See attached script.