[vtkusers] Point Cloud to Mesh

Alex Liu tehsunnliu at yahoo.com
Wed Dec 14 03:56:32 EST 2016


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.


More information about the vtkusers mailing list