# On repeat scans, vessels appeared to shift slightly toward lung nodules labelled as cancer, even when the nodules stayed the same size

When a lung nodule appears closer to a blood vessel on a later computed tomography (CT) scan, the narrowing gap can suggest that the nodule is distorting the surrounding lung. But the nodule edge could simply have grown toward the vessel. To distinguish the two, we tracked short, vessel-like segments against landmarks in the surrounding lung. Near enlarging nodules labelled as cancer, the vessel centers started 8.1–15.5 mm from the nodule edge. They shifted toward it in 14 of 16 people, closing a median of 0.23 mm of the gap, compared with 1.65 mm from the advancing edge. Even near cancer-labelled nodules that stayed the same size, the median vessel shift closed 0.21 mm of the gap in 10 people. Near stable nodules without a cancer label, the median shift was close to zero in 173 people.

## Measuring both sides of the gap

[Wang and colleagues](https://pmc.ncbi.nlm.nih.gov/articles/PMC5880279/) measured the number and volume of blood vessels around nodules on CT. [Du and colleagues](https://www.frontiersin.org/journals/oncology/articles/10.3389/fonc.2022.713881/full) followed 55 nodules later confirmed as cancer and recorded when changes in nearby vessels became visible. To tell how much of a change in distance comes from the vessel, we need to locate it independently of the nodule edge on each scan.

We examined all 6,163 nodule-centred portions of CT scans in [the LUNA25 public development dataset, a collection of lung screening images](https://doi.org/10.5281/zenodo.14223624). Its [annotations](https://doi.org/10.5281/zenodo.14673658) identify the same nodule across rounds of the US National Lung Screening Trial. We paired successive observations of each nodule, giving 2,401 intervals, including 207 with a cancer label.

Matching individual bright spots between scans suggested that some vessels shifted inward. On a nearly straight vessel, however, the closest match in brightness can lie farther along the vessel even if it barely moved sideways. We aligned the scans using landmarks away from the nodule and took five cross-sections along each candidate vessel on the first scan. On the next scan we looked for a single continuous path through all five sections. The change in the gap played no part in choosing the path. At the middle section we measured the distance from the vessel center to the nodule edge in three dimensions. By holding the center fixed while changing the edge, and vice versa, we could separate edge advance from sideways vessel motion. For either contribution, a positive value means the gap narrowed.

## Vessel motion around enlarging and stable nodules

Of the 207 cancer-labelled intervals, 129 had adequate alignment. In 72 of these we could outline a compact nodule on both scans: the dense tissue around the marked location ended within the search area. To measure size, we used the radius of a sphere with the same volume as the outlined tissue (the equivalent radius). This radius grew by at least 1 mm in 33 intervals and changed by at most 0.5 mm in either direction in 18 intervals, which we classified as stable. Near the enlarging nodules, we identified 67 vessel-like segments on the first scan and traced 27 on the next. For 25 segments, the vessel center stayed at least 4 mm from the edge on all five sections at both visits. These segments came from 17 intervals in 16 people. Applying the same rules to 2,194 intervals without a cancer label yielded seven people with enlarging nodules and 173 with stable nodules.

Inward shifts predominated in both cancer-labelled groups. Near stable nodules without a cancer label, inward and outward shifts were about equally frequent (Table 1). Three people contributed both an enlarging and a stable cancer-labelled interval. Comparing the 13 people unique to the enlarging group with the seven unique to the stable group gave little evidence that vessel motion differed with enlargement (p = 0.21). The direction of motion was less consistent in the seven people with enlarging nodules without a cancer label.

*Table 1. Vessel motion toward the nodule edge at the middle cross-section, relative to the aligned lung. Each person contributes their median across eligible segments in a size group. “Inward” counts people whose median was positive. The motion column gives the group median and interquartile range (IQR), the middle half of the person-level measurements.*

| Nodule label and size | People | Inward | Motion, mm (IQR) | p vs zero | p vs stable non-cancer |
|---|---:|---:|---:|---:|---:|
| Cancer, enlarging | 16 | 14 | 0.23 (0.16 to 0.43) | 0.0010 | 0.0000086 |
| Cancer, stable | 10 | 9 | 0.21 (0.07 to 0.35) | 0.014 | 0.00092 |
| Non-cancer, enlarging | 7 | 5 | 0.13 (−0.24 to 0.20) | 0.94 | 0.36 |
| Non-cancer, stable | 173 | 84 | −0.005 (−0.10 to 0.08) | 0.37 | — |

We tested motion against zero with two-sided Wilcoxon signed ranks and compared groups using Mann–Whitney ranks. We excluded one person shared by the two non-cancer groups from both sides of their comparison (6 versus 172). These are exploratory, unadjusted comparisons within one screening dataset.

![Two CT images show the nodule edge and vessel center. A dot plot shows signed vessel motion for each person by nodule label and growth.](results/approach.png)

*Figure 1. Orange marks the nodule edge; the cyan ring marks the vessel center. In this example the advancing edge closed 1.77 mm of the gap and vessel motion closed 0.26 mm, measured in three dimensions. At right, points to the right of zero indicate motion toward the edge. Black marks show group medians.*

Selecting nodules for growth favors an advancing edge. In the groups selected this way, edge advance contributed more to closing the gap than vessel motion did. Among the 16 people with enlarging cancer-labelled nodules, the edge contributed more in 13 people, and the gap narrowed at 24 of the 25 vessel midpoints. Among the ten people with stable cancer-labelled nodules, the median edge contribution was only 0.01 mm despite a similar inward vessel shift.

## Tracking vessels from the later scan

If choosing vessels on the first scan made them appear to move inward on the second, choosing them on the later scan and tracking them backward could also produce an inward shift. We repeated the search in every eligible interval, using the original lung alignment in reverse. We chose vessel axes and cross-sections anew on the later scan, regardless of whether the forward search had found a match. This procedure can select different paths and people.

The direction of motion reversed in both cancer-labelled groups. Reading from later to earlier, the median vessel contribution was −0.22 mm for enlarging nodules (14 of 19 people negative) and −0.21 mm for stable nodules (9 of 10 negative). Among people measured in both directions, the forward and backward medians were +0.23 and −0.15 mm for enlarging nodules (14 people), and +0.21 and −0.18 mm for stable nodules (eight people). For stable nodules without a cancer label, the backward median stayed close to zero (−0.02 mm, 180 people). A tendency for vessels to appear farther inward on whichever scan was read second would not explain this pattern.

Image appearance also differed between groups and visits. CT measures tissue density in Hounsfield units (HU): air is near −1,000 HU, water near zero, and denser tissue has higher values. At the marked nodule center, median density rose from −184 to −18 HU in the enlarging cancer group. It changed from −142 to −139 HU in the stable cancer group and from −186 to −172 HU in the stable non-cancer group. Median spacing between CT sections at the two visits was 1.9 and 1.9 mm in the enlarging cancer group, 1.6 and 1.8 mm in the stable cancer group, and 2.0 and 2.0 mm in the stable non-cancer group. The median interval was one screening round in all groups.

## Vessels that became hard to trace

Of the 67 segments initially visible near enlarging cancer-labelled nodules, 40 lacked a unique path through all five sections on the next scan. The later nodule edge tended to come closer to the original positions of these lost paths. The shortest distance from the later edge to the original path had a median of 2.37 mm for the 40 lost paths and 7.38 mm for the 27 traced paths. The edge came within 1 mm of 10 lost paths and one traced path, consistent with the growing nodule obscuring some vessels.

A second way of locating vessels recovered some larger shifts. Instead of requiring an isolated bright region on each cross-section, we matched local brightness patterns between scans in both directions. This recovered 12 of the 40 lost paths. On one, vessel motion closed 2.12 mm of the gap and edge advance closed 6.28 mm. Across all 67 initial segments, the pattern match yielded 30 paths still clear of the nodule in 17 people. The median contributions were 1.77 mm from the edge and 0.19 mm from vessel motion; the edge contributed more in 15 of 17 people.

## Checks on the motion measurements

To see whether we could detect larger shifts when vessels remained visible, we imposed an additional 3-mm sideways shift on the 27 traced paths on the later scan. We retained 27 paths when we shifted them inward and 26 when we shifted them outward. On the retained paths, the error in recovering the added shift was under 0.04 mm. When the shift peaked at 3 mm in the middle and tapered to zero at the ends, we retained 25 paths for an inward bend and 22 for an outward bend. Bending could thus prevent a match even when the vessel remained bright.

Two of the largest apparent movements of individual bright spots illustrate why we examined several cross-sections. In case 213544, the bright spot appeared to close 2.80 mm of the gap, but the tube through it shifted inward by only 0.12–0.38 mm across five sections. In case 211965, lowering the density cutoff from −700 to −800 HU revealed a faint tube on all five sections. Its inward shifts ranged from 2.69 to 4.55 mm. Even after subtracting local drift estimated from six other landmarks, the middle section showed an inward shift of 2.52 mm.

To gauge the uncertainty of an individual measurement on real scans, we used the [RIDER collection of same-day repeat lung CT scans](https://www.cancerimagingarchive.net/collection/rider-lung-ct/). Of 28 pairs of manually outlined nodules, we used all 11 with equivalent radii at most 12 mm on both scans. Six segments in four people remained traceable with the required clearance. Their sideways shifts ranged from 0.07 to 1.78 mm. The contributions of those shifts to gap closure ranged from −0.19 to 0.29 mm. Variation between scans taken on the same day can thus be as large as the typical inward contribution measured at screening. Six segments are too few to assess a systematic inward shift across a group of screening scans.

The inward estimate around enlarging cancer-labelled nodules persisted when we changed how we located the edge or aligned the lung. When we used a higher density cutoff to define the edge, 19 segments in 15 people met the clearance rule at both cutoffs. On those segments, the median edge and vessel contributions were 1.71 and 0.21 mm at the higher cutoff, compared with 1.77 and 0.23 mm at the original cutoff. Excluding all landmarks within 10 mm of the path left 14 people with adequate alignment; their median contributions were 1.83 and 0.26 mm.

## Interpretation

At roughly a centimetre from a cancer-labelled nodule, traceable vessel centers tended to shift slightly toward the edge relative to more distant lung landmarks, even when the nodule stayed the same size. The near-zero median around stable nodules without a cancer label argues against a tracking bias common to all scans. The groups were unmatched, however, and changes in breathing or in the bright tissue marking a vessel center could mimic motion and would also reverse when the scans were read backward. These short paths show local changes in position. They cannot establish that a particular branch bent, that a nodule exerted a pulling force, or where a vessel went when the nodule edge approached and tracking failed.

## Methods

### Aligning the scans

We paired consecutive observed screening rounds for each labelled nodule, including pairs spanning a missed round. Using the physical spacing and orientation of the images, we resampled each scan on a 1-mm grid. The original spacing between sections ranged from 0.5 to 3.2 mm. We matched small image patches at lung landmarks 18–28 mm from the initial nodule annotation. The correlation between patches had to exceed 0.80 in both search directions, and the distance from the reverse match to its starting point had to be less than 1.5 mm. We required at least eight landmarks, with a spatial standard deviation of at least 3 mm even along the axis where they were least spread out. We aligned them with a robust affine transformation, which allows translation, rotation, scaling and shear while limiting the influence of poor matches. To check the fit, we left out each landmark in turn and predicted its position. The 80th percentile of these errors had to be at most 2 mm.

### Outlining the nodule

We smoothed each scan with a Gaussian filter with a standard deviation of 0.75 mm. Within 22 mm of the annotation we kept tissue above −550 HU and removed narrow connections using binary opening, which shrinks and then regrows the retained region with a 1.5-mm radius. We selected the connected region nearest the annotation. It had to come within 2.5 mm of the annotation, contain at least 16 voxels (three-dimensional image cells) and extend less than 21 mm from the annotation. We classified an increase of at least 1 mm in equivalent radius as enlargement and a change within ±0.5 mm as stable size. These definitions measure the visible dense region, whose edge can change with tissue density. The higher cutoff used to check the edge measurements was −450 HU.

### Tracing vessel paths

We reduced tissue above −700 HU to a centerline one voxel wide. We considered starting points on this skeleton within 17 mm of the annotation, beginning with those closest to the nodule edge. The main axis of the skeleton points within 4.5 mm of each starting point gave the local vessel direction. We sampled five planes perpendicular to that axis, spaced 2 mm apart. On each plane we sampled every 0.5 mm and looked for an isolated region above −700 HU with an area of 0.75–25 mm² and a peak at least 100 HU above the cutoff. To limit elongation, we required the ratio of the spatial variances along the region's principal axes to be no greater than six after regularization, an adjustment to stabilize the ratio. On the first scan, the density-weighted center of the region had to lie within 2.5 mm of the vessel axis.

We required a unique path through the sections. The centers on adjacent sections could differ by at most 2.1 mm in the plane, and all centers had to lie within 20 mm of the annotation. We skipped starting points within 5 mm of an accepted path. Using the lung alignment, we mapped the sections onto the later scan and searched within 6 mm of each original crossing, applying the same shape and continuity rules. For the alternative brightness-pattern match, we used 6-mm square patches. We required a correlation of at least 0.80, a margin of 0.08 over competing peaks and a reverse match within 0.8 mm of the starting point.

### Separating edge advance from vessel motion

Each gap was the shortest three-dimensional distance from the tube center to the outlined nodule. The primary comparison required at least 4 mm of clearance on every plane at both visits. We placed both nodule edges and both middle-section centers in the coordinate system of the later scan. First we changed the edge with the center fixed, then changed the center with the new edge fixed. We repeated the calculation in the opposite order and averaged the two estimates for each contribution. The contributions sum to the measured gap closure for each segment, although their separate medians need not sum. We summarized segments and repeated intervals within each person so that people with several visible paths had the same weight as those with a single path.
