Skip to the nodule volume 3d demo

Medical AI lab · Nodule volume in 3D ·

Nodule volume and slice thickness: 3D demo

The volume a CT segmentation reports for a small nodule depends on the slice thickness and on where the slices happen to fall, so the same nodule can measure differently on two scans. In this demo an unchanged 8 mm synthetic nodule with a true volume of 254 mm³ measures 250 mm³ on 1 mm slices and 189 mm³ on 5 mm slices, an error of −26%. On 5 mm slices two scans of it can differ by 58%, more than the 25% volume change the British Thoracic Society guideline on pulmonary nodules (2015) uses to define significant growth.

In one line: An unchanged 8 mm nodule measures 189 mm³ against a true 254 mm³ on 5 mm slices, and two such scans can differ by 58%; on 1 mm slices the gap is 3%.

SYNTHETIC DATA

These demos are illustrative. Every signal, image, patient and note is synthetic and fictional, generated and scored in your browser, and every number shown is computed from that synthetic data. They show general principles, not the performance of any real model, product or project, and none of them is a medical device.

Nothing is uploaded. No patient data is used.

07

Medical imaging AI / 3D measurement

Same nodule. Different volume.

What this shows: the volume a CT segmentation reports depends on the slice thickness and on where the slices happen to fall. On thick slices, two scans of a nodule that has not changed can differ by more than the change used to call growth.

Change the scan

Slice position shifts the slices along the scan axis by a share of one slice, as happens when the patient lies a little differently. The nodule itself never changes. In-plane pixels are 0.7 mm, and a voxel is kept when at least half of it is nodule.

The nodule and the slices the scan keeps

3D · drag to rotate

Blue: slices kept by the segmentationWhite dashed: true surface

Drag to rotate, or focus the view and use the arrow keys.

True volume—
Measured volume—
Measurement error—
Largest gap between two scans—

Synthetic data · illustrative · not a medical device

Where this matters

Follow-up of lung nodules, lesions and any structure whose growth is judged from its volume. Baseline and follow-up need the same slice thickness and reconstruction, and a growth call should be compared with the measurement variability expected at that size. The 25% figure is the volume change the British Thoracic Society guideline on pulmonary nodules (2015) uses to define significant growth.

What this experiment models

One slightly lobulated synthetic nodule, the same shape at every diameter, sampled on a fine grid. A scan divides space into voxels of 0.7 × 0.7 mm in the slice plane and the chosen thickness along the scan axis. Each voxel holds the share of its volume that is nodule, which is the partial-volume effect, and the segmentation keeps voxels that are at least half nodule. Measured volume is the number of kept voxels times the voxel volume. The largest gap between two scans is the highest measured volume over the lowest across twenty slice positions. Real scanners add reconstruction kernels, noise and motion, and real segmentations differ; the demo isolates slice thickness and position only. The 3D view is drawn on a plain canvas and needs no plug-in.

The principle

How it works

The nodule is one slightly lobulated synthetic shape, the same at every diameter, and its true volume is known. A scan cuts space into voxels: 0.7 × 0.7 mm in the slice plane and the chosen thickness along the scan axis. A voxel on the edge of the nodule is only partly filled, and its value is the average of nodule and lung. This is the partial-volume effect. The segmentation here keeps a voxel when at least half of it is nodule, and the measured volume is the number of kept voxels times the voxel volume.

With thin slices the edge voxels are small, so the kept voxels follow the surface closely. With thick slices a single voxel can span most of the nodule’s height, and whether it is kept depends on where the slice boundaries fall. The slice position slider moves those boundaries by a share of one slice, as happens when a patient lies a few millimetres differently on the table. The 3D view shows the kept slices as blue slabs inside the true surface, drawn as a white dashed outline; drag it to see the staircase from the side.

Growth of a nodule is judged from the change in volume between two scans, and the British Thoracic Society guideline on pulmonary nodules (2015) defines significant growth as a change of 25% or more. If the measurement itself can move by more than that, an unchanged nodule can be reported as growing and a growing one as stable. That is why volumetry needs thin slices, the same protocol at baseline and follow-up, and a stated measurement variability for the nodule size in question. See medical imaging AI.

Worked example

A nodule that grew between two scans

Picture a follow-up programme for small lung nodules. A patient has a baseline CT and a follow-up some months later, at a different site with a different protocol. Software segments the nodule on both scans and reports the volume, and the report compares the two numbers.

The demo’s default settings are the thick-slice scan: an 8 mm nodule with a true volume of 254 mm³, 5 mm slices and slice position 0%. One slice is kept, the measured volume is 189 mm³ and the measurement error is −26%. The 3D view shows why: a single slab whose flat top and bottom cut off the rounded ends of the nodule.

Now move the slice position slider and leave everything else alone. The nodule does not change, but at 45% two slices are kept and the measured volume is 299 mm³, an error of +18%. Across all positions the measured volume runs from −26% to +18% of the true volume, and the largest gap between two scans reads +58%. A change of that size between baseline and follow-up would be reported as clear growth.

