Wolfram Language

Use 3D Regions as 3D Image Masks

The 2D and 3D image processing framework is linked to the geometric computation framework via ImageMesh and RegionImage. Some operations are easier to define in one domain or another. The connection allows you to go back and forth while working on an algorithm prototype.

Here is an orthopedic example. Given a CT scan of a spine, generate a mesh model of an intervertebral disc for replacement.

Copy to clipboard.
In[1]:=1

Regularize the volumetric data with a bilateral filter and segment the bone tissue with a density threshold.

Copy to clipboard.
In[2]:=2
Out[2]=2

Obtain a mask of the intervertebral disc via morphological operations.

Copy to clipboard.
In[3]:=3
Out[3]=3

Generate a boundary mesh of the intervertebral disc.

Copy to clipboard.
In[4]:=4
Out[4]=4

The mesh can be stored as a DXF file for further processing or 3D printing.

Display the intervertebral disc model between the vertebrae.

Copy to clipboard.
In[5]:=5
Out[5]=5

Related Examples

Find out if you already have access to Wolfram tech through your organization
×