Hi all,
I am trying to run a coregistration batch script (bottom) but I keep getting
the following error. I noticed some emails about spm_coreg_ui.m v2.2 not
having this problem. Is there any way to get that version or is this
actually a problem with my script? Also, how do I specify Mutual Information
Coregistration?
Thanks for the help!!!
Pam
SPM99: spm_coreg_ui (v2.3) 14:14:59 - 08/03/2005
=======================================================================
Coregistering Subject 1: ??? Error using ==> spm_get_space
Can't read matrix information from "/".
Error in ==> /home/matlab/spm99/spm_coregister.m
On line 55 ==> MG = spm_get_space(deblank(PGF(1,:)));
Error in ==> /home/matlab/spm99/spm_coreg_ui.m
On line 214 ==> spm_coregister(PGF, PFF, PGG, PFG,
others,flags);
Error in ==> /home/matlab/spm99/spm_bch.m
On line 187 ==> spm_coreg_ui;
%coreg.m (variable definition file for coregistration)
%_____________________________________________________________________
%---------------------------------------------------------------
% user variables defined here for analysis 'coreg'
%---------------------------------------------------------------
anat3D = spm_get('files', './spgr', 'V1.img');
mfunct = spm_get('files', './encode', 'meanV001.img');
funct = spm_get('files', './encode', 'rV*.img');
%---------------------------------------------------------------
% batch variables defined here for analysis 'coreg'
%---------------------------------------------------------------
coreg = struct( ...
'subject_nb', 1, ...
'opt', 1, ...
'target_mod', 2, ...
'object_mod', 5, ...
'target_image', [anat3D], ...
'object_image', [mfunct], ...
'other_image', [funct] ...
);
> Pamela Perschler
> Research Data Analyst
> Department of Psychiatry
> Center for Cognitive Medicine
> Neuropsychiatric Institute, Rm 827
> University of Illinois at Chicago
> 912 S Wood St. MC913
> Chicago IL 60612
> Phone: 312-355-5652
> FAX: 312-413-7856
> e-mail: [log in to unmask]
> http://ccm.psych.uic.edu/index.htm
>
>
|