combine_warp


Purpose:

Mathematically combines a .warp file with any number of compatible .air files to create a single .warp file that directly achieves the spatial transformation described by sequential application of the .air and .warp files.


Usage:

combine_warp output overwrite?(y/n) [.air-file1....airfileN1] .warp-file [.air-fileN1+1....air-fileN2] AIR 5.0

where the following definitions apply:
output
the name of the .warp file to be created
overwrite?(y/n)
'y' grants permission to overwrite output
.air-file1....airfileN1
an optional sequence of .air files with the standard file of each being spatially equivalent to the reslice file of the one before it
.warp-file
the input .warp file, which, if preceded by a .air file, must have a standard file that is spatially equivalent to that .air file's reslice file
.air-fileN1+1....air-fileN2
an optional sequence of .air files, the first of which must have a standard file that is spatially equivalent to the .warp file's reslice file; similarly each subsequent .air file must have a standard file that is spatially equivalent to the preceding .air file's reslice file

Examples:

combine_warp A.warpC n B.airC A.warpB combine_warp A.warpC n B.warpC A.airB combine_warp A.warpG y F.airG E.airF D.warpE C.airD B.airC A.airB

Comments:


Error messages: (alphabetical by case)

See also: Generic error messages
Name of output .air file cannot contain .hdr or .img

See also:


Modified: December 17, 2001
© 2001   Roger P. Woods, M.D.(rwoods@ucla.edu)