Volkmar Glauche wrote:
> Actually, for most parts in SPM output is .nii if your input is in .nii
Hi Volkmar,
It seems to me that although all my inputs are nii, everything in the
results directory (beta, con, spmT, etc.) is hdr+img
Though of course, one could easily convert these afterwards with
Darren's code.
Ged.
P.S. for converting all the images in a huge collection, it may be
easier to use FSL with something like:
find -name '*.hdr' -exec avwchfiletype NIFTI '{}' ';'
though I'm sure some kind of Matlab "find" could be cobbled together.
|