[vtkusers] Extracting Largest Polyline
Mathieu Malaterre
Mathieu.Malaterre at creatis.insa-lyon.fr
Thu Jun 12 06:31:20 EDT 2003
Helder,
Were you looking for
vtkPolyDataConnectivityFilter::SetExtractionModeToLargestRegion
http://www.vtk.org/doc/nightly/html/classvtkPolyDataConnectivityFilter.html#z1376_4
HTH
mathieu
Helder Carvalho wrote:
> Hi users,
>
> I've extracted the contours of a medical image using the
> vtkMarchingSquares filter. The problem is I got 2 polylines instead of 1
> as i expected. I've seen the points that make the polydata and it's
> ipossible (at least for me) to distinguish the points from the larger
> polyline from the smallest one.
>
> Is there anyway to get only the largest polyline????
>
> Thanks in advance,
> Helder Carvalho
>
> _________________________________________________________________
> Protect your PC - get McAfee.com VirusScan Online
> http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963
>
> _______________________________________________
> This is the private VTK discussion list. Please keep messages on-topic.
> Check the FAQ at: <http://public.kitware.com/cgi-bin/vtkfaq>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtkusers
>
--
Mathieu Malaterre
CREATIS
28 Avenue du Doyen LEPINE
B.P. Lyon-Montchat
69394 Lyon Cedex 03
http://www.creatis.insa-lyon.fr/~malaterre/
More information about the vtkusers
mailing list