You can iterate over all the points and use the method :<br> Transform::TransformPoint ( point ) <br><br>(<a href="http://public.kitware.com/Insight/Doxygen/html/classitk_1_1Transform.html#itk_1_1Transforma32">http://public.kitware.com/Insight/Doxygen/html/classitk_1_1Transform.html#itk_1_1Transforma32
</a>)<br><br>to transform each of your points.<br><br><br><div><span class="gmail_quote">On 12/2/07, <b class="gmail_sendername">Jessica de Ryk</b> <<a href="mailto:jessica-deryk@uiowa.edu">jessica-deryk@uiowa.edu</a>> wrote:
</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div link="blue" vlink="purple" lang="EN-US">
<div>
<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">I am in the process of modifying the ThinPlateSplineWarp
example which is based on landmarks. I use a 'fiducial'
landmark set to generate the ThinPlateSplineKernelTransform and apply it to the
image using the VectorResampleImageFilter. I then want to apply the calculated
transform to a separate set of 'evaluation' landmarks (not used for
registration) so I can see how close their transformed position is to the
corresponding target position. </span></font></p>
<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">If I save these landmarks in separate points container, is
there some sort of filter I can use to apply the transform to them and obtain
the transformed points?</span></font></p>
<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">Thanks</span></font><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;"></span></font>
</p>
<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">Jess</span></font></p>
<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;"> </span></font></p>
<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;"> </span></font></p>
</div>
</div>
<br>_______________________________________________<br>Insight-users mailing list<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:Insight-users@itk.org">Insight-users@itk.org</a><br><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://www.itk.org/mailman/listinfo/insight-users" target="_blank">
http://www.itk.org/mailman/listinfo/insight-users</a><br><br></blockquote></div><br><br clear="all"><br>-- <br>Karthik Krishnan<br>R&D Engineer,<br>Kitware Inc.<br>Ph: 518 371 3971 x119<br> 518 698 3045 (cell)<br>
Fax: 518 371 3971