Dear SPM5 developers,
I am having trouble loading structural and functional images into SPM5b
-- worked fine with SPM2.
One structural image shows as if the content of .mat files was ignored.
I did update SPM5b code, including :
------------------------------------------------------------------------
r166 | john | 2005-05-18 16:46:13 +0100 (Wed, 18 May 2005) | 3 lines
SPM2 compatible images with .mat files were not being properly handled.
spm_get_space was ignoring contents of .mat files for single volume
files, whereas nifti() was using the contents of the .mat files to
over-ride the sform and qform matrices. This has been fixed.
With another series of functional images I get this error:
--------------------------
Running "Realign: Estimate"
??? Error while evaluating uicontrol Callback.
??? Error using ==> nifti/subsasgn (fun)
"mat0" should be a 4x4 matrix, with a last row of 0,0,0,1.
Error in ==> [log in to unmask]
On line 20 ==> obji = fun(obji,subs,val);
Error in ==> /home/andrew/spm/spm5b/spm_get_space.m
On line 28 ==> if strcmp(N.mat0_intent,'Aligned'), N.mat0 = M; end;
Error in ==> /home/andrew/spm/spm5b/spm_realign.m
On line 141 ==> spm_get_space([P{s}(i).fname ','
num2str(P{s}(i).n)], P{s}(i).mat);
Error in ==> /home/andrew/spm/spm5b/spm_config_realign.m (estimate)
On line 406 ==> spm_realign(P,flags);
Thanks,
--
Andrew V. Poliakov, Ph.D.
Structural Informatics Group,
Department of Biological Structure,
University of Washington, Box 357420,
Seattle, WA 98195
Voice: (206) 685 2154,
Fax (206) 543 1524,
E-mail: [log in to unmask]
|