[VoxBo] vbhdr and file format

Daniel Kimberg kimberg at mail.med.upenn.edu
Tue Jun 3 14:41:46 EDT 2008


Hoon wrote:
> I was trying to change origins of some of my hdr/img pairs using vbhdr
> and got "not recognized file type" error. I guess this is because vbhdr now
> doesn't support analyze format files? You might have announced this change
> before, but since now I can't search the mailing list (please notice the
> button for saving the whole archive is gone), I am posting this question to the list for your help.
> If analyze format is fading away in voxbo, then what is the tool of the choice for
> converting nii to hdr/img pairs?

That was a bug, and I fixed it just in time for 1.8.5pre2, which is now 
installed locally.  Let me know if you have more problems, although you might 
also consider using setorigin.

I'm not planning to phase out analyze format support, but you can convert 
between nifti and analyze using vbconv.  vbconv is reasonably smart, so you can 
do any of the following:

   vbconv a.img a.nii        # convert analyze  to nifti
   vbconv a.nii a.img        # convert nifti to analyze
   vbconv a.tes a.nii.gz     # convert tes file to gzipped 4D nifti
   vbconv dicomdirectory a.nii  # convert directory of dicom images to nifti

You can also use cub or tes as the output format, and of course most/all VoxBo 
programs can read any of these formats without conversion.

dan


More information about the voxbo-general mailing list