Press Thin 1 mm. Nine slices are kept, the measured volume is 250 mm³ and the error is −2%. Across all slice positions it runs from −4% to −1%, and the largest gap between two scans is 3%. With Standard 2.5 mm the gap is 10%. Size matters as well: at 5 mm slices the gap is 27% for a 6 mm nodule and 7% for a 12 mm nodule, and a 4 mm nodule is not segmented at all at some slice positions.

The correct practice is to treat volume as a measurement with an error. Use thin slices for volumetry, keep slice thickness and reconstruction the same at baseline and follow-up, and record them with the result. Know the variability to expect for the nodule size and protocol in use, and compare any reported change with it before calling growth. A model or software validated on thin-slice data should be validated again before it is used on thick slices.

Checklist

What to check in your own project

  • Are baseline and follow-up acquired and reconstructed with the same slice thickness and kernel?
  • Is the slice thickness thin enough for the smallest nodule you intend to measure?
  • Do you know the repeat-scan variability of the volume for each nodule size and protocol in use?
  • Is a reported change compared with that variability before it is called growth or shrinkage?
  • Was the segmentation software or model validated on the slice thicknesses used in practice?
  • Are slice thickness, pixel size and reconstruction recorded next to every volume?

Related: our medical imaging AI service, the wiki page on medical AI validation, and the demos on Dice score vs clinical error and scanner shift.

FAQ

Common questions

Why does the same lung nodule measure differently on two CT scans?

Because the measured volume depends on the scan as well as on the nodule. Voxels on the nodule’s edge are only partly filled, and with thicker slices or a small shift in slice position a different set of voxels is counted. In this demo an unchanged 8 mm nodule measures between −26% and +18% of its true volume on 5 mm slices, depending only on where the slices fall.

How does CT slice thickness affect nodule volume measurement?

Thicker slices make each edge voxel larger, so the measurement becomes coarser and more sensitive to slice position. In this demo the largest gap between two scans of the same 8 mm nodule is 3% at 1 mm slices, 10% at 2.5 mm and 58% at 5 mm. The effect is stronger the smaller the nodule is relative to the slice.

How much volume change counts as real growth in a lung nodule?

The British Thoracic Society guideline on pulmonary nodules (2015) defines significant growth as a volume change of 25% or more. That criterion assumes the measurement is repeatable to within less than 25%. The demo shows a case where it is not: on 5 mm slices two scans of an unchanged 8 mm nodule can differ by 58%. This is general information, not medical advice.

What is the partial-volume effect in CT?

A voxel that contains both nodule and surrounding lung shows the average of the two, so the edge of a structure is blurred over one voxel. A segmentation has to decide whether each edge voxel counts, and that decision changes the measured size. The larger the voxel relative to the structure, the larger the effect.

Can an AI segmentation model fix thick-slice volume errors?

Only partly. A model can estimate the boundary inside a voxel better than a fixed cut-off, but the information lost by averaging over a thick slice is not in the image. The reliable fix is at acquisition: thin slices and the same protocol at every time point, with the model validated on the protocols it will meet.

Medical AI lab

More demos

01 / Heart rate from ECGHeart rate from a noisy ECG – interactive demoMissed and false beats behind a correct average02 / Patient leakagePatient-level data leakage – interactive demoRecord-level vs patient-level train/test splits03 / Calibration & thresholdsCalibration and decision thresholds – interactive demoCalibration plot, decision curve and net benefit04 / Scanner shiftScanner shift in medical imaging – interactive demoSegmentation tuned on one scanner, tested on another05 / Dice vs clinical errorDice score vs clinical error – interactive demoDice, HD95 and lesions detected06 / Note de-identificationDe-identifying a clinical note – interactive demoEnglish, Hebrew and mixed notes vs a rule-based detector08 / Sample sizeSample size for validating a clinical AI model – interactive demoHow wide the interval is around a measured sensitivity09 / SubgroupsHidden subgroup failure in clinical AI – interactive demoA good overall score next to a weak subgroup10 / Slice-by-slice 3DSlice-by-slice segmentation of a 3D lesion – 3D interactive demoA high per-slice Dice and a lesion reported in pieces11 / Predictive value 3DPositive predictive value and prevalence – 3D interactive demoWhat a positive result means when the condition is rare12 / Shortcut learningShortcut learning in medical imaging AI – interactive demoA model that reads the hospital tag, not the disease13 / DriftModel drift and performance monitoring – interactive demoHow late a monitoring rule notices a slow decline14 / Alert burdenAlert burden of a clinical early-warning model – interactive demoA threshold counted in alerts per nurse per shift

MLAIA DATA SCIENCE

Tell us what
you’re working on.

Share the problem, the data you have and what success would look like. We’ll discuss a practical next step.

Please don’t include confidential datasets, credentials or patient information.

yochai@mlaia.com
WhatsApp: +972 52 484 6282

Your inquiry is handled under our Privacy Policy.