Interfile: 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
 
Line 1: Line 1:
{{stub}}
Files ending in <tt>'''.ifh'''</tt> are Interfile header files, which store metadata for [[Diffusion MRI|medical images]].  Each header file is matched with a corresponding '''.img''' raw binary image data file.  <tt>[http://xmedcon.sourceforge.net medcon]</tt> converts Interfile to [[NIfTI]] easily, so we generally just convert Interfile data before beginning any other [[diffusion processing pipeline|pipeline]] steps.


Files ending in <tt>'''.ifh'''</tt> are Interfile header files, which store metadata for [[Diffusion MRI|medical images]].  Each header file is matched with a corresponding '''.img''' raw binary image data file.  <tt>[http://xmedcon.sourceforge.net medcon]</tt> converts Interfile to [[NIfTI]] easily, so we generally just convert Interfile data before beginning any other [[diffusion processing pipeline|pipeline]] steps.
<pre>
medcon -c nifti -f &lt;input_header&gt;.ifh -o &lt;output&gt;.nii
</pre>


<!--
Before running <tt>medcon</tt>, make sure that the <tt>name of data file</tt> field in the Interfile header file actually lists the corresponding image file.  <tt>medcon</tt> will not figure this out by itself.
== Paths ==
== Use ==
=== Library ===
=== Command-Line Utilities ===
=== Format Conversion ===
== Documentation ==
== History ==
-->


[[Category:Diffusion MRI]][[Category:File Formats]]
[[Category:Diffusion MRI]][[Category:File Formats]]

Latest revision as of 21:58, 18 March 2009

Files ending in .ifh are Interfile header files, which store metadata for medical images. Each header file is matched with a corresponding .img raw binary image data file. medcon converts Interfile to NIfTI easily, so we generally just convert Interfile data before beginning any other pipeline steps.

medcon -c nifti -f <input_header>.ifh -o <output>.nii

Before running medcon, make sure that the name of data file field in the Interfile header file actually lists the corresponding image file. medcon will not figure this out by itself.