[vtkusers] Point Cloud to Mesh

Jorge Perez josp.jorge at gmail.com
Wed Dec 14 13:33:10 EST 2016


Hello, you can use

http://www.vtk.org/doc/nightly/html/classvtkSurfaceReconstructionFilter.html

you can also use PoissonReconstruction module, it is a remote module and
can be include in the VTK BUILD defining

-DModule_PoissonReconstruction:BOOL=ON

HTH

Jorge



2016-12-14 9:56 GMT+01:00 Alex Liu via vtkusers <vtkusers at vtk.org>:

> Hi all.
> I'm trying to construct face from DICOM images. Till now I've successfully
> extracted Points and normals, you can get the ply file from here
> FaceReconstruct.ply
> <https://www.dropbox.com/s/xm6rc66w3e9p0ak/FaceReconstruct.ply?dl=0>
>
> this is the point cloud result
> <http://vtk.1045678.n5.nabble.com/file/n5741531/PointCloud.png>
>
> Now I'm trying to convert Points to mesh, for that I'm using
>
>  vtkSmartPointer<vtkDelaunay2D> delaunay =
> vtkSmartPointer<vtkDelaunay2D>::New();
>     delaunay->SetAlpha(4.0);
>     delaunay->SetTolerance(0.0001);
>     delaunay->SetOffset(1.25);
>     delaunay->BoundingTriangulationOff();
>     delaunay->SetInputData(polyData);
>     delaunay->SetSourceData(polyData);
>     delaunay->Update();
>
> But this function is not able to construct the mesh properly. I tried
> changing all the parameters for Delaunay2D but, got no success. I also
> tried
> using vtkSurfaceReconstruct and I get some strange result.
> In meshlab I can construct a smooth surface by using Poisson Surface
> Reconstruct, and wanted to get the same result using vtk.
>
> Delaunay2D result
> <http://vtk.1045678.n5.nabble.com/file/n5741531/Delaunay2D-Result.png>
>
> MeshLab result
> <http://vtk.1045678.n5.nabble.com/file/n5741531/MeshLab-Result.png>
>
> Please help me to figure out what's wrong I'm doing and also any solution
> to
> construct a smooth surface from this point cloud will be really
> appreciated.
> Thank you.
>
>
>
> -----
> Alex Liu
> +15574855474
> --
> View this message in context: http://vtk.1045678.n5.nabble.
> com/Point-Cloud-to-Mesh-tp5741531.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
>
> Search the list archives at: http://markmail.org/search/?q=vtkusers
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtkusers
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20161214/bd809831/attachment.html>


More information about the vtkusers mailing list