betaFeedback

WorksEngineering

CT-RespGeomLib: Deterministic reconstruction of CT airway masks into editable,port-matched lumen geometry

Abstract

Patient-specific airway modelling requires geometrically consistent lumen surfaces with identifiable boundaries and support for controlled anatomical modifications. We present CT-RespGeomLib, a deterministic framework that converts CT airway masks into two complementary representations: an editable assembly of semantically labelled pipe and junction blocks connected through canonical shared ports, and a fused lumen surface reconstructed from tapered implicit primitives with validated port-to-boundary loop correspondence. The parametric representation further enables localised modelling of airway stenosis and dilation without re-segmentation. Evaluated on 42 reference airway masks from ATM22 (15 cases) and AeroPath (27 cases), the framework produced 37 topologically accepted reconstructions, with a median port-to-loop distance of 0.123 mm across 2174 matched ports. Reconstructed and reference equivalent radii showed strong agreement (R2=0.976R^2 = 0.976), with a mean bias of -0.414 mm arising primarily from the circular, inscribed-radius representation. Controlled pathology modelling generated 40 variants across five patient-specific geometries, including 25-75% stenosis and 50% dilation at tracheal and main-bronchus locations. Prescribed radius changes were reproduced with a mean absolute ratio error of 0.0056, while the median 95th-percentile deviation outside the modified region was 0.111 mm. Downstream applicability was demonstrated through volume meshing and an OpenFOAM simulation with individually prescribed model-based resistance conditions at 62 outlets. Although additional surface preparation may be required for numerical meshing, CT-RespGeomLib provides a reproducible framework for CT-derived airway reconstruction, quantitative boundary validation and controlled geometric pathology modelling.

Introduction and Related Work

Patient-specific airway geometry is a central input to image-based pulmonary modelling, supporting quantitative morphometry and computational studies of airflow and particle transport [1, 2, 3]. In such studies, computed flow depends not only on the prescribed boundary conditions but also on the geometry of the reconstructed lumen [4, 5]. Recent multiscale respiratory simulations have further highlighted the influence of airway surface processing and distal boundary conditions on flow and particle transport predictions [6]. Because a conducting-airway model contains many physically distinct outlets, these boundaries must be individually identifiable when branch-specific conditions are imposed. Consequently, converting segmented airways into geometrically consistent surfaces with identifiable inlet and outlet boundaries is an important step between medical image analysis and downstream numerical modelling.

Large-scale airway segmentation studies, including ATM22 and AeroPath [7, 8], have improved the availability of annotated CT data spanning different acquisition settings and pathological conditions. Recent anatomy-aware segmentation approaches have also addressed branch continuity and topological completeness [9]. Nevertheless, a binary segmentation does not directly provide an editable representation of individual airway branches or explicitly labelled geometric interfaces. Direct isosurface extraction, for example using marching cubes [10], reproduces the voxel-defined boundary but may require smoothing, trimming and surface repair before volume meshing. Automated approaches have addressed parts of this process: Lauria et al. [11] developed a method for generating triangulated pulmonary airway meshes from segmented CT images, while Bartol et al. [12] presented a subject-specific CT-to-CFD workflow incorporating automated inlet and outlet processing, surface preparation and volume meshing. These studies establish important routes from segmentation to numerical simulation, while also motivating explicit assessment of the geometric and topological properties of the resulting surfaces.

A complementary body of work represents airways through centrelines, parametric primitives or procedural tree models. Tawhai et al. [13] fitted curved centreline–diameter models to CT-derived airway trees and extended their distal structure, while Miyawaki et al. [14] developed subject-specific reconstruction from CT-segmented centrelines and surfaces, including bifurcations and trifurcations. Centreline-based methods have also been used for automated discretisation of branched tubular domains [15]. Procedural approaches provide complementary capabilities for controlling airway structure, including volume-filling tree growth [16], space-filling three-dimensional tree models [17], the AVATREE framework [18] and RespGeomLib [19]. RespGeomLib, in particular, uses specification-driven port-based assembly and implicit junction blending. More recently, Spasov et al. [20] combined CT-derived proximal anatomy with stochastic growth to construct extended bronchial trees. Related image-to-model frameworks in vascular modelling have integrated centreline analysis, surface editing and numerical mesh generation [21].

Beyond reconstructing existing anatomy, controlled geometric modification is valuable for investigating the effects of airway narrowing. Ding et al. [22] examined how stenotic geometry influences airflow in central airway obstruction, while Michaud-Dorko et al. [23] investigated progressively increasing

subglottal constriction in an upper-airway model. Such studies demonstrate the utility of controlled anatomical variations for respiratory-flow investigations. For patient-specific reconstruction frameworks, an additional requirement is the ability to impose prescribed geometric changes locally and verify their realised severity and spatial extent independently of a subsequent flow simulation.

The present work addresses the relationship between an editable airway representation and the physical surface reconstructed from it. Existing methods provide important capabilities in CT-based reconstruction, automated outlet preparation, procedural geometry generation and downstream meshing. However, the correspondence between a structured branch-level representation and the boundary interfaces realised on a separately reconstructed lumen surface remains a distinct validation problem. In RespGeomLib, ports are defined by the geometric specification and are therefore consistent within the assembled representation. For CT-derived geometry, branch structure and local dimensions must first be recovered from image data, and the appearance of each intended external port as a distinct, correctly located boundary loop on the final surface must be established independently.

We present CT-RespGeomLib, a deterministic framework that converts CT airway masks into two complementary geometric outputs. A rooted centreline–radius graph is decomposed into an editable assembly of labelled pipe and junction blocks connected through shared canonical ports. A separate fused lumen surface is reconstructed from graph-derived tapered implicit primitives, opened at the physical inlet and outlets, and evaluated using connectivity, edge-manifoldness and one-to-one port–loop correspondence. The same representation supports controlled, branch-local radius modifications for modelling stenosis and dilation without re-segmenting the original CT image. The framework is evaluated on 42 reference airway masks from ATM22 and AeroPath through geometric fidelity measurements, baseline comparisons, parameter sensitivity analysis and 40 controlled pathology variants. Downstream applicability is further examined through volume meshing and an OpenFOAM flow simulation with individual model-based outlet resistance conditions.

The principal contributions are:

  • A deterministic CT-mask-to-geometry pipeline that produces an editable semantic airway assembly and a separately reconstructed fused lumen surface in physical coordinates.

  • A canonical shared-port representation together with explicit geometric validation of one-to-one correspondence between intended external ports and realised boundary loops on the fused surface.

  • Controlled, branch-local modelling of stenosis and dilation in CT-derived airway geometries, with quantitative evaluation of prescribed versus realised severity, spatial locality and boundary preservation.

  • A multi-cohort evaluation of reconstruction acceptance, geometric fidelity, baseline methods and parameter sen-

sitivity, complemented by a downstream volume-meshing and OpenFOAM demonstration with individually prescribed outlet boundary conditions.

Methods

Framework overview and datasets

CT-RespGeomLib takes a binary CT airway mask and generates two complementary outputs: a semantically labelled assembly of editable airway blocks and a fused lumen surface for downstream geometric processing. Both use the same centreline–radius representation, although smoothing and radius constraints mean that their realised surfaces are not identical. For an input mask MM, the editable semantic representation is defined by

A=(G,P,B),(1)\mathcal{A} = (\mathcal{G}, \mathcal{P}, \mathcal{B}), \tag*{(1)}

where G=(V,E)\mathcal{G} = (V, E) is a rooted centreline–radius graph, P\mathcal{P} contains canonical geometric ports, and B\mathcal{B} contains straight and curved pipes and Y2, Y3 and general junction blocks. Graph operations are performed on the native voxel lattice; geometry and outputs are expressed in millimetres. Figure 1 and Algorithm 1 summarise the procedure, and Figure 2 illustrates four implementation details.

Overview of the CT-RespGeomLib reconstruction pipeline

Figure 1. Overview of the CT-RespGeomLib reconstruction pipeline. A CT-derived airway mask is converted to a centreline–radius graph, rooted and pruned into an anatomical tree, decomposed into shared-port semantic blocks, and turned into two complementary outputs: an editable labelled block assembly and a fused single-wall surface with named ports for downstream meshing.

Figure 2. Four implementation details of the CT-RespGeomLib method. (a) Voxel topology is analysed on the native anisotropic image lattice, while centrelines, radii, ports and surfaces are mapped to physical world coordinates in millimetres. (b) Adjacent blocks reference the same shared port object, so interface centres, radii, frames and opposing normals are coincident by construction. (c) Tapered implicit primitives are combined by a hard implicit union to form the fused wall. (d) The closed surface is opened at physical ports, and the realised boundary loops are matched to the canonical ports under the topological acceptance criteria. The panels correspond to Eq. (2) (a), Eq. (5) (b), Eqs. (8)–(10) (c) and Eq. (11) (d).

The evaluation used 42 reference airway masks: 15 training cases from the ATM22 dataset [7] and all 27 AeroPath cases [8]. ATM22 provides multi-site chest CT airway annotations, while AeroPath includes contrast-enhanced CT angiography acquired in patients investigated for pulmonary disease. The published reference masks, rather than predictions of an additional segmentation model, were supplied to the reconstruction pipeline. Case selection and acquisition characteristics are documented in Supplementary Methods SM1.

CT preprocessing and centreline–radius graph construction

NIfTI airway annotations are loaded with SimpleITK [24], treating strictly positive labels as foreground. Connectivity and

Algorithm 1 CT-RespGeomLib reconstruction pipeline.

Require: CT airway mask MM with origin, spacing and direction matrix

Ensure: Semantic block assembly, fused surface SS, port manifest and validation report

  1. Mclean←M_{\mathrm{clean}} \leftarrow largest 18-connected foreground component; crop with eight-voxel margin

  2. Thin McleanM_{\mathrm{clean}}; compute spacing-aware distance-transform radii

  3. Build G\mathcal{G} from 26-connected skeleton chains; root, prune and cap generations

  4. Define canonical ports P\mathcal{P} and decompose G\mathcal{G} into semantic blocks B\mathcal{B}

  5. Resample and smooth graph edges; restore endpoint and port parameters

  6. Construct labelled pipe and junction primitives from the port-linked blocks

  7. Apply fused-wall radius floor; construct tapered implicit segments

  8. Evaluate the hard-minimum field on the selected physical-space grid

  9. Extract zero isosurface SS; open the physical inlet and outlets

  10. Smooth and repair SS while retaining all port-bearing components

  11. Extract boundary loops and assign external ports one-to-one within tolerance

  12. Report connectivity, manifold edges, port–loop matches and acceptance

thinning operate in array order (z,y,x)(z,y,x); physical geometry uses the ITK index u=(i,j,k)\mathbf{u}=(i,j,k) and image affine

xworld=o+D(u⊙s),(2)\mathbf{x}_{\mathrm{world}}=\mathbf{o}+D(\mathbf{u}\mathbin{\odot}\mathbf{s}), \tag*{(2)}

where o\mathbf{o}, DD and s\mathbf{s} denote origin, direction matrix and ITK-order voxel spacing, respectively, and ⊙\odot is elementwise multiplication. The native mask is not resampled; exported coordinates follow ITK LPS convention.

The largest 18-connected foreground component is retained,

Mclean=arg⁡max⁡Ci∈K18(M)∣Ci∣,(3)M_{\mathrm{clean}}=\underset{C_i\in\mathcal{K}_{18}(M)}{\arg\max}\lvert C_i\rvert, \tag*{(3)}

where K18(M)\mathcal{K}_{18}(M) denotes the set of 18-connected components. The retained mask is cropped with an eight-voxel margin; no morphological closing, dilation or hole filling is performed. A one-voxel-wide skeleton is obtained by three-dimensional thinning [25]. Skeleton radii are estimated from the anisotropic Euclidean distance transform,

r(u)=min⁡y∈N(Mclean)∥(u−y)⊙s∥2,(4)r(\mathbf{u})=\min_{\mathbf{y}\in\mathcal{N}(M_{\mathrm{clean}})}\left\lVert(\mathbf{u}-\mathbf{y})\mathbin{\odot}\mathbf{s}\right\rVert_{2}, \tag*{(4)}

where N(Mclean)\mathcal{N}(M_{\mathrm{clean}}) denotes the background voxel centres considered by the distance transform. Distances are in millimetres and are not corrected by half a voxel; consequently, they provide voxel-centre-based estimates of the local inscribed radius.

The skeleton is traced using 26-neighbour connectivity. Adjacent critical voxels (degree other than two) are clustered into graph nodes, while intervening degree-two chains form edges. For each node pair the shortest traced chain is retained; chains shorter than three voxels are discarded. Each edge ee stores an ordered centreline CeC_e, sampled radii rer_e and physical arc length ℓe\ell_e.

The root maximises (rmax⁡,rmean,z)(r_{\max}, r_{\mathrm{mean}}, z) lexicographically across endpoints. A shortest-path tree weighted by arc length then establishes parent–child orientation. Terminal edges shorter than 8.0 mm or with mean radius below 0.75 mm are pruned iteratively, except for the root edge. Degree-two pass-through nodes are collapsed, and the tree is truncated after eight branch-node generations, with the trachea assigned generation zero. Further details, including how often each step changed the input, are given in Supplementary Methods SM2.

Shared-port representation and semantic block assembly

Each port p∈Pp \in\mathcal{P} stores a centre xpx_p, unit normal npn_p, radius rpr_p, local frame Qp∈SO(3)Q_p \in SO(3), type and identifier. Port types comprise physical inlets and outlets and internal junction-parent and junction-child cuts. External normals follow the centreline end tangents; junction-cut normals follow the chord from the junction node to the cut location. The frame is obtained by Gram–Schmidt orthogonalisation:

e3=np∥np∥2,e_3 = \frac{n_p}{\lVert n_p \rVert_2},
e1=a−(a⋅e3)e3∥a−(a⋅e3)e3∥2,e_1 = \frac{a - (a \cdot e_3)e_3}{\lVert a - (a \cdot e_3)e_3 \rVert_2},
e2=e3×e1,Qp=[e1 e2 e3],(5)e_2 = e_3 \times e_1,\qquad Q_p = [e_1\ e_2\ e_3], \tag*{(5)}

with a=exa=e_x, replaced by eye_y when ∣ex⋅e3∣>0.95\lvert e_x \cdot e_3\rvert> 0.95. Port radii are interpolated from the corresponding edge profiles.

Each canonical port is stored once, and neighbouring blocks reference its identifier rather than independent interface parameters. The canonical centre, radius and frame are therefore common to both blocks, with opposite block-local outward normals. Numerical assertions check centre discrepancies below 10−410^{-4} mm and a normal dot product below −0.95-0.95 for paired interfaces. This representation-level consistency does not itself guarantee that a distinct external boundary loop appears on the subsequently fused surface; that property is validated separately (§ 2.5).

Graph branches are divided into pipes and junction regions using a radius-dependent cut distance

δ=min⁡(max⁡(αrnode,ε), 0.4ℓe),α=2.0,ε=10−3 mm,(6)\delta= \min(\max(\alpha r_{\mathrm{node}}, \varepsilon),\,0.4\ell_e), \qquad\alpha= 2.0,\qquad\varepsilon= 10^{-3}\,\mathrm{mm}, \tag*{(6)}

where rnoder_{\mathrm{node}} is the node radius and ℓe\ell_e the incident edge length. Junctions are classified by daughter count (two: Y2; three: Y3; four or more: general). A pipe is designated curved when its arc-to-chord ratio exceeds 1.03 or its maximum chord deviation exceeds 5% of its length; otherwise it is straight.

Curved pipes are swept along smoothed centreline–radius profiles using rotation-minimising frames [26]; straight pipes use tapered chord-aligned cylinders. Y2 and Y3 junctions are locally contoured implicit unions of parent and daughter tube fields. Their rounded ends overlap neighbouring pipes because the junction surfaces are not trimmed at the canonical cut planes. The output is a labelled VTK PolyData assembly of overlapping primitives, not a watertight meshing surface. General junctions preserve their graph and port metadata but are not explicitly realised as semantic primitives; their branches remain represented in the fused field. The block census of the cohort and the primitive construction are reported in Supplementary Methods SM3.

