← All projects Case study Researching

Skeletal deduction

Reading a mouse skeleton from CT alone

A twenty-two-step chain of deductions that finds the spine, orients the body, and assigns limbs, ribs, pelvis, and joints from a micro-CT scan — with no atlas and no learned weights.

2026 Sole developer of the pipeline, scorers, and review tooling Active research pipeline; figures are from version V100 (15 Oct 2026)

Cover — drawn from the record. Deduced spinal course, 60 rib arcs, and 47 vertebral beads for CC0 scan M02 — the pipeline's own geometry, drawn from above.
  1. Problem

    Segmenting a mouse skeleton from CT usually means registering to an atlas or training a network on labelled scans, and a black-box result is hard to check.

  2. My contribution

    I built a pipeline of twenty-two explicit steps, each reading named inputs and writing a named, reviewable output, plus independent scorers and native-CT review pages for every step.

  3. Outcome

    On 22 public CC0 scans from a different source than its development data, V100 found the head end on all 22 and explained a median 97.4% of human-labelled bone. Where it still falls short — vertebra counting — is measured and stated.

Figure — drawn from the record

A shaded 3D view of a mouse skeleton from a public micro-CT scan, head end on the left, seen from above and to one side. Each piece of bone is coloured by the region the pipeline named: skull, spine, ribs, shoulder blades, humerus, forearm, pelvis, femur, tibia and paws. Mineral it could not assign, mostly in the gut, is purple.
  • Skull
  • Spine
  • Ribs
  • Shoulder blades and clavicles
  • Humerus
  • Forearm
  • Pelvis
  • Femur
  • Tibia and fibula
  • Paws
  • Unexplained mineral
One public scan, every piece of bone named. Scan M02 (0.25 h) from the Rosenhain 2018 native (figshare c.4224377, CC0) collection, pipeline V100 (15 Oct 2026): the CT surface at 300 HU, coloured by the region the pipeline deduced for it. The scanner bed it identified is left out. Purple is mineral it could not assign rather than forcing it into a bone. The public labels mark bone versus not-bone only, so each colour is the pipeline's claim, not a checked fact.
Figure data as a table
Deduced points by region, scan M02 (0.25 h)
RegionPoints
Skull2,481
Spine10,792
Ribs4,449
Shoulder blades and clavicles1,219
Humerus2,052
Forearm936
Pelvis3,231
Femur2,965
Tibia and fibula2,544
Paws576
Unexplained mineral1,784
Scanner apparatus (left out)15,310

Input checksum ae171c572c56…; 0.3 mm voxels; rendered by scripts/evidence/mouse_render.py, which refuses any non-CC0 input.

How it gets there. The same scan at 6 points in the chain. Each panel is drawn from that step's own output: the traced course, the ordered ribs, the limb chains and joint points, the spinal beads.
  1. The scan

    Everything above 300 HU: bone, the scanner bed and gut contents, with no names yet.

  2. Not this animal, removed; spine traced

    The bed is identified and dropped (15,310 points), and the spinal course is traced through the scan.

  3. Head end and ribs in order

    The braincase and the rib cage agree on the head end; 22 ribs are ordered into 11 pairs by where they attach.

  4. Limb pairs and joints

    Each limb family is solved as an exact left-right pair, then 12 joint points are placed: hips, shoulders, knees, elbows, ankles and wrists.

  5. Spine read as beads

    The unrolled spine is read disc by disc: 47 beads, from neck to tail.

  6. Every piece named

    Regions compete for the remaining bone, grow along it and are split at the joints.

