[vtkusers] PolyData Points Delete.

Dongqing Chen dqchen at cvip.louisville.edu
Tue Sep 26 12:53:25 EDT 2006


Dear All:

    What I am currently working could be summarized like this:

   1. I applied some geometric feature descriptors to the whole polyData (say, ColonPolyData1), and obtained some qualified points which satified the criteria, but some small patches were also generated due to noise;

   2. I generated another polyData (say, ColonPolyData2) with same data structure with ColonPolyData1, and visualized the ColonPolyData2 by different color with ColonPolyData1;

  3. Now I want to delete those small undesired patches (or say, points) by setting a threshold using ColonPolyData2->DeletePoint(ptID), where ptIDs are associated with the undesired points;

  The access error was generated. I checked with the previous messages in this mail list. I got some ideas, but still cannot solve the problems.

  I also found very good link: http://www.bioengineering-research.com/vtk/vtkRemoveCellsFilter.htm, where some genius authors provided very nice codes. But I am not sure if  my question be different from those, which is that I donot want to really delete the points and leave some holes there, and what I need to do is just to release those undesired points from ColonPolyData2.

  Who can give me some hints on this?
  
Best Wishes,
-----------------------------------------------------------------
Dongqing Chen
Ph.D Research Assistant
Rm. 07, Paul C. Lutz Hall
Computer Vision & Image Processing (CVIP) Lab
Department of Electrical & Computer Engineering
Speed School of Engineering
University of Louisville
Louisville, KY. 40292
U.S.A
Email: dqchen at cvip.louisville.edu
Phone:+1-502-852-2789 (Lab)
            +1-502-852-6130 (Office)
-----------------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20060926/050eb2d3/attachment.htm>


More information about the vtkusers mailing list