How Do You Turn a Blurry CT Scan into a Simulation-Ready Artery?

A plain-language explainer of SeqSeg, an automated method for building patient-specific vascular models from medical images

The Problem

Doctors and researchers increasingly want to simulate blood flow inside a specific patient’s arteries—to plan a treatment, test a medical device, or understand how a disease is progressing. These patient-specific simulations have become a critical part of diagnosing, treating, and understanding cardiovascular disease.

But before you can simulate anything, you need an accurate, three-dimensional model of that person’s blood vessels. And building one turns out to be one of the slowest, most manual steps in the entire process.

Patient-specific modeling pipeline: a medical image scan is converted into a 3D geometric model and then a blood flow simulation
The patient-specific modeling pipeline for a coronary artery model: a medical image scan is converted into a 3D geometric model, which then becomes the computational domain for a patient-specific blood flow simulation. The middle step—turning the scan into geometry—is the manual bottleneck SeqSeg aims to automate.

The Bottleneck Nobody Talks About

For more than 20 years, the workflow for turning a medical scan (a CT or MR image) into a simulation-ready vascular model has looked roughly like this:

  1. Trace centerlines through every vessel of interest—usually by hand.
  2. Segment the vessel lumen (the open channel blood flows through) at many cross-sections along those centerlines.
  3. Loft and join all those cross-sections and branches into a single, connected 3D model.

Every one of these steps depends on a trained expert clicking through the image slice by slice. It is time-consuming, costly, and introduces user bias. For large studies—or any clinical application where results are needed quickly—this manual model-building has remained the primary bottleneck.

For my PhD at UC Berkeley, working with Prof. Shawn Shadden, I wanted to automate it. The result is a method we call SeqSeg (Sequential Segmentation).

Comparison of the manual SimVascular modeling workflow (top) against the automated SeqSeg workflow (bottom)
Two ways to build the same vascular model. Top: the traditional manual workflow in SimVascular—placing path points, segmenting the lumen along each path, and lofting them into a model—where each step demands expert time. Bottom: SeqSeg, which steps through local subvolumes automatically from a single seed point. Because the manual approach is so time-consuming and costly, modelers often stop at the major vessels; SeqSeg's automation lets it capture many more of the smaller branches.

The Core Idea: Look Locally, Build Globally

Most machine learning approaches try to understand an entire scan at once. That is hard: blood vessels make up only a tiny fraction of the pixels in a 3D scan, their geometry varies enormously between patients, and keeping a highly-branched structure connected is tricky.

SeqSeg takes a different approach. Instead of swallowing the whole image, it explores the vasculature one small piece at a time—a bit like following a road one block at a time rather than memorizing the entire map.

Here is the intuition, without the jargon:

Piece by piece, SeqSeg traces and assembles the entire connected vascular tree from that one starting click. There is no need to draw centerlines in advance—it generates them automatically as it goes, which is often the most labor-intensive step of the traditional workflow.

Animation of SeqSeg sequentially tracing and segmenting a vascular tree from a single seed point
SeqSeg automatically traces and segments vascular structures from medical images, starting from a single seed point. It processes local segments sequentially, assembling them into a complete vascular tree.

What Surprised Me

A few results stood out when we tested SeqSeg on CT and MR images of aortic and aortofemoral anatomy, comparing against state-of-the-art benchmark models (2D and 3D nnU-Net):

Why This Matters

The goal here is not to replace the expert. It is to give clinicians and researchers their time back, and to make patient-specific cardiovascular simulation accessible enough to use at scale—in large-cohort studies and, eventually, in time-sensitive clinical settings.

There is still plenty to improve. SeqSeg relies on accurately capturing the root of each bifurcation, so a branch can be missed if its junction is obscured by image artifacts. The voxel-based segmentation can leave small staircase artifacts on the final surface, and running a neural network at every step can scale poorly for very extensive vascular networks. These are the kinds of problems I have continued to work on since.

Try It Yourself

SeqSeg is published, open access, in Annals of Biomedical Engineering:

If you want a hands-on walkthrough of setting up SeqSeg—from preparing a new dataset through training and inference—see my companion tutorial post on this blog.


Working on automation in medical imaging or cardiovascular modeling? I would love to hear where you think the biggest remaining bottlenecks are—feel free to reach out or leave a comment below.

Enjoy Reading This Article?

Here are some more articles you might like to read next:

  • Joining the Predictive Modeling in Medicine Lab (PMML) at UT Austin
  • Surviving Your First Year of Graduate School: Lessons Learned