<br><div>I&#39;ve got a couple of images that clearly need nearly 180 degree rotation for registration, see:</div><div><br></div><div><a href="ftp://anonymous">ftp://anonymous</a>@<a href="http://ftp.buckinstitute.org/dweber/section0004_w1.tif">ftp.buckinstitute.org/dweber/section0004_w1.tif</a></div>
<div><a href="ftp://anonymous">ftp://anonymous</a>@<a href="http://ftp.buckinstitute.org/dweber/section0005_w1.tif">ftp.buckinstitute.org/dweber/section0005_w1.tif</a></div><div><br></div><div>The registration fails to rotate the images into alignment.  I&#39;m using:</div>
<div><br></div><div><div><font class="Apple-style-span" face="&#39;courier new&#39;, monospace"><span class="Apple-style-span" style="font-size: large; ">// Registration components</span></font></div><div><font class="Apple-style-span" face="&#39;courier new&#39;, monospace"><span class="Apple-style-span" style="font-size: large;">#include &quot;itkImageRegistrationMethod.h&quot;</span></font></div>
<div><font class="Apple-style-span" face="&#39;courier new&#39;, monospace"><span class="Apple-style-span" style="font-size: large;">#include &quot;itkMeanSquaresImageToImageMetric.h&quot;</span></font></div><div><font class="Apple-style-span" face="&#39;courier new&#39;, monospace"><span class="Apple-style-span" style="font-size: large;">#include &quot;itkLinearInterpolateImageFunction.h&quot;</span></font></div>
<div><font class="Apple-style-span" face="&#39;courier new&#39;, monospace"><span class="Apple-style-span" style="font-size: large;">#include &quot;itkRegularStepGradientDescentOptimizer.h&quot;</span></font></div><div><font class="Apple-style-span" face="&#39;courier new&#39;, monospace"><span class="Apple-style-span" style="font-size: large;">// Transforms</span></font></div>
<div><font class="Apple-style-span" face="&#39;courier new&#39;, monospace"><span class="Apple-style-span" style="font-size: large;">#include &quot;itkCenteredRigid2DTransform.h&quot;</span></font></div><div><font class="Apple-style-span" face="&#39;courier new&#39;, monospace"><span class="Apple-style-span" style="font-size: large;">#include &quot;itkCenteredTransformInitializer.h&quot;</span></font></div>
<div><br></div></div><div><br></div><div>What can I do about it?  Have I selected the wrong transform for rotations?</div><div><br></div><div>I&#39;ve prepared a package of my test program and data for download here:</div>
<div><a href="ftp://anonymous">ftp://anonymous</a>@<a href="http://ftp.buckinstitute.org/dweber/itkRegistrationTest.tar.gz">ftp.buckinstitute.org/dweber/itkRegistrationTest.tar.gz</a></div><div><br></div><div>The program is built against ITK 3.16 (and it uses Boost).</div>
<div><br></div><div>TIA,</div><div>Darren</div><div><br></div>