This is an abstract of a talk prepared for the Microscopy & Microanalysis Annual Conference, Philadelphia, August 2000. The format is changed somewhat, some material added, and the figures are inserted within the text in color.
MacLispix,1 a public domain image processing system for the Macintosh,* has been applied to a variety of image processing problems such as analysis of diffraction spots,2 uniform display of x-ray maps,3 determination of fractal dimension of particle outlines,4 and analysis of data cubes.5 Due to interest from the PC community, we have ported the software to Windows,* renamed it 'Lispix', and distributed it for both platforms, along with example images, source and documentation.6
Lispix reads TIFF files and raw files (no image header), both with pixel types of signed and unsigned 8, 16 and 32 bit integers, 4 and 8 byte IEEE standard floating point numbers, and 3x8 bit RGB color. Lispix has a variety of standard image processing operations, such as thresholding, edge finding (gradient), filtering, scaling, Linear Hough Transform, false coloring, RGB color overlays and particle measurement. Clipped scaling, (after trimming outliers) is especially useful for display of x-ray maps, and images with noise or very bright or very dark artifacts. Images can be grouped. A group of images can be selected, loaded all at once, enhanced, zoomed and tiled across the screen for viewing.
These examples illustrate some of the features of Lispix: Figure 1 shows the buttons for controlling Lispix, which have positions and colors (colors lost for printing) relating to their function.
In current verions of Lispix, the above buttons are in a menu bar.
Using control windows like these eased the task of making Lispix work nearly the same on both the PC and the Mac. Each button is a pop-up menu, except for the Single Mode and Widgets buttons. The Single Mode button controls how images are loaded and handled: singly, by groups, by selection, or all images at once (groups can be changed with the Group button). The Widgets button opens up more windows with buttons, for special purpose operations. One of the widgets is the periodic table of the elements, shown in Fig. 2a. This widget is an interface for selecting elements (e.g., that are required or prohibited for a data base query), but it is also useful by itself. Clicking on an element displays a list of its properties (Fig. 2b), and the table can be colored (shown in gray level in Fig. 2a) according to the numerical properties in the list.
FIG. 2 a) Periodic table - shaded according to density. b) List of elemental properties for Osmium.
Figure 3a shows part of an electron diffraction pattern, a 16 bit image requiring clipped scaling to be visible. Figure 3b is the gradient magnitude , and Fig. 3c the gradient direction. All three images are in the same group since they are derived from image a, and so they all zoom and scroll together using the navigator shown in Figure 3d. Note that the gradient direction image clearly shows dim spots that cannot be seen in either image 3a or 3b, and yet the center positions of the brightest spots are still clear.
Figure 4a, and navigator 4b, show a thresholded scanning electron micrograph of nickel spheres. After using the blob widget, various measurements of each sphere (blob) can be shown and listed, such as the maximum diameter (Fig. 4c) and the outline and blob index (Fig 4d.) About a dozen parameters are available. Fig. 4e shows the tab delimited table of area and maximum diameter, used for importing these measurements into a spread sheet.
* Certain commercial equipment, instruments, or materials are identified in this report to specify adequately the experimental procedure. Such identification does not imply recommendation or endorsement by the National Institute of Standards and Technology, nor does it imply that the materials or equipment identified are necessarily the best available for the purpose.