This program is now a wrapper for image2voxel, which also supports image formats
other than Analyze.
EXAMPLES
Convert a 4D scanner order data file ScannerOrder.img, for which the measurement volume
has size 128x128x60 and the acquisition scheme acquires 6 measurements with b=0 and 54
diffusion-weighted measurements, to voxel order. The header ScannerOrder.hdr has
height=128, width=128, depth=60, nImages=60.
Root for a file root.hdr and root.img. This should be a 4D Analyze file where
each 3D volume is an image from a single diffusion-weighted measurement. The order of
the measurement volumes must correspond to the accompanying scheme file. This option is
deprecated (though it still works) and has been replaced by the -4dimage option,
which takes the full header file name rather than just the root.
-imagelist <filename>
Name of a file containing a list of 3D Analyze headers. The images paired with each
header are images of a single diffusion-weighted measurement. The order of the headers in
the list must match the order of the corresponding measurements in the scheme file.
-imageprefix <prefix>
Path to prepend onto filenames in the imagelist. Has no effect on paths specified on the
command line with -4dimageroot. The default prefix is the directory containing
the image list. This option is used when the imagelist is not in the same directory as
the images it describes.
-outputdatatype <data type of output>
Specifies the data type of the output data. The data type can be any of the following
strings: "char", "short", "int", "long", "float" or "double". The default output data
type is float.