combine_air


Purpose:

If you have a reslice parameter file (.air file) that will reslice file A to match file B and another reslice parameter file that will reslice file B to match file C, this program will allow you to compute a reslice parameter file that will directly reslice file A to match file C (without computing intermediate values in the space represented by file B). More generally, any continuous chain of reslice parameter files can be combined into a single step using this program.


Usage:

combine_airoutput overwrite?(y/n) air-file1 air-file2 [...air-fileN]

where the following definitions apply:

output
the name of the .air file to be created
overwrite?(y/n)
the letter 'y' if you want to allow a preexisting file with the nameoutput to be overwritten
air-fileN
the names of the input .air files (at least two must be specified).
NOTE:
the reslice_file in each air_file must be spatially equivalent to standard_file in the air_file that follows it. The resulting output's standard file will be the same as that in .air-file1 and its reslice file will the the same as that in .air-fileN.


Examples:

combine_air A.airC n B.airC A.airB

combine_air A.airE y D.airE C.airD B.airC A.airB


Comments:


Error messages: (alphabetical)

See also: Generic error messages

Cannot combine because matrix dimensions are not equivalent...
Cannot combine because sizes are not equivalent...


See also:


Modified: December 11, 1996

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