makeaheader


Purpose:

This program will generate a header (.hdr file) based upon information that you provide.


Usage:

makeaheader filename filetype x-dim y-dim z-dim x-size y-size z-size

where the following definitions apply:

filename
the name of the header file to be created (.hdr suffix optional)
filetype
a number from the following menu:
  • 0--8 bits/pixel (values 0 to 255)
  • 1--16 bits/pixel unsigned short ints (values 0 to 65535)
  • 2--16 bits/pixel short ints (values 0 to 32767)
  • 3--16 bits/pixel short ints (values -32767 to 32767)
x-dim
the x dimension of the image file matrix (e.g., 128)
y-dim
the y dimension of the image file matrix (e.g., 128)
z-dim
the z dimension of the image file matrix (e.g., 128)
x-size
the x size of the voxels in the image file (e.g., 1.4)
y-size
the y size of the voxels in the image file (e.g., 1.4)
z-size
the z size of the voxels in the image file (i.e., the interplane distance)
NOTE:
In AIR 2.0, the x, y, and z sizes are no longer optional.


Examples:

makeaheader pet1 0 128 128 15 2.1 2.1 8.0


Comments:


Error messages: (alphabetical)

See also: Generic error messages

File type ___ not defined



See also:


Modified: December 11, 1996

© 1995-6 Roger P. Woods, M.D.(rwoods@ucla.edu)