← 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.
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.
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.
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
- Skull
- Spine
- Ribs
- Shoulder blades and clavicles
- Humerus
- Forearm
- Pelvis
- Femur
- Tibia and fibula
- Paws
- Unexplained mineral
Figure data as a table
| Region | Points |
|---|---|
| Skull | 2,481 |
| Spine | 10,792 |
| Ribs | 4,449 |
| Shoulder blades and clavicles | 1,219 |
| Humerus | 2,052 |
| Forearm | 936 |
| Pelvis | 3,231 |
| Femur | 2,965 |
| Tibia and fibula | 2,544 |
| Paws | 576 |
| Unexplained mineral | 1,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.
-
The scan
Everything above 300 HU: bone, the scanner bed and gut contents, with no names yet.
-
Not this animal, removed; spine traced
The bed is identified and dropped (15,310 points), and the spinal course is traced through the scan.
-
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.
-
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.
-
Spine read as beads
The unrolled spine is read disc by disc: 47 beads, from neck to tail.
-
Every piece named
Regions compete for the remaining bone, grow along it and are split at the joints.
-
M01 (0.25 h)
-
M01 (2 h)
-
M01 (4 h)
-
M02 (0.25 h)
-
M03 (0.25 h)
-
M04 (0.25 h)
-
M05 (0.25 h)
-
M06 (0.25 h)
-
M07 (0.25 h)
-
M08 (0.25 h)
-
M09 (0.25 h)
-
M10 (0.25 h)
-
M11 (0.25 h)
-
M12 (0.25 h)
-
M13 (0.25 h)
-
M14 (0.25 h)
-
M15 (0.25 h)
-
M16 (0.25 h)
-
M17 (0.25 h)
-
M18 (0.25 h)
-
M19 (0.25 h)
-
M20 (0.25 h)
Scan data as a table
| Scan | Named bone | Unexplained | Apparatus |
|---|---|---|---|
| M01 (0.25 h) | 30,462 | 2,915 | 17,266 |
| M01 (2 h) | 28,730 | 2,112 | 5,119 |
| M01 (4 h) | 32,041 | 3,824 | 24,704 |
| M02 (0.25 h) | 31,245 | 1,784 | 15,310 |
| M03 (0.25 h) | 28,730 | 2,848 | 8,164 |
| M04 (0.25 h) | 30,390 | 1,459 | 6,155 |
| M05 (0.25 h) | 32,895 | 1,731 | 4,976 |
| M06 (0.25 h) | 28,251 | 2,659 | 4,042 |
| M07 (0.25 h) | 29,112 | 1,463 | 4,121 |
| M08 (0.25 h) | 27,718 | 1,451 | 2,815 |
| M09 (0.25 h) | 30,725 | 1,152 | 2,468 |
| M10 (0.25 h) | 26,703 | 2,577 | 1,384 |
| M11 (0.25 h) | 31,286 | 1,534 | 9,977 |
| M12 (0.25 h) | 33,434 | 1,788 | 8,750 |
| M13 (0.25 h) | 31,324 | 3,515 | 8,313 |
| M14 (0.25 h) | 32,519 | 954 | 7,869 |
| M15 (0.25 h) | 40,147 | 2,154 | 6,432 |
| M16 (0.25 h) | 55,501 | 4,525 | 41,620 |
| M17 (0.25 h) | 54,889 | 3,021 | 21,331 |
| M18 (0.25 h) | 51,999 | 2,200 | 12,701 |
| M19 (0.25 h) | 48,814 | 2,022 | 11,653 |
| M20 (0.25 h) | 51,430 | 2,724 | 9,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