<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7638.1">
<TITLE>RE: [vtkusers] can we match a cropped version of a model againt the original using the vtkIterativeClosestPointTransform?</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->

<P><FONT SIZE=2>Thanks Turner,<BR>
I understand what you are saying but I don't know how to code this, Can you please elaborate it a bit more ? I really appreciate your help.<BR>
<BR>
Best Regards,<BR>
<BR>
M.Salman<BR>
University of Surrey,U.K.<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>
<BR>
<BR>
<BR>
-----Original Message-----<BR>
From: Wes Turner [<A HREF="mailto:wes.turner@kitware.com">mailto:wes.turner@kitware.com</A>]<BR>
Sent: Thu 03/05/2007 4:09 PM<BR>
To: Salman M Mr (PG/R - Electronic Eng)<BR>
Cc: vtkusers@vtk.org<BR>
Subject: Re: [vtkusers] can we match a cropped version of a model againt the original using the vtkIterativeClosestPointTransform?<BR>
<BR>
The source and target landmarks need to have the same number of points for<BR>
the point-to-point metric to work.&nbsp; However, the number of points in the two<BR>
models you are registering need not (and generally won't) be the same.&nbsp; The<BR>
trick is to subsample from the source and to pick the closest points on the<BR>
target as the matches.&nbsp; For matching patches to their appropriate location,<BR>
you may have to find a starting position sufficiently close to the correct<BR>
position of the patch to ensure that you do not get trapped in a local<BR>
minima.<BR>
<BR>
- Wes<BR>
<BR>
On 5/3/07, M.Salman@surrey.ac.uk &lt;M.Salman@surrey.ac.uk&gt; wrote:<BR>
&gt;<BR>
&gt;<BR>
&gt; Hi all,<BR>
&gt; The cropped version of a model doesnt necessarily consists of equal number<BR>
&gt; of points as of the original.While vtkIterativeClosestPointTransform makes<BR>
&gt; use of&nbsp; vtkLandmarkTransform internally to compute the best fit which<BR>
&gt; further calls for equal number of points in both landmarks.<BR>
&gt; &quot;Call SetSourceLandmarks and SetTargetLandmarks to specify the two sets of<BR>
&gt; landmarks, ensure they have the same number of points&quot;<BR>
&gt;<BR>
&gt; Can we still use the vtkIterativeClosestPointTransform to match the<BR>
&gt; cropped version to the original model...<BR>
&gt; Any thoughts?<BR>
&gt;<BR>
&gt; Regards,<BR>
&gt;<BR>
&gt; M.Salman<BR>
&gt; University of Surrey,U.K.<BR>
&gt;<BR>
&gt;<BR>
&gt;<BR>
&gt;<BR>
&gt; _______________________________________________<BR>
&gt; This is the private VTK discussion list.<BR>
&gt; Please keep messages on-topic. Check the FAQ at:<BR>
&gt; <A HREF="http://www.vtk.org/Wiki/VTK_FAQ">http://www.vtk.org/Wiki/VTK_FAQ</A><BR>
&gt; Follow this link to subscribe/unsubscribe:<BR>
&gt; <A HREF="http://www.vtk.org/mailman/listinfo/vtkusers">http://www.vtk.org/mailman/listinfo/vtkusers</A><BR>
&gt;<BR>
&gt;<BR>
<BR>
<BR>
--<BR>
Wesley D. Turner, Ph.D.<BR>
Kitware, Inc.<BR>
R&amp;D Engineer<BR>
28 Corporate Drive<BR>
Clifton Park, NY 12065-8662<BR>
Phone: 518-371-3971 x120<BR>
<BR>
</FONT>
</P>

</BODY>
</HTML>