FYI in spm5 and spm8 both img and nii files are nifti except the former uses a 2 file format. If you truly want the old analyze format you can try this tool to convert the files. http://brainimaging.tiddlyspot.com/#nifti2ana
I think there were some messages on the board a couple of years back with other tools.
Darren Gitelman, MD
Sent from my mobile.
Office Ph: (312) 908-8614
Fax: (312) 908-5073
On Aug 2, 2011, at 7:10 AM, "Stephen J. Fromm" <[log in to unmask]> wrote:
> spm_write_vol calls spm_create_vol. spm_create_vol will use the format indicated by the filename extension.
> So, at a minimum, you need to ensure that the spm vol file structure you're handing to spm_write_vol has filename "*.img".