I&#39;m having some difficulty with vtkPolyDataConnectivityFilter().  VTK is able to visualize it but I can&#39;t get the data out of it.  I&#39;ve written a program that works as follows<br><br>1. Uses vtkDICOMImageReader() to read in a CT image and pass that to<br>
2. vtkContourfilter() to reduce that image and pass that to<br>3. vtkPolyDataConnectivityFilter() to get the largest connected region and pass that to<br>4. vtkPolyDataNormals() which passes it to<br>5. vtkPolyDataMapper() and then to<br>
6. vtkActor() which is able to render only the largest connected region (the skin in this case)<br><br>When I pass the data to python using vtk_ar=vtk_to_numpy(skinactor.GetMapper().GetInput().GetPoints().GetData()) I get the output from step 2 which includes the disconnected regions.  I&#39;ve searched the vtk mail archives and the books but can&#39;t find out how to get the data after the ConnectivityFilter is called. I&#39;m new to vtk, any help would be appreciated.  <br>
<br>Peter<br>