<div dir="ltr"><div>Hello, you can use <br><br><a href="http://www.vtk.org/doc/nightly/html/classvtkSurfaceReconstructionFilter.html" target="_blank">http://www.vtk.org/doc/<wbr>nightly/html/<wbr>classvtkSurfaceReconstructionF<wbr>ilter.html</a><br><br></div>you can also use PoissonReconstruction module, it is a remote module and can be include in the VTK BUILD defining<br><pre>-DModule_PoissonReconstruction:BOOL=ON<br></pre><pre>HTH<br></pre><pre>Jorge<br></pre><br></div><div class="gmail_extra"><br><div class="gmail_quote">2016-12-14 9:56 GMT+01:00 Alex Liu via vtkusers <span dir="ltr"><<a href="mailto:vtkusers@vtk.org" target="_blank">vtkusers@vtk.org</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi all.<br>
I'm trying to construct face from DICOM images. Till now I've successfully<br>
extracted Points and normals, you can get the ply file from here<br>
FaceReconstruct.ply<br>
<<a href="https://www.dropbox.com/s/xm6rc66w3e9p0ak/FaceReconstruct.ply?dl=0" rel="noreferrer" target="_blank">https://www.dropbox.com/s/<wbr>xm6rc66w3e9p0ak/<wbr>FaceReconstruct.ply?dl=0</a>><br>
<br>
this is the point cloud result<br>
<<a href="http://vtk.1045678.n5.nabble.com/file/n5741531/PointCloud.png" rel="noreferrer" target="_blank">http://vtk.1045678.n5.nabble.<wbr>com/file/n5741531/PointCloud.<wbr>png</a>><br>
<br>
Now I'm trying to convert Points to mesh, for that I'm using<br>
<br>
 vtkSmartPointer<vtkDelaunay2D> delaunay =<br>
vtkSmartPointer<vtkDelaunay2D><wbr>::New();<br>
    delaunay->SetAlpha(4.0);<br>
    delaunay->SetTolerance(0.0001)<wbr>;<br>
    delaunay->SetOffset(1.25);<br>
    delaunay-><wbr>BoundingTriangulationOff();<br>
    delaunay->SetInputData(<wbr>polyData);<br>
    delaunay->SetSourceData(<wbr>polyData);<br>
    delaunay->Update();<br>
<br>
But this function is not able to construct the mesh properly. I tried<br>
changing all the parameters for Delaunay2D but, got no success. I also tried<br>
using vtkSurfaceReconstruct and I get some strange result.<br>
In meshlab I can construct a smooth surface by using Poisson Surface<br>
Reconstruct, and wanted to get the same result using vtk.<br>
<br>
Delaunay2D result<br>
<<a href="http://vtk.1045678.n5.nabble.com/file/n5741531/Delaunay2D-Result.png" rel="noreferrer" target="_blank">http://vtk.1045678.n5.nabble.<wbr>com/file/n5741531/Delaunay2D-<wbr>Result.png</a>><br>
<br>
MeshLab result<br>
<<a href="http://vtk.1045678.n5.nabble.com/file/n5741531/MeshLab-Result.png" rel="noreferrer" target="_blank">http://vtk.1045678.n5.nabble.<wbr>com/file/n5741531/MeshLab-<wbr>Result.png</a>><br>
<br>
Please help me to figure out what's wrong I'm doing and also any solution to<br>
construct a smooth surface from this point cloud will be really appreciated.<br>
Thank you.<br>
<br>
<br>
<br>
-----<br>
Alex Liu<br>
+15574855474<br>
--<br>
View this message in context: <a href="http://vtk.1045678.n5.nabble.com/Point-Cloud-to-Mesh-tp5741531.html" rel="noreferrer" target="_blank">http://vtk.1045678.n5.nabble.<wbr>com/Point-Cloud-to-Mesh-<wbr>tp5741531.html</a><br>
Sent from the VTK - Users mailing list archive at Nabble.com.<br>
______________________________<wbr>_________________<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">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" rel="noreferrer" target="_blank">http://www.vtk.org/Wiki/VTK_<wbr>FAQ</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=vtkusers" rel="noreferrer" target="_blank">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" rel="noreferrer" target="_blank">http://public.kitware.com/<wbr>mailman/listinfo/vtkusers</a><br>
</blockquote></div><br></div>