A plain-language explainer of SeqSeg, an automated method for building patient-specific vascular models from medical images
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.
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:
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).
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.
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):
It generalizes. Because SeqSeg only ever looks locally—and vessels look remarkably similar up close, whether it is a coronary artery, the aorta, or a cerebral artery—it could segment vessels it had never seen during training. It even performed strongly on a completely independent hospital dataset it was never trained on, capturing branches that were missing from the “ground truth.”
It stays connected. Most segmentation methods classify each pixel independently, which often leaves gaps and disconnected fragments that break a simulation. By building the model step-by-step and tracking how branches connect, SeqSeg keeps the anatomy unified—exactly what you need to actually run physics on it. It also remembers branch connectivity, which helps place the inlet and outlet conditions a simulation requires.
It is faster, and reaches farther. On the same hardware, SeqSeg ran in roughly 20–80 minutes (depending on how many branches it traced) versus 2–3 hours for the benchmark—while consistently capturing more of the smaller, distal branches and producing more robust results.
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.
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.
Here are some more articles you might like to read next: