<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-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">Dear Luis;</DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">one more question ,if you reply I will really happy. I try to implement pointsettoimage registration. So How can I get&nbsp; the origin,size,spacing etc. of my pointset. It is ok for moving image,but what about the pointset? when I write <FONT color=#0000ff>const</FONT> OriginType pointsetOrigin = PointSet-&gt;GetSpacing(); it says <BR><EM>Get spacing not member of&nbsp; itk Pointset</EM> ( point set is defined like that <FONT color=#0000ff>typedef</FONT> itk::PointSet&lt; <FONT color=#0000ff>float</FONT>, Dimension &gt; FixedPointSetType;)<BR></DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">----- Original Message ----<BR>From: Luis Ibanez &lt;luis.ibanez@kitware.com&gt;<BR>To: tony hakki &lt;tony2007vtk@yahoo.com&gt;<BR>Cc: insight-users@itk.org<BR>Sent: Tuesday, March 27, 2007 3:33:50 PM<BR>Subject: Re: [Insight-users] GetCenter() ?<BR><BR>
<DIV>Hi Tony,<BR><BR>Please read the ITK Software Guide:<BR><BR>&nbsp;&nbsp;&nbsp;&nbsp;<A href="http://www.itk.org/ItkSoftwareGuide.pdf" target=_blank>http://www.itk.org/ItkSoftwareGuide.pdf</A><BR><BR>There is a full section discussing the issue<BR>of Center of Rotation for Transforms in the<BR>context of image registration.<BR><BR>This is section: 8.6 "Centered Transforms".<BR>pdf-page 380.<BR><BR>To put it short:&nbsp;&nbsp;The center of rotation is<BR>needed because in most image registration<BR>problems it is desirable to rotate around<BR>the center of the image extent and not<BR>around the center of the coordinate system<BR>origin.<BR><BR>You will find a related discussion in section 6.9.4<BR>"Resample Image Filter" in pdf-pages 254-285.<BR><BR><BR>&nbsp;&nbsp;&nbsp;&nbsp;Regards,<BR><BR><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Luis<BR><BR><BR>----------------------<BR>tony hakki wrote:<BR>&gt; Hello;<BR>&gt; <BR>&gt; I have tried to implement point set to image
 registration<BR>&gt; <BR>&gt; What is the exact meaning of GetCenter(); in QuaternionRigidTransform<BR>&gt; <BR>&gt; ? When we write like that&nbsp;&nbsp;<BR>&gt; finalTransform-&gt;SetCenter(finalTransform-&gt;GetCenter() ); What does its mean?<BR>&gt; <BR>&gt; thank you<BR>&gt; <BR>&gt; Tony<BR>&gt; <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 href="http://www.itk.org/mailman/listinfo/insight-users" target=_blank>http://www.itk.org/mailman/listinfo/insight-users</A></DIV></DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif"><BR></DIV></div><br>

<hr size=1>Expecting? Get great news right away with <a href="http://us.rd.yahoo.com/evt=49982/*http://advision.webevents.yahoo.com/mailbeta/newmail_tools.html">email Auto-Check.</a><br>Try the <a href="http://us.rd.yahoo.com/evt=49982/*http://advision.webevents.yahoo.com/mailbeta/newmail_tools.html">Yahoo! Mail Beta.</a></body></html>