<div dir="ltr"><div>For translation only, you can just translate to match the centroids of the two point sets. I don't think there's a way of doing this in a VTK pipeline at the moment so you'd need to do it manually. We might usefully add such a mode to vtkLandmarkTransform.</div><div><br></div><div>Tim</div></div><div class="gmail_extra"><br><div class="gmail_quote">On 12 November 2017 at 05:24, hlukeh <span dir="ltr"><<a href="mailto:hlukeh@hotmail.com" target="_blank">hlukeh@hotmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I'm trying to find the best fit of a circular set of landmarks lying almost<br>
on a plane to a point cloud. I'm currently using a vtkLandmarkTransform with<br>
the mode set to Rigid Body. This does a good job of matching the two sets of<br>
data, but sometimes the best fit is found with a rotation and translation<br>
when I only want a translation (even if the fit isn't quite as good).<br>
<br>
I see three modes in the landmark transform, Rigid Body, Similarity and<br>
Affine, but all of those include rotation and translation (and scaling for<br>
Similarity).<br>
<br>
Does anyone know what transform could be used to match a set of landmarks to<br>
a set of points but limiting the method to translation only?<br>
<br>
Thank you,<br>
<br>
Luke<br>
<br>
<br>
<br>
--<br>
Sent from: <a href="http://vtk.1045678.n5.nabble.com/VTK-Users-f1224199.html" target="_blank" rel="noreferrer">http://vtk.1045678.n5.nabble.<wbr>com/VTK-Users-f1224199.html</a><br>
______________________________<wbr>_________________<br>
Powered by <a href="http://www.kitware.com" target="_blank" rel="noreferrer">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank" rel="noreferrer">http://www.kitware.com/<wbr>opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank" rel="noreferrer">http://www.vtk.org/Wiki/VTK_<wbr>FAQ</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=vtkusers" target="_blank" rel="noreferrer">http://markmail.org/search/?q=<wbr>vtkusers</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/vtkusers" target="_blank" rel="noreferrer">http://public.kitware.com/<wbr>mailman/listinfo/vtkusers</a><br>
</blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>Tim Hutton - <a href="http://www.sq3.org.uk" target="_blank">http://www.sq3.org.uk</a> - <a href="http://profiles.google.com/tim.hutton/" target="_blank">http://profiles.google.com/tim.hutton/</a> - <a href="https://github.com/timhutton" target="_blank">https://github.com/timhutton</a><br></div></div></div>
</div>