Damion-<div><br></div><div>Please send the patch. I don't recall being able to set a threshold, this is a great idea.</div><div><br></div><div>W<br><br><div class="gmail_quote">On Tue, Feb 22, 2011 at 1:33 PM,  <span dir="ltr"><<a href="mailto:dshelton@3rivers3d.com">dshelton@3rivers3d.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hi,<br>
<br>
Sorry for the duplicate post... I forgot to turn off HTML mail.<br>
<br>
vtkPolyDataConnectivityFilter doesn't seem to support extracting<br>
connected poly components by region size, other than restricting<br>
extraction to the largest region. With our 3D scanner data, it's useful<br>
to reject connected components smaller than a certain size, as these are<br>
indicative of scan noise. Is there an existing best practice with this<br>
filter to achieve that result? The ivar RegionSizes contains the<br>
information required to perform this sort of extraction, but it is not<br>
exposed to the outside world.<br>
<br>
If there is not an existing best practice, I've written a patch against<br>
5.6.0 that adds a new extraction mode "SizeThreshold" that I'm happy to<br>
contribute.<br>
<br>
Thanks,<br>
Damion<br>
<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>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtk-developers" target="_blank">http://www.vtk.org/mailman/listinfo/vtk-developers</a><br>
<br>
</blockquote></div><br><br clear="all"><br>-- <br>William J. Schroeder, PhD<br>Kitware, Inc.<br>28 Corporate Drive<br>Clifton Park, NY 12065<br><a href="mailto:will.schroeder@kitware.com">will.schroeder@kitware.com</a><br>

<a href="http://www.kitware.com">http://www.kitware.com</a><br>(518) 881-4902<br>
</div>