Research Pipeline

From CT Scan to 3D Model

A step-by-step walkthrough of how a raw medical scan becomes a validated 3D mesh — the core of my doctoral research. Scroll to follow the pipeline.

🔬 Interact with the 3D models Read the research
01
Acquisition

Image Acquisition

The pipeline begins with a CT or micro-CT scan. The output is a stack of 2D grayscale slices — a DICOM or NIfTI volume — where each voxel encodes a Hounsfield unit corresponding to tissue density.

Scan quality, resolution, and slice thickness are the first sources of error. Everything downstream inherits these constraints.

μCT
Scanner type
DICOM
Format
~50μm
Typical resolution
CT / micro-CT image acquisition
02
Segmentation

Image Segmentation

The target structure is isolated from surrounding tissue using intensity thresholding, region growing, or learned classifiers. The output is a binary mask — voxels labelled as structure or background.

Class imbalance (structure voxels are a small fraction of the total volume) significantly affects Dice, Jaccard, and Hausdorff metrics. This was a central finding of our phantom-based study.

Dice
Accuracy metric
Hausdorff
Surface distance
Image segmentation — binary mask
03
Reconstruction

Marching Cubes Reconstruction

The Marching Cubes algorithm converts the binary voxel mask into a triangulated surface mesh. Each voxel cube is classified by which of its 8 corners lie inside the object, and a lookup table determines the triangle configuration.

The result is a watertight mesh — but one carrying staircase artefacts proportional to voxel size. The statistical distribution of these surface deviations across 9 geometries is the subject of our submitted journal paper.

256³
Typical voxel grid
Gen. γ
Best-fit error dist.
Marching Cubes reconstructed mesh
04
Post-Processing

Mesh Smoothing

Laplacian smoothing iteratively repositions each vertex toward the centroid of its neighbours, reducing jaggedness. But over-smoothing erodes clinically relevant features — thin vessel walls, bifurcations, small-scale morphology.

A spectral stopping criterion was established using the Laplace-Beltrami eigenvalue spectrum to determine the iteration count at which smoothing transitions from beneficial to destructive.

L-B
Eigenvalue spectrum
λ scaling
Stopping criterion
Mesh after Laplacian smoothing
05
Analysis

Morphological Analysis

Once a clean mesh is available, structural properties are extracted — branch lengths, diameters, tortuosity, bifurcation angles. Skeletonisation reduces the 3D volume to a 1D graph representing the topology.

A PyQt desktop application was developed for batch morphological analysis of vascular networks and root systems.

PyQt
Desktop app
Graph
Topology output
Morphological analysis — skeletonisation
06
Fabrication

3D Printing & Validation

The validated STL is printed on a Formlabs Form 3+ SLA printer (BioM3D Lab). Flexible materials with Shore hardness as low as 80A allow fabrication of anatomically compliant vessels.

Printed phantoms are re-scanned and compared back to the original geometry — closing the loop and quantifying the cumulative error of the full pipeline.

SLA
Process
80A
Shore hardness
25μm
Layer resolution
3D printed model
6
Pipeline Stages
9
Geometries Studied
3
Phantom Types
2
Papers Submitted
🔬 View 3D Models Read the Papers