help > RE: Error using spm_slice_vol : File too small
Aug 16, 2022  05:08 AM | Masahiro Umeda - Meiji Univerisity of Integrative Medicine
RE: Error using spm_slice_vol : File too small
Originally posted by Hadi Hosseini:
Hello,

I am getting the following error with Conn 17a during "loading ROIs" (with Atlas.nii and Networks.nii as default ROIs). I tried both SPM8 and SPM12 but got the same error. Any help is much appreciated.

Thanks,
Hadi 

--------------------------------------------------------------------
Error using spm_slice_vol
File too small.

Error in spm_read_vols (line 34)
Y(:,:,p,i) = spm_slice_vol(V(i),spm_matrix([0 0 p]),V(i).dim(1:2),0);
Error in conn_process (line 608)
X0=spm_read_vols(V0);
Error in conn_process (line 15)
case 'setup', disp(['CONN: RUNNING SETUP STEP']); conn_process([0:4,4.5,5]);
Error in conn (line 3195)
else conn_process('setup');
Error in conn_menumanager (line 119)
feval(CONN_MM.MENU{n0}.callback{n1}{1},CONN_MM.MENU{n0}.callback{n1}{2:end});

CONN v.17.a
SPM8 + ArtRepair Beamforming DEM FieldMap MEEGtools
Matlab v.2014b
storage: 4813.1Gb available
--------------------------------------------------------------------

Hello,

I have same error, too small, in sum_read_vol
Error spm_get_data (line 46; Y(i,:) = spm_sample_vol(V(i),XYZ(1,:),XYZ(2,:),XYZ(3,:),0);)
I used CONN 2021a and imported data processed by SPM12 with DARTEL deformation. It seemed that error occurred during loading functional MRI processed data. I compare the data of DARTEL processed data and CONN processed data for functional data. I found the DARTEL processed and merged 4D data (merged by SPM12 command) have different header information compare with CONN processed 4D functional data, there is the dimension field checking the information by niftiinfo command on Matlab, merged data has ' ' (empty) but CONN processed data has '9'. Just 3 volumes of merged data were able to check MRIcroGL, however all volumes data are able to see for merged data. I tried to merge data using FSL or MRtrix3 program, however the merged data have same style. This herder information affect the spm_get_data, is't it?
Thank you,
Masahiro Umeda

Threaded View

TitleAuthorDate
Hadi Hosseini Nov 28, 2016
RE: Error using spm_slice_vol : File too small
Masahiro Umeda Aug 16, 2022
Masahiro Umeda Aug 16, 2022
Kelly Martin Nov 8, 2017
chenglin123 Jul 18, 2022
chenglin123 Jul 20, 2022
Peter Wang Mar 3, 2023
kati Voigt Sep 11, 2018