nii_ehdr - tpcclib 0.8.0 © 2023 by Turku PET Centre
Edits the information in NIfTI-1 image header.
New contents are given in an ASCII text file with one or more header fields
in the same format as is the output of nii_lhdr (IFT format).
Use this program only if you are familiar with NIfTI format; note that
no backup is created.
Note that frame times are not stored in NIfTI header but in SIF.
Usage: nii_ehdr niftifile headerfile
Options:
-h, --help
Display usage information on standard output and exit.
-v, --version
Display version and compile information on standard output and exit.
-d[n], --debug[=n], --verbose[=n]
Set the level (n) of debugging messages and listings.
-q, --quiet
Suppress displaying normal results on standard output.
-s, --silent
Suppress displaying anything except errors.
Example: copy header contents from image1.nii to image2.nii
nii_lhdr image1.nii > header.dat
nii_ehdr image2.nii header.dat
See also: nii_lhdr, iftlist, iftdel, iftadd, ana_lhdr
Keywords: image, NIfTI, header, IFT