[Insight-users] MutualInformation based registration with affine transform

David Doria daviddoria at gmail.com
Fri Jan 7 14:17:22 EST 2011


I tried adapting the example ImageRegistration2.cxx to use an affine
transform instead of a translation transform:

http://www.itk.org/Wiki/ITK/Examples/Registration/MutualInformationAffine

I create synthetic images (a centered circle for the fixed image and an
uncentered ellipse as the moving image) instead of reading images.

The problem is that the resulting "output.png" (the moving image transformed
by the final transform) is very wrong. Using the translation transform, the
ellipse moves nicely over to the sphere as I would expect. Using the affine
transform, the cylinder image is wildly warped or in a very wrong position.
I tried various LearningRate's and numberOfSamples - the only parameters I
really saw to play with.

I have attached an image of the the fixed and moving images and the output
from the translation only registration.

Any thoughts on how to get it to work with the affine transform? I am kind
of expecting the ellipse to warp into a circle, but I'd at least expect it
to do as well as the translation only.

Thanks,

David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20110107/9f16a7ec/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: translation.jpg
Type: image/jpeg
Size: 7007 bytes
Desc: not available
URL: <http://www.itk.org/pipermail/insight-users/attachments/20110107/9f16a7ec/attachment.jpg>


More information about the Insight-users mailing list