bandpass filter in REST toolbox

超赣你好! 谢谢回复!

我用的是Vista系统,matlab 7.1 R14,REST的版本为REST_V1.4_100426,刚刚使用rest_Fix_Read_Write_Error,但是错误仍然出现,请指教!

错误信息如下:

>> rest_bandpass('C:\Program Files\MATLAB71\work\FunImgNormalizedSmoothed\sub1', 3, 0.08, 0.009, 'No', 'C:\Program Files\MATLAB71\work\Masks\mask001.img');

Ideal rectangular filter: "C:\Program Files\MATLAB71\work\FunImgNormalizedSmoothed\sub1"
Read 3D EPI functional images: "C:\Program Files\MATLAB71\work\FunImgNormalizedSmoothed\sub1".??? Error using ==> rest_ReadNiftiImage
Meet error while reading data. Please restart MATLAB, this problem may be solved.

Error in ==> rest_readfile at 61
[Outdata,Header]= rest_ReadNiftiImage(imageIN,volumeIndex);

Error in ==> rest_to4d at 41
[theOneTimePoint, VoxelSize, Header] = rest_readfile(theFilename);

Error in ==> rest_bandpass at 39
[AllVolume,vsize,theImgFileList, Header] =rest_to4d(ADataDir);

Hi!
不要在数据和REST软件的存储路径中放中文字符或空格。
比如你的例子中,数据存储在Program Files下面,这两个单词之间有一个空格。