colon & code
01Cold open

What if a CT scan
could predict your operation?

scroll to begin
02 The problem

Two trained surgeons. Same CT.
A 9 mm spread.

In our blinded validation study, two board-certified colorectal surgeons measured the inter-spinous distance on 70 paired axial CT slices. Their 95% limits of agreement spanned −6.28 to +2.94 mm — a window of more than 9 mm of legitimate disagreement between trained raters.

Inter-rater ICC (R1 vs R2)
0.962
Two-way random, absolute agreement, single measures.
Mean bias (R1 − R2)
−1.67mm
Systematic shift between raters, not random noise.
95% LoA spread
9.22mm
From −6.28 to +2.94 mm. Wider than the ISD range that distinguishes a "narrow" pelvis from a normal one.

At this much human variability, you cannot tell a difficult pelvis from an easy one by manual measurement alone.
And no model built on top of unstable measurements can be trusted.

03 The pipeline

One CT, in. Reproducible numbers, out.

Auto-ISD takes a pelvic CT in NIfTI format and runs a deterministic pipeline: bone segmentation, femur-anchored search window, ISD profile sweep, valley detection, compartment metrics. No manual landmarks. No vendor preprocessing.

~/auto-isd · Patient_011.nii.gz
04 The algorithm

Sweep every slice. Find the narrowest.

For every axial slice in a femur-anchored window, Auto-ISD measures inter-spinous distance, smooths the profile, and selects the slice at the narrowest local minimum. When no clear valley exists, it falls back to the longest plateau.

Sweep every slice. Find the narrowest.

Scan
Loading anatomy
05 · 3D anatomical reconstruction
Case A. A fat-rich pelvis.
ISD 94.4 mm · z=25 · valley
drag to rotate · two-finger pinch on mobile
06 Beyond ISD

ISD is a starting point. Not a verdict.

Inter-spinous distance describes the pelvis at one slice. To predict surgical difficulty, the algorithm also computes the pelvic posterior compartment: the region a TME surgeon actually works in.

Posterior pelvic triangle area

The floor of the operative field.

Triangle bounded by the bilateral ischial spines and the most anterior point of the sacrum. Captures both the transverse narrowing (ISD) and the anteroposterior depth in a single geometry.

cohort mean 15.25 cm² · auto-vs-manual ICC 0.893
ISD-L ISD-R sacrum ISD
Mid-pelvic anteroposterior distance (mAPD)

How deep is the corridor.

Measured at the same axial slice as ISD: the AP span between hip bone and sacrum near the midline. Different metric from triangle depth, captures the AP dimension complementing ISD's transverse one.

cohort mean 108.96 mm · contrast-vs-noncontrast ICC 0.92
hip bone sacrum mAPD
Posterior pelvic fat area (pPFA)

Why two identical bony pelvises aren't.

Patients with the same ISD can present with very different operative conditions. The pelvic fat occupying the triangle reduces the surgeon's actual working space. pPFA quantifies that occupancy directly from torso fat segmentation.

cohort mean 7.62 cm² · contrast robustness ICC 0.87
pPFA fat occupies the triangle
Working space

What's left for the surgeon.

Triangle area minus bowel and fat occupancy. The residual space theoretically available for instrument maneuvering during posterior mesorectal dissection. A composite of geometry and tissue.

cohort mean 5.54 cm² · contrast robustness ICC 0.90
bowel working space
07 Validation

Better than two surgeons agree with each other.

Across 70 cases of blinded manual annotation by two board-certified colorectal surgeons, the automated pipeline's agreement against the manual reference exceeded the agreement between the two raters themselves. Bland–Altman, ICC, and contrast-robustness analyses are in the IJCARS paper.

Auto vs manual · ISD
0.977ICC
Bias 0.45 mm. 95% LoA −3.83 to +4.74 mm. Higher than the inter-rater ICC of 0.962.
Auto vs manual · triangle area
0.893ICC
Three landmarks instead of one accumulate localization error. Still good-to-excellent agreement, no significant systematic bias.
Contrast vs non-contrast · ISD
0.99ICC
69 paired CT acquisitions. Mean bias 0.09 mm. Same patient, contrast or not, same number out.
Pipeline success rate
100%
73 contrast-enhanced cases. 95.8% on non-contrast, with predefined failure handling for the rest.
08 The author
SF

Shih-Feng Huang, MD

Colorectal surgeon · KVGH · PhD candidate, NCKU

Robotic colorectal surgery practice at Kaohsiung Veterans General Hospital. Building the surgical-data-science layer that connects pre-operative CT, intra-operative video, and post-operative outcome — one open pipeline at a time.