Implicit lumen-surface reconstruction

The fused wall is reconstructed from graph-derived implicit primitives, not by stitching semantic meshes. Graph edges are resampled in arc length, then centreline and radius profiles are Gaussian-smoothed with characteristic widths of approximately 0.08ℓe0.08\ell_e and 0.18ℓe0.18\ell_e, respectively. Over the terminal 20% of each edge, the smoothed profiles are blended towards their port values and both endpoints are restored exactly. For the fused wall only, the radius is constrained by

r^e(ξ)=max⁡(r~e(ξ),ρ),ρ=0.7 mm,(7)\hat{r}_e(\xi) = \max(\tilde{r}_e(\xi),\rho), \qquad\rho= 0.7\,\mathrm{mm}, \tag*{(7)}

where ξ\xi denotes arc length and r~e\tilde{r}_e the smoothed profile. The radius floor enlarges lumens smaller than ρ\rho and is evaluated as a source of geometric deviation.

A tapered segment with endpoints a,b\mathbf{a},\mathbf{b} and end radii ra,rbr_a,r_b defines

v=b−a,t=clip⁡((x−a)⋅vv⋅v,0,1),(8)\mathbf{v} = \mathbf{b}-\mathbf{a}, \qquad t = \operatorname{clip}\left(\frac{(\mathbf{x}-\mathbf{a})\cdot\mathbf{v}}{\mathbf{v}\cdot\mathbf{v}},0,1\right), \tag*{(8)}
ϕseg(x)=∥x−(a+tv)∥2−[ra+t(rb−ra)].(9)\phi_{\mathrm{seg}}(\mathbf{x}) = \lVert\mathbf{x}-(\mathbf{a}+t\mathbf{v})\rVert_2 - [r_a+t(r_b-r_a)]. \tag*{(9)}

For constant radius, ϕseg\phi_{\mathrm{seg}} is the exact signed-distance function of a capsule; for varying radius it is an implicit approximation. The combined field is the hard minimum

ϕ(x)=min⁡i∈NK(x)ϕseg,i(x),K=24,(10)\phi(\mathbf{x}) = \min_{i\in N_K(\mathbf{x})}\phi_{\mathrm{seg},i}(\mathbf{x}), \qquad K=24, \tag*{(10)}

where NK(x)N_K(\mathbf{x}) comprises the segments with the nearest midpoints. This avoids additional smooth-union blending but may

cause neighbouring branches to influence one another’s wall where their primitives overlap.

A midpoint kk-d tree supports restricted-band evaluation. The field is sampled on a physical-space Cartesian grid whose spacing hh is the finest admissible value from a fixed ladder spanning 0.40–1.50 mm under a 6×1076\times10^7-point budget. The zero isosurface S={x:ϕ(x)=0}S=\{\mathbf{x}:\phi(\mathbf{x})=0\} is extracted with VTK [27]; reconstruction fails if no admissible grid spacing satisfies the budget. The consequences of the smoothing scale, the narrow band and the grid selection are described in Supplementary Methods SM4.

Boundary preservation and geometric validation

The initially closed fused surface is opened at external ports by removing triangles whose centroids lie beyond the corresponding port plane, (c−xp)⋅np>0(\mathbf{c}-\mathbf{x}_p)\cdot\mathbf{n}_p>0, within a port-specific cap region. Component connections carrying expected ports are retained. Boundary-preserving Taubin smoothing [28] (40 iterations, pass band 0.05), degenerate-triangle removal, iterative non-manifold-edge repair and size-limited hole filling are then applied. Component selection is repeated after repair; implementation thresholds are listed in Table 1 and Supplementary Table S1.

SettingValue
Mask component connectivity18
Skeleton graph connectivity26
Mask crop margin8 voxels
Terminal spur length / mean radius8.0 / 0.75 mm
Maximum generation8
Junction cut factor α\alpha2.0
Curved-pipe circumferential samples96
Fused radius floor ρ\rho0.7 mm
Implicit nearest-segment count KK24
Grid spacing / point budget0.40–1.50 mm / 6×1076 \times10^{7}
Taubin smoothing40 iterations; pass band 0.05
Hole-fill limit0.56 mm
Port-centroid tolerancemax⁡(rp,1.8 mm)\max(r_p, 1.8\ \mathrm{mm})

Table 1. Principal reconstruction settings. The complete parameter list, with the purpose of each setting, is given in Supplementary Table S1.

A reconstruction is topologically accepted when (i) the surface has one connected component, (ii) no non-manifold edges remain, (iii) the number of open boundary loops equals 1+Noutlets1+N_{\mathrm{outlets}}, and (iv) every physical port is matched to a distinct boundary loop. Internal junction cuts are not expected to appear as external loops. Boundary loops are formed from edges incident to one triangle and summarised by their centroid and mean radius. One-to-one assignment minimises port-to-loop centroid distance, subject to

tp=max⁡(1.0 rp, 1.8 mm).(11)t_p = \max(1.0\,r_p,\,1.8\,\mathrm{mm}). \tag*{(11)}

Assignments outside tolerance are rejected; unmatched ports and surplus loops are recorded individually. Port-to-loop radius error is measured but is not an acceptance condition because fused radii may be floored. Port-distance statistics include all matched external ports from the 42 attempted reconstructions, including cases that failed overall acceptance. Self-intersecting triangle pairs are counted independently: topological acceptance does not establish self-intersection freedom or guarantee direct volume meshability. The rationale for the clipping, component-selection and tolerance choices is given in Supplementary Methods SM5.

Controlled pathology editing

Controlled geometric stenosis and dilation are generated by altering the smoothed radius profile of a selected branch while leaving its centreline and graph unchanged. With normalised arc length u=s/Lu=s/L, the edited radius is

redit(u)=r0(u)[1+αexp⁡(−(u−c)22w2)],(12)r_{\mathrm{edit}}(u)=r_0(u)\left[1+\alpha\exp\left(-\frac{(u-c)^2}{2w^2}\right)\right], \tag*{(12)}

with c=0.45c=0.45 and w=0.10w=0.10, where r0r_0 is the healthy smoothed radius profile. Stenosis severities use α=−0.25,−0.50,−0.75\alpha=-0.25,-0.50,-0.75 and dilation uses α=0.50\alpha= 0.50, defining prescribed central radius ratios of 0.75, 0.50, 0.25 and 1.50. Branch endpoints are restored and the edited geometry is regenerated with the fixed production settings. The perturbations are geometric rather than disease-mechanical models.

Five healthy cases were modified at the trachea and at a main-bronchus branch selected by tracheal-chord alignment. Four edits at each site produced 40 variants. Realised severity was measured on matched healthy and edited surface cross-sections using the equivalent radius req=A/πr_{\mathrm{eq}} = \sqrt{A/\pi}, with the ratio evaluated at u=cu = c. Locality was evaluated outside the prespecified lesion interval ∣u−c∣≤2.5w\lvert u-c\rvert\le2.5w, excluding fixed endpoint and junction margins. Each variant was independently checked against the acceptance criteria; detailed measurement definitions are reported in Supplementary Methods SM6.

Experimental evaluation

Five strategies were compared on the same 42 cases: B1, direct marching cubes [10]; B2, Taubin-smoothed B1 [28]; B3, independently swept graph-edge tubes without union or junction trimming; B4, the labelled semantic assembly; and B5, the fused wall. Connected components, non-manifold edges, boundary-loop counts and self-intersecting triangle pairs were measured using a common evaluation pipeline. Port–loop correspondence was evaluated only for B5: B1–B3 have no canonical ports, whereas B4 stores ports in an overlapping semantic assembly whose internal interfaces are not realised external boundary loops.

Surface-to-mask agreement was evaluated from the unsigned distance of sampled mesh vertices to their nearest mask-boundary voxel centres, reporting median and 95th-percentile distances and the fraction of sampled vertices inside the mask. Lumen calibre was compared at 1.0 mm intervals along the raw centrelines, excluding junction neighbourhoods within twice the local radius. A common 180-ray, star-shaped cross-sectional estimator was applied to both mask and reconstructed surface; plane normals were estimated from a local principal direction of the raw centreline. Equivalent-radius agreement was summarised by R2R^2, root-mean-square error, mean bias and repeated-measurement Bland–Altman limits of agreement [29]. Case-level summaries were retained to account for within-case station clustering.

Branch angles, chord lengths, mean central-half diameters and Strahler and Horsfield orders were measured on the pruned trees. Ordering ratios used least-squares fits on log⁡10\log_{10} morphometric quantities against order, excluding the highest order and cases with fewer than four Strahler orders. Potential interaction between adjacent implicit branches was assessed by stratifying cross-sections according to the proximity of another branch’s floored wall. The radius floor was swept over {0.5,0.6,0.7,0.8,0.9}\{0.5, 0.6, 0.7, 0.8, 0.9\} mm and grid spacing over {0.40,0.45,0.50,0.60,0.80,1.00}\{0.40, 0.45, 0.50, 0.60, 0.80, 1.00\} mm; all remaining settings were fixed. Runtime and peak resident memory were evaluated over three repetitions per case. Correlations and the comparison of self-intersection counts are exploratory. Estimator choices and the statistical treatment are detailed in Supplementary Methods SM7.

Downstream meshing and OpenFOAM demonstration

One topologically accepted reconstruction was transferred to a volume-meshing and flow-simulation workflow. The fused STL surface was closed with caps at its inlet and 65 outlets, meshed with the Robust (Octree) tetrahedral method in ANSYS ICEM CFD 2023 R1, and imported into OpenFOAM v1912 [30]. The resulting mesh contained 656 650 tetrahedral cells and 148 083 nodes, without prism layers. Openings were separated into solver patches by connected surface regions; three outlets below 0.7 mm equivalent diameter were assigned to the wall, leaving 62 modelled outlets. The patch correspondence was generated from connected openings rather than directly from the exported canonical port identifiers. Mesh topology and quality were examined using checkMesh; no mesh-independence study was performed.

Air was treated as incompressible and Newtonian (ρf=1.204 kg m−3\rho_f = 1.204\ \mathrm{kg\,m^{-3}}, μ=1.825×10−5 Pa s\mu= 1.825 \times10^{-5}\ \mathrm{Pa\,s}). A steady laminar simulation used a prescribed inlet flow of 0.1 L s−1^{-1} (inlet Reynolds number about 960) with a smooth wall-vanishing velocity profile, stationary no-slip walls, and model-derived resistance conditions at each outlet:

pk=RkQk,(13)p_k = R_k Q_k, \tag*{(13)}

where QkQ_k is the simulated outlet flow and RkR_k is estimated from a diameter-scaled symmetric Weibel subtree [31]. For an airway of generation jj, diameter DjD_j and length LjL_j, scaled by s=Dk/Dgs = D_k/D_g, the individual tube resistance is

Rj=128μsLjπ(sDj)4.(14)R_j = \frac{128\mu sL_j}{\pi(sD_j)^4}. \tag*{(14)}

Series and parallel combinations extend the unresolved distal tree to generation 16. These are anatomy-scaled model resistances, not patient-measured peripheral resistances.

The steady equations were solved with simpleFoam, SIMPLEC pressure–velocity coupling [32] and bounded second-order convection. Outlet pressures were updated every 20 solver iterations from the computed patch flows. The stopping criteria required the maximum outlet-resistance mismatch to remain below 1% and the largest outlet-flow-share change below 0.01 percentage points over two successive updates; equation residuals, mass balance and outlet backflow were checked separately. The cross-sections S1–S3, the split of flow between the lungs and the resistance-only reference share used in § 3.7 are defined in Supplementary Methods SM8, together with the full mesh settings, inlet profile, resistance assignment and solver controls. This single-flow, single-mesh study demonstrates workflow integration and does not validate physiological airflow predictions.

Implementation and reproducibility

The geometry pipeline uses Python 3.10, NumPy [33], SciPy [34], scikit-image [35], SimpleITK and VTK through PyVista [36]. It exports the semantic assembly and fused wall as VTK PolyData and STL, along with CSV/JSON port manifests recording identifiers, positions, normals, radii and structural boundary labels. Graph metadata, block assignments and validation reports are saved separately (Supplementary Methods SM9). Three cases were reconstructed twice in separate processes and produced identical mesh topology and vertex coordinates under the tested environment. Timings were measured with eight pinned threads on an Intel Xeon Gold 5218R CPU. Code availability is stated at the end of the article.

Results

Reconstruction success and failure

The pipeline was run on all 42 cases at the production settings of Table 1. The automatically selected grid spacing ranged from 0.40 to 0.70 mm.

Thirty-seven of the 42 reconstructions met every topological acceptance criterion of § 2.5: 14 of 15 ATM22 cases and 23 of 27 AeroPath cases (Table 2). Every accepted wall was a single connected component with zero non-manifold edges, its number of open boundary loops equalled the expected port count, and every port was matched to a distinct loop within tolerance. Figure 4 compares reference-mask surfaces with the corresponding reconstructions; Supplementary Results 1 shows all accepted cases and all five failures, and Supplementary Fig. S1 summarises every case.

MetricATM22AeroPath
Cases attempted1527
Accepted1423
Mean outlets, accepted cases76.2 ±\pm 28.034.6 ±\pm 17.4
Mean blocks, accepted cases222 ±\pm 83100 ±\pm 50
Mean graph edges, accepted cases149 ±\pm 5568 ±\pm 34
Connected components, accepted walls1.0 ±\pm 0.01.0 ±\pm 0.0
Non-manifold edges, accepted walls0.0 ±\pm 0.00.0 ±\pm 0.0
Boundary-loop agreement14/1423/23
Matched ports1176998
Median port-centre error (mm)0.1200.127
Ports exceeding tolerance0/11760/998
Self-intersecting pairs, median64
Reached generation-8 cap14/1520/27
Grid spacing hh (mm)0.45–0.700.40–0.60

Table 2. Reconstruction outcome by cohort. Tree-size and topology rows are mean ±\pm SD over accepted cases; port rows include all matched ports of all attempted cases; self-intersection medians are over all cases.

Figure 4. Reference masks and reconstructions for four accepted cases from each cohort, front view. In each pair the marching-cubes surface of the reference mask (grey) is shown beside the CT-RespGeomLib fused wall (blue); all panels share one scale.

The two cohorts differ in scale. Accepted ATM22 reconstructions contained 76.2 ±\pm 28.0 outlets against 34.6 ±\pm 17.4 for AeroPath, whose annotated trees are shorter. The generation-8 cap was reached in 34 of 42 cases; in the remaining eight the segmented tree ended at generation 6 or 7.

Port–loop agreement. Port statistics include every matched external port of the 42 attempted reconstructions, including those of the five rejected cases (§ 2.5). Across these 2174 ports the median port-centre error was 0.123 mm, with a 90th percentile of 0.304 mm; 1.15 % of ports exceeded 1.0 mm (Figure 3). No matched port exceeded its tolerance; the largest error was 90.5 % of the port’s tolerance. In the five rejected cases every matched port lay within 74 % of its tolerance, and the rejections arose from surface topology: a surplus boundary loop in four cases and, in AeroPath_17, one port without a loop of its own (see Failure analysis).

Three-panel plots showing port-to-loop distance, distance relative to each port’s tolerance, and cumulative distribution

Figure 3. Agreement between the canonical ports and the boundary loops of the fused wall, over all 2174 matched external ports of the 42 cases. (a) Distance epe_p from each port centre to the centroid of its matched loop, by cohort. (b) The same distance relative to the port’s tolerance tpt_p (Eq. (11)) against port radius; open circles are ports of the five cases that were not accepted. Below rp=1.8r_p = 1.8 mm the tolerance is the fixed 1.8 mm, above it the port radius. (c) Cumulative distribution of ep/tpe_p/t_p. No port reaches its tolerance; the largest ratio is 0.905.

Shared-port coincidence in the semantic assembly held to numerical precision (maximum centre discrepancy <10−14< 10^{-14} mm, mean interface dot product −1.0000-1.0000 in every case), as required by construction (§ 2.3).

