<div dir="ltr">You could modify one of the examples out there using another transform and modify the parameters so that you end up with this:<div><div><br></div><div>The first parameter </div><div>is the angle</div><div>in radians and the</div><div>last two parameters</div><div>are the translation</div><div>in each dimension.</div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, May 14, 2015 at 12:21 PM, Pietro Nardelli <span dir="ltr"><<a href="mailto:p.nardelli@umail.ucc.ie" target="_blank">p.nardelli@umail.ucc.ie</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi guys,<div><br></div><div>I have two 2D images that I would like to register using the center of the image as center of rotation. I found out that both the class Euler2DTransform and FixedCenterOfRotationAffineTransform would do what I need. What is the exact difference between the two? Is one better than the other? Also, how do I specify the center of the image in those classes? I haven't found any example doing that.</div><div><br></div><div>Thank you very much for your help,</div><div>Pietro</div><div><br></div><div>
</div></div>
<br>_____________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at<br>
<a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Kitware offers ITK Training Courses, for more information visit:<br>
<a href="http://www.kitware.com/products/protraining.php" target="_blank">http://www.kitware.com/products/protraining.php</a><br>
<br>
Please keep messages on-topic and check the ITK FAQ at:<br>
<a href="http://www.itk.org/Wiki/ITK_FAQ" target="_blank">http://www.itk.org/Wiki/ITK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/insight-users" target="_blank">http://public.kitware.com/mailman/listinfo/insight-users</a><br>
<br></blockquote></div><br></div>