[ITK] [ITK-users] Question about itkCenteredVersorTransformInitializer

Bradley Lowekamp blowekamp at mail.nih.gov
Tue Mar 10 12:56:32 EDT 2015


Hello Jan,

Please remember that the ITK registration framework ( and initializers ) produce a transform which maps points from the fixed image to the moving image. My first guess is that you are applying the transform in the wrong direction.

Brad

On Mar 10, 2015, at 12:14 PM, Jan Schepers <janschepers1 at gmail.com> wrote:

> Hello,
> 
> in the method InitializeTransform the rotation matrix is computed as follows:
> MovingMatrixType rotationMatrix = movingPrincipalAxis * fixedPrincipalAxis.GetInverse();
> 
> This doesn't work for me. If I change it to 
> MovingMatrixType rotationMatrix = movingPrincipalAxis.GetInverse() * fixedPrincipalAxis;
> then I get the results that I expected. Strangely, both rotation matrices are not even each other's inverse.
> 
> Did anyone experience the same problem?
> 
> Best regards,
> Jan
> _____________________________________
> Powered by www.kitware.com
> 
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
> 
> Kitware offers ITK Training Courses, for more information visit:
> http://www.kitware.com/products/protraining.php
> 
> Please keep messages on-topic and check the ITK FAQ at:
> http://www.itk.org/Wiki/ITK_FAQ
> 
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/insight-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/community/attachments/20150310/20350648/attachment.html>
-------------- next part --------------
_____________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html

Kitware offers ITK Training Courses, for more information visit:
http://www.kitware.com/products/protraining.php

Please keep messages on-topic and check the ITK FAQ at:
http://www.itk.org/Wiki/ITK_FAQ

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/insight-users


More information about the Community mailing list