谁用spm的FieldMap 纠正过EPI磁共振图像的distortion?

15 views
Skip to first unread message

王青

unread,
Jan 28, 2008, 5:26:51 PM1/28/08
to 123xx...@googlegroups.com
大家好
我用的是MATLAB2006,SPM5和FieldMap version2.0我使用的是FieldMap的标准数据FieldMapExampleData中的nepi_stretch,我按使用手册正确的设置了有关参数,在导入数据之后,在calculate的时候出现了下面的错误信息:
 
>> FieldMap
pm_def =
    INPUT_DATA_FORMAT: 'PM'
      SHORT_ECHO_TIME: 10
       LONG_ECHO_TIME: 14.7600

pm_def =
             INPUT_DATA_FORMAT: 'PM'
               SHORT_ECHO_TIME: 10
                LONG_ECHO_TIME: 14.7600
                     MASKBRAIN: 0
             UNWRAPPING_METHOD: 'Mark3D'
                          FWHM: 10
                           PAD: 0
                            WS: 1
                        MFLAGS: [1x1 struct]
           EPI_BASED_FIELDMAPS: 0
    K_SPACE_TRAVERSAL_BLIP_DIR: 1

pm_def =
             INPUT_DATA_FORMAT: 'PM'
               SHORT_ECHO_TIME: 10
                LONG_ECHO_TIME: 14.7600
                     MASKBRAIN: 0
             UNWRAPPING_METHOD: 'Mark3D'
                          FWHM: 10
                           PAD: 0
                            WS: 1
                        MFLAGS: [1x1 struct]
           EPI_BASED_FIELDMAPS: 0
    K_SPACE_TRAVERSAL_BLIP_DIR: 1
        TOTAL_EPI_READOUT_TIME: 32
??? Error using ==> feval
Undefined function or method 'offset' for input arguments of type 'file_array'.
Error in ==> file_array.subsasgn>asgn at 144
    obj = feval(fun,obj,dat);
Error in ==> file_array.subsasgn at 22
        case 'offset',     obj = asgn(obj,@offset,   subs(2:end),dat); 2204416040ffset(obj,dat);
Error in ==> nifti.subsasgn>assigndat at 361
        val.offset = max(sval.offset,0);
Error in ==> nifti.subsasgn>fun at 76
            obj      = assigndat(obj,val);
Error in ==> nifti.subsasgn at 20
        obji    = fun(obji,subs,val);
Error in ==> spm_create_vol>create_vol at 79
N.dat  = dat;
Error in ==> spm_create_vol at 16
        v = create_vol(V(i));
Error in ==> spm_write_vol at 96
V = spm_create_vol(V);
Error in ==> FieldMap at 1706
      img=spm_write_vol(img,vol);
Error in ==> FieldMap at 1682
         FieldMap('Write',IP.vdmP,IP.vdm.vdm,'',IP.vdmP.dt(1),vdm_info);
Error in ==> FieldMap at 711
            FieldMap('FM2VDM',IP);
??? Error using ==> FieldMap('CreateFieldmap_Gui');
Error using ==> feval
Undefined function or method 'offset' for input arguments of type 'file_array'.
??? Error while evaluating uicontrol Callback

这是怎么回事?问题处在什么地方?望高手给与解答。谢谢。
 
 
 
 


轻松把Hotmail下载到本地,试试 Windows Live Mail。 立即尝试!
Reply all
Reply to author
Forward
0 new messages