You can create a header file using makeaheader , review the information in a header file using scanheader , modify the header voxel sizes with fixheader , and adjust the header global maximum with setheadermax . When creating a new header, you must provide all of the information that will be contained in the header. In order to properly specify the image matrix dimensions, the voxel dimensions, and the number of bits per pixel, you must know how data is represented in your image file. Your image display package may define the dimensions differently. The AIR package utilizes separate header and image files.
Image files end with the suffix '.img'.
A single image file contains all of the data for the entire three dimensional volume stored row after row, plane after plane. No other information is contained in the .img file. Please note that your image display package may define the dimensions differently. In addition, note that the internal coordinate system used for indexing the voxels once they are loaded into the AIR package may differ substantially from the coordinate system used by your image display package. Many programs in the AIR package will generate new image files .