[vtkusers] How to bring an object to the coordinate's origin
Wes Turner
wes.turner at kitware.com
Fri Mar 25 08:14:00 EDT 2011
Nuno,
Assuming that you have a reasonable initial guess for the alignment, turn of
the ICP initialization so that the centers of mass of the point clouds are
not used to initialize the transfer, then choose the partial cloud as the
source points.
- Wes
On Fri, Mar 25, 2011 at 8:09 AM, nuno.jf <nunofernandes7 at gmail.com> wrote:
> David, for what I understood, ICP minimizes the distance between all the
> points in the point clouds. So, if apply ICP to two point clouds that only
> are coincident in some regions, the result will be bad, because the
> distance
> between all the points will be considered, and not only the distance
> between
> the coincident ones.
> This is what my problem is. I have two point clouds that are only
> coincident
> in some regions and I need to align them. Just take a look at the following
> images from my specific case:
>
> The 1st polydata(target) to which I want to align the 2nd polydata
> (source).
> This point cloud is the front of a cranium.
> http://vtk.1045678.n5.nabble.com/file/n4263964/target.png
>
> The 2nd polydata. This point cloud corresponds to the left side of the
> cranium, coinciding with the left side of the 1st point cloud.
> http://vtk.1045678.n5.nabble.com/file/n4263964/source.png
>
> This is how the polydatas are positioned in relation to each other:
> http://vtk.1045678.n5.nabble.com/file/n4263964/before_ICP.png
>
> Finally, after making some experiments combining vtkTransformPolyDataFilter
> with vtkIterativeClosestPointTransform:
> http://vtk.1045678.n5.nabble.com/file/n4263964/after_ICP.png
>
> So, after seeing this and visiting the site you had advised me to visit, I
> figured out that I need to find a way to apply ICP only to some of the
> points (the left half) in the polydatas, or to apply other algorithm that
> does that automatically. Is my presupposition correct? Can you help me
> doing
> this, because I don't know what more can I do? And I believe the worst is
> yet to come, because I will need to align the back of the cranium too.
> Thank you so much!
>
> --
> View this message in context:
> http://vtk.1045678.n5.nabble.com/How-to-bring-an-object-to-the-coordinate-s-origin-tp4243261p4263964.html
> Sent from the VTK - Users mailing list archive at Nabble.com.
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
--
Wesley D. Turner, Ph.D.
Kitware, Inc.
Technical Leader
28 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-881-4920
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20110325/e9b3ea20/attachment.htm>
More information about the vtkusers
mailing list