<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 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->GetSpacing(); it says <BR><EM>Get spacing not member of itk Pointset</EM> ( point set is defined like that <FONT color=#0000ff>typedef</FONT> itk::PointSet< <FONT color=#0000ff>float</FONT>, Dimension > FixedPointSetType;)<BR></DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">----- Original Message ----<BR>From: Luis Ibanez <luis.ibanez@kitware.com><BR>To: tony hakki <tony2007vtk@yahoo.com><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> <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: 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> Regards,<BR><BR><BR> Luis<BR><BR><BR>----------------------<BR>tony hakki wrote:<BR>> Hello;<BR>> <BR>> I have tried to implement point set to image
registration<BR>> <BR>> What is the exact meaning of GetCenter(); in QuaternionRigidTransform<BR>> <BR>> ? When we write like that <BR>> finalTransform->SetCenter(finalTransform->GetCenter() ); What does its mean?<BR>> <BR>> thank you<BR>> <BR>> Tony<BR>> <BR>> <BR>> <BR>> ------------------------------------------------------------------------<BR>> <BR>> _______________________________________________<BR>> Insight-users mailing list<BR>> Insight-users@itk.org<BR>> <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>