hey,
i tried to convert a nrrd file to mgz. but i didn't work because mri_convert doesn't support the nrrd filetype. is there any chance to use nrrd as a input file for freesurfer? does anyone knows a converter which converts nrrd files to analyze/dicom/... ?
thanks, michael.
Hi Michael,
Native FreeSurfer support for NRRD files is in the works. Until it's complete, there are a few things you could try:
Slicer (www.slicer.org) to convert from NRRD to Analyze or NIFTI (much of the NRRD header information might be lost this way as it can support a richer set of information than, e.g., the Analyze header).
Use teem (teem.sourceforge.net), the suite of tools surrounding NRRD, to convert your single-file NRRD to a detached header NRRD. Then just rename the raw data file to to something.img, and generate an Analyze style something.hdr for it. I think FSL includes a tool, avwedithd, to do this last step.
ITK (www.itk.org) supports NIFTI, Analyze, and NRRD. If you download their sample applications, you should find a simple file type converter among them, which will probably work for your purposes.
Josh
Michael Rullmann wrote:
hey,
i tried to convert a nrrd file to mgz. but i didn't work because mri_convert doesn't support the nrrd filetype. is there any chance to use nrrd as a input file for freesurfer? does anyone knows a converter which converts nrrd files to analyze/dicom/... ?
thanks, michael.
freesurfer@nmr.mgh.harvard.edu