[vtkusers] about transform vtkTransform to itkTransform

yxliu at fudan.edu.cn yxliu at fudan.edu.cn
Fri Jul 7 06:05:44 EDT 2006


Hi,

I have a 4x4 vtkMatrix, which represents a 3D affine transform. Now I 
need to transform it into itkCenterAffineTransform. I did it as below.

Set the 3x3 matrix of vtkMatrix to the 9 parameters of  
itkCenterAffineTransform
Set the translation of vtkMatrix to 10th, 11th and 12th parameters
Set the center of itkCenterAffineTransform to (0,0,0)

Is correct?

Regards,

Yixun Liu





More information about the vtkusers mailing list