No subject


Sun Apr 3 09:54:08 EDT 2011


fixed and moving images, at least to the degree that the two images have th=
e same general rigid body shape. In other words, a point which has componen=
ts that match those of the first principal axis in the fixed image should g=
et transformed to a point whose components make up  the first principal axi=
s of the moving image.

However, I think the formula used to generate the rotationMatrix would only=
 work if the principal axes were the columns of the fixedPrincipalAxis and =
movingPrincipalAxis matrices. Currently, the implementation places the prin=
cipal axes as the rows of the two matrices instead. Am I using the initiali=
zer incorrectly or missing something else? Any help on this issue is much a=
ppreciated.

Thanks,

Aman Sinha
Notice:  This e-mail message, together with any attachments, contains
information of Merck & Co., Inc. (One Merck Drive, Whitehouse Station,
New Jersey, USA 08889), and/or its affiliates Direct contact information
for affiliates is available at=20
http://www.merck.com/contact/contacts.html) that may be confidential,
proprietary copyrighted and/or legally privileged. It is intended solely
for the use of the individual or entity named on this message. If you are
not the intended recipient, and have received this message in error,
please notify us immediately by reply e-mail and then delete it from=20
your system.

--_000_F72AD01447E14E6DA4CBE9CBBE5AE585merckcom_
Content-Type: text/html; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html><head></head><body style=3D"word-wrap: break-word; -webkit-nbsp-mode:=
 space; -webkit-line-break: after-white-space; ">Hi,<div><br></div><div>I a=
m currently initializing a registration routine using the CenteredVersorTra=
nsformInitializer, but I was having some issues with the transform it creat=
es. Currently, the class generates a transform using the following code (fr=
om itkCenteredVersorTransformInitializer.txx):</div><div><br></div><div><di=
v style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-l=
eft: 0px; font: normal normal normal 11px/normal Menlo; "><div style=3D"mar=
gin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font=
: normal normal normal 11px/normal Menlo; ">FixedMatrixType &nbsp; fixedPri=
ncipalAxis&nbsp; =3D this-&gt;GetFixedCalculator()-&gt;GetPrincipalAxes();&=
nbsp;</div><div style=3D"margin-top: 0px; margin-right: 0px; margin-bottom:=
 0px; margin-left: 0px; font: normal normal normal 11px/normal Menlo; ">Mov=
ingMatrixType&nbsp; movingPrincipalAxis =3D this-&gt;GetMovingCalculator()-=
&gt;GetPrincipalAxes();&nbsp;</div><p style=3D"margin: 0.0px 0.0px 0.0px 0.=
0px; font: 11.0px Menlo; min-height: 13.0px">&nbsp;&nbsp; &nbsp;<br class=
=3D"webkit-block-placeholder"></p><div style=3D"margin-top: 0px; margin-rig=
ht: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 1=
1px/normal Menlo; ">MovingMatrixType&nbsp; rotationMatrix =3D movingPrincip=
alAxis * fixedPrincipalAxis.GetInverse();</div></div></div><div style=3D"ma=
rgin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; fon=
t: normal normal normal 11px/normal Menlo; "><br></div><div style=3D"margin=
-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: n=
ormal normal normal 11px/normal Menlo; "><font class=3D"Apple-style-span" f=
ace=3D"Helvetica" size=3D"3">From what I understand, the resulting rotation=
Matrix should roughly align &nbsp;fixed and moving images, at least to the =
degree that the two images have the same general rigid body shape. In other=
 words, a point which has components that match those of the first principa=
l axis in the fixed image should get transformed to a point whose component=
s make up &nbsp;the first principal axis of the moving image.</font></div><=
div style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin=
-left: 0px; font: normal normal normal 11px/normal Menlo; "><font class=3D"=
Apple-style-span" face=3D"Helvetica" size=3D"3"><br></font></div><div style=
=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0p=
x; font: normal normal normal 11px/normal Menlo; "><font class=3D"Apple-sty=
le-span" face=3D"Helvetica" size=3D"3">However, I think the formula used to=
 generate the rotationMatrix would only work if the principal axes were the=
 columns of the fixedPrincipalAxis and movingPrincipalAxis matrices. Curren=
tly, the implementation places the principal axes as the rows of the two ma=
trices instead. Am I using the initializer incorrectly or missing something=
 else? Any help on this issue is much appreciated.</font></div><div style=
=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0p=
x; font: normal normal normal 11px/normal Menlo; "><font class=3D"Apple-sty=
le-span" face=3D"Helvetica" size=3D"3"><br></font></div><div style=3D"margi=
n-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: =
normal normal normal 11px/normal Menlo; "><font class=3D"Apple-style-span" =
face=3D"Helvetica" size=3D"3">Thanks,</font></div><div style=3D"margin-top:=
 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal=
 normal normal 11px/normal Menlo; "><font class=3D"Apple-style-span" face=
=3D"Helvetica" size=3D"3"><br></font></div><div style=3D"margin-top: 0px; m=
argin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal=
 normal 11px/normal Menlo; "><font class=3D"Apple-style-span" face=3D"Helve=
tica" size=3D"3">Aman Sinha</font></div><pre>Notice:  This e-mail message, =
together with any attachments, contains
information of Merck &amp; Co., Inc. (One Merck Drive, Whitehouse Station,
New Jersey, USA 08889), and/or its affiliates Direct contact information
for affiliates is available at=20
http://www.merck.com/contact/contacts.html) that may be confidential,
proprietary copyrighted and/or legally privileged. It is intended solely
for the use of the individual or entity named on this message. If you are
not the intended recipient, and have received this message in error,
please notify us immediately by reply e-mail and then delete it from=20
your system.
</pre></body></html>
--_000_F72AD01447E14E6DA4CBE9CBBE5AE585merckcom_--



More information about the Insight-users mailing list