Marching cubes CLP

From user's Wiki!
Jump to: navigation, search
Marching Cubes

General Information

  • Type: CLP
  • Category: Segmentation
  • Author: Xavi Planes
  • Contributor: Xavi Planes
  • Contact:
  • Description: Generate isosurface(s) from volume. vtkMarchingCubes is a filter that takes as input a volume (e.g., 3D structured point set) and generates on output one or more isosurfaces. One or more contour values must be specified to generate the isosurfaces. Alternatively, you can specify a min/max scalar range and the number of contours to generate a series of evenly spaced contour values. Read More....



Label Type Flag / Index Default value / Channel Description
Marching cubes Parameters
Compute Normals boolean --computeNormals false Normal computation is fairly expensive in both time and storage. If the output data will be processed by filters that modify topology or geometry, it may be wise to turn Normals and Gradients off.
Compute Gradients boolean --computeGradients false
Parameters to prescribe the region growing
Compute Scalars boolean --computeScalars false
Value double --value 0.5 Set a particular contour value at contour number 0.
Input Volume image fileExtensions = ".vtk" index 0 input Input volume to be filtered
Output Mesh geometry index 1 output Output Mesh


Sample Data:Atrial Fibrillation

In this example, the heart surface mesh is generated using a mask image:

Marching Cubes


Source code: C++ Source code and XML description

Go back to Users