Extracting White Matter Mask Time series from functionals

Submitted by AJK on

Hello,

I'm trying to use the segmentation files (c2,c3) to extract the white matter and csf time series from my functional scans for use as a nuisance regressor. Segmentation worked fine, but when I go to do the ROI time series extraction with the segmentation masks, the following error occurs:

Can someone offer some advice, I'm a bit stuck.

Thanks

 

Assignment has more non-singleton rhs dimensions than non-singleton
subscripts

Error in y_ReadAll (line 76)
            Data(:,:,:,j) = DataTemp;

Error in y_ExtractROISignal (line 56)
    [AllVolume,VoxelSize,theImgFileList, Header] =y_ReadAll(AllVolume);

Error in DPARSFA_run>(parfor body) (line 3858)
            y_ExtractROISignal([AutoDataProcessParameter.DataProcessDir,filesep,FunSessionPrefixSet{iFunSession},AutoDataProcessParameter.StartingDirName,filesep,AutoDataProcessParameter.SubjectID{i}
            Error in parallel_function (line 466)
            F(base, limit);

Error in DPARSFA_run (line 3856)
        parfor i=1:AutoDataProcessParameter.SubjectNum

Error in DPARSFA>pushbuttonRun_Callback (line 1670)
    [Error]=DPARSFA_run(handles.Cfg);

Error in gui_mainfcn (line 96)
        feval(varargin{:});

Error in DPARSFA (line 30)
    gui_mainfcn(gui_State, varargin{:});
 
Error using waitfor
Error while evaluating uicontrol Callback
 

YAN Chao-Gan

Mon, 04/13/2015 - 17:57

Hi,

Sorry for my delayed response. I was travelling last week.

You need to resample the segmentation masks to the resolution of your funcitonal images. You can use DPABI->Utilities->Image Reslicer.

Best,

Chao-Gan