interleave - Interleave Analyze files

blue bar

Command line program to combines two or more Analyze file to produce a single interleaved Analyze file. The program assumes that all input files contain the same number of images, all of the same size. If insufficient options are specified on the command line then the program will prompt for all filenames.

interleave [-b n] input_filename1 input_filename2 [input_filename 3 ...] output_filename
-b n
Interleave files in blocks of n images. Default is n=1. e.g., if n=4 and three input filenames are specified then the output file will contain 4 images from the first input file, 4 images from the second, and 4 images from the third, repeated until all the images from the input files have been used.
input_filename
The filename(s) of the Analyze file to be converted. Filenames may contain either the .img or .hdr extension, or neither. If the input_filename is not specified on the command line then the program will prompt for a filename.
output_filename
If at least two input_filenames have already been specified then the last filename is assumed to be the Analyze file to contain the interleaved images. If less than three filenames are specified on the command line then the program will prompt for filenames.