<div dir="ltr">Have you tried vtkWindowedSincPolyDataFilter<br><br><br>Jothy<br><br><div class="gmail_quote">On Mon, Sep 19, 2011 at 11:08 AM, nuno.jf <span dir="ltr">&lt;<a href="mailto:nunofernandes7@gmail.com">nunofernandes7@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">I vtkCleanPolyData doesn&#39;t do what I need. vtkCleanPolyData down-samples my<br>
entire set of points, merging duplicate points, removing unused points and<br>
so on... The problem is that the noise (circled) remains, and the proportion<br>
between the noisy points and the wanted points is maintained, as one can see<br>
bellow.<br>
<br>
<a href="http://vtk.1045678.n5.nabble.com/file/n4818404/cleanpolydata.png" target="_blank">http://vtk.1045678.n5.nabble.com/file/n4818404/cleanpolydata.png</a><br>
<br>
I believe the filter available in PCL does exactly what its needed in my<br>
case. I think it should not be very hard to implement, as I only need to,<br>
for each point P, calculate the mean distance from it to some k nearest<br>
points. I then get a medium distance and I can calculate the standard<br>
deviation. I then traverse all the P points again and I remove those whose<br>
mean distance is greater than one standard deviation. (I think... ) My major<br>
question is that, if the filter calculates mean distances for each point P<br>
it can take too long to run. My biggest point cloud has 123k points. I think<br>
I can select only a set of points inside my entire dataset, like the<br>
landmarks in ICP. But I don&#39;t know how to select points that represent each<br>
important region in my dataset. Any idea how I can do it?<br>
Nuno<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://vtk.1045678.n5.nabble.com/Find-closest-point-tp4816065p4818404.html" target="_blank">http://vtk.1045678.n5.nabble.com/Find-closest-point-tp4816065p4818404.html</a><br>
Sent from the VTK - Users mailing list archive at Nabble.com.<br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/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">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
</blockquote></div><br><br clear="all"><br>-- <br><div dir="ltr">Jothybasu K Selvaraj<br>PhD Student<br>University of Liverpool<br>Liverpool,UK<br></div><br>
</div>