<!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>
<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. However, the number of points in the two<BR>
models you are registering need not (and generally won't) be the same. The<BR>
trick is to subsample from the source and to pick the closest points on the<BR>
target as the matches. 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 <M.Salman@surrey.ac.uk> wrote:<BR>
><BR>
><BR>
> Hi all,<BR>
> The cropped version of a model doesnt necessarily consists of equal number<BR>
> of points as of the original.While vtkIterativeClosestPointTransform makes<BR>
> use of vtkLandmarkTransform internally to compute the best fit which<BR>
> further calls for equal number of points in both landmarks.<BR>
> "Call SetSourceLandmarks and SetTargetLandmarks to specify the two sets of<BR>
> landmarks, ensure they have the same number of points"<BR>
><BR>
> Can we still use the vtkIterativeClosestPointTransform to match the<BR>
> cropped version to the original model...<BR>
> Any thoughts?<BR>
><BR>
> Regards,<BR>
><BR>
> M.Salman<BR>
> University of Surrey,U.K.<BR>
><BR>
><BR>
><BR>
><BR>
> _______________________________________________<BR>
> This is the private VTK discussion list.<BR>
> Please keep messages on-topic. Check the FAQ at:<BR>
> <A HREF="http://www.vtk.org/Wiki/VTK_FAQ">http://www.vtk.org/Wiki/VTK_FAQ</A><BR>
> Follow this link to subscribe/unsubscribe:<BR>
> <A HREF="http://www.vtk.org/mailman/listinfo/vtkusers">http://www.vtk.org/mailman/listinfo/vtkusers</A><BR>
><BR>
><BR>
<BR>
<BR>
--<BR>
Wesley D. Turner, Ph.D.<BR>
Kitware, Inc.<BR>
R&D Engineer<BR>
28 Corporate Drive<BR>
Clifton Park, NY 12065-8662<BR>
Phone: 518-371-3971 x120<BR>
<BR>
</FONT>
</P>
</BODY>
</HTML>