<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">Hello,<div><br></div><div><br></div><div>I just wrapped this class for SimpleITK. I found it odd that by default the "ComputeRotation" parameter is set to off. With turing this parameter on I got good initialization for some anisotropic blobs. Did you turn this on?</div><div><br></div><div>Regarding you other question regarding the VersorTransfrom. The "versor" representation for rotation an represent an arbitrary rotation about the origin. So one is quite sufficient.</div><div><br></div><div>Brad</div><div><br></div><div><br></div><div><br><div><div>On Aug 4, 2014, at 2:02 PM, tina <<a href="mailto:fttfzzx227@126.com">fttfzzx227@126.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div lang="ZH-CN" link="#0563C1" vlink="#954F72" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><div class="WordSection1" style="page: WordSection1;"><div style="margin: 0cm 0cm 0.0001pt; text-align: justify; font-size: 10.5pt; font-family: Calibri, sans-serif;"><span lang="EN-US">Hi,<o:p></o:p></span></div><pre style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: SimSun;"><span lang="EN-US">Can anybody tell me about how to implement a principal axes registration use ITK? I use <span style="">itkCenteredVersorTransformInitializer.txx to initialize the VersorRigid3DTransform,but this function didn’t implement the rotation,so I try to compute the angle of rotation from the fixedPrincipalAxes and the movingPrincipalAxes, is there any way else to get the rotation matrix?<o:p></o:p></span></span></pre><pre style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: SimSun;"><span lang="EN-US" style="">Another problem is does the rotation matrix only specify one axis of the coordinate? I mean: in order to registrate two coordinates(x,y,z;x’,y’,z’),we should implement the VersorRigid3DTransform 3 times?<o:p></o:p></span></pre><pre style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: SimSun;"><span lang="EN-US" style="">Any help would be greatly appreciated!<o:p></o:p></span></pre><pre style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: SimSun;"><span lang="EN-US" style="">Best regards,<o:p></o:p></span></pre><pre style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: SimSun;"><span lang="EN-US" style="">Tina<b><o:p></o:p></b></span></pre><div style="margin: 0cm 0cm 0.0001pt; text-align: justify; font-size: 10.5pt; font-family: Calibri, sans-serif;"><span lang="EN-US"> </span></div></div>_____________________________________<br>Powered by<span class="Apple-converted-space"> </span><a href="http://www.kitware.com/" style="color: rgb(149, 79, 114); text-decoration: underline;">www.kitware.com</a><br><br>Visit other Kitware open-source projects at<br><a href="http://www.kitware.com/opensource/opensource.html" style="color: rgb(149, 79, 114); text-decoration: underline;">http://www.kitware.com/opensource/opensource.html</a><br><br>Kitware offers ITK Training Courses, for more information visit:<br><a href="http://www.kitware.com/products/protraining.php" style="color: rgb(149, 79, 114); text-decoration: underline;">http://www.kitware.com/products/protraining.php</a><br><br>Please keep messages on-topic and check the ITK FAQ at:<br><a href="http://www.itk.org/Wiki/ITK_FAQ" style="color: rgb(149, 79, 114); text-decoration: underline;">http://www.itk.org/Wiki/ITK_FAQ</a><br><br>Follow this link to subscribe/unsubscribe:<br><a href="http://public.kitware.com/mailman/listinfo/insight-users" style="color: rgb(149, 79, 114); text-decoration: underline;">http://public.kitware.com/mailman/listinfo/insight-users</a></div></blockquote></div><br></div></body></html>