[vtkusers] Delaunay3D - connect to closest points only!

David Imboden d at davidimboden.net
Thu Apr 20 13:17:04 EDT 2006


Ok it's working but it connects very distant points.

- How to connect only the closest points?

delaunay3d = vtkDelaunay3D::New() ;

I try to change :
delaunay3d->SetAlpha
delaunay3d->SetTolerance
delaunay3d->SetOffset

but I still connects very distant points!

Thanks

David

-----Message d'origine-----
De : vtkusers-bounces+d=davidimboden.net at vtk.org
[mailto:vtkusers-bounces+d=davidimboden.net at vtk.org] De la part de Kevin H.
Hobbs
Envoyé : mercredi, 19. avril 2006 16:16
À : VTK Users
Objet : [vtkusers] More Hole Filling : Delaunay3D

I am forced to do some nasty things to some of my contours that just
don't seem to stick to one anatomical structure. These nasty things
cause holes in the contour. With the recent chatter on hole filling and
Delaunay3D I figured this might be interesting.

the before and after image is here:
http://crab-lab.zool.ohiou.edu/kevin/holes_filled.png

The contour pictured at left is spongy because of the low threshold I
had to use, and it is not closed because I had to clip out the other
structure to which it was attached.

A little Delaunay triangulation gives me something closer to what I
wanted on the right.






More information about the vtkusers mailing list