[ITK-users] How to use rotation matrix and translation to perform Rigid 3D transform?
Siavash Khallaghi
siavashk at ece.ubc.ca
Fri Sep 11 13:28:48 EDT 2015
It seems that the itkEuler3DTransform
<http://www.itk.org/Doxygen/html/classitk_1_1Euler3DTransform.html> is
what you need. Just beware that in your resample image filter you need to
specify the CT-to-PET transform.
Something that might be challenging for you is that the PET and CT
transforms are most likely with respect to trackers in the patient room.
That is the transform that you read from Dicom is PET-to-PETTracker and
CT-To-CTTracker transforms. If PETTracker = CTTracker, then you can
calculate the CT-to-PET transform via a simple inversion:
CT-to-PET = CT-to-CTTracker * inv(PET-to-PETTracker)
I personally would recommend using the C++ ITK to perform resampling.
Siavash
--
View this message in context: http://itk-users.7.n7.nabble.com/How-to-use-rotation-matrix-and-translation-to-perform-Rigid-3D-transform-tp36114p36117.html
Sent from the ITK - Users mailing list archive at Nabble.com.
More information about the Insight-users
mailing list