SYNOPSIS

parrec2nii [OPTIONS] <PAR files>

DESCRIPTION

PAR/REC to NIfTI converter

OPTIONS

--version

show program's version number and exit

-h, --help

show this help message and exit

-v, --verbose

Make some noise.

-o OUTDIR, --output-dir=OUTDIR

Destination directory for NIfTI files. Default: current directory.

-c, --compressed

Whether to write compressed NIfTI files or not.

--origin=ORIGIN

Reference point of the q-form transformation of the NIfTI image. If 'scanner' the (0,0,0) coordinates will refer to the scanner's iso center. If 'fov', this coordinate will be the center of the recorded volume (field of view). Default: 'scanner'.

--minmax=MINMAX

Mininum and maximum settings to be stored in the NIfTI header. If any of them is set to 'parse', the scaled data is scanned for the actual minimum and maximum. To bypass this potentially slow and memory intensive step (the data has to be scaled and fully loaded into memory), fixed values can be provided as spaceseparated pair, e.g. '5.4 120.4'. It is possible to set a fixed minimum as scan for the actual maximum (and vice versa). Default: 'parse parse'.

--store-header

If set, all information from the PAR header is stored in an extension of the NIfTI file header. Default: off

--scaling=SCALING

Choose data scaling setting. The PAR header defines two different data scaling settings: 'dv' (values displayed on console) and 'fp' (floating point values). Either one can be chosen, or scaling can be disabled completely ('off'). Note that neither method will actually scale the data, but just store the corresponding settings in the NIfTI header. Default: 'dv'