Crop image to selection
DigitalMicrograph - Gatan
Crop 2D or 3D image based on selection and displayed slices.(demonstrate data extraction).
Crop image center
Python - Gatan
Crop an image to a specified size. Only the data is copied.
Creating DM images and accessing image data
Python - Gatan
DM images can be created from Numpy arrays. DM image values can be accessed as a Numpy array.
Create and show RGB image
Python - Gatan
This script creates 3 images in Python and utilizes a DM-script to create and show a color-overlay image. It is an example of how Hybrid scripts can be used to access functionality not (yet) available in the Python language directly. The script shows how image-labels can be used to address images across the two scripts.
Create a system response file
DigitalMicrograph - Gatan
Generates a relative system response to correct for non-linearities in a system's sensitivity over a wavelength range. Requires a known reference spectrum, e.g., from a temperature calibrated black body source or calculated transition radiation spectrum.
Count negative pixels
Python - Gatan
Count the number of negative pixels in the front image.
Copying LinePlot styles
DigitalMicrograph - Gatan
Copy display properties of the frontmost LinePlot image to all other open LinePlot images.
Copy LinePlot display style from front image to all other LinePlots
DigitalMicrograph - Gatan
Automation script to quickly apply specific display styles (e.g., line thickness, color) to all open LinePlots based on the frontmost displayed LinePlot.
Component example
DigitalMicrograph - Gatan
Add and read various text annotations (demonstrate usage of annotations in image documents).