SPM2 related error message when doing volumesegment

Chen ychen at BME.UFL.EDU
Mon Apr 2 22:33:25 CEST 2007


Hello,

I am trying to generate a BEM headmodel using volumesegment.m for 
t1_icbm_normal_1mm_pn0_rf0.mnc. It is creshed by giving the following 
error message:

- SPM2: spm_vol  -------------------------------------------------

        Error reading information on:
                ..ome/common/matlab/spm2/templates/T1.mnc
         
        Please check that it is in the correct format.

        -----------------------------------------  16:11:50 - 02/04/2007

??? Error using ==> spm_vol>subfunc1
Can't get volume information 
for '/home/common/matlab/spm2/templates/T1.mnc'

Error in ==> spm_vol>subfunc2 at 51
	V = subfunc1(P);

Error in ==> spm_vol at 37
V = subfunc2(P);

Error in ==> spm_segment>get_affine_mapping at 226
if ~isempty(VG) & ischar(VG), VG = spm_vol(VG); end;

Error in ==> spm_segment>init_sp at 567
MM          = get_affine_mapping(VF,PG,flags.affreg);

Error in ==> spm_segment at 91
SP         = init_sp(flags.estimate,VF,PG);

Error in ==> volumesegment at 235
  spm_segment(Va,cfg.template,flags);

Error in ==> BEM_headmodel at 20
seg = volumesegment(cfg, temp_mri);

Thanks anybody who can help me on this issue.

Chen



More information about the fieldtrip mailing list