Deformation fields encoded by sn.mat files can be written out as volumes
(y*.img) using the Deformations toolbox. These y*.img files can then be
combined (be careful about the order), and the combined deformations applied
to an image. These steps would all be done by the same toolbox.
Best regards,
-John
On Tuesday 31 May 2005 13:00, Siawoosh Mohammadi wrote:
> Hi dear SPM-users,
>
> one question about normalization:
>
> I would like to perform two diffferent normalization steps on a image B:
>
> N1: B -> wB (templ_1)
> N2: templ_1 -> wwB (templ_2)
>
> i.e. B (N1)-> wB (N2) -> wwB
>
> without writing the wB pictures. Is there a possibility to incorporate
> the parameters of both transformations (N1, N2):
>
> params_N1 =
> spm_normalise(B,templ_1,matname,'','',defaults.normalise.estimate);
> params_N2 =
> spm_normalise(templ_1,templ_2,matname,'','',defaults.normalise.estimate);
>
> in the spm_write-function:
>
> msk = spm_write_sn(V,params,defaults.normalise.write,'mask');
> spm_write_sn(V,params,defaults.normalise.write,msk);
>
> Thanks,
>
> byebye.
>
>
> --
> 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]
|