SPM2 related error message when doing volumesegment
Sameer Walawalkar
sameer at ANDREW.CMU.EDU
Mon Apr 2 22:47:22 CEST 2007
Hi Chen,
unless you define
cfg.template = 'full path to T1.mnc file';
spm2 will look for T1.mnc in a predesignated directory and give that
error.
sameer
On Mon, 2 Apr 2007, Chen wrote:
> 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