<div class="gmail_quote">On Tue, May 4, 2010 at 8:56 PM, Suyang Mei <span dir="ltr"><<a href="mailto:suyang_mei@yahoo.com">suyang_mei@yahoo.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<table cellspacing="0" cellpadding="0" border="0"><tbody><tr><td valign="top" style="font:inherit">Hi, all -<br><br> I have a simple question here -<br><br>I'd like to perform point based image registration by using least square approach (basically finding the rotation matrix by using singular value decomposition SVD). Inputs are two sets of corresponding points, and I just need to get the transformation matrix back. <br>
<br>More like the functions in Examples\Patened\ICP*.cxx, but use closed form instead of iterative approach. What is the ITK filter to perform this?<br><br> Thanks a lot in advance.<br><br>Suyang<br></td></tr></tbody></table>
</blockquote></div><br><div>I've never done this in ITK, but in VTK the ICP filter is the iterative wrapper around vtkLandmarkTransform. So the ICP filter determines the correspondences, then the closed form solution of that known correspondence registration problem is done with the LandmarkTransform filter.</div>
<div><br></div><div>Maybe this will point you in the right direction? Or someone can point you to something similar in ITK?</div><div><br></div><div><a href="http://vtk.org/Wiki/VTK/Examples/Filters/LandmarkTransform">http://vtk.org/Wiki/VTK/Examples/Filters/LandmarkTransform</a></div>
<div><a href="http://vtk.org/Wiki/VTK/Examples/Filters/LandmarkTransform"></a><a href="http://vtk.org/Wiki/VTK/Examples/Filters/IterativeClosestPointsTransform">http://vtk.org/Wiki/VTK/Examples/Filters/IterativeClosestPointsTransform</a></div>
<div><a href="http://vtk.org/Wiki/VTK/Examples/Filters/IterativeClosestPointsTransform"></a><a href="http://vtk.org/Wiki/VTK/Examples/Filters/ICPInputData">http://vtk.org/Wiki/VTK/Examples/Filters/ICPInputData</a></div><div>
<a href="http://vtk.org/Wiki/VTK/Examples/Filters/ICPInputData"></a><br clear="all">Thanks,<br><br>David</div>