Problem reading images

Submitted by alex on
 Hi,
REST seems to have trouble reading in some of my image files, giving me the error below. I'm not sure why this is the case, as it works fine with other data sets. I can view the images and read them into other analysis programs fine. Any help on how I can troubleshoot this problem is much appreciated.
Thanks,
Alex

Ideal rectangular filter: "/work/imaging8/af397/all_sess_separate/CBU060564_ses01/"
Read 3D EPI functional images: "/work/imaging8/af397/all_sess_separate/CBU060564_ses01/".??? Error using ==> rest_ReadNiftiImage at 103
Meet error while reading the data
 
Error in ==> rest_readfile at 61
            [Outdata,Header]=
            rest_ReadNiftiImage(imageIN,volumeIndex);
 
Error in ==> rest_to4d at 42
[theOneTimePoint, VoxelSize, Header] =
                rest_readfile(theFilename);
 
Error in ==> rest_bandpass at 38
[AllVolume,vsize,theImgFileList, Header]
        =rest_to4d(ADataDir);
 

YAN Chao-Gan

Thu, 08/27/2009 - 15:20

Hi!
What's your data format?
Please save your data in ANALYZE or NIfTI 3D .hdr/.img pair images. NIfTI 3D .hdr/.img pair images are recommended.

 Hi,
I am using nifti pair format. Could this be the only problem causing the error?
Thanks again,
Alex

Well, then please refer to http://www.restfmri.net/forum/node/131 to fix this problem.
Best wishes!
Forums