Image basics · 1987

marching cubes

移动立方体算法

The classic algorithm for pulling a triangle mesh out of 3D image data: visit each little cube of eight neighboring voxels and look up which triangles to draw. Published by Lorensen and Cline of General Electric in 1987, it is still the default for medical 3D models.

Given a threshold, such as the CT number of bone, the algorithm marches a cube through the volume. Each of its eight corners lies above or below the threshold, giving combinations; rotational and complementary symmetry reduce them to 14 basic patterns (15 counting the empty case), stored in a lookup table. Where the surface crosses an edge is found by linear interpolation between the two voxel values, so the surface is smoother than the voxel grid.

William Lorensen and Harvey Cline of the General Electric research center presented the algorithm at SIGGRAPH 1987 and patented it; once the patent lapsed it became a built-in of every open-source toolkit.

Its weakness is ambiguity: some corner configurations can be joined in more than one way, and the original table can leave holes. Later variants such as Marching Cubes 33 filled in the missing cases. A high-resolution CT can yield millions of triangles, which are decimated before 3D printing or surgical navigation.

Sources
  1. Lorensen WE, Cline HE. Marching cubes: a high resolution 3D surface construction algorithm. Comput Graph (SIGGRAPH '87). 1987;21(4):163–169. doi.org/10.1145/37401.37422

Key works · 2

Landmark1987SIGGRAPH 198712,195 citations

Marching cubes: A high resolution 3D surface construction algorithm

William E. Lorensen, Harvey E. Cline

The algorithm visits cells of eight neighboring samples, selects a triangle configuration according to the samples' relationship to an isovalue, and interpolates vertex positions along cell edges. The authors used local gradients for shading and demonstrated the resulting surfaces with CT, MRI, and SPECT data.

SignificanceThe case table and interpolation made isosurface extraction a practical cell-by-cell operation that produced triangular meshes from medical volumes. The Visualization Toolkit later made the method available as a reusable component for extracting surfaces from volume data.

Landmark1996IEEE Visualization 1996218 citations

The design and implementation of an object-oriented toolkit for 3D graphics and visualization

William J. Schroeder, Kenneth M. Martin, William E. Lorensen

The authors described the freely available C++ Visualization Toolkit, including its data representations, object model, execution synchronization, and bindings for interpreted languages. They demonstrated how common software components could be assembled into workflows for visualizing scalar, vector, and tensor data.

SignificanceVTK made three-dimensional processing and display algorithms reusable across applications. Medical software such as OsiriX used it for rendering, and IEEE VIS recognized the paper's enduring contribution with a Test of Time Award in 2021.