help > PICK ATLAS ERROR
Showing 1-2 of 2 posts
Nov 13, 2013 11:11 AM | Olaia Lucas
PICK ATLAS ERROR
Hello, I have some problems when I use pickatlas with 2 patients of
my sample. this message appears in the command window when I try to
do a ROI analysis in the SPM matrix:
ans =
atlasname: 'HUMAN ATLAS'
subdir: 'MNI_atlas_templates'
lookupfile: 'master_lookup.txt'
dispimage: 'MNI_T1.nii'
licensefile: 'info.html'
conversionfile: 'atlas_space_conversions.txt'
conversion: [1x2 struct]
SPM computation : ...Reslice mask to SPMError using spm_vol>subfunc (line 101)
File "mask.img" does not exist.
Error in spm_vol>subfunc1 (line 77)
v = subfunc(P(i,:));
Error in spm_vol>subfunc2 (line 69)
V = subfunc1(P);
Error in spm_vol (line 54)
V = subfunc2(P);
Error in spm_reslice (line 121)
if ischar(P), P = spm_vol(P); end;
Error in wfu_spm_getSPM (line 720)
spm_reslice(P,flags);
Error in spm_getSPM (line 3)
[SPM xSPM] = wfu_spm_getSPM(varargin{:});
Error in spm_results_ui (line 263)
[SPM,xSPM] = spm_getSPM;
Error while evaluating uicontrol Callback
best regards,
OLAIA
ans =
atlasname: 'HUMAN ATLAS'
subdir: 'MNI_atlas_templates'
lookupfile: 'master_lookup.txt'
dispimage: 'MNI_T1.nii'
licensefile: 'info.html'
conversionfile: 'atlas_space_conversions.txt'
conversion: [1x2 struct]
SPM computation : ...Reslice mask to SPMError using spm_vol>subfunc (line 101)
File "mask.img" does not exist.
Error in spm_vol>subfunc1 (line 77)
v = subfunc(P(i,:));
Error in spm_vol>subfunc2 (line 69)
V = subfunc1(P);
Error in spm_vol (line 54)
V = subfunc2(P);
Error in spm_reslice (line 121)
if ischar(P), P = spm_vol(P); end;
Error in wfu_spm_getSPM (line 720)
spm_reslice(P,flags);
Error in spm_getSPM (line 3)
[SPM xSPM] = wfu_spm_getSPM(varargin{:});
Error in spm_results_ui (line 263)
[SPM,xSPM] = spm_getSPM;
Error while evaluating uicontrol Callback
best regards,
OLAIA
Nov 13, 2013 01:11 PM | Benjamin Wagner - UT Southwestern Medical Center
RE: PICK ATLAS ERROR
Hello Olaia,
The directory with your SPM.mat should contain several files:
SPM.mat
beta_000n.img/hdr
con_0000n.img/hdr
spmT_000n.img/hdr
mask.img/hdr
If the mask image is missing, then it most likely, that processing did not complete. If you copied the SPM.mat from some other location, you need to go back and get those files.
Ben Wagner
The directory with your SPM.mat should contain several files:
SPM.mat
beta_000n.img/hdr
con_0000n.img/hdr
spmT_000n.img/hdr
mask.img/hdr
If the mask image is missing, then it most likely, that processing did not complete. If you copied the SPM.mat from some other location, you need to go back and get those files.
Ben Wagner