Hi,

if you don't have matlab ready (using caret), I succeded with

cat file.hdr file.img > file.nii

IIRC WinDos should do the same with

copy /b file.hdr file.img > file.nii 

On Thursday 12 October 2006 16:40, Scott Gorlin wrote:
> I recently solved this problem.  I believe the issue is that many
> programs read *img/*hdr files and assume analyze format instead of
> NIFTI, thus ignoring some of the hdr information.  However, if you
> convert the images to *.nii, Caret works fine.
>
> Attached is a matlab file I wrote (create_nii.m) to convert between the
> two.  It requires Jimmy Shen's 'Tools for NIfTI (Analyze) MR Image'
> toolbox for Matlab available at
> http://www.mathworks.com/matlabcentral/fileexchange/loadFile.do?objectId=87
>97&objectType=file, or use any other scripts for the conversion.

-- 
Dr. Roland Marcus Rutschmann <[EMAIL PROTECTED]>
Institute for Experimental Psychology, University of Regensburg
Universitätsstraße 31, 93053 Regensburg, Germany
Tel: +49 941 943 2533, Fax: +49 941 943 3233
http://www.psychologie.uni-regensburg.de/Rutschmann

Attachment: pgplRqQ1oGjJ8.pgp
Description: PGP signature

Reply via email to