Determinism. Three cases spanning both cohorts and the range of tree sizes were each reconstructed twice in separate processes. Both runs produced identical point, cell, component, non-manifold-edge and boundary-loop counts and a maximum per-vertex displacement of zero, on one machine and thread configuration.

Self-intersections. Topological acceptance does not imply a surface free of self-intersecting triangle pairs, which were counted separately. Only 2 of the 42 fused walls had none; the median count was 5 (IQR 3–7, range 0–17). Counts increased with tree size (Pearson r=0.59r = 0.59 against graph edges, r=0.65r = 0.65 against mesh faces; Supplementary Fig. S4d); the weaker correlation with grid spacing (r=0.41r = 0.41) is confounded, because spacing is selected from tree size under the point budget. Medians were 5 in both accepted and rejected cases (Mann–Whitney p=0.58p = 0.58, exploratory). An accepted wall may therefore still require self-intersection repair before volume meshing; the counts are reported without repair.

Failure analysis. The five rejections fall into two mechanisms. In AeroPath_17 one outlet port had no corresponding boundary loop. Its nearest loop lay 1.36 mm away but already served a neighbouring port 2.47 mm from it: the two branches run close enough that their capsule fields merge before clipping, so the solid does not separate into two tubes and no per-port cut can open them independently. This is the envelope behaviour of the hard union (§ 2.4) occurring at a port.

The other four cases each carry one or two surplus boundary loops — openings in the wall corresponding to no expected port — while matching every expected port correctly. Tracing these openings through each stage of § 2.5 shows that all of them first appear at the clipping step and are untouched by smoothing, degenerate-triangle removal, repair and hole filling; evaluating the field on a fine grid at each location confirms that φ\varphi changes sign there, so the implicit solid is continuous and the opening is introduced by triangle removal rather than by the field. In three of the four, the surplus loop accompanies a second connected component. No single mechanism common to all four was identified.

Baseline comparison

The five strategies of § 2.7 were built and evaluated on the same 42 cases (Table 3, Figure 5). All five produced a surface in every case. Rejected B5 cases are retained in the topology and distance statistics; the five B5 rejections were the same cases as in Section 3.1, reproduced through a separate evaluation script.

CohortMethodAcc.ComponentsNon-manifoldLoopsLoop-matchInside frac.dd med. (mm)dd P95 (mm)
ATM22B1 raw MCn/a1.40 ± 0.630.00 ± 0.000.20 ± 0.56n/a0.6500.3910.391
B2 smoothed MCn/a1.20 ± 0.410.00 ± 0.000.20 ± 0.56n/a0.5390.3900.594
B3 swept tuben/a57.80 ± 19.2060.67 ± 41.030.00 ± 0.00n/a0.6710.4410.842
B4 semanticn/a225.67 ± 81.430.00 ± 0.00302.93 ± 108.83n/a0.7050.4290.793
B5 fused14/151.07 ± 0.260.00 ± 0.0078.47 ± 27.4314/150.7810.4511.220
AeroPathB1 raw MCn/a3.11 ± 4.781.11 ± 2.060.30 ± 0.47n/a0.4770.3520.371
B2 smoothed MCn/a1.41 ± 1.391.11 ± 2.060.30 ± 0.47n/a0.5320.3700.573
B3 swept tuben/a29.56 ± 17.1123.74 ± 29.670.00 ± 0.00n/a0.7450.4411.348
B4 semanticn/a103.96 ± 47.730.00 ± 0.00140.00 ± 64.28n/a0.7590.4331.127
B5 fused23/271.07 ± 0.270.00 ± 0.0037.11 ± 16.5523/270.8460.5532.067
PooledB1 raw MCn/a2.50 ± 3.920.71 ± 1.730.26 ± 0.50n/a0.4930.3760.386
B2 smoothed MCn/a1.33 ± 1.140.71 ± 1.730.26 ± 0.50n/a0.5340.3820.585
B3 swept tuben/a39.64 ± 22.3436.93 ± 38.130.00 ± 0.00n/a0.7070.4411.225
B4 semanticn/a147.43 ± 84.810.00 ± 0.00198.19 ± 113.61n/a0.7320.4321.047
B5 fused37/421.07 ± 0.260.00 ± 0.0051.88 ± 28.8637/420.8200.5011.772

Table 3. Baseline comparison of five reconstruction strategies on the same 42 cases, mean ± SD. Acceptance and loop matching require named external ports and are evaluated only for B5 (n/a, not applicable). dd is the unsigned distance from surface vertices to the nearest mask-boundary voxel centre. Shading marks the best value in each cohort for components, non-manifold edges and dd (lower is better; ties shaded); B1 is the mask isosurface and so bounds dd from below.

Figure 5. Baseline comparison. (a) The five strategies applied to case AeroPath_21, with close-ups of the main bifurcation (dashed box): marching cubes on the mask (B1) reproduces the voxel steps and tracheal rings, smoothing (B2) softens them, independent swept tubes (B3) overlap at every junction, the semantic assembly (B4) consists of overlapping labelled primitives, and the fused wall (B5) is a single surface. (b) Properties across the 42 cases: percentages are the fraction of cases in which a property holds; named ports exist only in B4 and B5, port-to-loop matching is tested only on B5, and B5 is edited by re-fusing an edited B4 assembly. (c) Connected components, (d) non-manifold edges and (e) 95th-percentile distance from the surface to the mask, per case; bars mark the medians.

Marching cubes on the mask, with or without smoothing (B1, B2), follows the voxel boundary closely but defines no named ports, so port-to-loop matching is not applicable; the few boundary loops it produces are incidental openings. On AeroPath it was not always a single manifold component, and smoothing reduced the component count without removing non-manifold edges.

The swept tubes (B3) use the same centreline–radius scaffold without shared ports or implicit fusion. The capped per-branch tubes overlap at junctions, produce no open boundaries and average 39.6 components and 36.9 non-manifold edges per case, so the scaffold alone does not yield a single surface.

The semantic assembly (B4) had zero non-manifold edges in every case but is multi-component by design, being a collection of overlapping labelled primitives; its ports are stored but not tested against external loops. Among the five strategies, only B5 combines named ports with a single-component, edge-manifold wall whose ports can be checked against boundary loops, and it met all three conditions in 37 of 42 cases. The differences are categorical, so they are not combined into a composite score.

B5 had the largest surface-to-mask distance of the five strategies (pooled P95 1.77 mm) and the highest inside-mask fraction. B1 is the isosurface of the mask itself and is therefore a lower bound on this distance, whereas B5 is regenerated from smoothed centrelines with a radius floor, which moves it outward at thin branches and inward where smoothing shortens a curve. Cross-sectional calibre is assessed in § 3.3.

Geometric fidelity

Lumen calibre against the segmentation. Stations were placed every 1.0 mm of arc length along each branch centreline in all 42 cases, excluding stations within 2r2r of a junction node where a plane orthogonal to one centreline is ill-defined. Of 89 096 stations placed, 63 159 yielded a measurement on both the wall and the mask.

Wall and mask equivalent radii were strongly correlated (R2=0.976R^2 = 0.976; Figure 6a) but showed a systematic bias: the reconstructed lumen was narrower by a mean of 0.414 mm (RMSE 0.638 mm; 95 % limits of agreement −1.367 to +0.539 mm; Figure 6b). Per case, the median R2R^2 was 0.981 and the median bias −0.409 mm.

Lumen calibre comparison plots

Figure 6. Lumen calibre of the fused wall against the segmentation, at 63 159 stations in 42 cases. (a) Equivalent radius of the wall against that of the mask, with the identity (dashed) and the least-squares fit (red); colour is station density. (b) Bland–Altman plot with the mean bias and the 95 % limits of agreement for repeated measurements per case. (c) Median and interquartile range of the difference by generation, for isolated stations and for the 3.0 % of stations where another branch’s floored wall lies within the station’s own radius.

The bias follows from the representation. The tapered primitives are circular and take their radius from the distance transform, which gives the inscribed radius, whereas the segmented lumen is not circular: the ratio of maximum to minimum in-plane ray length on the mask averaged 1.9. A circular wall at the inscribed radius therefore under-represents the equivalent radius of a non-circular section. The fused wall does not recover lumen eccentricity, and the narrowing should be taken into account when the geometry is used for flow simulation.

Where two branches run close together, the hard union can let a neighbouring branch’s primitive set the wall (§ 2.4). At the 3.0 % of stations (1873) where another branch’s floored wall lay within the station’s own radius, agreement was looser (R2=0.886R^2 = 0.886; limits of agreement −1.651 to +0.878 mm against −1.357 to +0.527 mm elsewhere; Figure 6c), while the mean bias was similar (−0.386 against −0.415 mm).

Branching statistics. Branching statistics were computed on the 36 accepted cases with at least four Strahler orders, covering 4502 branches. Branch length is the chord between successive branch points, diameter the mean over the central half of the branch, and branches separated by a bifurcation that lost a child to spur pruning are kept distinct (§ 2.7). Table 4 reports means over cases; Table 5 pools branches by generation.

GenerationATM22AeroPathPoolednn (pooled)
13.343.413.3883
22.692.932.83146
32.713.703.31291
43.575.124.45595
55.546.786.10958
66.727.887.151025
77.177.847.40837
87.448.677.73529

Table 5. Length-to-diameter ratio by anatomical generation, pooled over branches of the 36 cases in Table 4.

Branch angle and daughter length ratio were nearly identical in the two cohorts, whereas the diameter ratios and the Strahler diameter ratio differed more (Table 4; Supplementary Fig. S3). Comparison with cast-derived reference morphometry [31, 37] is not attempted here, because the generation cap, the pruning thresholds and the CT resolution truncate the tree in ways those data do not share.

The length-to-diameter ratio depends strongly on generation. Its case mean was 6.07 (Table 4); pooled by generation (Table 5), it was 2.83–3.38 for generations 1–3 and rose monotonically from generation 3 to 7.73 at generation 8.

Because removing terminal branches shorter than 8.0 mm selects on length, its effect on the distal rise was tested by relaxing the length threshold fourfold on a twelve-case subset. Generation-8 L/DL/D fell by 4.2 %, less in relative terms than at generations 2, 3 and 6, and the rise remained (Supplementary Fig. S3f). The removed branches had a mean length of 4.8–5.4 mm at every generation.

Ablation and computational cost

The radius floor (five values) and the grid spacing (six values) were each swept over all 42 cases with every other parameter at its production value, giving 462 attempted reconstructions (Figure 7). Of these, 378 completed with a surface and the remainder collapsed during extraction or clean-up; acceptance was then applied to the completed runs. Runtime and memory are averaged over all attempted runs; port errors are averaged over accepted runs only. Ablation runs were executed as a concurrent batch, so their absolute runtimes are comparable only within the sweep; production timing is reported separately below.

Sensitivity to radius floor and grid spacing

Figure 7. Sensitivity to the radius floor and the grid spacing, each swept over all 42 cases with every other setting at its production value (462 reconstructions). (a) Mean port-radius error per accepted case against the radius floor ρ\rho; boxes show the interquartile range, diamonds the mean, and the numbers the accepted cases. (b) Runtime and peak memory against the grid spacing hh (mean over cases; shading, interquartile range). (c) Accepted cases (bars) and mean port-centre error of accepted cases (line) against hh; at h=1.00h = 1.00 mm (red) the grid no longer resolves the distal lumens.

Radius floor. Over ρ∈{0.5,0.6,0.7,0.8,0.9} mm\rho\in\{0.5, 0.6, 0.7, 0.8, 0.9\}\,\mathrm{mm} the mean port-radius error rose monotonically from 0.044 to 0.209 mm, because outlets narrower than the floor are enlarged (Supplementary Fig. S2). The other measures changed little: port-centre error by less than 0.01 mm, mean runtime by less than 5 % and peak memory by less than 1 %. Between 36 and 38 runs completed and 35 to 37 were accepted at each value. The production value of 0.7 mm, fixed before the evaluation (§ 2.1), gave the largest count, but a spread of two cases does not identify an optimum; the floor trades realised outlet radius for meshable sub-millimetre outlets, a cost the acceptance criteria do not detect.

Grid spacing. Over h∈{0.40,0.45,0.50,0.60,0.80}h \in\{0.40, 0.45, 0.50, 0.60, 0.80\} mm, 36–38 runs completed and 35–37 were accepted at each value, the mean port-radius error stayed between 0.097 and 0.101 mm, and the port-centre error increased monotonically from 0.154 to 0.204 mm. At h=1.00h = 1.00 mm only 11 runs completed and 4 were accepted, because the grid no longer resolves distal lumens whose diameter approaches the cell size; the port-centre error of these four was 0.274 mm, and their port-radius error is not comparable with the finer settings. Mean runtime fell from 619 s at 0.40 mm to 447, 297, 201, 82 and 47 s at 0.45, 0.50, 0.60, 0.80 and 1.00 mm, and mean peak memory from 4.14 GB to 3.12, 2.50, 1.77, 1.20 and 1.00 GB. The automatic ladder therefore selects the finest spacing within the point budget, which in production was 0.40–0.70 mm.

Computational cost

Measured separately at the production settings (one case at a time, eight pinned threads, Intel Xeon Gold 5218R), reconstruction from the pruned centreline graph to the validated fused wall took a median of 76.7 s per case (IQR 67.5–91.7 s, range 42.9–118.9 s; median of three timed repeats after one warm-up), with a median peak resident memory of 2.18 GB (IQR 2.04–2.34 GB). Voxel skeletonisation, cached per case, is excluded. Field evaluation and surface extraction took a median of 81 % of the time. Runtime correlated with tree size (Pearson r=0.74r = 0.74 against graph edges) more than with grid size (r=0.24r = 0.24), and no repeat deviated by more than 20 % from its case median (Supplementary Fig. S4).

Controlled pathology generation

Forty variants were generated from five reconstructions at two proximal sites each — the trachea and an algorithmically selected main-bronchus branch — using the lesion model of Section 2.6, alongside five healthy baselines rebuilt under the same settings. All 45 geometries were generated and all 40 variants were analysed (Figure 8).

Qualitative examples of controlled airway geometry edits

Figure 8. Qualitative examples of controlled airway geometry edits. Healthy reconstructions are compared with 50 % dilation and 25 %, 50 % and 75 % stenosis at the trachea and the algorithmically selected main-bronchus branch. Whole-tree and close-up views highlight the edited region in colour; the bottom row shows additional case examples. Percentages denote changes in radius, not cross-sectional area, and do not represent a temporal progression of disease.

Prescribed severity is reproduced on the fused surface. Measured at the commanded lesion centre on the re-fused surface, the mean absolute radius-ratio error over the 40 variants was 0.0056 and the mean absolute area-ratio error 0.0052 (Table 6, Figure 9; per-variant errors in Supplementary Fig. S5a). The worst case was the 75 % main-bronchus stenosis of ATM_003, where the achieved radius ratio was 0.325 against a commanded 0.25 (error 0.0754; area-ratio error up to 0.0572 across variants).

EditnnCmd. qrq_rAchieved qrq_r median [IQR]Radius Exp. qAq_A MAECSA MAE
25 % sten.100.750.7499 [0.0011]0.00310.56250.0047
50 % sten.100.500.4992 [0.0057]0.00790.25000.0082
75 % sten.100.250.2482 [0.0048]0.01080.06250.0059
50 % dil.101.501.5003 [0.0009]0.00072.25000.0019
By site
Trachea20——0.00084—0.00082
Main bronchus20——0.01034—0.00953

Table 6. Controlled pathology generation across five cases and 40 variants, measured at the commanded lesion centre on the re-fused surface. Expected area ratio is (qr∗)2(q_r^*)^2. MAE is the mean absolute error over the ten variants in each row.

Figure 9. Commanded against achieved radius ratio at the lesion centre for the 40 pathology variants (5 cases × 2 sites × 4 edits), measured on the re-fused surface. Colour, prescribed edit; circles, tracheal; triangles, algorithmically selected main-bronchus site. The dashed line is identity. Small horizontal offsets separate cases for display only. Quantities are defined in Eq. (16).

