This directory contains user contibuted macros written in NIH Image's built-in Pascal-like macro programming language. Use the "Load Macros" command to try out these macros. Use the "Open" command to examine and edit them using NIH Image's built-in text editor. (Note that the list below is not complete.) [afm_macro.txt] A macro to read Digital Instrument Nanoscope III AFM images. Reads any size image (128, 256 or 512 squared) . [align_macros.hqx] This is a set of macros for aligning pictures (rotation, shift, and scaling) using a hand-drawn fiducial line. [auto-track156.hqx] This set of macros allow users to use either a Scion AG-5 or any quicktime framegrabber to track multiple objects in a video sequence for determination of their individual velocities. The macros were developed for fluorescent actin filament tracking but may be adapted for other mobile objects of interest (e.g. sperm). [box_count_macro.txt] This macro performs measurements that allows one to calculate the so-called "capacity" fractal dimension. The Fractal Dilation Macro can also be used to calculate fractal dimensions. [cavalieri_macro2.txt] This is a set of macros for quantitative morphometry. The text file "cavalieri_doc.txt" contains extensive documentation. [cell-counting.hqx] Cell Colony Counting macros: These macros were written to count cell colonies in Petri dish images. The macros can account for overlapping colonies. They can be adapted for a variety of other counting needs. A sample image is also included. [center_of_mass.txt] Calculates an intensity weighted center of mass for an image. Timing info: SLOW!! 70 sec on a 256x256 8-bit image with a Centris 650. [coccolith_biometrics.hqx] This is a set of macros for automated biometric measurements of coccoliths. Includes specimen images and text files explaining the macros and their use. The mosaic-archiving macros in this package might be of use in an application where the individual objects being studied are small (<100pixels). [fluorescence_macros.txt] This is a set of macros for taking fluorescence pictures using a Dage SIT camera and a Scion LG-3 framegrabber board. It includes functions for controlling a Uniblitz shutter through a serial port; uses Live Paste to allow on-line montages; and has a pretty good time-lapse function. [focus_control_macros.txt] This is a set of macros for the ASI MFC-1 Microscope Focus Controller. Zeiss, Nikon, Leitz and Olympus drives are supported. [fractal_dilation_macro.txt] This macro performs measurements on binary images that can be used to calculate the fractal dimension of fractal objects. The Box Count Macro can also be used to calculate fractal dimensions. [fractal_macros.txt] Matthew Warfel at Cornell University has written a set of macros (http://www.cee.cornell.edu/~mdw/fractech.html) that use nine methods for calculation of boundary and mass fractal dimensions. [gel_plotting_andreas.txt] This is an improved version of the Gel Plotting macros distributed with NIH Image. Created by Andreas Becker. [html_macros.txt] This is a set of NIH Image macros for creating HTML tags. [import_acr_nema.txt] Imports ACR-NEMA and early DICOM 3.0 file formats into NIH Image. [import_HB603Image.hqx] Imports an HB603 *.IMG image file along with the microscope information. Produces a window containing the image and microscope information and a text window containing the microscope information, image size, and file path. [image_correlation] Generates an XY plot indicating how well correlated two images are. It uses the z-value of a given pixel in a specified slice as the x-coordinate and the z-value of the corresponding pixel in another slice as the y-coordinate. {inclusion_counter] Inclusion Counter is a suite of NIH Image macros designed specifically for the automated enumeration and measurement of Chlamydial inclusions in cell culture and tissue sections. [kinematics_macros.txt] Includes a macro to separate even and odd fields on 30fps data to provide 60 fps data, plus macros for elimination of bad frames, taking data points and storing them in a file, and reshuffling frames when odd/even ones get out of sync. [macro_notes.hqx] This Microsoft Word document is a supplement to the macro language documentation in "About NIH Image" for people who are not familiar with Pascal. [markup_macros.txt] A set of macros that allow you to generate an image of filled ROIs. The original image is not overwritten. These macros are an alternative to the markup macros distributed with Image 1.56. A help routine built into the macro file explains in greater detail. [neurite_labelling.txt] These macros allow a user fill in the cell body of a neuron, measure the length of neurites while counting them, label the neurites as measured and counted, and record the order of the neurite (e.g. primary, secondary, tertiary, etc.). There are full directions in the text of the macro, so open the text up and read it before running the macros. [neurite_length.txt] This set of macros is designed to semiautomatically compute lengths of neurites of a given neuron (one neuron per slide). [nucmed_macros.hqx] A set of macros from the Saint Louis University Health Sciences Center that allow manipulation of PET and nuclear medicine images from a variety of vendors (Siemens, Elscint, ADAC, and CTI). [odd_even_line_macro.txt] Replaces odd or even scan lines with average of neighboring even lines. Can be used to improve the quality of images that have even and odd fields that are out of sync as the result of subject movement during capture. [select_tool_macros.txt] This is a set of macros that map the Tools palette to the numeric keypad. Documentation is in the macro file. [slice_oblique.txt] This is a macro that enables one to slice a stack in any plane. To do this you need to recompile NIH Image with the short User.p Pascal code provided. [total_DNA.sea.hqx] Macro package for making measurements of nuclear DNA. Includes a sample image containing a single Feulgen-stained nucleus on a zero level background.