A better airway model starts with knowing where every branch ends
37 of 42 CT-derived airway reconstructions passed a demanding topological check: each had one connected surface, no non-manifold edges, and a distinct, correctly matched boundary loop for every airway opening. Across 2,174 matched ports, the median distance between a model’s intended opening and the opening actually present on its surface was just 0.123 millimetres.
That may sound like a specialist’s geometric housekeeping. But in simulations of breathing, an airway is not just a shape. Every branch ending can be a place where air flows out of the model, and where a computer assigns a boundary condition. If an outlet is missing, merged with another, or simply misidentified, the simulation may impose the right physics at the wrong place. CT-RespGeomLib, a framework developed by researchers at the University of Peradeniya and collaborators, is designed to make those interfaces explicit, inspectable and editable.
The software turns a segmented CT airway into two related objects. One is an assembly of labelled, adjustable pipe and junction pieces, connected through shared ports. The other is a single reconstructed surface representing the air-filled lumen. The distinction matters: a model can have a tidy internal design and still produce a flawed outer surface when its branches are fused together. The authors test that connection instead of assuming it.
The work is a step toward more reproducible patient-specific respiratory modelling, not a clinical tool or a proof that simulations predict disease. The authors’ reconstructions were accepted in 37 cases, while five failed the full topological criteria. Their radius measurements also showed a systematic bias, and the surface may need further preparation before it can be meshed for computation. But the framework offers something practical: a way to build airway geometries whose branch boundaries can be counted, checked and deliberately altered.
Reconstruction acceptance across 42 airway masks
The paper reports 37 topologically accepted reconstructions out of 42 attempted cases.
| Label | Value |
|---|---|
| Topologically accepted | 37 cases |
| Not accepted | 5 cases |
The Science
The inputs were 42 existing airway masks: 15 from ATM22 and 27 from AeroPath. A mask is a three-dimensional labelling of which CT voxels belong to the airway lumen. These were reference annotations, not fresh predictions from a segmentation algorithm. The question was what could be built reliably from them.
First, the pipeline extracts a thin centreline through the airway tree and estimates a radius along it using distances to the mask boundary. It then organises the result as a rooted graph: branch segments are edges, and branching points are nodes. The image’s native voxel spacing is respected during geometric calculations, so a voxel in one direction is not mistakenly treated as the same physical size as a voxel in another.
That graph feeds two representations. The editable assembly decomposes the tree into semantic blocks: straight or curved pipes and Y-shaped or more general junctions. Each block refers to a canonical port at its interface. A shared port is stored once, rather than being copied separately into two adjacent blocks. This makes the interface coordinates and radius coincide by construction, much like two components designed around the same connector specification.
The second output is the fused lumen wall, a single surface generated from tapered tube-like mathematical primitives. Their implicit fields are combined, and the resulting surface is opened at the physical inlet and outlets. The framework then checks whether the surface has one connected component, whether its edges meet manifold criteria, and whether each expected external port corresponds to its own boundary loop.
A boundary loop is the rim around an opening in a surface mesh. In a respiratory simulation, those openings matter because they are where air enters or leaves the model. The authors match each expected port to a distinct loop by comparing their locations, subject to a size-dependent tolerance. This is separate from checking that adjacent editable blocks share a consistent port: the first property concerns the assembly, the second whether the fused surface preserved the opening.
The study also tests whether the editable geometry can represent controlled narrowing and widening. The researchers modify a branch’s radius profile locally, leaving its centreline and the rest of the graph unchanged. Their stenosis and dilation scenarios are prescribed geometric edits; they do not model the biological mechanisms that cause airway disease, nor do the percentages describe a progression over time.
Finally, the team tried to carry one reconstruction into downstream computation. They generated a volume mesh and ran an OpenFOAM airflow simulation with individually prescribed resistance conditions at 62 outlets. This demonstration establishes that the geometry can enter a computational workflow, but it does not establish clinical accuracy or validate the simulated flow against patient measurements.
What They Found
The main result is a credible, but not universal, reconstruction success rate: 37 of the 42 attempted fused surfaces met all the authors’ topological acceptance criteria. Across all 42 cases, including those not accepted overall, 2,174 external ports could be matched to boundary loops. The median port-to-loop distance was 0.123 mm. The largest reported distance relative to the permitted tolerance was 0.905, so none of those matched ports exceeded its individual limit.
That combination tells a useful story. Where the pipeline could identify and match a port, its location was generally close to the intended one. Yet a good local match does not guarantee that the entire surface is acceptable: the five rejected cases failed at least one criterion for overall topology. Explicit validation makes those failures visible instead of allowing a plausible-looking model to pass unquestioned.
The geometry also tracked the segmented airway’s calibre closely. Across 63,159 sampled locations, the equivalent radii of the reconstructed wall and reference mask had an reported coefficient of determination, or R², of 0.976. That statistic describes how strongly the measurements vary together; it does not mean every radius was accurate to within 2.4 percent. The mean bias was −0.414 mm, meaning the reconstructed equivalent radii were smaller on average under the study’s comparison. The authors attribute this mainly to representing irregular cross-sections with circular, inscribed-radius estimates.
That caveat is consequential. Airways are not perfect cylinders, and a single radius cannot capture every wrinkle or asymmetric bulge in a CT-derived cross-section. A high overall correlation means the model follows the broad pattern of larger and smaller airways, while the negative bias warns that it tends to undershoot the reference calibre. For airflow calculations, even a modest difference in radius can matter; the paper does not claim that this measurement agreement alone guarantees accurate flow predictions.
The controlled edits were more exact in their own terms. Forty variants were generated across five patient-specific geometries, changing the trachea or a main bronchus. The edits included radius reductions of 25%, 50% and 75%, and radius increases of 50%. The mean absolute ratio error between prescribed and realised changes was 0.0056. Outside the modified region, the median 95th-percentile surface deviation was 0.111 mm. In other words, the intended narrowing or widening was reproduced closely, while the surrounding geometry changed relatively little by the study’s measure.
Those edits are not merely visual. A researcher could use the same underlying patient geometry to compare a baseline with a set of specified narrowings, rather than rebuilding each case from a new image segmentation. That makes controlled comparisons easier to define and reproduce. It does not, however, make the edit a realistic disease model: the experiment changes geometry, not tissue mechanics, inflammation, or the way an airway responds over time.
The downstream demonstration showed a volume mesh containing 656,650 tetrahedra and a steady laminar-flow simulation at 0.1 litres per second. Each of 62 outlets received its own model-based resistance condition. This is a useful proof of workflow compatibility, especially because identifying many distinct outlets is one motivation for the shared-port design. The paper also states that additional surface preparation may be needed for numerical meshing, and the simulation is a demonstration rather than an independent validation of predicted breathing patterns.
Why This Changes Things
A CT scan does not arrive as a ready-to-run computer model. Between image and simulation lie many choices: which branches to keep, how to smooth the surface, how to close or open holes, and how to identify the outlets. These choices can alter the geometry that determines simulated flow. CT-RespGeomLib’s contribution is to turn some of those choices into explicit, testable steps.
The shared-port assembly and fused surface address different needs. The assembly gives investigators a branch-level object they can inspect and modify. The fused surface gives downstream software a continuous lumen boundary. By recording which external loop corresponds to which anatomical port, the framework offers a bridge between the semantic model and the surface that a solver actually sees. That is a useful form of auditability: a simulation setup can refer to identifiable outlets, rather than relying on an operator to infer them from an unlabeled mesh.
This matters in research on airflow, particle transport and airway obstruction. In those settings, comparisons are only meaningful if the geometry and boundary conditions are well described. A reproducible way to narrow a particular branch, for example, can help separate the effect of that geometric change from the effect of changing the entire segmentation. Likewise, a port manifest can make it easier to apply different outlet conditions across a branching tree.
There is also a broader lesson for image-based modelling. A surface that looks smooth is not necessarily topologically correct; a set of blocks that fit together on paper does not guarantee a correct final boundary. CT-RespGeomLib evaluates both levels. Its five rejected reconstructions are not embarrassing noise to hide: they show why a pipeline needs acceptance criteria and per-case reports, especially when automated geometry may feed into numerical calculations.
The framework is not the only route from CT to airflow simulation. Prior work has produced airway meshes and automated CFD workflows, while centreline-based and procedural methods provide other ways to represent branching anatomy. The distinctive emphasis here is the validated correspondence between an editable, port-based assembly and the openings on a separately reconstructed surface. This is a specific engineering advance, not evidence that it is already superior for every dataset or clinical application.
For a reader outside computational respiratory science, the practical stakes are indirect but real. Better tools for building and checking patient-specific models can make it easier to investigate how airway shape relates to airflow, and to compare modelling choices across studies. Such work may eventually support research into obstruction, surgical planning or treatment design. This paper does not demonstrate those clinical benefits; it supplies infrastructure that could help make later investigations more controlled.
What’s Next
The first open question is why five cases did not pass all topological checks. The paper reports an overall acceptance count and validation measures, but the next useful step is to understand the failure modes case by case: whether they arise from unusually complex branching, segmentation defects, small outlets, surface repair, or some interaction among them. A high success rate is encouraging, but the cases that fail may reveal exactly where the method needs to become more robust.
The geometric bias also deserves attention. The study’s circular radius representation and its 0.7 mm lower radius floor are deliberate modelling choices, but both can move the reconstructed surface away from the reference mask. A more detailed comparison of where those choices matter—especially in the smallest branches and near junctions—could show whether the bias is acceptable for a given application or whether a different representation is needed.
The authors demonstrate meshing and one flow simulation, but further validation would require comparing predictions with independent measurements, such as flow or pressure data, and testing whether results remain stable under plausible changes in surface processing and boundary conditions. The study itself notes that topological acceptance does not prove the surface is free of self-intersections or automatically ready for volume meshing. Those are important distinctions between a usable geometry pipeline and a validated physiological model.
There is also a path from controlled edits to more realistic disease modelling. The current stenoses and dilations are prescribed radius changes, with the centreline fixed. Real airway narrowing can involve irregular shape, shifting structure and material properties; those cannot be inferred from a geometric perturbation alone. Still, a controllable baseline is valuable: it gives researchers a way to ask narrowly defined questions before adding more biological complexity.
The broad promise is modest and worthwhile. CT-RespGeomLib does not make airway simulations automatically true. It makes one difficult part of building them more explicit: turning a branching image into a geometry whose pieces, outlets and modifications can be inspected and checked. If future work improves the rejected cases, tests the model against measurements, and clarifies when the radius bias matters, this kind of reproducible reconstruction could help respiratory researchers make comparisons that are easier to trust—and easier to repeat.