Tracheal edits were about an order of magnitude more accurate than main-bronchus edits (radius-ratio MAE 0.00084 against 0.01034; maximum 0.0030 against 0.0754), and the error increased with commanded stenosis severity, reaching an MAE of 0.0108 at 75 % stenosis. Because the lesion width is a fixed fraction of branch length, the Gaussian is shorter on the short main-bronchus branches and interacts more with smoothing of § 2.4; this association was not tested directly.

The perturbation stays where it was commanded. Locality was assessed against a lesion interval fixed from the prescribed Gaussian parameters before any reconstructed surface was examined, and restricted to the branch shaft by a predefined margin (§ 2.6). Outside that interval the median of the per-variant P95 deviation between edited and healthy surfaces was 0.111 mm (maximum P95 0.235 mm), and the largest single deviation in the cohort was 0.300 mm (Supplementary Fig. S5b).

Boundary structure is preserved. Every edited variant met the topological acceptance criteria: a single connected component, zero non-manifold edges and one-to-one correspondence between its external ports and boundary loops. The realised loops move slightly between independently fused surfaces: the per-variant P95 shift was at most 0.327 mm, and the largest shift of any single loop was 0.411 mm (Supplementary Fig. S5c). In 17 of the 20 main-bronchus variants every loop was exactly unchanged, because those edits do not alter the largest primitive radius that sets the extraction grid. These shifts describe differences between two independently contoured, clipped and smoothed surfaces, not movement of the canonical ports, which the editing workflow reuses unchanged.

Boundary preservation does not imply self-intersection freedom. Every variant contained at least one self-intersecting triangle pair, as did all five healthy baselines (2–10 pairs each; § 3.1), so a non-zero count after editing does not by itself indicate an effect of editing. Intersections lay on the edited branch in 10 of the 40 variants and inside the commanded lesion region in 6.

Scope. The edits are geometric: the lesion is an axisymmetric modulation of a scalar radius profile and does not represent eccentric stenosis, airway-wall mechanics, dynamic collapse,

MeasureATM22 (n=14n=14)AeroPath (n=22n=22)Pooled (n=36n=36)
Per-bifurcation statistics
Branch angle θ\theta (°)42.2 ± 3.842.1 ± 2.642.1 ± 3.1
Length-to-diameter L/DL/D5.91 ± 1.026.17 ± 1.066.07 ± 1.04
Dchild/DparentD_{\mathrm{child}}/D_{\mathrm{parent}}0.790 ± 0.0190.721 ± 0.0560.748 ± 0.057
Dminor/DmajorD_{\mathrm{minor}}/D_{\mathrm{major}}0.826 ± 0.0250.757 ± 0.0460.784 ± 0.052
L1/L2L_1/L_20.613 ± 0.0310.609 ± 0.0500.610 ± 0.043
Ordering ratios
Strahler branching RbSR_{bS}2.566 ± 0.1572.769 ± 0.3372.690 ± 0.296
Strahler length RlSR_{lS}1.185 ± 0.1121.327 ± 0.2081.272 ± 0.188
Strahler diameter RdSR_{dS}1.473 ± 0.0571.687 ± 0.1171.603 ± 0.144
Horsfield branching RbHR_{bH}1.522 ± 0.0891.485 ± 0.1021.499 ± 0.098
Strahler orders5.71 ± 0.474.68 ± 0.575.08 ± 0.73
Branches per case186 ± 7086 ± 40125 ± 72

caption: tbl:4: Branching statistics of the reconstructed trees, mean ± SD across cases. Length is the chord between successive branch points; ordering ratios exclude the highest Strahler order.

:::

secretions or disease progression.

Downstream meshing and CFD demonstration

Volume mesh and transfer. The volume mesh (Figure 10, Table 7) contains 656 650 tetrahedra and 148 083 nodes, and checkMesh reported no errors: maximum non-orthogonality 59.9° (mean 17.3°), maximum skewness 0.65 and maximum aspect ratio 5.2. Edge lengths have a median of 0.66 mm, span 0.47–1.12 mm between the 5th and 95th percentiles, and reach a maximum of 2.53 mm.

Geometry and mesh
Surfacecapped fused wall; STL; 243 620 triangles; mm
Volume meshICEM CFD Tetra (Robust/Octree); 656 650 tetrahedra, 148 083 nodes; no prism layers
Global sizingscale factor 1.3; maximum element 2.0 mm; curvature/proximity refinement, minimum size 0.5 mm
Boundarieswall; 1 inlet (176 faces); 62 outlets (5–80 faces each, median 15.5); 3 openings < 0.7 mm closed as wall
Mesh qualitynon-orthogonality maximum 59.9°, mean 17.3°; skewness maximum 0.65; aspect ratio maximum 5.2
Edge lengthmedian 0.66 mm; 5th–95th percentile 0.47–1.12 mm; maximum 2.53 mm
Transferboundary nodes within 4.8×10−34.8 \times10^{-3} mm of the STL; area −1.1%; volume −0.85%
Physics and numerics (OpenFOAM v1912, simpleFoam)
Fluidair, incompressible; ρf=1.204 kg m−3\rho_f = 1.204\ \mathrm{kg}\ \mathrm{m}^{-3}; μ=1.825×10−5 Pa s\mu= 1.825 \times10^{-5}\ \mathrm{Pa}\ \mathrm{s}; steady, laminar
Inlet0.1 L s−1^{-1}; smooth profile, peak/mean 1.75; U=1.67 m s−1U = 1.67\ \mathrm{m}\ \mathrm{s}^{-1}; Dh=8.71D_h = 8.71 mm; Re≈960Re \approx960
Outletspk=RkQkp_k = R_k Q_k; Weibel subtree from generation g+1g + 1 to 16; g=5g = 5–12; Rk=2.3×105R_k = 2.3 \times10^{5}–4.8×106 Pa s m−34.8 \times10^{6}\ \mathrm{Pa}\ \mathrm{s}\ \mathrm{m}^{-3}
Wallstationary, no-slip
SolverSIMPLEC; bounded linearUpwind convection; outlet pressures updated every 20 iterations
Convergence criterionboundary-condition error < 1% and outlet-share change < 0.01 pt over two updates
Result
Convergence380 iterations (17 updates); boundary-condition error 0.19%; share change 0.005 pt; residuals ≤4.4×10−5\le4.4 \times10^{-5}; outflow/inflow 1−10−61 - 10^{-6}; no outlet backflow
Pressureinlet 3.37 Pa; outlets 0.96–2.49 Pa; maximum 6.0 Pa at the carina
Flow split−x-x lung 60.2% (34 outlets), +x+x lung 39.8% (28 outlets); outlets 0.30–7.6%

Table 7. Downstream CFD demonstration: mesh, set-up and convergence. Mesh metrics are from OpenFOAM’s checkMesh and the mesh geometry; outlet resistances follow Eqs. (13) and (14).

Volume mesh of the CFD demonstration case

Figure 10. Volume mesh of the CFD demonstration case (ICEM CFD Robust/Octree; 656 650 tetrahedra, no prism layers). Enlarged views: (a) main bifurcation, (b) tracheal cut plane, (c) distal branch, (d) bifurcation interior and (e) outlet region.

All 70 665 boundary nodes lie on the exported STL surface (median distance 1.1×10−51.1 \times10^{-5} mm, maximum 4.8×10−34.8 \times10^{-3} mm). The boundary area is 1.1 % smaller than that of the STL and the enclosed volume 0.85 % smaller, consistent with coarser facets on a curved wall. The outlets are the most coarsely resolved boundaries: the 62 open outlets carry between 5 and 80 faces each (median 15.5), and 25 of them have ten faces or fewer.

Convergence. The stopping criteria of § 2.8 were met after 380 solver iterations (17 outlet updates; Supplementary Fig. S7): at the final update the largest outlet boundary-condition error was 0.19 % and the largest change in any outlet flow share 0.005 percentage points. The scaled initial residuals had fallen by more than two orders of magnitude, to 1.7×10−51.7 \times10^{-5}–4.4×10−54.4 \times10^{-5} for velocity and 4.3×10−54.3 \times10^{-5} for pressure, and were still

decreasing when the run stopped. Total outflow matched inflow to within a relative 10−610^{-6}, and no outlet had reverse flow.

Flow field. The inflow enters the trachea as a jet (Figure 11a) with a peak speed of 2.98 m s−1^{-1}. The jet runs along one side of the widening trachea and its core reaches the carina, where it stagnates and produces the highest pressure in the domain, 6.0 Pa, at the carinal ridge (Figure 11b). Downstream of the carina the flow divides into the main bronchi, and speeds fall with each generation; 1.2 % of the projected airway area in Figure 11a exceeds the 2.5 m s−1^{-1} colour limit.

OpenFOAM solution showing speed, wall static pressure, outlet flow share, and cross-sections of the resolved airways

Figure 11. OpenFOAM solution at the stopping criterion: steady laminar flow at 0.1 L s−10.1\ \mathrm{L}\ \mathrm{s}^{-1} with a resistance boundary condition on each of the 62 outlets. (a) Largest speed along the viewing direction (Eq. (20)); (b) wall static pressure, relative to the distal end of the modelled subtrees; (c) computed flow share of each outlet against the share predicted from its resistance alone (Eq. (21)); (d) sections S1–S3, 10 mm from the carina and normal to the local airway axis (locator, left), viewed along the flow: axial velocity (top) and transverse velocity, magnitude and in-plane vectors (bottom; Eq. (22)). ±x\pm x are CT image axes.

The cross-sections show how the jet is redistributed at the bifurcation (Figure 11d). At S1, 10 mm above the carina, the axial velocity peaks at 2.1 m s−1^{-1}, 2.9 times its mean of 0.73 m s−1^{-1}, and the fastest tenth of the section lies 3.1 mm from its centroid, towards the carina; 6.8 % of the section carries reverse axial flow. Transverse velocities there are small, 9.5 % of the mean axial velocity. In both main bronchi the axial maximum is displaced towards the carinal (inner) wall, by 3.5 mm in both S2 and S3, about 0.65 of the equivalent radius, and secondary flow is stronger: the mean transverse velocity is 30% of the mean axial velocity in S2 and 38% in S3, which also has reverse flow over 6.5% of its area. Along each main bronchus the secondary flow decays with distance from the carina (Supplementary Fig. S9).

The mean pressure needed at the inlet was 3.37 Pa. Outlet pressures ranged from 0.96 to 2.49 Pa, and their flow-weighted mean was 1.83 Pa, so about 1.5 Pa of the drop occurs within the reconstructed airways and the remainder in the modelled distal subtrees.

Flow partition. The −x-x lung (right in the LPS frame), drained by 34 outlets, received 60.2% of the inflow and the +x+x lung, with 28 outlets, 39.8%. Individual outlets carried between 0.30 and 7.6% of the inflow, and 32 of the 62 carried less than 1% each. The computed shares followed those predicted from the outlet resistances alone closely (Figure 11c; r=0.982r = 0.982), deviating by at most 1.0 percentage point, which reflects the resistance of the resolved airways. Per-outlet results are given in Supplementary Table S2.

Scope of the demonstration. One accepted fused wall was capped, meshed and solved with a separate resistance condition at each of its 62 modelled outlets, and the coupled problem met its stopping criteria with mass conservation and no outlet backflow. This shows that the reconstructed geometry can enter a standard meshing and solver chain. It does not establish that every accepted wall can be meshed without repair, and, being a single steady laminar case at one low flow rate on one mesh without a mesh-independence study, it is not a validation of airflow predictions.

Discussion

Semantic consistency and fused-surface validity

The shared-port representation makes interface consistency a structural property. Adjacent blocks reference a single port object, so their centres, normals, radii and frames agree without fitting, snapping or repair, and every inlet and outlet is a named object with a position, orientation and radius in physical coordinates. This guarantees the internal consistency of the semantic model, but it does not guarantee anything about the surface subsequently generated from it. The two properties must therefore be assessed separately. Port coincidence in the assembly holds by construction. Port-to-loop correspondence on the fused wall is an empirical property: it held in 37 of 42 cases and failed in five. Because this check can fail, it shows where the construction breaks down instead of assuming that it does not.

Where correspondence held, the exported port manifest describes the realised boundary loops rather than only the intended ones, with sub-millimetre agreement for almost all ports. This is the main practical value of the representation for downstream modelling: boundary conditions can be associated with named ports and traced back to branches of the editable model. The residual port-to-loop displacement did not decrease when the field was re-evaluated at one third of the production grid spacing. It is therefore better interpreted as a difference between two constructions of the same interface, the analytic port plane and the emergent zero level set, than as a sampling error; this is why the acceptance tolerance includes an absolute term.

Geometric approximations of implicit-union reconstruction

A hard minimum over tapered primitives was used instead of smooth blending, which can enlarge the lumen near junctions. Because the minimum is taken over all nearby primitives, however, the wall follows whichever primitive is closest, including one belonging to an anatomically unrelated branch. Where two branches run close together, one lumen can be set by the envelope of the other, and at ports two outlets can merge into one boundary loop, as in one of the five rejected cases. Elsewhere the effect was local: agreement with the mask was looser at the small fraction of stations near another branch, while the mean bias was similar. The behaviour was not reduced by grid refinement and was not removed by restricting the primitives a port may consider. Resolving it would require a branch-aware field in which each point is assigned to an owning branch, which brings its own validation requirements at junctions. Because unions of centreline-based primitives are also used in vascular modelling [21], the same limitation may apply there.

The second approximation is systematic. The reconstructed lumen was narrower than the segmentation by a mean of 0.414 mm, consistent with circular primitives sized by the inscribed distance-transform radius in lumens that are not circular. A narrower lumen increases flow resistance, so simulations on this geometry would be biased towards higher resistance unless the narrowing is corrected or accounted for. The circular cross-section is a deliberate choice: it gives every interface a single radius and frame and supports the parametric editing evaluated here. Elliptical primitives or swept cross-sections recovered from the mask could represent eccentricity, but they would require a different interface definition. The radius floor adds a further, localised departure from the image: outlets narrower than 0.7 mm are enlarged in the fused wall, although the semantic model retains the unfloored radii.

Branching statistics were sensitive to measurement conventions. Defining length as arc length rather than chord length, or allowing pruning to merge consecutive branches, changed the length-to-diameter ratio substantially (Supplementary Note S1). Even with consistent definitions, the ratio rose with generation, and this could not be attributed to the terminal-pruning threshold. Whether the rise reflects anatomy, limited distal resolution or the diameter convention cannot be determined from these data. Resolving it would require generation-resolved reference measurements made with the same conventions, for example from automated bronchial parameter extraction [38] or topological airway descriptors [39].

Relation to existing approaches

Pipelines that extract and repair an isosurface produce simulation domains directly from segmentations, including automated airway meshing [11] and subject-specific CT-to-CFD workflows with automated inlet and outlet processing [12]. In these approaches, as in baselines B1 and B2, boundaries are identified on the processed surface rather than defined in a branch-level model. Centreline-and-diameter reconstruction [13, 14] recovers a branching scaffold from CT; baseline B3 shows that such a scaffold, swept into independent tubes, does not form a single surface without an explicit joining step. Vascular toolkits combine centreline analysis, surface editing and meshing [21, 15], and procedural generators construct airways from rules or specifications rather than from an individual image, including volume-filling growth [16], space-filling tree models [17], AVATREE [18], RespGeomLib [19] and hybrid CT-informed stochastic growth [20]. Improved segmentation [7, 9] provides better input masks but not an editable, port-labelled geometry. Studies of stenosis effects on airflow typically construct each modified geometry individually [22, 23]; here, edits are applied locally to the radius profile and their realised severity and extent are measured on the regenerated surface.

The individual elements of the framework are not new. Its contribution lies in combining, for CT-derived airways, an editable branch-level model in physical coordinates, a fused wall with one named boundary per port, and an explicit test that each port is realised as its own boundary loop, evaluated automatically on two public cohorts.

Limitations and future directions

