[Insight-users] How to specify transform parameters

Andrew Li andrew.li at synarc.com
Fri Dec 16 12:24:32 EST 2005


Dear ITK users:

I am planning to use "itkResampleImageFilter" 
for data reorientation from Axial to Coronal without shifting.


	// Moving dataset: 3D Axial: 
	//            row(L->R):   1.0,  0.0,  0.0
	//            col(A->P):   0.0,  1.0,  0.0
	//           norm(F->H):   0.0,  0.0,  1.0
	//

Moving: Spacing [1.01562, 1.01562, 3]
Moving:  Origin [-130, -130, -75]
Moving:    Size [256, 256, 50]
Moving:   Index [0, 0, 0]

	//
	// Fixed dataset: 3D Coronal: 
	//            row(L->R):   1.0,  0.0,  0.0
	//            col(H->F):   0.0,  0.0, -1.0
	//           norm(A->P):   0.0,  1.0,  0.0
	//
Fixed:  Spacing [1.01562, 1.01562, 1.59999]
Fixed:   Origin [-130, -130, -127.999]
Fixed:     Size [256, 256, 160]
Fixed:    Index [0, 0, 0]

I assume that I could use the following transform type:

typedef itk::VersorRigid3DTransform< double  > TransformType;
typedef TransformType::ParametersType          TransformParametersType;
typedef TransformType::InputPointType          TransformCenterType;

Question #1: How to set transform parameters? There are 6 of them. 
Question #2: I assume I should set transform center 
	to: {0,0,0}. Is it correct?

Thank you all very much in advance.

-Andrew
 
--------------------------------------------------------

This email message is for the sole use of the intended recipient(s) and may contain confidential and privileged information.Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message. If you are the intended recipient, please be advised that the content of this message is subject to access, review and disclosure by the sender's Email System Administrator.
--------------------------------------------------------


More information about the Insight-users mailing list