[Insight-users] Affine Inverse error?

Bradley Lowekamp blowekamp at mail.nih.gov
Wed Jan 29 08:19:16 EST 2014


Emma,

The Offset and the Center are factored into the inverse. Have you tried transforming points to verify your conjecture?

Brad

On Jan 29, 2014, at 6:10 AM, Emma Saunders <emmasaunders123 at gmail.com> wrote:

> Hi am reading an affine transform and printing it's inverse to screen.  The original Translation  [5.66101, 14.0742, -5.731] and inverse Translation Translation: [-5.98632, -15.1146, 6.15185] appear different?  Is this a bug?
> 
> Thanks
> 
> Emma
> 
> Matrix: 
>     0.97688 -0.0114633 0.00221758 
>     0.0017227 0.931566 0.00265812 
>     -0.00067023 0.0265189 0.996092 
>   Offset: [5.66101, 14.0742, -5.731]
>   Center: [0, 0, 0]
>   Translation: [5.66101, 14.0742, -5.731]
> 
> Here is the inverse
> 
>  Matrix: 
>     1.02364 0.0126622 -0.0023127 
>     -0.00189508 1.07352 -0.00286052 
>     0.000739221 -0.0285717 1.004 
>   Offset: [-5.98632, -15.1146, 6.15185]
>   Center: [0, 0, 0]
>   Translation: [-5.98632, -15.1146, 6.15185]
> 
> 
> 
> 
> 
> 
> _____________________________________
> 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://www.itk.org/mailman/listinfo/insight-users



More information about the Insight-users mailing list