Topological acceptance does not ensure a surface free of self-intersections: intersecting triangle pairs were present in 40 of 42 fused walls and in every pathology variant and healthy baseline. An accepted wall may therefore still require repair before volume meshing, and direct meshability should not be inferred from acceptance. A repair stage validated against self-intersection freedom, followed by meshing tests across the cohort, is needed before stronger claims about mesh readiness can be made.

Five cases were rejected. One is explained by the envelope behaviour described above; the other four contain surplus boundary loops introduced at the clipping stage, for which no common mechanism was identified. During development, the defects that were found and corrected all lay in surface clean-up rather than in the geometric core (Supplementary Note S1), suggesting that validation after each clean-up step, together with a branch-aware union, is the most direct route to fewer failures.

The evaluation used 42 reference annotations rather than automatic segmentations, with 15 of several hundred ATM22 cases, and no oblique acquisitions or slices thicker than 1.25 mm; performance on noisier masks and on clinical thick-slice CT remains untested. Reconstruction is limited to eight generations and prunes short or thin terminal branches, so the result is a conducting-airway model. Such trees could serve as patient-specific proximal scaffolds for generative models that extend the airway beyond CT resolution [16, 20].

The CFD demonstration used one case, one mesh and a single steady laminar flow of 0.1 L s−10.1\ \mathrm{L\ s^{-1}}, without a mesh-independence study or near-wall prism layers. The outlet resistances were derived from a symmetric Weibel subtree scaled to each outlet diameter, so a one-generation change alters a resistance by about 15–17 %. Outlet patches were defined from connected openings rather than mapped to the named ports of the manifest. The demonstration therefore shows that a reconstructed wall can enter a standard solver chain, but it does not validate the predicted flow. Validation would require comparison with measurements, as in image-based deposition studies [40, 41]. Port-based patch assignment, transient and higher-flow simulations, and mesh-sensitivity analysis are natural next steps.

Conclusion

CT-RespGeomLib converts CT airway masks into two linked outputs: an editable assembly of labelled pipe and junction blocks that share canonical ports, and a fused lumen surface whose acceptance requires each port to be matched to its own boundary loop. On 42 reference masks from two cohorts, 37 reconstructions met this criterion, with sub-millimetre port-to-loop agreement throughout, and the five failures were traced to identifiable surface-level mechanisms rather than to port placement. The fused wall follows the segmented lumen closely in shape but represents it as a circular tube at the inscribed radius, giving a systematic narrowing of about 0.4 mm that users should account for. The same representation supports localised, quantitatively reproduced radius edits and provides one named boundary per outlet for downstream simulation. Self-intersection repair, outlet-to-port mapping in the solver and validation of flow predictions are outside the present scope and are the next steps towards a complete image-to-simulation workflow.

Code and data availability

The source code, environment specification and per-case configuration files will be released in a public repository upon publication. Dataset availability follows the access conditions of the original ATM22 and AeroPath data providers.

Declaration of competing interest

The authors declare that they have no known competing financial interests or personal relationships that could have appeared to influence the work reported in this paper.

Supplementary Methods

These Supplementary Methods give the case-level data, the reasoning behind design choices and the complete parameter list that the main Methods summarise. SM1–SM9 follow the order of the main Methods; SM10 defines the quantities shown in the figures.

Datasets and case selection

ATM22 [7] provides non-contrast chest CT scans with expert airway labels from multiple sites, ranging from healthy subjects to COVID-19 patients; 15 cases from its training set, spanning small and large airway trees, were used. AeroPath [8] provides 27 contrast-enhanced CT angiography scans from patients investigated for lung cancer, with pathologies including malignant tumours, sarcoidosis and emphysema, and anatomical consequences such as an enlarged trachea, collapsed lung segments and tumour-occluded airways; all 27 were used. Its annotations contain fewer branches than those of ATM22 (128 ± 56 against 208 ± 74), reflecting airways obscured or occluded by disease. In both datasets the pipeline input was the distributed reference annotation rather than an automatic segmentation, so the results isolate the reconstruction stage from segmentation error.

Median in-plane voxel spacing was 0.781 mm for ATM22 (range 0.734–0.904 mm) and 0.703 mm for AeroPath (range 0.563–0.824 mm). Slice spacing was 0.500 mm in every ATM22 case, finer than the in-plane spacing, and ranged from 0.499 to 1.250 mm in AeroPath, where it exceeded the in-plane spacing in some scans (largest slice-to-in-plane ratio 1.778). All 42 scans had an identity direction matrix. The pipeline applies the full image affine, so anisotropic and obliquely acquired data are handled by construction; the cohorts exercise moderate anisotropy but no oblique acquisition and no slice thicker than 1.25 mm.

Parameter values (Table 1 and Table S1) were fixed before the evaluation run and are recorded in the per-case pruning and validation records; the ablation of Section 3.4 characterises their effect rather than selecting them. Both datasets are publicly available and de-identified, and their use required no further ethical approval.

ParameterValuePurpose
Graph extraction
Largest-component connectivity18remove isolated mask fragments
Skeleton / graph connectivity26thinning and chain tracing
Bounding-box margin8 voxelscrop with context
Minimum chain length3 voxelsdiscard skeleton noise
Pruning and extent
Spur length threshold8.0 mmprune terminal spurs
Spur radius threshold0.75 mmprune terminal spurs
Maximum generation depth8standardise airway extent
Blocks
Cut factor α\alpha2.0 (cut ≤0.4 ℓe\le0.4\,\ell_e)junction stand-off distance
Curved-pipe criteriaarc/chord >1.03> 1.03 or deviation >5%> 5\%curved/straight classification
Curved-pipe circumferential samples96semantic tube resolution
Fused field
Smoothing widths0.08 ℓe0.08\,\ell_e (centreline), 0.18 ℓe0.18\,\ell_e (radius)profile smoothing
Endpoint blendterminal 20 % of each edgerestore port values
Radius floor ρ\rho0.7 mmdistal meshability (fused wall only)
Union breadth KK24nearest segments in the field
Narrow-band half-widthrmax⁡+12ℓsegmax⁡+3hr_{\max} + \frac{1}{2}\ell_{\mathrm{seg}}^{\max} + 3hbound field evaluation
Grid marginmax⁡(2rmax⁡+3h,8 mm)\max(2r_{\max} + 3h, 8\ \mathrm{mm})contain the zero contour
Grid-spacing laddernine values, 0.40–1.50 mmautomatic resolution selection
Grid point budget6×1076 \times10^7bound sampling cost
Clean-up
Clip cap radiusmax⁡(1.8 r,r+3 tol+1.0 mm)\max(1.8\,r, r + 3\ \mathrm{tol} + 1.0\ \mathrm{mm})open ports by triangle removal
Taubin smoothing40 iterations, pass band 0.05boundary-preserving polish
Degenerate-triangle areamax⁡(10−8,10−3tol2) mm2\max(10^{-8}, 10^{-3}\mathrm{tol}^2)\ \mathrm{mm}^2drop slivers
Hole-fill cap0.8ρ=0.56 mm0.8\rho= 0.56\ \mathrm{mm}close slits below port scale
Acceptance
Port tolerance tpt_pmax⁡(1.0 rp,1.8 mm)\max(1.0\,r_p, 1.8\ \mathrm{mm})port–loop matching
Interface assertionscentre <10−4 mm< 10^{-4}\ \mathrm{mm}; normals <−0.95< -0.95shared-port consistency

Table S1. Complete list of reconstruction parameters, their production values and purpose. All values were fixed before the evaluation run. hh, grid spacing; tol, port tolerance; rr, port or node radius; ℓsegmax⁡\ell_{\mathrm{seg}}^{\max}, longest segment.

Coordinates and graph construction

Coordinate conventions. Two conventions are used and kept distinct. Voxel topology — connectivity, skeletonisation and the radius transform — is computed in array index order (z,y,x)(z, y, x) with the array-order spacing (sz,sy,sx)(s_z, s_y, s_x). Geometry is expressed in physical coordinates in millimetres through the full affine of Eq. (2). Because origin, spacing and direction matrix are all applied, anisotropic and oblique volumes are handled without resampling, and voxel anisotropy is accounted for analytically wherever a physical length is computed. Coordinates follow the ITK LPS convention throughout; exported surfaces are not converted to RAS.

Mask preprocessing. The largest-component filter removes isolated false-positive fragments while preserving the tracheobronchial tree; in 13 of the 42 cases it removed at least one fragment. No morphological closing, hole filling or dilation is applied: the wall is reconstructed from the centreline and radius field rather than from the mask boundary, so the mask serves as anatomical evidence and is not itself smoothed. The 18-connectivity of the component filter and the 26-connectivity of the skeleton analysis differ deliberately: the stricter rule avoids joining fragments that touch only at a corner, while the looser rule follows one-voxel-wide chains that are diagonal on the lattice.

Radius. The distance transform measures the distance from a foreground voxel centre to the nearest background voxel centre, with no half-voxel correction. The radius is therefore the inscribed radius of the lumen, which the reconstructed wall inherits; its consequence for lumen calibre is quantified in § 3.3.

Graph. Skeleton voxels with a 26-neighbour degree other than two are critical: endpoints at degree one and junctions at degree three or more. Spatially adjacent critical voxels are clustered into a single node, positioned at the mean of its cluster in world coordinates.

Rooting and extent. In the root key (rmax⁡,rmean,z)(r_{\max}, r_{\mathrm{mean}}, z) the axial coordinate only breaks ties, so the root is the endpoint with the largest local airway radius, the tracheal inlet. Pruning repeats until no terminal edge qualifies, after which the tree contains only the root, branch nodes with two or more children and outlets. Depth is counted in branch nodes on the collapsed tree rather than in graph hops: hop count depends on how finely each skeleton happens to be discretised, and in our cohorts the maximum hop depth ranged from 14 to 23 across cases of comparable size, so a fixed hop cut-off would truncate some trees far earlier than others. Thirty-four of the 42 cases reached the generation-8 cap; the remainder terminated at generation 6 or 7, where the segmented tree ended before the cap would bind.

Shared ports and semantic blocks

Port orientation. An inlet port uses the negated start tangent and an outlet port the end tangent, so that mating blocks oppose. A junction-cut port uses the chord direction from the junction centre to the cut point rather than the local tangent, which keeps the pipe cut and the junction cut coplanar. Because a block stores only a port identifier, the pipe on an edge and the junction at its end read the same object; interface consistency is a property of the representation, not a tolerance reached by fitting or repair, and is checked as a software assertion rather than reported as a result.

Block census. Across the 42 cases the decomposition produced 6191 blocks: 4153 curved pipes, 1968 Y2 bifurcations, 60 Y3 trifurcations in 29 cases, 9 straight pipes and a single general junction.

Primitive construction. The semantic assembly is a single PolyData carrying a block index and a block-type code per cell. Curved pipes are swept tubes with 96 circumferential samples per ring on the smoothed profiles of the fused wall; the sweeping frame is propagated by rotation-minimising parallel transport, and the two endpoint tangents are replaced by the mating port normals so that consecutive blocks remain coplanar. Y2 and Y3 blocks are zero isosurfaces of the hard minimum of constant-radius tube fields about sampled parent and daughter centrelines, contoured on a local Cartesian grid and transformed into world coordinates. Daughter orientations are expressed as spherical angles in a frame whose local zz axis points from the parent port to the junction centre, and daughter centrelines are straight. Port positions and normals of these blocks are analytical metadata, not quantities recovered from the contoured surface. A fallback path builds a trifurcation from two overlapping Y2 primitives when the native construction fails; it was not required for any of the 60 Y3 blocks. The single general junction in the cohort is represented only in the fused field.

Fused-wall construction

Smoothing scale. Because the Gaussian kernel widths are proportional to branch length, the radius kernel of a 60 mm branch spans about 11 mm, and a narrowing shorter than that is attenuated. This bounds the shortest lesion the fused wall can represent faithfully, and is why the pathology study scales its lesion width with branch length. The curved semantic pipes use the same smoothed profiles.

Radius floor. The semantic assembly retains the unfloored radii, so the effect of the floor is confined to the fused wall; it is quantified in Sections 3.3 and 3.4.

Hard union and narrow band. The hard minimum sets each branch’s radius by its own primitive rather than inflating it at junctions, as a smooth union would. Where two branches run close together the minimum can be attained by a neighbouring branch’s primitive, so the wall there follows the neighbour’s envelope (Section 3.3). The field is evaluated only inside a narrow band around the centrelines, of half-width rmax⁡+12ℓsegmax⁡+3hr_{\max} + \frac{1}{2}\ell_{\mathrm{seg}}^{\max} + 3h, found by a nearest-midpoint query on a kk-d tree; outside the band the field cannot reach the zero contour, so the restriction does not alter the extracted surface.

Grid and extraction. The grid spans the primitive bounding box plus a margin of max⁡(2rmax⁡+3h, 8 mm)\max(2r_{\max} + 3h,\,8\ \mathrm{mm}). The ladder has nine values from 0.40 to 1.50 mm; if none satisfies the point budget the run is reported as failed rather than continuing at a coarser spacing. Because the grid carries physical spacing the surface is already in millimetres, and because the field is negative inside, triangle winding needs no separate reorientation.

Clipping, repair and acceptance

Clipping and component selection. Ports are opened by triangle removal rather than a Boolean cut, within a cap of radius max⁡(1.8r, r+3 tol+1.0 mm)\max(1.8r,\,r + 3\ \mathrm{tol} + 1.0\ \mathrm{mm}). After clipping every component containing an expected port is retained, not only the largest. Keeping only the largest would risk removing correct anatomy: where a large-radius port’s cap reaches across to a neighbouring branch, the clip can sever the neck joining a sub-tree to the trunk. Retaining every port-bearing component means such a case produces more than one component and fails acceptance rather than silently losing anatomy. The selection is repeated after repair, because repair can detach small fragments.

Smoothing and repair. Taubin smoothing is preferred to Laplacian smoothing because it avoids volumetric shrinkage, and boundary and feature smoothing are disabled so that the open port rings, and hence the boundary loops, do not move. Degenerate triangles below an area of max⁡(10−8, 10−3tol2) mm2\max(10^{-8},\,10^{-3}\mathrm{tol}^{2})\ \mathrm{mm}^{2} are dropped, and non-manifold edges are repaired by iteratively removing the smallest-area offending triangle until every edge is incident to at most two faces. The hole fill is capped at 0.8ρ=0.56 mm0.8\rho= 0.56\ \mathrm{mm}, below the smallest physical port loop, so it closes residual slits but never a port.

Matching. Optimal one-to-one assignment makes the result independent of the order in which ports are listed. Inadmissible pairings are rejected rather than absorbed: without rejection, a global assignment facing too few loops reshuffles otherwise correct matches to minimise total cost, reporting large errors on ports whose own geometry is sound. The absolute term of Eq. (11) reflects a displacement between the nominal port plane and the realised surface that is approximately constant in millimetres rather than proportional to radius; re-evaluating the field at one third of the production grid spacing does not reduce it, so it is a small geometric disagreement, not a sampling limit. The term is fixed across all cases and cohorts. As a sensitivity figure, acceptance is also reported under a stricter criterion that additionally requires ∣rˉloop−rp∣<0.5 rp|\bar{r}_{\mathrm{loop}} - r_p| < 0.5\,r_p.

Controlled pathology editing

Cohort and sites. Variants were generated from five reconstructions (ATM_003, ATM_045, AeroPath_05, AeroPath_20 and AeroPath_21) at two proximal sites each: the trachea, taken as the root’s first child edge, and a main-bronchus branch selected as the carina child most aligned with the tracheal chord. Because that rule is geometric, the branch is reported as the algorithmically selected main-bronchus branch without a claim of verified laterality; one case carries an ambiguity flag under the rule. All 40 variants and the five healthy baselines used the same frozen production settings, with no case-specific tuning. Severity denotes fractional radius change rather than area reduction: for a circular section the expected area ratios are 0.5625, 0.25, 0.0625 and 2.25. The first and last radius samples of the edited primitive are restored to their healthy values, the radius floor is applied as usual and the centreline is unchanged, so the edit alters calibre without displacing the branch.

