MLx Home | Contents | MLx menu | MLx buttons | Widgets | Index | What's New

Image Formats

These are a series of widgets to load various specialized image formats. New commands are added to the MLx/ Image Files menu when the widget is loaded.

Some of these widgets also load image files to a stack. The load folder command loads all the image files in a folder into a stack.


EPM

This is a specialized file format for quantitated XRAY maps. The pixels are 16 bits, where the value is the weight percent X 100. Total files (with 'TOT' in the file name) are percent X 10.

This format is used primarily by the Microanalysis Group at NIST.

These files have a 128 byte header containing image and instrumental information. MacLispix uses only the first 20 bytes which contain a 12 character string describing the file type, and four two-byte integers with Xmin, Ymin, Xmax, Ymax.


Gatan

Reads files written by Digital Micrograph, of Gatan Inc. Digital Micrograph is a commercial image processing application that is used in conjunction with their digital cameras and electron microscopes. Digital Micrograph also writes files in TIFF file format, with various pixel data type choices (byte, signed integer, real, etc.) .

MacLispix can read DM2.5 files where the pixel types are unsigned byte, and signed integer (t2o and four byte). MacLispix can also read the same types of images written in the Gatan short file format.

See note on RGB TIFF files written by Digital Micrograph.


IPLab

Two-byte IPLab format. IPLab is a commercial image processing package sold by Signal Analytics Corp. (disclaimer) IPLab Spectrum is intended for Numerical Analysis of images and is very flexible in this regard. It can make color overlays and do various arithmetic operations on images. It can register images by warping. Scaling images for display is sometimes limited and awkward. Image formats are limited. IPLab handles both fixed and floating point images.


JEOL


RAE

The Resistive Anode Encoder image format is 256x256 pixels, 1 or 2 byte integer. Writen by Evens software for the IIIF, or IIIIF ion microscopes. As of 10/3/97, this is not built into MacLispix, but is loaded as a Widget (see the Stacks folder.)

"Resistive Anode Encoder". Files written with Evans software running on a IBM compatable used to control Cameca FFF type instruments. (The files either are one byte images, or two byte images with all of the high bytes first, followed by the low bytes.)

NOTE: The last scan line is ommitted, as 34 bytes are missing from the low (?) byte in this format. The images are 256x255. If they are saved and moved to NIH Image, for example, they are 255x256 and transposed.


PGT RAS


16x SEM

This is a specialized format for 512x512x16 bit files written by VAX FORTRAN, and used by the Microanalysis Group. This format will eventually be discontinued, as all it is , is raw 16 bit (unsigned), 512x512, with the bytes reversed.


Text

This folder has a small collection of functions to read images from ascii files.

  1. Ascii Rows - Images are stored as integers, one row per line of ascii text. Figures out the image dimensions from the file. Delimiter character (what separates the pixels) can be a space, tab, comma, or something else. Expects returns at the end of the lines (Mac format).
  2. i j Val - Images are stored as one pixel per line of text, as i j value. Need to input image dimensions, which can be obtained from the last line of the file if the pixels are in order. The pixels need not be in order. Values can be integer or real.