[Insight-users] Problem about CenteredAffineTransform
Siwei Yang
s.yang at dkfz-heidelberg.de
Thu Jun 22 08:44:24 EDT 2006
Hello every body,
here I have a question about CenteredAffineTransform.
When I was registering two images using CenteredAffineTransform, I
found, that I got the same transform parameters at all times, in spite
of using different Spacing. For Exampe:
1. .............fiximage->SetSpacing (2,3,4) and
movingimage->SetSpacing(2,3,4); .............
2. .............fiximage->SetSpacing (1,1,1) and
movingimage->SetSpacing(1,1,1);.............
Both cases produced the same transform parameter.
I think, that it should be not true in mathematical sense.
Furthermore, Using registration ->GetFixedImage()->GetSpacing() I got
the correct spacing information. It means, that I did pass the right
spacing into the registration Pipeline.
Can anybody explain it ?
Thanks
Siwei
More information about the Insight-users
mailing list