RESEARCH / 3 MIN READ

Can two segmentations have the same volume and still be misaligned?

Yes. Shifting a synthetic 20 mm cube by 3 mm kept its volume at 8,000 mm³ but reduced its Dice overlap score from 1.00 to 0.85. Reproduce the calculation.

A volume check that passes every time

We generated a cube of 20 × 20 × 20 voxels on a fixed 1 mm grid. It occupies 8,000 mm³. We copied the mask and shifted the copy sideways, leaving the reference fixed. All copies fit inside the grid. An export check based on volume alone reports perfect agreement at every position.

What changes with a 3 mm shift

Each step sideways replaces a slab of 20 × 20 voxels. Moving three steps leaves 1,200 reference voxels uncovered and adds 1,200 elsewhere. The two masks still share 6,800 voxels. The figure shows one slice through the cubes. One slice through two squares offset by 3 mm. The central 17 mm overlaps. A 3 mm strip belongs to each square alone.

The measured overlap

We calculated Dice as twice the shared voxel count divided by the sum of the two mask counts. At shifts of 0, 1, 3 and 5 mm, the shared counts were 8,000, 7,600, 6,800 and 6,000. Dice fell from 1.00 to 0.95, 0.85 and 0.75. Each result comes from the same-sized object and a pure translation. A thin structure or an irregular boundary can behave differently. These figures do not define an acceptable error for anatomy. These measurements describe synthetic masks on one grid.

Overlap of two 8,000 mm³ cubes on a 1 mm grid
Shift (mm)Shared voxelsDice score
08,0001.00
17,6000.95
36,8000.85
56,0000.75

Repeat the experiment

Download the Python 3 script and run python mask-alignment.py. It uses the standard library and prints the same columns as our results CSV. To try another shift, change the list in the script and keep the cube inside the grid. This is an independent synthetic calculation. It measures no patient data or Wellbeing Suite performance.

What to check in a research handover

When a model has the expected volume but appears displaced, reopen it over its reference image. Check the physical location of a known landmark, the reference grid and any transforms applied during export. Then inspect the region where the disagreement matters to the research task. Our CT segmentation export guide describes the handover check in more detail.

Further reading

Our desktop software remains in development and is not for clinical decisions.

Discuss a research evaluation with Wellbeing

More from the journal ↗