|
Man /
NiftiheaderContent-type: text/html niftiheaderSection: User Commands (1)Index Return to Main Contents NAMEniftiheader - Read a NIFTI-1 header and print the header attributes.SYNOPSISniftiheader -readheader <image file>DESCRIPTIONReads a NIFTI-1 header and outputs the standard header fields as text, or create a new header. For explanation of the NIFTI-1 standard, please see http://nifti.nimh.nih.gov/nifti-1
EXAMPLESUnlike analyzeheader, we require an output file name to determine header type.
[ TIONS ]
AUTHORSPhilip Cook <camino@cs.ucl.ac.uk> This program uses some code from the public-domain niftijlib code by Kate Fissell, University of Pittsburgh. SEE ALSOdt2nii(1), nii2dt(1)CAVEATSThe program cannot modify existing headers in place. To modify an existing header, you would need to do gunzip image.nii.gz niftiheader -initfromheader image.nii ... -outputfile tmp.nii shredder 352 1 0 < image.nii > data.raw cat tmp.nii data.raw > newImage.nii
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).
IndexThis document was created by man2html, using the manual pages. Time: 02:07:11 GMT, December 04, 2017 |