[vtk-developers] Discrete contouring classes

Will Schroeder will.schroeder at kitware.com
Sat Dec 23 08:35:24 EST 2017


FYI here is an example of discrete marching cubes at work. From Bill:

Here is the SPLBrainAtlas;
> https://github.com/lorensen/SPLBrainAtlas/wiki/Atlas-Summary
>
> The two-paned images show Discrete on left, Cube's Model (also
> undersold) on right. STL files created using discrete followed by
> non-manifold joint smoothing.
>

On Sat, Dec 23, 2017 at 8:30 AM, Will Schroeder <will.schroeder at kitware.com>
wrote:

> 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
>



-- 
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/376e2a4c/attachment.html>


More information about the vtk-developers mailing list