Voxels to Mesh: convert a CT or voxel volume into a mesh

Turn a CT scan or any voxel volume into a mesh in four steps — choose the surface with Change ISO, convert it with Voxels to Mesh, check it, then repair and export it

4 min readVideo
In the app
  • CTVoxels to Mesh

Loads from YouTube (Google) when you press Play

To turn a CT scan or any other voxel volume into a mesh, you choose the surface you want with CT › Change ISO and then convert it with CT › Voxels to Mesh. You need a mesh to 3D print, measure, compare or edit the part: a voxel volume is a grid of values, not a surface.

Before You Start

You need one voxel volume in the scene. Get it in one of these ways:

What a voxel volume is: Voxels. All tools of the CT tab: CT & Voxels Basics.

Step 1. Choose the Surface

Voxels to Mesh does not build a new surface: it copies the iso-surface the volume shows in the viewport. So make that surface right first.

  1. Select the volume and open CT › Change ISO. If Volume Rendering is on for the volume, turn it off first: Change ISO is not available while it is on.
  2. Set the Iso-value: the surface passes through the voxels with this value. On a CT scan, a higher value keeps only denser material, a lower value adds lighter material and noise. You can also click a bar of the histogram to use its value.
  3. Leave Dual Marching Cubes on (default) or clear it to build the surface with the standard Marching Cubes algorithm.
  4. Close the panel. The surface you see now is what you will get as a mesh.

How to pick a good value: Change ISO. To work only with a part of the volume, limit it first with Set Active Voxel Box.

Step 2. Convert

  1. Select exactly one voxel volume and open CT › Voxels to Mesh.
  2. Choose the method:
    • Simple Conversion (default): the mesh is the current iso-surface as it is. Fast.
    • Smart Conversion: after copying the iso-surface, the app moves each vertex along its normal to the place where the voxel values change fastest, that is, to the edge of the material. This sub-voxel correction gives a more precise surface but takes more computing time. The app recommends it for CT and MRI scans.
  3. Turn on Preserve Voxel Object to keep the volume in the scene. It is then hidden, not deleted. With the box cleared (default), the mesh replaces the volume.
  4. Click Convert.

The new mesh gets the name of the volume plus Mesh (for example, Dental CT scan Cropped Mesh), stays in the same place as the volume and is selected. The panel closes.

The Voxels to Mesh panel with Simple Conversion selected, open on the CT tab over a dental CT scan cropped to the teeth with Set Active Voxel Box; the iso-value of about 2 000 shows the teeth and bone only.

Smart Conversion Settings

These fields appear when you select Smart Conversion. Start with the defaults.

Parameter What it does Default (range)
Sampling Points Number of points sampled for every vertex 6 (2–20)
Polynomial Degree Degree of the polynomial fitted to the sampled points 3 (3–6)
Iterations Number of iterations; each one moves the vertices only slightly 30 (1–100)
Outlier threshold A vertex whose target position is farther than this, in voxels, is not moved in that iteration. Keep it small for small degrees 1 (1–10)
Preparation smooth Speed of the smoothing done once before the iterations. Can be 0 if the surface is already smooth 0.1 (0–1)
Intermediate smooth Speed of the smoothing done in every iteration. Small values are generally not recommended 0.3 (0–1)

Smart Conversion selected in the Voxels to Mesh panel with the default settings: Sampling Points 6, Polynomial Degree 3, Iterations 30, Outlier threshold 1, Preparation smooth 0.1, Intermediate smooth 0.3, for a voxel volume made from the CAD housing with Mesh to Voxels

Step 3. Check the Result

Select the mesh and look at the Information panel: Triangles, Vertices, Volume, Area and Components. One component is what you expect for a single part; many small ones usually mean scan noise.

For example, a dental CT scan cropped to the teeth with Set Active Voxel Box (300 × 240 × 100 voxels) and converted with Simple Conversion at an iso-value of about 2 000 gave a mesh of 168 956 triangles in 36 components, without holes.

The mesh of the teeth made by Simple Conversion from a dental CT scan cropped to the teeth with Set Active Voxel Box; the cropped volume is not kept because Preserve Voxel Object was off.

If the result is not what you need:

  • Noise, loose pieces or a too thick surface in a CT scan: the iso-value is too low. Undo, raise it in Change ISO and convert again.
  • Thin parts are missing or have holes in a CT scan: the iso-value is too high. Lower it.
  • In a volume made with Mesh to Voxels the values are distances, so it works the other way round: a higher iso-value moves the surface outward and thickens walls (see Change ISO).
  • Too many triangles: the number of triangles follows the voxel size. Reduce it with Simplify.

To see what Smart Conversion changes, convert the same volume twice with Preserve Voxel Object on (show and select the volume again before the second run), select both meshes and open Inspect › Surface Deviation. Both meshes lie in the same place, so no alignment is needed.

Step 4. Repair and Export

  1. Fix what is left with Mesh Healer: it removes small disconnected parts and fills small holes.
  2. Save the mesh, for example as STL for 3D printing: Exporting Objects.

Customize Consent Preferences

We use cookies and similar technologies, such as local storage. You will find detailed information about all of them under each consent category below.

To learn more about how Google processes personal information, visit: Google privacy policy

Always Active