[vtk-developers] Discrete contouring classes

Will Schroeder will.schroeder at kitware.com
Sat Dec 23 08:30:22 EST 2017


FYI- Back in the day (2004) Jim Miller and Bill Lorensen added the
vtkDiscreteMarchingCubes class. This is used to generate contours for label
masks (as you would find in segmentation). The key here is that the labels
are non-continuous (i.e., scalar field is not smooth) so the regular edge
interpolation of something like marching cubes doesn't work. Long story
short, this class interpolates on the mid-edge point between regions, and
it generates different regions (i.e., meshes) for each label.

This class and approach is woefully underappreciated and underused.

I am just adding flying edges versions (2D and 3D) of this functionality
(MR 3739). These are of course much faster and scalable across multiple
cores. They also produce slightly different results. Principally they do
not merge coincident points belonging to different regions (since flying
edges does not use a point locator) -- this is both good and bad depending
on the application. Also normals are generated by the flying edges
algorithm, not by vtkDiscreteMarchingCubes.

See the docs for more info.

Best,
W

-- 
William J. Schroeder, PhD
Kitware, Inc. - Building the World's Technical Computing Software
28 Corporate Drive
Clifton Park, NY 12065
will.schroeder at kitware.com
http://www.kitware.com
(518) 881-4902
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://vtk.org/pipermail/vtk-developers/attachments/20171223/e4cf8b35/attachment.html>


More information about the vtk-developers mailing list