[Insight-users] RE: VersorRigid3DTransform & Optimization

Luis Ibanez luis.ibanez at kitware.com
Fri, 09 Jan 2004 15:18:25 -0500


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
> }