Severity and locality. Control is measured on the final fused surfaces rather than on the prescribed radius arrays. Healthy and edited meshes are sampled at matched stations along the healthy branch centreline and cut by the plane orthogonal to the local tangent. The primary measurement is the ratio of edited to healthy equivalent radius at u=0.45u = 0.45, using the same station in both geometries; the area ratio is defined likewise. Locality is assessed outside the interval 0.20≤u≤0.700.20 \le u \le0.70, fixed from the prescribed Gaussian parameters before any reconstructed surface was inspected. The primary analysis is restricted to the branch shaft by a margin of max⁡(2.5 mm, 1.2 rhealthy)\max(2.5\ \mathrm{mm},\,1.2\,r_{\mathrm{healthy}}) that excludes endpoint and junction neighbourhoods, with an unrestricted analysis retained as a sensitivity check.

Boundary loops. Canonical ports are reused unchanged by the editing workflow, so healthy and edited loops are paired by port identity and compared by the shift of their realised centroids. This measures variation between independently fused surfaces, not movement of the ports.

Evaluation protocol

Baselines. B1 applies marching cubes at iso-level 0.5 to the cleaned largest component of the mask. B2 applies Taubin smoothing to B1 with the settings used for the fused wall. B3 builds a swept tube with 24 circumferential samples per ring on each pruned graph edge independently, using the unsmoothed graph profiles, and concatenates them without union or trimming, so capped tube ends overlap at junctions by construction. Topology metrics are computed by the same functions for every strategy. No composite readiness score is reported, because the capability differences are categorical.

Surface-to-mask agreement. Vertices are subsampled to at most 10510^5 per surface under a fixed seed. The inside-mask fraction is obtained by trilinear interpolation of the mask at the same vertices. Because the reconstruction is a regenerated parametric wall rather than a voxel-faithful copy, these quantities measure anatomical agreement rather than surface replication, and a mask-derived surface is nearer the mask by construction.

Lumen calibre. Both mask and wall are measured with the same star-shaped estimator about the station centre (180 rays, first boundary crossing) and area-equivalent radius (Eq. (15)), rather than by connected-component area, because in proximal generations the in-plane mask component can merge with a touching neighbouring airway and return radii several times the true value. The plane normal is the first principal direction of the raw centreline over a window of ±max⁡(2r,2 mm)\pm\max(2r, 2\ \mathrm{mm}): centrelines are voxel-stepped at about 0.5 mm, so a short-window tangent can differ from the longer-window one by tens of degrees and inflate a cross-section by 1/cos⁡θ1/\cos\theta. Taking the window on the raw centreline, not the reconstruction’s own axis, keeps the measurement plane independent of the geometry under test. Stations are stratified, not excluded, by whether another branch’s floored wall comes within the station’s own radius.

Branching statistics. Branch angle is the angle between parent and child tangents, each measured over a fractional arc-length window near the junction. Branch length is the chord between successive branch points, matching the comparison literature, and branches separated by a bifurcation that lost a child to pruning are kept distinct. Strahler orders are computed with branches collapsed by union–find, incrementing only when the two highest child orders tie; Horsfield orders increment at every segment.

Ablation and cost. A setting is reported as failing when the resulting wall does not meet the acceptance criteria. Runtime and peak resident memory are the median of three repeats per case.

Statistics. Each case contributes many stations, so pooled station statistics are not independent. Limits of agreement use the Bland–Altman method for repeated measurements per subject [29], with case-level medians and interquartile ranges reported alongside; almost all the variance of the differences is within-case, so the corrected and naive standard deviations agree to three decimal places. Continuous quantities are given as mean ±\pm SD across cases, or median [IQR] where skewed. The 40 pathology variants are repeated interventions on five cases rather than 40 independent subjects and are summarised accordingly.

Downstream meshing and OpenFOAM simulation

Geometry transfer and meshing. The fused wall was exported as STL in millimetres in the LPS frame. Its inlet loop and 65 outlet loops were closed with cap surfaces, giving a watertight boundary of 243 620 triangles. The ICEM CFD Robust (Octree) mesher used an element scale factor of 1.3, a maximum element size of 2.0 mm and curvature- and proximity-based refinement (minimum size 0.5 mm, 30 elements per 360∘360^\circ of curvature, one element across gaps), followed by smoothing. The mesh was written in ANSYS mesh format and converted to OpenFOAM by a script that splits the outlet caps into one patch per connected opening. The three openings treated as wall had equivalent diameters of 0.37–0.68 mm, below the in-plane voxel spacing. Transfer fidelity was measured by the distance from every boundary node of the volume mesh to the STL surface and by comparing boundary area and enclosed volume.

Inlet condition. The inflow was imposed on the inlet cap (A=59.7 mm2A = 59.7\ \mathrm{mm}^2) with the profile u∝(d/dmax⁡)(2−d/dmax⁡)u \propto(d/d_{\max})(2-d/d_{\max}), where dd is the distance from the rim; its peak-to-mean ratio is 1.75. With the mean velocity U=1.67 m s−1U = 1.67\ \mathrm{m\,s}^{-1} and the inlet hydraulic diameter Dh=8.71 mmD_h = 8.71\ \mathrm{mm}, the inlet Reynolds number Re=ρfUDh/μRe = \rho_f U D_h/\mu is about 960, for which steady laminar flow is a reasonable assumption.

Outlet resistances. For an outlet of equivalent diameter DkD_k, the generation gg is the Weibel generation whose diameter DgD_g is closest on a logarithmic scale, and the missing subtree runs from generation g+1g+1 to 16 with every tube scaled by s=Dk/Dgs = D_k/D_g and dimensions from Weibel’s model A. Resistances are combined from generation 16 upwards, two daughters in parallel feeding each parent in series, and the outlet feeds two generation-(g+1)(g + 1) branches in parallel. The 62 outlets fell in generations 5–12, with RkR_k from 2.3×1052.3 \times10^5 to 4.8×106 Pa s m−34.8 \times10^6\ \mathrm{Pa\,s\,m}^{-3}; generation more or less changes a resistance by about −15%-15\% or +17%+17\%. Pressures are gauge values relative to the distal end of the modelled subtrees.

Coupling and numerics. Because QkQ_k is not known in advance, Eq. (13) was enforced iteratively: outlet pressures were held fixed for 20 solver iterations, the outlet flows were read, and each pkp_k was updated by a chord-Newton step with a diagonal estimate of the response of QkQ_k to pkp_k. Convection used bounded linearUpwind, gradients were linear (cell-limited for velocity) and non-orthogonal corrections were limited. Pressure was solved with GAMG and velocity with a symmetric Gauss–Seidel smoother, with a velocity relaxation factor of 0.8. The field was initialised from a solution with zero outlet pressure. The boundary-condition error is max⁡k∣pk−RkQk∣/max⁡kRkQk\max_k |p_k-R_kQ_k|/\max_k R_kQ_k.

Post-processing. All quantities were computed directly from the OpenFOAM mesh and field files. Outlet flows are sums of the stored face fluxes. To split the flow between the lungs, the cells within 12 mm of the carina were removed and the remaining cell graph was divided into connected components; the result did not change for cut radii of 12–25 mm. The flow share predicted from the outlet resistances alone, (1/Rk)/∑j(1/Rj)(1/R_k)/\sum_j(1/R_j), is the reference for the computed shares. In the whole-airway speed view each pixel shows the largest cell speed along the viewing direction.

Sections S1–S3 are planes normal to the local airway axis through the point 10 mm from the carina along that axis, in the trachea (S1) and in the −x-x (S2) and +x+x (S3) main bronchi; ±x\pm x are CT image axes. The carina is the cell of highest pressure, on the carinal ridge. Each axis was first estimated from the branch centroids 16 and 25 mm from the carina, where the three branches separate, and then refined from the centroids of sections 2.5 mm on either side of the plane. On each section the velocity is split into uax=u⋅nu_{\rm ax}=\mathbf{u}\cdot\mathbf{n} and utr=u−uaxn\mathbf{u}_{\rm tr}=\mathbf{u}-u_{\rm ax}\mathbf{n}. Quoted section quantities are area-weighted cell values, which reproduce the solver’s branch flows to within 0.5%; contour plots interpolate node values (the mean of the adjacent cells, zero on the wall) linearly within each cut cell, without smoothing. Streamlines are integrated with a second-order Runge–Kutta scheme through the same interpolation, from inlet seeds placed in proportion to the local inflow.

Outputs and reproducibility

Each run writes the semantic assembly and the fused wall as VTK PolyData and STL, the semantic PolyData carrying a per-cell block index and block-type code that the STL format cannot preserve. The external port manifest, written as CSV and JSON, lists for each port its identifier, kind, centre, normal, radius and a boundary label of the form inlet, outlet_01 and so on; these labels are structural rather than anatomical, as no lobar or segmental names are assigned. Further records cover the shared-port graph including internal interfaces, the block decomposition and the full validation report with per-port errors and the acceptance verdict. All geometry is in millimetres in the ITK LPS convention. The reconstruction uses no random state; evaluation scripts that sample randomly use recorded seeds. Graph construction is custom and uses no external graph library, and exact package versions are pinned in the released environment specification. Reading ATM22 through the supplied loaders requires a small compatibility layer that maps ATM22 identifiers and filenames onto the AeroPath directory convention; the script that creates it is included.

Quantities shown in the figures

This section defines every derived quantity plotted in the figures, grouped by figure. Figure 2 needs no further definitions: its panels illustrate Eqs. (2), (5), (8)–(10) and (11) of the main text. The equivalent radius of any planar cross-section of area AA, used for the lumen-calibre, pathology and CFD-section measurements, is

req=A/π.(15)r_{\rm eq}=\sqrt{A/\pi}. \tag*{(15)}

Pathology control (Figure 9, Figure S5). For each variant vv the achieved radius ratio, plotted against the commanded ratio qrcmdq_r^{\rm cmd} in Figure 9, and its error are

Figure S5. Error distributions for the 40 pathology variants (5 cases ×\times 2 sites ×\times 4 edits); one point per variant, bars are group medians; circles, trachea; triangles, main-bronchus site; colour, prescribed edit. (a) Absolute radius-ratio error at the lesion centre (Eq. (16)), log axis; one value below the axis floor (9.0×10−79.0 \times10^{-7}, AeroPath_21) is drawn on the floor. (b) P95 of the absolute equivalent-radius deviation along the branch shaft outside the lesion interval (Eq. (17)). (c) P95 of the centroid shift of the realised boundary loops relative to the healthy surface (Eq. (18)); the largest single-loop shift, 0.411 mm, exceeds the plotted maximum. Loops move only when an edit changes the largest primitive radius, which sets the extraction grid; the 17 main-bronchus variants at 0 mm are measured zeros.

qr,vach=reqedit(c)reqhealthy(c),Er,v=∣qr,vach−qr,vcmd∣,MAE=140∑v=140Er,v.(16)q_{r,v}^{\rm ach}=\frac{r_{\rm eq}^{\rm edit}(c)}{r_{\rm eq}^{\rm healthy}(c)},\qquad E_{r,v}=\left|q_{r,v}^{\rm ach}-q_{r,v}^{\rm cmd}\right|,\qquad\mathrm{MAE}=\frac{1}{40}\sum_{v=1}^{40}E_{r,v}. \tag*{(16)}

with c=0.45c=0.45 and the same station in both geometries; ErE_r is plotted in Figure S5. Locality (Figure S5) is the 95th percentile of the radius deviation over the set UvU_v of shaft stations outside the lesion interval 0.20≤u≤0.700.20\leq u\leq0.70 and outside the endpoint and junction margins,

Δshaft,v=P95⁡u∈Uv∣reqedit(u)−reqhealthy(u)∣.(17)\Delta_{\mathrm{shaft},v}=\underset{u\in U_v}{\operatorname{P95}}\left|r_{\rm eq}^{\rm edit}(u)-r_{\rm eq}^{\rm healthy}(u)\right|. \tag*{(17)}

Boundary-loop stability (Figure S5) is the 95th percentile, over the external ports pp of a variant, of the shift of the realised loop centroid cp\mathbf{c}_p between the healthy and edited surfaces,

Δloop,v=P95⁡p∥cpedit−cphealthy∥2.(18)\Delta_{\mathrm{loop},v}=\operatorname{P95}_{p}\left\lVert\mathbf{c}_{p}^{\rm edit}-\mathbf{c}_{p}^{\rm healthy}\right\rVert_{2}. \tag*{(18)}

Volume mesh (Figure 10, Table 7). For an internal face ff with area vector Sf\mathbf{S}_f, joining cells whose centres are separated by df\mathbf{d}_f, the non-orthogonality and skewness reported by checkMesh are

θf=arccos⁡df⋅Sf∥df∥∥Sf∥,skf=∣xf−xf∗∣∥df∥.(19)\theta_f=\arccos\frac{\mathbf{d}_f\cdot\mathbf{S}_f}{\lVert\mathbf{d}_f\rVert\lVert\mathbf{S}_f\rVert},\qquad\mathrm{sk}_f=\frac{\lvert\mathbf{x}_f-\mathbf{x}_f^{*}\rvert}{\lVert\mathbf{d}_f\rVert}. \tag*{(19)}

where xf\mathbf{x}_f is the face centre and xf∗\mathbf{x}_f^{*} the point where the line between the two cell centres crosses the face plane.

Flow field (Figure 11). Panel a shows, for each pixel (x,z)(x,z) of a 0.3 mm grid in the viewing plane, the largest cell speed along the viewing direction yy,

I(x,z)=max⁡i:xi∈Π(x,z)∣ui∣,(20)I(x,z)=\max_{i:\boldsymbol{x}_i\in\Pi(x,z)}\lvert\boldsymbol{u}_i\rvert, \tag*{(20)}

where Π(x,z)\Pi(x,z) is the column of space projecting onto the pixel and xi\boldsymbol{x}_i the cell centroid; pixels inside the airway silhouette that contain no centroid take the largest value of their eight neighbours. Panel b shows the wall static pressure pp, whose zero is the distal end of the modelled subtrees through Eq. (13). Panel c compares the computed outlet flow share with the share predicted from the outlet resistances alone,

sk=100QkQin,s^k=100Rk−1∑jRj−1,(21)s_k=100\frac{Q_k}{Q_{\mathrm{in}}},\qquad\hat{s}_k=100\frac{R_k^{-1}}{\sum_j R_j^{-1}}, \tag*{(21)}

and reports their Pearson correlation; s^k\hat{s}_k is the split that would arise if the reconstructed airways had no resistance. Panel d shows sections {x:(x−c)⋅n=0}\{\boldsymbol{x}:(\boldsymbol{x}-\boldsymbol{c})\cdot\boldsymbol{n}=0\} normal to the local airway axis n\boldsymbol{n}, on which the velocity is decomposed as

uax=u⋅n,utr=u−uaxn,(22)u_{\mathrm{ax}}=\boldsymbol{u}\cdot\boldsymbol{n},\qquad\boldsymbol{u}_{\mathrm{tr}}=\boldsymbol{u}-u_{\mathrm{ax}}\boldsymbol{n}, \tag*{(22)}

the colour showing uaxu_{\mathrm{ax}} (upper row) and ∣utr∣\lvert\boldsymbol{u}_{\mathrm{tr}}\rvert (lower row), and the arrows the in-plane components of utr\boldsymbol{u}_{\mathrm{tr}}. The displacement of the axial maximum quoted in Section 3.6 is the distance between the area-weighted centroid of the fastest 10% of the section and the section centroid.

Model and convergence (Figure S6 and Figure S7). Each outlet is assigned the Weibel generation whose diameter is closest on a logarithmic scale, and its resistance is accumulated from generation 16 upwards, with RjR_j from Eq. (14):

Figure S6. CFD model and boundary conditions. (a) Computational domain with the 62 outlets coloured by their resistance RkR_k; the three openings smaller than 0.7 mm are closed as wall and not shown. (b) Outlet resistance against outlet equivalent diameter, coloured by the assigned Weibel generation gg; grey bars span the resistances obtained with generation g−1g-1 and g+1g+1 (Eq. (23)). (c) Normal component of the prescribed inlet velocity on the 176 inlet faces (Eq. (24)). (d) Number of boundary faces on each outlet.

