Reads header information from file and prints to stdout. If this option is not
specified, then the program writes a header based on the other arguments.
-initfromheader <file>
Uses an existing header to initialize a new header.
-datatype <type>
Sets the datatype to a Camino data type. The argument type is a string eg double,
float, int.
-intent <code>
Sets the intent code.
-networkbyteorder
Sets the header byte order to network (big-endian).
-intelbyteorder
Sets the header byte order to intel (little-endian), as used by most PCs and Macs.
-scaleslope <code>
Sets the scale slope.
-scaleinter <code>
Sets the scale intercept.
-dims <n> <dim1> ... <mn>
Sets the data dimensionality to n dimensions, and sets the size of each. For
example, "-dims 3 128 128 60". The maximum number of dimensions is 7.
NIfTI .nii headers and .hdr headers are not interchangeable. You cannot do the above with
a .hdr file, because it will be missing the extension field (a .nii header is 352 bytes,
not 348 as for .hdr).