<div dir="ltr"><br><div><p style="margin-bottom:0in">Greetings,</p>
<p style="margin-bottom:0in">I am a VTK user working with a 3D
surface (polydata). My goal is to remove the small specks from the
surface.</p>
<p style="margin-bottom:0in"> Already at this point (and for
applications considerations beyond removing the small specks), I've
computed the convex hull of the surface, created a distance filter
(representing the distance from the convex hull to the surface),
created a 3d contour filter (partitioning the surface into ranges of
various depths) and then ran a connectivity filter on the resulting
contours.</p>
<p style="margin-bottom:0in">The contours look fine for my needs.
Now I'd like to somehow march through the smaller contours by region
(focusing only those with low cell count), compute their surface area
(using VTK Mass Properties), remove the smaller contours/surfaces
from the original 3D surface and fill the resulting holes. However,
after a few days of researching how to do this ...I have not figured out a good approach.</p>
<p style="margin-bottom:0in">Can I somehow clip the original surface
with the individual contours and apply the results to VTKMassProperties? </p><p style="margin-bottom:0in">Any help would be greatly appreciated.<br></p>
<p style="margin-bottom:0in">Cheers,</p>
<p style="margin-bottom:0in">Graham</p>
<p style="margin-bottom:0in"><br>
</p></div></div>