Posted by bob cox on November 12, 2002 at 13:41:01:
In Reply to: viewing data that was analyzed by the NIS/AIR package in afni posted by Trin on November 12, 2002 at 10:30:43:
If you have a recent version of AFNI, it can directly view .hdr/.img (ANALYZE format) file pairs. This feature was added about 01 Sep 2002. The main drawback of this feature is that ANALYZE files don't contain information about the orientation of the volumes. As a result, AFNI guesses that they are oriented as axial slices, with the x-axis being L-R, y axis as P-A, and z axis as I-S. If this is not correct, then using the Image "Axial", "Sagittal", and "Coronal" buttons will open the wrong view. You can get around this problem by setting the environment variable AFNI_ANALYZE_ORIENT to specify the correct orientation. The details on how to do this are in the file README.environment.
If you do want to convert ANALYZE files to AFNI format, the program to use is to3d; for example:
to3d fred.hdr
However, to start with, download the latest AFNI version, then fire it up in the directory with the files you want to peruse, and see what happens. That may be enough for your immediate purposes.
bob cox