Nifti tool: Difference between revisions

From VrlWiki
Jump to navigation Jump to search
Jadrian Miles (talk | contribs)
No edit summary
Jadrian Miles (talk | contribs)
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
'''<tt>nifti_tool</tt>''' is a command-line tool for interacting with [[NIfTI]] metadata.  It is a very useful way to interactively view the metadata; it's also powerful for editing metadata interactively, but we don't tend to do that.  <tt>nifti_tool</tt> is part of the reference NIfTI library implementation and its source code is in the public domain.
'''<tt>nifti_tool</tt>''' is a command-line tool for interacting with [[NIfTI]] medical image metadata.  It is a very useful way to interactively view the metadata; it's also powerful for editing metadata interactively, but we don't tend to do that in the [[diffusion MRI]] project.  <tt>nifti_tool</tt> is part of the reference NIfTI library implementation and its source code is in the public domain.


Here are a couple common commands:
Here are a couple common commands:
Line 9: Line 9:
* <tt>nifti_tool -help</tt> --- dump the entire user doc for the tool.  Pipe to <tt>less</tt> if you want an easy way to browse this.
* <tt>nifti_tool -help</tt> --- dump the entire user doc for the tool.  Pipe to <tt>less</tt> if you want an easy way to browse this.


[[Category:Diffusion MRI]][[Category:User Documentation]]
[[Category:Diffusion MRI]][[Category:Software]][[Category:User Documentation]]

Latest revision as of 00:08, 20 November 2009

nifti_tool is a command-line tool for interacting with NIfTI medical image metadata. It is a very useful way to interactively view the metadata; it's also powerful for editing metadata interactively, but we don't tend to do that in the diffusion MRI project. nifti_tool is part of the reference NIfTI library implementation and its source code is in the public domain.

Here are a couple common commands:

  • nifti_tool -disp_hdr -infiles foo.nii --- display the entire header. Check the NIfTI header field documentation to understand what you see.
  • nifti_tool -disp_hdr -field bar -infiles foo.nii --- display just header field bar.
  • nifti_tool -check_hdr -infiles foo.nii --- check the header for problems
  • nifti_tool -check_nim -infiles foo.nii --- check the image structure for problems
  • nifti_tool -help --- dump the entire user doc for the tool. Pipe to less if you want an easy way to browse this.