[Insight-users] How to retrieve translation from itk::Rigid3DTransform

Luis Ibanez luis . ibanez at kitware . com
Fri, 09 May 2003 10:01:50 -0400


Yeap, GetOffset() will return the translation.

ITK transforms do not integrate rotations and translations
in a single matrix in homogeneous coordinates as it is usual
in some other packages.


Luis


-------------------------

Paul Yushkevich wrote:
> Hi Raghavendra,
> 
> I am not 100% sure, but I think GetOffset() is will do what you're 
> looking for.  You can make a quick test by applying the transform to the 
> vector (0,0,0) and seeing if the result matches the vector returned by 
> GetOffset().
> 
> Paul
> 
> Raghavendra Chandrashekara wrote:
> 
>> Hi all,
>>
>> Is there a way to retrieve the translation from the 
>> itk::Rigid3DTransform class? There is a function for retrieving the 
>> RotationMatrix but not the translation.
>>
>> Thanks,
>>
>> Raghavendra.
>>
>> _______________________________________________
>> Insight-users mailing list
>> Insight-users@public.kitware.com
>> http://public.kitware.com/mailman/listinfo/insight-users
>>
>>
> 
>