[Insight-users] RE: VersorRigid3DTransform & Optimization

Radhika Sivaramakrishna radhika.sivaramakrishna at synarc.com
Fri, 9 Jan 2004 12:18:26 -0800


This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C3D6ED.9F37F586
Content-Type: text/plain

Hi Luis,
You are right. I shouldn't have done that!

To answer your question, both images are T1-weighted MRI brain images.

Radhika


-----Original Message-----
From: Luis Ibanez [mailto:luis.ibanez at kitware.com] 
Sent: Friday, January 09, 2004 12:18 PM
To: Radhika Sivaramakrishna
Cc: 'insight-users at itk.org'
Subject: Re: [Insight-users] RE: VersorRigid3DTransform & Optimization


Hi Radhika,


> I manually set the Translation parameters all to 0, so they 
> are not what would come back from the CenteredTransformIntiializer.


             DON'T DO THAT !


The whole purpose of the CenteredTransformInitializer is to
get the values of the translation that will make the transform
rotate around the center of the image. If you set them to zero
the transform will now apply rotations around the corner of the
image.

Just let the Initializer compute the initial center and pass
this directly to the optimizer.

10 degrees is not a big rotation, the optimizer can easily take
care of this value starting from a zero degress rotation.

------

Additional important questions:

  -- What is the image modality of the fixed Image ?
  -- What is the image modality of the moving Image ?



Thanks


   Luis


----------------------------------
Radhika Sivaramakrishna wrote:

> Hi Luis,
> 
> Sorry about that. Here it is. I also forgot to add in my previous 
> message that I manually set the Translation parameters all to 0, so they 
> are not what would come back from the CenteredTransformIntiializer.
> 
> Thanks
> Radhika
> 
> 
> -----Original Message-----
> From: Luis Ibanez [mailto:luis.ibanez at kitware.com]
> Sent: Friday, January 09, 2004 11:49 AM
> To: Radhika Sivaramakrishna
> Cc: 'insight-users at itk.org'
> Subject: Re: [Insight-users] RE: VersorRigid3DTransform & Optimization
> 
> 
> Hi Radhika,
> 
> It seems that you forgot to attach the optimization
> results to your previous message.
> 
> 
> Could you please resend ?
> 
> .....
> 
> ------------------------------------------------------------------------
> 
> {\rtf1\ansi\ansicpg1252\deff0\deflang1033{\fonttbl{\f0\fswiss\fcharset0
Arial;}}
> {\*\generator Msftedit 5.41.15.1503;}\viewkind4\uc1\pard\f0\fs20 Initial
Parameters\par
> [0, 0, 0.078459, 0, 0, 0]\par
>  \par
> Starting Registration\par
> 0   122.284   [-7.76384e-05, -0.000203248, 0.0779507, -0.0903917,
-0.0427135, -0\par
> .00191451]\par
> 1   112.997   [-0.000143984, -0.00041634, 0.0774771, -0.180785,
-0.0854356, -0.0\par
> 0359959]\par
> 2   104.003   [-0.000199035, -0.000638966, 0.077048, -0.271207, -0.128106,
-0.00\par
> 505471]\par
> 3   95.9322   [-0.000243709, -0.000871241, 0.0766725, -0.361623,
-0.170796, -0.0\par
> 0632879]\par
> 4   88.7345   [-0.00027627, -0.00111595, 0.0763653, -0.452045, -0.213483,
-0.007\par
> 36107]\par
> 5   82.3327   [-0.00029703, -0.00137476, 0.0761486, -0.542499, -0.256108,
-0.008\par
> 22158]\par
> 6   76.6   [-0.000305128, -0.00164898, 0.0760471, -0.632992, -0.298655,
-0.00894\par
> 378]\par
> 7   71.3798   [-0.000300455, -0.0019479, 0.0761015, -0.723488, -0.341197,
-0.009\par
> 48366]\par
> 8   66.4371   [-0.000279808, -0.00228182, 0.0763722, -0.814021, -0.383656,
-0.00\par
> 984813]\par
> 9   61.4269   [-0.000243049, -0.00268141, 0.0769668, -0.904588, -0.426031,
-0.01\par
> 00765]\par
> 10   55.7889   [-0.000188929, -0.00320417, 0.0781104,\par
> Starting Registration\par
> 0   122.284   [-7.76384e-05, -0.000203248, 0.0779507, -0.0903917,
-0.0427135, -0\par
> .00191451]\par
> 1   112.997   [-0.000143984, -0.00041634, 0.0774771, -0.180785,
-0.0854356, -0.0\par
> 0359959]\par
> 2   104.003   [-0.000199035, -0.000638966, 0.077048, -0.271207, -0.128106,
-0.00\par
> 505471]\par
> 3   95.9322   [-0.000243709, -0.000871241, 0.0766725, -0.361623,
-0.170796, -0.0\par
> 0632879]\par
> 4   88.7345   [-0.00027627, -0.00111595, 0.0763653, -0.452045, -0.213483,
-0.007\par
> 36107]\par
> 5   82.3327   [-0.00029703, -0.00137476, 0.0761486, -0.542499, -0.256108,
-0.008\par
> 22158]\par
> 6   76.6   [-0.000305128, -0.00164898, 0.0760471, -0.632992, -0.298655,
-0.00894\par
> 378]\par
> 7   71.3798   [-0.000300455, -0.0019479, 0.0761015, -0.723488, -0.341197,
-0.009\par
> 48366]\par
> 8   66.4371   [-0.000279808, -0.00228182, 0.0763722, -0.814021, -0.383656,
-0.00\par
> 984813]\par
> 9   61.4269   [-0.000243049, -0.00268141, 0.0769668, -0.904588, -0.426031,
-0.01\par
> 00765]\par
> 10   55.7889   [-0.000188929, -0.00320417, 0.0781104, -0.99507, -0.468534,
-0.01\par
> 01859]\par
> 11   48.5156   [-0.000123853, -0.00401665, 0.0804572, -1.08489, -0.512197,
-0.01\par
> 11781]\par
> 12   37.4478   [3.10332e-05, -0.00704198, 0.0892498, -1.16971, -0.561742,
-0.009\par
> 45302]\par
> 13   37.3638   [7.41215e-05, -0.0110382, 0.0899105, -1.12256, -0.548321,
-0.0150\par
> 374]\par
> 14   64.79   [7.58776e-05, -0.0145223, 0.0901635, -1.14579, -0.55299,
-0.0188676\par
> ]\par
> 15   88.3713   [0.000107904, -0.0189501, 0.0906757, -1.16733, -0.557305,
-0.0268\par
> 006]\par
> 16   118.215   [0.000130248, -0.025405, 0.0915682, -1.18644, -0.561881,
-0.03509\par
> 66]\par
> \par
> }


                                                     
-----------------------------------------------------  
Confidentiality Notice. 
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.

------_=_NextPart_001_01C3D6ED.9F37F586
Content-Type: text/html

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2656.87">
<TITLE>RE: [Insight-users] RE: VersorRigid3DTransform &amp; Optimization</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=2>Hi Luis,</FONT>
<BR><FONT SIZE=2>You are right. I shouldn't have done that!</FONT>
</P>

<P><FONT SIZE=2>To answer your question, both images are T1-weighted MRI brain images.</FONT>
</P>

<P><FONT SIZE=2>Radhika</FONT>
</P>
<BR>

<P><FONT SIZE=2>-----Original Message-----</FONT>
<BR><FONT SIZE=2>From: Luis Ibanez [<A HREF="mailto:luis.ibanez at kitware.com">mailto:luis.ibanez at kitware.com</A>] </FONT>
<BR><FONT SIZE=2>Sent: Friday, January 09, 2004 12:18 PM</FONT>
<BR><FONT SIZE=2>To: Radhika Sivaramakrishna</FONT>
<BR><FONT SIZE=2>Cc: 'insight-users at itk.org'</FONT>
<BR><FONT SIZE=2>Subject: Re: [Insight-users] RE: VersorRigid3DTransform &amp; Optimization</FONT>
</P>
<BR>

<P><FONT SIZE=2>Hi Radhika,</FONT>
</P>
<BR>

<P><FONT SIZE=2>&gt; I manually set the Translation parameters all to 0, so they </FONT>
<BR><FONT SIZE=2>&gt; are not what would come back from the CenteredTransformIntiializer.</FONT>
</P>
<BR>

<P><FONT SIZE=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; DON'T DO THAT !</FONT>
</P>
<BR>

<P><FONT SIZE=2>The whole purpose of the CenteredTransformInitializer is to</FONT>
<BR><FONT SIZE=2>get the values of the translation that will make the transform</FONT>
<BR><FONT SIZE=2>rotate around the center of the image. If you set them to zero</FONT>
<BR><FONT SIZE=2>the transform will now apply rotations around the corner of the</FONT>
<BR><FONT SIZE=2>image.</FONT>
</P>

<P><FONT SIZE=2>Just let the Initializer compute the initial center and pass</FONT>
<BR><FONT SIZE=2>this directly to the optimizer.</FONT>
</P>

<P><FONT SIZE=2>10 degrees is not a big rotation, the optimizer can easily take</FONT>
<BR><FONT SIZE=2>care of this value starting from a zero degress rotation.</FONT>
</P>

<P><FONT SIZE=2>------</FONT>
</P>

<P><FONT SIZE=2>Additional important questions:</FONT>
</P>

<P><FONT SIZE=2>&nbsp; -- What is the image modality of the fixed Image ?</FONT>
<BR><FONT SIZE=2>&nbsp; -- What is the image modality of the moving Image ?</FONT>
</P>
<BR>
<BR>

<P><FONT SIZE=2>Thanks</FONT>
</P>
<BR>

<P><FONT SIZE=2>&nbsp;&nbsp; Luis</FONT>
</P>
<BR>

<P><FONT SIZE=2>----------------------------------</FONT>
<BR><FONT SIZE=2>Radhika Sivaramakrishna wrote:</FONT>
</P>

<P><FONT SIZE=2>&gt; Hi Luis,</FONT>
<BR><FONT SIZE=2>&gt; </FONT>
<BR><FONT SIZE=2>&gt; Sorry about that. Here it is. I also forgot to add in my previous </FONT>
<BR><FONT SIZE=2>&gt; message that I manually set the Translation parameters all to 0, so they </FONT>
<BR><FONT SIZE=2>&gt; are not what would come back from the CenteredTransformIntiializer.</FONT>
<BR><FONT SIZE=2>&gt; </FONT>
<BR><FONT SIZE=2>&gt; Thanks</FONT>
<BR><FONT SIZE=2>&gt; Radhika</FONT>
<BR><FONT SIZE=2>&gt; </FONT>
<BR><FONT SIZE=2>&gt; </FONT>
<BR><FONT SIZE=2>&gt; -----Original Message-----</FONT>
<BR><FONT SIZE=2>&gt; From: Luis Ibanez [<A HREF="mailto:luis.ibanez at kitware.com">mailto:luis.ibanez at kitware.com</A>]</FONT>
<BR><FONT SIZE=2>&gt; Sent: Friday, January 09, 2004 11:49 AM</FONT>
<BR><FONT SIZE=2>&gt; To: Radhika Sivaramakrishna</FONT>
<BR><FONT SIZE=2>&gt; Cc: 'insight-users at itk.org'</FONT>
<BR><FONT SIZE=2>&gt; Subject: Re: [Insight-users] RE: VersorRigid3DTransform &amp; Optimization</FONT>
<BR><FONT SIZE=2>&gt; </FONT>
<BR><FONT SIZE=2>&gt; </FONT>
<BR><FONT SIZE=2>&gt; Hi Radhika,</FONT>
<BR><FONT SIZE=2>&gt; </FONT>
<BR><FONT SIZE=2>&gt; It seems that you forgot to attach the optimization</FONT>
<BR><FONT SIZE=2>&gt; results to your previous message.</FONT>
<BR><FONT SIZE=2>&gt; </FONT>
<BR><FONT SIZE=2>&gt; </FONT>
<BR><FONT SIZE=2>&gt; Could you please resend ?</FONT>
<BR><FONT SIZE=2>&gt; </FONT>
<BR><FONT SIZE=2>&gt; .....</FONT>
<BR><FONT SIZE=2>&gt; </FONT>
<BR><FONT SIZE=2>&gt; ------------------------------------------------------------------------</FONT>
<BR><FONT SIZE=2>&gt; </FONT>
<BR><FONT SIZE=2>&gt; {\rtf1\ansi\ansicpg1252\deff0\deflang1033{\fonttbl{\f0\fswiss\fcharset0 Arial;}}</FONT>
<BR><FONT SIZE=2>&gt; {\*\generator Msftedit 5.41.15.1503;}\viewkind4\uc1\pard\f0\fs20 Initial Parameters\par</FONT>
<BR><FONT SIZE=2>&gt; [0, 0, 0.078459, 0, 0, 0]\par</FONT>
<BR><FONT SIZE=2>&gt;&nbsp; \par</FONT>
<BR><FONT SIZE=2>&gt; Starting Registration\par</FONT>
<BR><FONT SIZE=2>&gt; 0&nbsp;&nbsp; 122.284&nbsp;&nbsp; [-7.76384e-05, -0.000203248, 0.0779507, -0.0903917, -0.0427135, -0\par</FONT>
<BR><FONT SIZE=2>&gt; .00191451]\par</FONT>
<BR><FONT SIZE=2>&gt; 1&nbsp;&nbsp; 112.997&nbsp;&nbsp; [-0.000143984, -0.00041634, 0.0774771, -0.180785, -0.0854356, -0.0\par</FONT>
<BR><FONT SIZE=2>&gt; 0359959]\par</FONT>
<BR><FONT SIZE=2>&gt; 2&nbsp;&nbsp; 104.003&nbsp;&nbsp; [-0.000199035, -0.000638966, 0.077048, -0.271207, -0.128106, -0.00\par</FONT>
<BR><FONT SIZE=2>&gt; 505471]\par</FONT>
<BR><FONT SIZE=2>&gt; 3&nbsp;&nbsp; 95.9322&nbsp;&nbsp; [-0.000243709, -0.000871241, 0.0766725, -0.361623, -0.170796, -0.0\par</FONT>
<BR><FONT SIZE=2>&gt; 0632879]\par</FONT>
<BR><FONT SIZE=2>&gt; 4&nbsp;&nbsp; 88.7345&nbsp;&nbsp; [-0.00027627, -0.00111595, 0.0763653, -0.452045, -0.213483, -0.007\par</FONT>
<BR><FONT SIZE=2>&gt; 36107]\par</FONT>
<BR><FONT SIZE=2>&gt; 5&nbsp;&nbsp; 82.3327&nbsp;&nbsp; [-0.00029703, -0.00137476, 0.0761486, -0.542499, -0.256108, -0.008\par</FONT>
<BR><FONT SIZE=2>&gt; 22158]\par</FONT>
<BR><FONT SIZE=2>&gt; 6&nbsp;&nbsp; 76.6&nbsp;&nbsp; [-0.000305128, -0.00164898, 0.0760471, -0.632992, -0.298655, -0.00894\par</FONT>
<BR><FONT SIZE=2>&gt; 378]\par</FONT>
<BR><FONT SIZE=2>&gt; 7&nbsp;&nbsp; 71.3798&nbsp;&nbsp; [-0.000300455, -0.0019479, 0.0761015, -0.723488, -0.341197, -0.009\par</FONT>
<BR><FONT SIZE=2>&gt; 48366]\par</FONT>
<BR><FONT SIZE=2>&gt; 8&nbsp;&nbsp; 66.4371&nbsp;&nbsp; [-0.000279808, -0.00228182, 0.0763722, -0.814021, -0.383656, -0.00\par</FONT>
<BR><FONT SIZE=2>&gt; 984813]\par</FONT>
<BR><FONT SIZE=2>&gt; 9&nbsp;&nbsp; 61.4269&nbsp;&nbsp; [-0.000243049, -0.00268141, 0.0769668, -0.904588, -0.426031, -0.01\par</FONT>
<BR><FONT SIZE=2>&gt; 00765]\par</FONT>
<BR><FONT SIZE=2>&gt; 10&nbsp;&nbsp; 55.7889&nbsp;&nbsp; [-0.000188929, -0.00320417, 0.0781104,\par</FONT>
<BR><FONT SIZE=2>&gt; Starting Registration\par</FONT>
<BR><FONT SIZE=2>&gt; 0&nbsp;&nbsp; 122.284&nbsp;&nbsp; [-7.76384e-05, -0.000203248, 0.0779507, -0.0903917, -0.0427135, -0\par</FONT>
<BR><FONT SIZE=2>&gt; .00191451]\par</FONT>
<BR><FONT SIZE=2>&gt; 1&nbsp;&nbsp; 112.997&nbsp;&nbsp; [-0.000143984, -0.00041634, 0.0774771, -0.180785, -0.0854356, -0.0\par</FONT>
<BR><FONT SIZE=2>&gt; 0359959]\par</FONT>
<BR><FONT SIZE=2>&gt; 2&nbsp;&nbsp; 104.003&nbsp;&nbsp; [-0.000199035, -0.000638966, 0.077048, -0.271207, -0.128106, -0.00\par</FONT>
<BR><FONT SIZE=2>&gt; 505471]\par</FONT>
<BR><FONT SIZE=2>&gt; 3&nbsp;&nbsp; 95.9322&nbsp;&nbsp; [-0.000243709, -0.000871241, 0.0766725, -0.361623, -0.170796, -0.0\par</FONT>
<BR><FONT SIZE=2>&gt; 0632879]\par</FONT>
<BR><FONT SIZE=2>&gt; 4&nbsp;&nbsp; 88.7345&nbsp;&nbsp; [-0.00027627, -0.00111595, 0.0763653, -0.452045, -0.213483, -0.007\par</FONT>
<BR><FONT SIZE=2>&gt; 36107]\par</FONT>
<BR><FONT SIZE=2>&gt; 5&nbsp;&nbsp; 82.3327&nbsp;&nbsp; [-0.00029703, -0.00137476, 0.0761486, -0.542499, -0.256108, -0.008\par</FONT>
<BR><FONT SIZE=2>&gt; 22158]\par</FONT>
<BR><FONT SIZE=2>&gt; 6&nbsp;&nbsp; 76.6&nbsp;&nbsp; [-0.000305128, -0.00164898, 0.0760471, -0.632992, -0.298655, -0.00894\par</FONT>
<BR><FONT SIZE=2>&gt; 378]\par</FONT>
<BR><FONT SIZE=2>&gt; 7&nbsp;&nbsp; 71.3798&nbsp;&nbsp; [-0.000300455, -0.0019479, 0.0761015, -0.723488, -0.341197, -0.009\par</FONT>
<BR><FONT SIZE=2>&gt; 48366]\par</FONT>
<BR><FONT SIZE=2>&gt; 8&nbsp;&nbsp; 66.4371&nbsp;&nbsp; [-0.000279808, -0.00228182, 0.0763722, -0.814021, -0.383656, -0.00\par</FONT>
<BR><FONT SIZE=2>&gt; 984813]\par</FONT>
<BR><FONT SIZE=2>&gt; 9&nbsp;&nbsp; 61.4269&nbsp;&nbsp; [-0.000243049, -0.00268141, 0.0769668, -0.904588, -0.426031, -0.01\par</FONT>
<BR><FONT SIZE=2>&gt; 00765]\par</FONT>
<BR><FONT SIZE=2>&gt; 10&nbsp;&nbsp; 55.7889&nbsp;&nbsp; [-0.000188929, -0.00320417, 0.0781104, -0.99507, -0.468534, -0.01\par</FONT>
<BR><FONT SIZE=2>&gt; 01859]\par</FONT>
<BR><FONT SIZE=2>&gt; 11&nbsp;&nbsp; 48.5156&nbsp;&nbsp; [-0.000123853, -0.00401665, 0.0804572, -1.08489, -0.512197, -0.01\par</FONT>
<BR><FONT SIZE=2>&gt; 11781]\par</FONT>
<BR><FONT SIZE=2>&gt; 12&nbsp;&nbsp; 37.4478&nbsp;&nbsp; [3.10332e-05, -0.00704198, 0.0892498, -1.16971, -0.561742, -0.009\par</FONT>
<BR><FONT SIZE=2>&gt; 45302]\par</FONT>
<BR><FONT SIZE=2>&gt; 13&nbsp;&nbsp; 37.3638&nbsp;&nbsp; [7.41215e-05, -0.0110382, 0.0899105, -1.12256, -0.548321, -0.0150\par</FONT>
<BR><FONT SIZE=2>&gt; 374]\par</FONT>
<BR><FONT SIZE=2>&gt; 14&nbsp;&nbsp; 64.79&nbsp;&nbsp; [7.58776e-05, -0.0145223, 0.0901635, -1.14579, -0.55299, -0.0188676\par</FONT>
<BR><FONT SIZE=2>&gt; ]\par</FONT>
<BR><FONT SIZE=2>&gt; 15&nbsp;&nbsp; 88.3713&nbsp;&nbsp; [0.000107904, -0.0189501, 0.0906757, -1.16733, -0.557305, -0.0268\par</FONT>
<BR><FONT SIZE=2>&gt; 006]\par</FONT>
<BR><FONT SIZE=2>&gt; 16&nbsp;&nbsp; 118.215&nbsp;&nbsp; [0.000130248, -0.025405, 0.0915682, -1.18644, -0.561881, -0.03509\par</FONT>
<BR><FONT SIZE=2>&gt; 66]\par</FONT>
<BR><FONT SIZE=2>&gt; \par</FONT>
<BR><FONT SIZE=2>&gt; }</FONT>
</P>
<BR>

<P><FONT SIZE=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </FONT>
<BR><FONT SIZE=2>-----------------------------------------------------&nbsp; </FONT>
<BR><FONT SIZE=2>Confidentiality Notice. </FONT>
<BR><FONT SIZE=2>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.</FONT></P>

</BODY>
</HTML>
------_=_NextPart_001_01C3D6ED.9F37F586--