Print

Print


Hi Kamran,

if it is ok for your task to use the function: spm_coreg_ui.m, I could give you an answer:

(SPM2) just replace in spm_coreg.m :
 

def_flags = struct('sep',[4 2],'params',[0 0 0  0 0 0], 'cost_fun','nmi','fwhm',[7 7],...
 'tol',[0.02 0.02 0.02 0.001 0.001 0.001 0.01 0.01 0.01 0.001 0.001 0.001],'graphics',1);

by

def_flags = struct('sep',[4 2],'params',[0 0 0  0 0 0 1 1 1], 'cost_fun','nmi','fwhm',[7 7],...
 'tol',[0.02 0.02 0.02 0.001 0.001 0.001 0.01 0.01 0.01 0.001 0.001 0.001],'graphics',1);

The 'params' are the the starting-parameters for the transformation used in spm_coreg_ui.m. By replacing the 'params', as I did above, the transformation used during the coregistration algorithm is switched from a 6-parametric to a 9-parametric affine transformation.
 
 

kamran kazemi wrote:

Dear SPMersthe affine normalization in SPM estimate 12 parameters. is there a way to do normalization in using only 9 parameters? i mean doning the normalization with scale, rotation and displacement? Regardskamran
Yahoo! Messenger with Voice. Make PC-to-Phone Calls to the US (and 30+ countries) for 2¢/min or less.


-Siawoosh

Siawoosh Mohammadi

Dept. of Neurology
University of Muenster                 Phone: +49-251-8352061
Albert-Schweitzer-Strasse 33           Fax: +49-251-8348181
48129 Muenster, Germany                E-mail: [log in to unmask]