Problems with volumesegment
A. Rodrigo
alihena_ at HOTMAIL.COM
Wed Aug 27 15:40:31 CEST 2008
Hi,
When I run
>> mri = read_fcdc_mri('Subject01.mri');
cfg = [];
cfg.write = 'no';
cfg.coordinates = 'ctf';
[segmentedmri] = volumesegment(cfg, mri);
The error message is :
??? Error using ==> spm_create_vol>create_vol
"dim" field is the wrong size (1 4).
Error in ==> spm_create_vol at 16
v = create_vol(V(i));
Error in ==> fieldtrip-20080511\private\volumewrite_spm at 61
Va = spm_create_vol(Va);
Error in ==> volumesegment at 226
Va = volumewrite_spm([cfg.name,'.img'], mri.anatomy, mri.transform);
Can you help me? Thanks a lot.
----------------------------------
The aim of this list is to facilitate the discussion between users of the FieldTrip toolbox, to share experiences and to discuss new ideas for MEG and EEG analysis. See also http://listserv.surfnet.nl/archives/fieldtrip.html and http://www.ru.nl/fcdonders/fieldtrip.
More information about the fieldtrip
mailing list