Figure S7. Convergence of the solution. (a) At each outlet update (every 20 solver iterations): the largest outlet boundary-condition error, max⁡k∣pk−RkQk∣/max⁡kRkQk\max_k |p_k - R_k Q_k|/\max_k R_k Q_k, and the largest change of any outlet flow share since the previous update (Eq. (25)). Dotted lines mark the convergence criteria, which had to hold over two consecutive updates. (b) Scaled initial residuals of the velocity components and pressure (Eq. (26)).

gk=arg⁡min⁡g∣ln⁡Dk−ln⁡Dg∣,R(16)=R16,R(j)=Rj+12R(j+1),Rk=12R(gk+1).(23)g_k=\underset{g}{\arg\min}\left\lvert\ln D_k-\ln D_g\right\rvert,\qquad R^{(16)}=R_{16},\qquad R^{(j)}=R_j+\frac{1}{2}R^{(j+1)},\qquad R_k=\frac{1}{2}R^{(g_k+1)}. \tag*{(23)}

The grey bars of Fig. S6b repeat Eq. (23) with gk±1g_k\pm1. The inlet profile of Fig. S6c is

un(d)=U0ddmax⁡(2−ddmax⁡),U0:∑fun(df)Af=Q,(24)u_n(d)=U_0\frac{d}{d_{\max}}\left(2-\frac{d}{d_{\max}}\right),\qquad U_0:\sum_f u_n(d_f)A_f=Q, \tag*{(24)}

where dd is the distance from the rim of the inlet cap and AfA_f the area of inlet face ff. Between outlet updates n−1n-1 and nn, fig:S7a plots

ϵ(n)=max⁡k∣pk−RkQk∣max⁡kRkQk,Δs(n)=max⁡k∣sk(n)−sk(n−1)∣,(25)\epsilon^{(n)}=\frac{\max_k\lvert p_k-R_kQ_k\rvert}{\max_k R_kQ_k},\qquad\Delta s^{(n)}=\max_k\left\lvert s_k^{(n)}-s_k^{(n-1)}\right\rvert, \tag*{(25)}

and the outlet pressures are then updated by the chord-Newton step pk←pk−(pk−RkQk)/(1+Rk/Rloc,k)p_k\leftarrow p_k-(p_k-R_kQ_k)/(1+R_k/R_{\mathrm{loc},k}), where Rloc,kR_{\mathrm{loc},k} is the pressure-to-flow ratio of outlet kk in the initial solution. fig:S7b plots the OpenFOAM scaled residual of each equation Aϕ=bA\phi=b,

R=∑∣b−Aϕ∣∑(∣Aϕ−Aϕˉ∣+∣b−Aϕˉ∣),(26)\mathcal{R}=\frac{\sum\lvert b-A\phi\rvert}{\sum\left(\lvert A\phi-A\bar{\phi}\rvert+\lvert b-A\bar{\phi}\rvert\right)}, \tag*{(26)}

with ϕˉ\bar{\phi} the field average, evaluated at the start of each iteration.

Flow development and streamlines (Figure S8 and Figure S9). On a section at distance ss from the carina, built from cut cells of area AiA_i, the plotted quantities are

Figure S8. Streamlines, coloured by speed. 600 streamlines start 0.3 mm inside the inlet, seeded in proportion to the local inflow, and are integrated through the linearly interpolated velocity field (Eq. (28)). (a) Front view. (b) Lateral view. (c) Close-up of the main bifurcation.

Figure S9. Flow development along the trachea and main bronchi, on sections normal to the local airway axis, every 3 mm along the trachea and the +x+x main bronchus and every 1.5 mm along the −x-x main bronchus up to its first division. Distances are measured from the carina along each axis, negative in the trachea; thin vertical lines mark S1–S3. Quantities are defined in Eq. (27). (a) Lumen area. (b) Mean (solid) and maximum (dotted) axial velocity. (c) Area-averaged static pressure. (d) Ratio of the mean transverse to the mean axial velocity, a measure of secondary flow. (e) Axial velocity at four tracheal sections, viewed along the flow, on a common scale.

A(s)=∑iAi,uˉax(s)=∑iAiuax,iA(s),pˉ(s)=∑iAipiA(s),λ(s)=∑iAi∣utr,i∣∑iAiuax,i,(27)A(s)=\sum_i A_i,\qquad\bar{u}_{\mathrm{ax}}(s)=\frac{\sum_i A_i u_{\mathrm{ax},i}}{A(s)},\qquad\bar{p}(s)=\frac{\sum_i A_i p_i}{A(s)},\qquad\lambda(s)=\frac{\sum_i A_i\lvert\boldsymbol{u}_{\mathrm{tr},i}\rvert}{\sum_i A_i u_{\mathrm{ax},i}}, \tag*{(27)}

where λ\lambda measures the strength of the secondary flow. Streamlines solve

dxdσ=u(x)∣u(x)∣,x(0)=x0,(28)\frac{d\boldsymbol{x}}{d\sigma}=\frac{\boldsymbol{u}(\boldsymbol{x})}{\lvert\boldsymbol{u}(\boldsymbol{x})\rvert},\qquad\boldsymbol{x}(0)=\boldsymbol{x}_0, \tag*{(28)}

with arc length σ\sigma, integrated by a second-order Runge–Kutta scheme with Δσ=0.25\Delta\sigma=0.25 mm (reduced near the wall) through linear interpolation of node velocities within each tetrahedron. Seeds x0\boldsymbol{x}_0 are drawn on the inlet with probability proportional to the face inflow un,fAfu_{n,f}A_f.

Outlets (Figure S10). Panel b fits log⁡sk=log⁡a+nlog⁡Dk\log s_k=\log a+n\log D_k by least squares. Panel c splits the pressure drop from the mean inlet pressure pˉin\bar{p}_{\mathrm{in}} to the distal end of each subtree into the parts within the reconstructed airways and within the modelled subtree:

Figure S10. Distribution of flow and pressure over the 62 outlets. (a) Outlet flow share (marker area) and outlet pressure pkp_k (colour). (b) Flow share against outlet equivalent diameter, with a power-law fit. (c) Pressure budget for each outlet: the drop from the mean inlet pressure to the outlet, within the reconstructed airways, stacked on the drop across the modelled distal subtree, pk=RkQkp_k = R_k Q_k (Eq. (29)). (d) Cumulative flow share, outlets ordered by decreasing flow; the dashed line is an equal split.

pˉin=(pˉin−pk)+pk,fk=(pˉin−pk)pˉin,(29)\bar{p}_{\mathrm{in}}=(\bar{p}_{\mathrm{in}}-p_k)+p_k,\qquad f_k=\frac{(\bar{p}_{\mathrm{in}}-p_k)}{\bar{p}_{\mathrm{in}}}, \tag*{(29)}

the first term being the drop within the reconstructed airways and the second within the distal subtree. Panel d plots the cumulative share C(m)=∑k≤ms(k)C(m)=\sum_{k\le m}s_{(k)} of the outlets ordered by decreasing flow.

Reconstruction galleries

The first two galleries show all 37 accepted reconstructions (14 ATM22 and 23 AeroPath cases). The final gallery shows the five cases that did not meet the acceptance criteria, with annotated defects and close-up views.

Supplementary Results 1 (continued)

Supplementary Results 1 (continued)

Five failed reconstructions with defect annotations

Figure S-failed. the 5 failed reconstructions. Camera orientation is chosen per case (and per inset) to avoid occluding the defect, not held uniform as in the main gallery. ATM_016 (94 outlets, h=0.60h=0.60mm). failure: connected components+surplus loop cc=2; loops=96. second component, 50 cells | surplus boundary loop, 3.80 mm², 2.1 mm from nearest port. AeroPath_01 (47 outlets, h=0.60h=0.60mm). failure: surplus loop loops=49. surplus boundary loop, 0.82 mm², 8.3 mm from nearest port. AeroPath_10 (51 outlets, h=0.60h=0.60mm). failure: connected components+surplus loop cc=2; loops=53. second component, 7 cells | surplus boundary loop, 0.51 mm², 1.7 mm from nearest port. AeroPath_16 (40 outlets, h=0.60h=0.60mm). failure: connected components+surplus loop x2 cc=2; loops=43. second component, 94 cells | surplus boundary loop, 7.71 mm², 2.6 mm from nearest port (+1 more surplus loop not shown). AeroPath_17 (38 outlets, h=0.60h=0.60mm). failure: port unmatched 1 port unmatched (port_outlet_N0218_CE0044); loops=38. shared loop: 2 ports, 1 opening (port_outlet_N0218_CE0044 1.05mm, port_outlet_N0216_CE0058 1.88mm).

Reconstruction and evaluation detail

This section gives the case-level detail behind § 3.1–§ 3.4: every case on common axes (Figure S1), the effect of the radius floor on port radii (Figure S2), the branching statistics (Figure S3) and the computational cost and self-intersection counts (Figure S4).

Figure S1. Overview of all 42 reconstructions, ATM22 then AeroPath, each ordered by outlet count; green, accepted; red, not accepted. (a) Number of outlets. (b) Distance from each port to its matched loop relative to the port’s tolerance: median (dot) and range from the 5th percentile to the maximum. (c) Mean ±\pm SD of the station-wise difference between wall and mask equivalent radius. (d) Self-intersecting triangle pairs on the fused wall. (e) Median reconstruction time over three repeats, with the range.

Figure S2. Port radius error and the radius floor. (a) Difference between the mean radius of each matched loop and the port radius (grey, shown for ports below the floor) or the floored radius max⁡(rp,ρ)\max(r_p,\rho) (blue), against port radius; the shaded band marks ports below ρ=0.7\rho= 0.7 mm, and the dashed curve the enlargement ρ−rp\rho- r_p. Measured against the floored radius, the median error of sub-floor ports falls from 0.195 to 0.015 mm. (b) The same two errors by port generation (median and interquartile range), with the share of ports below the floor in each generation.

Figure S3. Branching statistics of the 36 accepted cases with at least four Strahler orders. (a–c) Number of branches, mean length and mean diameter against Strahler order for each case (thin lines) and their geometric mean (black), excluding the highest order as in the ratio fits; the mean ordering ratio of each cohort is given in the panel. (d) Branch angle and (e) child-to-parent diameter ratio, per branch. (f) Mean length-to-diameter ratio by generation for each cohort, and for the twelve-case subset reconstructed with the terminal-pruning length threshold at 8 mm and relaxed fourfold to 2 mm.

Figure S4. Computational cost and self-intersections. (a) Median reconstruction time against the number of graph edges, with a least-squares line; open red markers are cases that were not accepted. (b) Time per pipeline stage for every case, ordered by tree size: graph assembly; shared ports and semantic blocks; implicit field and marching cubes; clipping, repair and acceptance. (c) Peak resident memory against the number of grid points; the point budget is 6×1076 \times10^{7}. (d) Self-intersecting triangle pairs against the number of graph edges. (e) Self-intersecting pairs in accepted and non-accepted cases. Eight threads on an Intel Xeon Gold 5218R CPU.

Supplementary Results 3: Pathology error distributions

