fixheader
Purpose:
This program will modify the voxel sizes in the specified image
header (.hdr file)
Usage:
fixheader filename
x-size
y-size
z-size
- where the following definitions apply:
- filename
- the name of the header file to be modified (.hdr suffix
optional)
- x-size
- the x-dimensional size of a voxel
- y-size
- the y-dimensional size of a voxel
- z-size
- the z-dimensional size of a voxel (i.e., the interplane
distance)
Examples:
fixheader pet 2.4 2.4 6.75
- This command will reset the voxel x_size to 2.4 the y_size to
2.4 and the z_size to 6.75
Comments:
- Some image display package and file format converters do not
always preserve the voxel dimensions. Correct voxel dimensions are
critical for image registration. You should use the program
scanheader frequently to make sure
that the image dimensions have not become corrupted by other
routines that you use to manipulate files and use this program to
repair them if they have.
- If you use ANALYZE 2.0, be aware that the process of loading a
file and saving it under a different name can reset the voxel
dimensions to 1.000. Consequently any file saved using ANALYZE 2.0
may need to have the voxel dimensions repaired.
- If voxel sizes have to be rounded-off, the smallest voxel size
should be rounded downwards and all other voxel sizes should be
rounded upwards to assure that
interpolation to cubic voxels
will generate the correct interpolated dimensions.
- The voxel sizes are no longer optional under any circumstance.
This is a change from AIR 1.0.
Error messages: (alphabetical)
See also: Generic error messages
See also:
Modified: December 11, 1996
© 1995-96 Roger P. Woods,
M.D.(rwoods@ucla.edu)