The proper way to do things is to fit the model (in this case, the
template) to the data (the image of the individual subject). This is
how the affine registration normally works.
In practice though, the end result that people generally want from SPM
is the data fitted to the model.
Best regards,
-John
On 30 October 2012 09:19, parisa Tahafchi <[log in to unmask]> wrote:
> Dear all,
>
> I encountered a problem when I read "spm_affreg" code. I have noticed that
> in this code, at first the template image is mapped to source image space.
> And then the source image is mapped to template space.
> I really have confused what the reason is.
> Could some one help me on this matter?!
>
> And also I dont know why the outputs of cost function for each mapping are
> added?
>
> Many thanks in advance,
> Parisa
|