<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman, new york, times, serif;font-size:12pt"><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;">Just wanted to correct myself from yesterday's reply....<br><br>&nbsp;I use the versorRigid3DTransformOptimizer not the gradient descent.<br><br>Thank you,<br>Emma<br><br><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;">----- Original Message ----<br>From: Luis Ibanez &lt;luis.ibanez@kitware.com&gt;<br>To: Emma Ryan &lt;eryanvtk@yahoo.com&gt;<br>Cc: insight-users@itk.org<br>Sent: Thursday, July 26, 2007 5:51:33 PM<br>Subject: Re: [Insight-users] DeformableRegistration7.cxx gives worse results<br><br><div>Hi Emma,<br><br>It shouldn't happen...<br><br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; A bit more of information will be helpful...<br><br><br>For
 example:<br><br>1) Are the two synthetic images representing the same<br>&nbsp;&nbsp;&nbsp;&nbsp;Modality ?<br><br>&nbsp;&nbsp;&nbsp;&nbsp;The Image metric in DdeformableRegistration7.cxx<br>&nbsp;&nbsp;&nbsp;&nbsp;is MeanSquares, so it is expected that both images<br>&nbsp;&nbsp;&nbsp;&nbsp;should represent the same modality with a similar<br>&nbsp;&nbsp;&nbsp;&nbsp;distribution of intensity values.<br><br>2) What combination of registration components did<br>&nbsp;&nbsp;&nbsp;&nbsp;you used for the Rigid registration ?<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;- What Metric ?<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;- What Transform ?<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;- What Interpolator ?<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;- What Optimizer ?<br><br>3) Are you feeding DdeformableRegistration7 with the<br>&nbsp;&nbsp;&nbsp;&nbsp;resampled image resulting from a Rigid registration<br>&nbsp;&nbsp;&nbsp;&nbsp;process ? or did you set up the Bulk
 transform of<br>&nbsp;&nbsp;&nbsp;&nbsp;the BSpline deformable transform ?<br><br>4) How many iterations of the Deformable registration<br>&nbsp;&nbsp;&nbsp;&nbsp;did you manage to run before it stopped. ?<br><br><br>BTW, the size limit of emails to the list is 40Kb,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;If you want to show images you could upload<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;them to a public web site and send the link<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;to the list.<br><br><br><br>Please let us know about the questions above.<br><br><br>&nbsp;&nbsp; Thanks<br><br><br><br>&nbsp;&nbsp;&nbsp;&nbsp; Luis<br><br><br>------------------<br>Emma Ryan wrote:<br>&gt; Hi,<br>&gt; <br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;I am trying to register some synthetic data using <br>&gt; deformableRegistration7.cxx from the ITK Examples. The synthetic data is <br>&gt; almost well registered using rigid registration. So deformable <br>&gt; registration is
 used to fix the slight mismatch.&nbsp;&nbsp;Unfortunately, the <br>&gt; checkerboard output for the 'after' images are worse that 'before'.<br>&gt; <br>&gt; Why does this happen ?<br>&gt; <br>&gt; Any clues ?&nbsp;&nbsp;I haven't changed anything in the code except the Pixeltype<br>&gt; <br>&gt; Emma<br>&gt; <br>&gt; p.s. I tried to attach some images but it bounced back.<br>&gt; <br>&gt; ------------------------------------------------------------------------<br>&gt; Need a vacation? Get great deals to amazing places <br>&gt; &lt;<a target="_blank" href="http://us.rd.yahoo.com/evt=48256/*http://travel.yahoo.com/;_ylc=X3oDMTFhN2hucjlpBF9TAzk3NDA3NTg5BHBvcwM1BHNlYwNncm91cHMEc2xrA2VtYWlsLW5jbQ--%3Eon">http://us.rd.yahoo.com/evt=48256/*http://travel.yahoo.com/;_ylc=X3oDMTFhN2hucjlpBF9TAzk3NDA3NTg5BHBvcwM1BHNlYwNncm91cHMEc2xrA2VtYWlsLW5jbQ--&gt;on</a> <br>&gt; Yahoo! Travel.<br>&gt; <br>&gt; <br>&gt;
 ------------------------------------------------------------------------<br>&gt; <br>&gt; _______________________________________________<br>&gt; Insight-users mailing list<br>&gt; Insight-users@itk.org<br>&gt; <a target="_blank" href="http://www.itk.org/mailman/listinfo/insight-users">http://www.itk.org/mailman/listinfo/insight-users</a><br></div></div><br></div></div><br>

      <hr size=1>Park yourself in front of a world of choices in alternative vehicles.<br><a href="http://us.rd.yahoo.com/evt=48246/*http://autos.yahoo.com/green_center/;_ylc=X3oDMTE5cDF2bXZzBF9TAzk3MTA3MDc2BHNlYwNtYWlsdGFncwRzbGsDZ3JlZW4tY2VudGVy">Visit the Yahoo! Auto Green Center.</a></body></html>