Downstream CFD demonstration {#sec:Supplementary Results 4}

This section documents the CFD demonstration of § 3.7 in full: the model and its boundary conditions (Figure S6), convergence (Figure S7), streamlines (Figure S8), the development of the flow along the trachea and main bronchi (Figure S9) and the distribution of flow and pressure over the outlets (Figure S10, Table S2). Every quantity is computed from the OpenFOAM mesh and field files of the converged solution, steady laminar flow at 0.1 L s−1^{-1}, by the scripts released with this material.

OutletDD (mm)ggRkR_kpkp_k (Pa)QkQ_k (mL s−1^{-1})Share (%)OutletDD (mm)ggRkR_kpkp_k (Pa)QkQ_k (mL s−1^{-1})Share (%)
013.9350.231.787.6077.61321.6791.671.610.9660.97
023.5250.331.645.0075.01331.6791.681.741.0341.03
033.3250.391.864.7574.76341.6691.701.120.6570.66
043.3150.402.115.3255.33351.5991.932.011.0401.04
053.1350.461.523.2693.27361.5792.001.300.6490.65
063.0660.431.703.9933.99371.5792.011.450.7200.72
072.8960.512.304.5524.55381.5592.111.470.6960.70
082.8360.542.023.7453.75391.5492.131.620.7590.76
092.8260.551.923.5043.50401.5392.181.450.6680.67
102.7160.621.722.7892.79411.5392.192.000.9120.91
112.6660.651.692.5912.59421.5092.321.540.6630.66
122.6160.681.862.7172.72431.4992.362.020.8560.86
132.6060.701.702.4392.44441.4792.441.410.5760.58
142.4970.722.142.9882.99451.4492.641.260.4780.48
152.3770.841.391.6641.66461.4292.732.130.7780.78
162.3270.892.162.4182.42471.39102.511.510.6040.60
172.3070.911.451.5981.60481.35102.770.960.3470.35
182.2071.041.701.6371.64491.30103.061.680.5500.55
192.1871.082.001.8521.85501.29103.152.150.6850.69
202.1771.082.492.3042.30511.29103.151.450.4600.46
212.1571.121.701.5141.51521.20103.891.740.4470.45
222.1471.141.971.7311.73531.16113.431.570.4590.46
232.0871.231.190.9650.96541.15113.541.630.4600.46
242.0381.092.192.0052.00551.13113.731.650.4430.44
251.9881.181.611.3621.36561.12113.781.790.4740.47
261.8981.362.001.4661.47571.11113.852.190.5680.57
271.8581.462.011.3781.38581.07114.291.650.3850.39
281.8181.561.490.9540.95591.06114.431.500.3390.34
291.7981.801.881.0441.04601.06114.492.350.5230.52
301.7181.841.470.8010.80611.03114.822.160.4490.45
311.7181.851.991.0771.08621.01124.371.320.3030.30

Table S2. Per-outlet results of the CFD demonstration at 0.1 L s−1^{-1}, ordered by equivalent diameter DD. gg, Weibel generation assigned to the outlet; RkR_k, outlet resistance (10610^6 Pa s m−3^{-3}); pkp_k, outlet pressure relative to the distal end of the modelled subtree; QkQ_k, outlet flow; share, percentage of the inflow.

Model and boundary conditions. The 62 outlets span equivalent diameters of 1.0–3.9 mm and were assigned Weibel generations 5–12. Their resistances fall from 4.8 × 106^{6} to 2.3 × 105^{5} Pa s m−3^{-3} as the diameter grows, close to a power law because every subtree is a scaled copy of the same Weibel model (Figure S6). Assigning one generation more or less would change a resistance by about −15 % or +17 %. The inlet profile has a mean normal velocity of 1.67 m s−1^{-1} and a peak-to-mean ratio of 1.75 over 176 faces (Figure S6).

Development along the central airways. The lumen is narrowest at the inlet: the inlet cap has an area of 59.7 mm259.7\ \mathrm{mm}^{2} and the first section normal to the axis, 76 mm above the carina, 74 mm274\ \mathrm{mm}^{2}. Over the next 45 mm the lumen widens to 145 mm2145\ \mathrm{mm}^{2}, the mean axial velocity falls from 1.361.36 to 0.69 m s−10.69\ \mathrm{m\ s}^{-1}, and the area-averaged pressure rises from 3.433.43 to 3.96 Pa3.96\ \mathrm{Pa} at S1 (Figure S9–Figure S9). The jet does not spread to fill the widened lumen: its peak axial velocity falls only from 2.952.95 to 2.11 m s−12.11\ \mathrm{m\ s}^{-1} over the trachea, and it runs along one side of the lumen (Figure S9) while reverse axial flow occupies up to 31% of the tracheal cross-section beside it. The −x-x main bronchus divides about 20 mm from the carina, so its profile is shown only up to that point. In both main bronchi the secondary flow generated at the carina decays with distance: in the +x+x bronchus, the ratio of mean transverse to mean axial velocity falls from 0.38 at S3 to 0.12 at 40 mm (Figure S9).

Outlets. Outlet flow share scales with outlet diameter as Dk2.24D_k^{2.24} (R2=0.94R^2 = 0.94; Figure S10), and the ten largest outlets together carry 45 % of the inflow. Of the pressure drop from the inlet to the distal end of each subtree, between 26 and 71 % (median 50 %) arises within the reconstructed airways, the rest within the modelled subtree (Figure S10). The complete per-outlet results are listed in Table S2.

Supplementary Note S1: Development observations

Defects found during validation. All defects found and corrected while developing the validation lay in surface clean-up (port opening, degenerate-triangle removal, non-manifold repair and component selection) rather than in graph extraction, the shared-port construction or the implicit field. (i) Port opening originally assigned each triangle to its Euclidean-nearest port, irrespective of branch; a large-radius port near an unrelated branch could sever the neck joining a sub-tree to the trunk, after which a largest-component filter discarded the sub-tree (one case lost a 16-outlet lobe). Restricting removal to the port’s own branch and its immediate parent resolved this, and in four further cases blocked many triangles without changing the outcome. (ii) A component filter implemented as a re-triangulation round trip perturbed the mesh even when it removed nothing, seeding fragmentation in three cases; direct cell deletion removed the problem. (iii) Port-to-loop assignment without a rejection rule redistributed neighbouring matches when one loop was missing, reporting errors above 100 mm on ports whose geometry was sound; the tolerance-based rejection of Section 2.5 prevents this. Each defect was invisible in the final output and was detected only by inspecting intermediate stages.

Length-to-diameter conventions. Measured as arc length over the full graph edge, the pooled length-to-diameter ratio was 8.99. Using the chord between successive branch points reduced it to 7.63. Terminal pruning had also merged branches: removing one child of a bifurcation leaves a pass-through node, which was collapsed so that two anatomical branches formed one edge. Such edges were 19.7 % of all branches and had a median ratio of 15.3 against 5.4 for unmerged branches. Keeping former bifurcations as segment boundaries, together with chord lengths, gives the values of Tables 4 and Table 5; because a merged edge’s parent had been its grandparent, it also raised the child-to-parent diameter ratio.

References

  1. [1]C.-L. Lin, M. H. Tawhai, E. A. Hoffman, Multiscale image-based modeling and simulation of gas flow and particle transport in the human lungs, Wiley Interdisciplinary Reviews: Systems Biology and Medicine 5 (5) (2013) 643–655. doi:10.1002/wsbm.1234.DOI
  2. [2]C. Kleinstreuer, Z. Zhang, Airflow and particle transport in the human respiratory system, Annual Review of Fluid Mechanics 42 (2010) 301–334. doi:10.1146/annurev-fluid-121108-145453.DOI
  3. [3]K. S. Burrowes, J. De Backer, H. Kumar, Image-based computational fluid dynamics in the lung: virtual reality or new clinical practice?, Wiley Interdisciplinary Reviews: Systems Biology and Medicine 9 (6) (2017) e1392. doi:10.1002/wsbm.1392.DOI
  4. [4]J. W. De Backer, W. G. Vos, C. D. Gorlé, P. Germonpré, B. Partoens, F. L. Wuyts, P. M. Parizel, W. De Backer, Flow analyses in the lower airways: Patient-specific model and boundary conditions, Medical Engineering & Physics 30 (7) (2008) 872–879. doi:10.1016/j.medengphy.2007.11.002.DOI
  5. [5]G. B. Cherobin, R. L. Voegels, E. M. M. S. Gebrim, G. J. M. Garcia, Sensitivity of nasal airflow variables computed via computational fluid dynamics to the computed tomography segmentation threshold, PLOS ONE 13 (11) (2018) e0207178. doi:10.1371/journal.pone.0207178.DOI
  6. [6]Q. H. Nguyen, S. Huh, K. J. Chae, X. Cui, C.-L. Lin, S. Choi, Multiscale simulation of respiratory airflow using physiologically consistent geometry and boundary conditions in OpenFOAM, Computers in Biology and Medicine 198 (2025) 111131. doi:10.1016/j.compbiomed.2025.111131.DOI
  7. [7]M. Zhang, Y. Wu, H. Zhang, Y. Qin, H. Zheng, W. Tang, C. Arnold, C. Pei, P. Yu, Y. Nan, G. Yang, S. Walsh, D. C. Marshall, M. Komorowski, P. Wang, D. Guo, D. Jin, Y. Wu, S. Zhao, R. Chang, B. Zhang, X. Lu, A. Qayyum, M. Mazher, Q. Su, Y. Wu, Y. Liu, Y. Zhu, J. Yang, A. Pakzad, B. Rangelov, R. San Jose Estepar, C. Cano Espinosa, J. Sun, G.-Z. Yang, Y. Gu, Multi-site, Multi-domain Airway Tree Modeling, Medical Image Analysis 90 (2023) 102957. doi:10.1016/j.media.2023.102957.DOI
  8. [8]K.-H. Støverud, D. Bouget, A. Pedersen, H. O. Leira, T. Amundsen, T. Langø, E. F. Hofstad, AeroPath: An airway segmentation benchmark dataset with challenging pathology and baseline method, PLOS ONE 19 (10) (2024) e0311416. doi:10.1371/journal.pone.0311416.DOI
  9. [9]P. Wang, D. Guo, D. Zheng, M. Zhang, H. Yu, X. Sun, J. Ge, Y. Gu, L. Lu, X. Ye, D. Jin, Accurate airway tree segmentation in CT scans via anatomy-aware multi-class segmentation and topology-guided iterative learning, IEEE Transactions on Medical Imaging 43 (12) (2024) 4294–4306. doi:10.1109/TMI.2024.3419707.DOI
  10. [10]W. E. Lorensen, H. E. Cline, Marching cubes: A high resolution 3D surface construction algorithm, ACM SIGGRAPH Computer Graphics 21 (4) (1987) 163–169. doi:10.1145/37402.37422.DOI
  11. [11]M. Lauria, K. Singhrao, B. Stiehl, D. Low, J. Goldin, I. Barjaktarevic, A. Santhanam, Automatic triangulated mesh generation of pulmonary airways from segmented lung 3DCTs for computational fluid dynamics, International Journal of Computer Assisted Radiology and Surgery 17 (1) (2022) 185–197. doi:10.1007/s11548-021-02465-3.DOI
  12. [12]I. R. Bartol, M. S. Graffigna Palomba, R. J. Dawson, W. E. Bolch, M. E. Tano, S. A. Dewji, Subject-specific modeling framework for particle deposition using computational fluid dynamics, Journal of Aerosol Science 190 (2025) 106660. doi:10.1016/j.jaerosci.2025.106660.DOI
  13. [13]M. H. Tawhai, P. J. Hunter, J. Tschirren, J. M. Reinhardt, G. McLennan, E. A. Hoffman, CT-based geometry analysis and finite element models of the human and ovine bronchial tree, Journal of Applied Physiology 97 (6) (2004) 2310–2321. doi:10.1152/japplphysiol.00520.2004.DOI
  14. [14]S. Miyawaki, M. H. Tawhai, E. A. Hoffman, S. E. Wenzel, C.-L. Lin, Automatic construction of subject-specific human airway geometry including trifurcations based on a CT-segmented airway skeleton and surface, Biomechanics and Modeling in Mechanobiology 16 (2) (2017) 583–596. doi:10.1007/s10237-016-0838-6.DOI
  15. [15]E. Marchandise, C. Geuzaine, J.-F. Remacle, Cardiovascular and lung mesh generation based on centerlines, International Journal for Numerical Methods in Biomedical Engineering 29 (6) (2013) 665–682. doi:10.1002/cnm.2549.DOI
  16. [16]M. H. Tawhai, A. J. Pullan, P. J. Hunter, Generation of an anatomically based three-dimensional model of the conducting airways, Annals of Biomedical Engineering 28 (7) (2000) 793–802. doi:10.1114/1.1289457.DOI
  17. [17]H. Kitaoka, R. Takaki, B. Suki, A three-dimensional model of the human airway tree, Journal of Applied Physiology 87 (6) (1999) 2207–2217. doi:10.1152/jappl.1999.87.6.2207.DOI
  18. [18]S. Nousias, E. I. Zacharaki, K. Moustakas, AVATREE: An open-source computational modelling framework modelling anatomically valid airway TREE conformations, PLOS ONE 15 (4) (2020) e0230259. doi:10.1371/journal.pone.0230259.DOI
  19. [19]N. Wasalathilaka, M. P. Ekanayake, R. Godaliyadda, RespGeomLib: A reproducible parametric engine for generating analysis-ready human airway lumen geometry, in: 2026 Moratuwa Engineering Research Conference (MERCon), IEEE, 2026, pp. 554–559. doi:10.1109/MERCon71835.2026.11691379.DOI
  20. [20]G. H. Spasov, A. Parolin, T. Vitali, F. G. Pini, C. Cottini, A. Benassi, Construction of human bronchial trees from computed tomography scans through machine learning and stochastic growth algorithms, Journal of Computational Design and Engineering 13 (6) (2026) 30–49. doi:10.1093/jcde/qwag050.DOI
  21. [21]L. Antiga, M. Piccinelli, L. Botti, B. Ene-Iordache, A. Remuzzi, D. A. Steinman, An image-based modeling framework for patient-specific computational hemodynamics, Medical & Biological Engineering & Computing 46 (11) (2008) 1097–1112. doi:10.1007/s11517-008-0420-1.DOI
  22. [22]M. Ding, J. Ning, X. Liu, R. Mi, Y. Cai, Stenotic geometry effects on airflow dynamics and respiration for central airway obstruction, Computer Methods and Programs in Biomedicine 241 (2023) 107760. doi:10.1016/j.cmpb.2023.107760.DOI
  23. [23]J. Michaud-Dorko, E. Sundström, C. Farbos de Luzan, E. Gutmark, L. Oren, The effect of an increasing subglottal stenosis constriction that extends from the vocal folds to the inferior border of the cricoid cartilage, Journal of Biomechanical Engineering 146 (2) (2024) 021002. doi:10.1115/1.4064029.
  24. [24]B. C. Lowekamp, D. T. Chen, L. Ibáñez, D. Blezek, The design of SimpleITK, Frontiers in Neuroinformatics 7 (2013) 45. doi:10.3389/fninf.2013.00045.DOI
  25. [25]T.-C. Lee, R. L. Kashyap, C.-N. Chu, Building skeleton models via 3-D medial surface axis thinning algorithms, CVGIP: Graphical Models and Image Processing 56 (6) (1994) 462–478. doi:10.1006/cgip.1994.1042.DOI
  26. [26]W. Wang, B. Jüttler, D. Zheng, Y. Liu, Computation of rotation minimizing frames, ACM Transactions on Graphics 27 (1) (2008) 2:1–2:18. doi:10.1145/1330511.1330513.DOI
  27. [27]W. Schroeder, K. Martin, B. Lorensen, The Visualization Toolkit: An Object-Oriented Approach to 3D Graphics, 4th Edition, Kitware, Inc., 2006.
  28. [28]G. Taubin, Curve and surface smoothing without shrinkage, in: Proceedings of the IEEE International Conference on Computer Vision, IEEE, 1995, pp. 852–857. doi:10.1109/ICCV.1995.466848.
  29. [29]J. M. Bland, D. G. Altman, Agreement between methods of measurement with multiple observations per individual, Journal of Biopharmaceutical Statistics 17 (4) (2007) 571–582. doi:10.1080/10543400701329422.DOI
  30. [30]H. G. Weller, G. Tabor, H. Jasak, C. Fureby, A tensorial approach to computational continuum mechanics using object-oriented techniques, Computers in Physics 12 (6) (1998) 620–631. doi:10.1063/1.168744.DOI
  31. [31]E. R. Weibel, Morphometry of the Human Lung, Academic Press, 1963. doi:10.1016/C2013-0-08161-3.DOI
  32. [32]J. P. Van Doormaal, G. D. Raithby, Enhancements of the SIMPLE method for predicting incompressible fluid flows, Numerical Heat Transfer 7 (2) (1984) 147–163. doi:10.1080/01495728408961817.DOI
  33. [33]C. R. Harris, K. J. Millman, S. J. van der Walt, R. Gommers, P. Virtanen, D. Cournapeau, E. Wieser, J. Taylor, S. Berg, N. J. Smith, R. Kern, M. Picus, S. Hoyer, M. H. van Kerkwijk, M. Brett, A. Haldane, J. Fernández del Río, M. Wiebe, P. Peterson, P. Gérard-Marchant, K. Sheppard, T. Reddy, W. Weckesser, H. Abbasi, C. Gohlke, T. E. Oliphant, Array programming with NumPy, Nature 585 (7825) (2020) 357–362. doi:10.1038/s41586-020-2649-2.DOI
  34. [34]P. Virtanen, R. Gommers, T. E. Oliphant, M. Haberland, T. Reddy, D. Cournapeau, E. Burovski, P. Peterson, W. Weckesser, J. Bright, S. J. van der Walt, M. Brett, J. Wilson, K. J. Millman, N. Mayorov, A. R. J. Nelson, E. Jones, R. Kern, E. Larson, C. J. Carey, Í. Polat, Y. Feng, E. W. Moore, J. VanderPlas, D. Laxalde, J. Pertold, R. Cimrman, I. Henriksen, E. A. Quintero, C. R. Harris, A. M. Archibald, A. H. Ribeiro, F. Pedregosa, P. van Mulbregt, SciPy 1.0 Contributors, SciPy 1.0: Fundamental algorithms for scientific computing in Python, Nature Methods 17 (3) (2020) 261–272. doi:10.1038/s41592-019-0686-2.
  35. [35]S. J. van der Walt, J. L. Schönberger, J. Nunez-Iglesias, F. Boulogne, J. D. Warner, N. Yager, E. Gouillart, T. Yu, scikit-image contributors, scikit-image: image processing in Python, PeerJ 2 (2014) e453. doi:10.7717/peerj.453.DOI
  36. [36]C. B. Sullivan, A. A. Kaszynski, PyVista: 3D plotting andDOI
  37. [37]K. Horsfield, G. Dart, D. E. Olson, G. F. Filley, G. Cumming, Models of the human bronchial tree, Journal of Applied Physiology 31 (2) (1971) 207–217. doi:10.1152/jappl.1971.31.2.207.DOI
  38. [38]I. Dudurych, A. Garcia-Uceda, J. Petersen, Y. Du, R. Vliegenthart, M. de Bruijne, Reproducibility of a combined artificial intelligence and optimal-surface graph-cut method to automate bronchial parameter extraction, European Radiology 33 (10) (2023) 6718–6725. doi:10.1007/s00330-023-09615-y.DOI
  39. [39]S. Kaji, N. Tanabe, T. Maetani, Y. Shiraishi, R. Sakamoto, T. Oguma, K. Suzuki, K. Terada, M. Fukui, S. Muro, S. Sato, T. Hirai, Quantification of airway structures by persistent homology, IEEE Transactions on Medical Imaging 43 (8) (2024) 2758–2768. doi:10.1109/TMI.2024.3376683.DOI
  40. [40]P. W. Longest, G. Tian, N. Khajeh-Hosseini-Dalasm, M. H. H. Hindle, Validating whole-airway CFD predictions of DPI aerosol deposition at multiple flow rates, Journal of Aerosol Medicine and Pulmonary Drug Delivery 29 (6) (2016) 461–481. doi:10.1089/jamp.2015.2181.pubmed.ncbi.nlm.nih.gov/27082824
  41. [41]H. Sadafi, N. Monshi Tousi, W. De Backer, J. De Backer, Validation of computational fluid dynamics models for airway deposition with SPECT data of the same population, Scientific Reports 14 (1) (2024) 5492. doi:10.1038/s41598-024-56033-1.DOI

Paper details

vlnc:W_dvjvahd4
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
CC BY 4.0
Usage

views · 11

downloads · 1

A view counts once per browser per day, a download each time the PDF is requested.

  • Engineering

Not recorded for this paper

View statement
Looking for related papers…
Contents