open-discussion > Failed "image Calculator"
Showing 1-2 of 2 posts
Display:
Results per page:
May 15, 2017  11:05 AM | M K
Failed "image Calculator"
I am getting this error during the structural segmentation and normalization phase of preprocessing:
SPM12: spm_imcalc (v6124) 15:55:02 - 13/05/2017
========================================================================
Failed 'Image Calculator'
Error using spm_vol>spm_vol_hdr (line 80)
File "D:\Resting State Data\45_PN_10_ep2d_bold_160_resting_0008\PN_10_Structural\ws2015-09-24_14-49-145044-00001-00001-1.nii" does not exist.
In file "C:\Users\Documents\MATLAB\spm12\spm12\spm_vol.m" (v5958), function "spm_vol_hdr" at line 80.
In file "C:\Users\Documents\MATLAB\spm12\spm12\spm_vol.m" (v5958), function "spm_vol" at line 61.
In file "C:\Users\Documents\MATLAB\spm12\spm12\spm_imcalc.m" (v6124), function "spm_imcalc" at line 99.
In file "C:\Users\Documents\MATLAB\spm12\spm12\config\spm_cfg_imcalc.m" (v6536), function "my_spm_imcalc" at line 225.

These files do in fact exist however in the .hdr/.img format and they exist in the folders they are supposed to be in. This happens for every subject and is only occuring on this step, despite all other steps being carried out with .hdr/.img formatted files.
May 15, 2017  02:05 PM | Esma Ece Uluğ - bogazici university
RE: Failed "image Calculator"
hi,
may be you can begin with convert .hdr to .nii format.