All 22 public scans, same view, none left out. Where a colour is wrong it is shown wrong: on M16 a forelimb is named as rib, and on M01 (2 h), M15 and M16 the paw region runs up the lower hind leg.
  1. Scan M01 (0.25 h), coloured by deduced region M01 (0.25 h)
  2. Scan M01 (2 h), coloured by deduced region M01 (2 h)
  3. Scan M01 (4 h), coloured by deduced region M01 (4 h)
  4. Scan M02 (0.25 h), coloured by deduced region M02 (0.25 h)
  5. Scan M03 (0.25 h), coloured by deduced region M03 (0.25 h)
  6. Scan M04 (0.25 h), coloured by deduced region M04 (0.25 h)
  7. Scan M05 (0.25 h), coloured by deduced region M05 (0.25 h)
  8. Scan M06 (0.25 h), coloured by deduced region M06 (0.25 h)
  9. Scan M07 (0.25 h), coloured by deduced region M07 (0.25 h)
  10. Scan M08 (0.25 h), coloured by deduced region M08 (0.25 h)
  11. Scan M09 (0.25 h), coloured by deduced region M09 (0.25 h)
  12. Scan M10 (0.25 h), coloured by deduced region M10 (0.25 h)
  13. Scan M11 (0.25 h), coloured by deduced region M11 (0.25 h)
  14. Scan M12 (0.25 h), coloured by deduced region M12 (0.25 h)
  15. Scan M13 (0.25 h), coloured by deduced region M13 (0.25 h)
  16. Scan M14 (0.25 h), coloured by deduced region M14 (0.25 h)
  17. Scan M15 (0.25 h), coloured by deduced region M15 (0.25 h)
  18. Scan M16 (0.25 h), coloured by deduced region M16 (0.25 h)
  19. Scan M17 (0.25 h), coloured by deduced region M17 (0.25 h)
  20. Scan M18 (0.25 h), coloured by deduced region M18 (0.25 h)
  21. Scan M19 (0.25 h), coloured by deduced region M19 (0.25 h)
  22. Scan M20 (0.25 h), coloured by deduced region M20 (0.25 h)
Scan data as a table
Deduced points per scan
ScanNamed boneUnexplainedApparatus
M01 (0.25 h)30,4622,91517,266
M01 (2 h)28,7302,1125,119
M01 (4 h)32,0413,82424,704
M02 (0.25 h)31,2451,78415,310
M03 (0.25 h)28,7302,8488,164
M04 (0.25 h)30,3901,4596,155
M05 (0.25 h)32,8951,7314,976
M06 (0.25 h)28,2512,6594,042
M07 (0.25 h)29,1121,4634,121
M08 (0.25 h)27,7181,4512,815
M09 (0.25 h)30,7251,1522,468
M10 (0.25 h)26,7032,5771,384
M11 (0.25 h)31,2861,5349,977
M12 (0.25 h)33,4341,7888,750
M13 (0.25 h)31,3243,5158,313
M14 (0.25 h)32,5199547,869
M15 (0.25 h)40,1472,1546,432
M16 (0.25 h)55,5014,52541,620
M17 (0.25 h)54,8893,02121,331
M18 (0.25 h)51,9992,20012,701
M19 (0.25 h)48,8142,02211,653
M20 (0.25 h)51,4302,7249,491

Same renderer and settings for every scan: scripts/evidence/mouse_render.py.

A mouse skeleton in a CT scan is bright, but brightness alone does not say which piece is a femur, a rib, or the holder the animal lies on. I built a pipeline that answers those questions by deduction rather than by registration or training: every step reads named inputs from the scan and from earlier steps, and writes a named output that can be inspected on its own.

The chain

The spinal course is traced through the whole scan first. Anything that is positively evidenced as not this animal — the scanner bed, a neighbour — is removed next; absence of evidence is never enough to discard bone. The braincase and the rib cage decide which end is the head, the hip bones anchor a frame along the course, and each limb family is assigned as an exact pair before hip, shoulder, elbow, and knee points are placed. Shoulder blades are found on the back of the rib cage. Regions then compete for the remaining mineral, grow along thick bone, and are split at the joints: knees and elbows by the largest balls that fit each bone near the joint, ankles and wrists by a plane through the paw. Ribs are ordered by where they leave the vertebrae, the body outline is cut back to this animal alone, and the unrolled spine is read as a string of beads.

How changes are admitted

Every change to inference starts with a synthetic phantom that includes distractors, then a matched control run that reproduces the previous version exactly, then a scorecard across every evaluation-only scorer, and finally a visual review on native CT slices. Result roots are never overwritten, and negative results stay with their runs. Human landmarks and reference labels are used only to evaluate, never to fit.

External check

The figures and numbers on this page come only from the Rosenhain 2018 native micro-CT collection, which is published under CC0. Nothing in the pipeline is fitted to it, but its scores are consulted when a new version is promoted, so it is an external check rather than a pristine held-out test. It includes human bone labels for some scans, which makes an independent bone/not-bone check possible.

Why it matters

The method is slower to build than a network, but every decision is named, testable, and reversible, which matters when there is almost no labelled data and the result has to be trusted by someone who did not write it.

Built with

  • Python
  • NumPy
  • SciPy
  • nibabel
  • Three.js review pages