2 simple questions -> spm_slice_vol

Kianoush Nazarpour k.nazarpour at BHAM.AC.UK
Thu Apr 3 12:06:34 CEST 2008

Thank you, 

I tried that as well, but does not solve the problem. 

Then, I decided to simply do the segmentation in the SPM and then bring the
segmented images into FT. Therefore, I needed to make the mri variable in
order to put all in FT format. 

The file used was t1_icbm_normal_1mm_pn0_rf0.mnc . 
The segmentation was done properly by SPM while the same file could not even
be read  properly  by 

mri = read_fcdc_mri('t1_icbm_normal_1mm_pn0_rf0.mnc');

The error was 

??? Error using ==> spm_slice_vol
Cant open image file.

Error in ==> spm_read_vols at 35
	Y(:,:,p,i) = spm_slice_vol(V(i),spm_matrix([0 0 p]),V(i).dim(1:2),0);

Error in ==> read_fcdc_mri at 102
  img = spm_read_vols(hdr);

My question is if spm_slice_vol can be executed in SPM2 in Matlab MATLAB
Version (R2007b) why I can not be run on simialr Matlab platform
but through FT ?!


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