The pathology is not the input.
It is the absence of normal form.
Parallax Pathology is a deterministic, training-free structural measurement system for H&E histology. It learns what normal tissue looks like and measures how far any patch deviates from that. No labels required. No black box. Every output is traceable to a specific geometric property. It turns pathology from a classification problem into a measurable structural state space.
METHOD
A deterministic structural metric set for H&E Histology
Most computational pathology work trains CNNs or transformers to classify patches as "tumor vs. normal" etc. This instead asks: how is structure geometrically organized? It's more like a physics-style measurement system than a classification pipeline. The name "Parallax Pathology" hints at the philosophy, parallax is about viewing the same thing from multiple angles to get depth.
60
deterministic scalar outputs per patch
0
learned parameters
1,800
patches validated, CRC-VAL-HE-7K
84.2%
9-class accuracy, no training data
The instrument
Sixteen theories applied simultaneously
Each image is interrogated by sixteen independent structural theories — different perceptual channels, different mathematical definitions of what structure means. Agreement across theories is evidence. Disagreement is information.
Layer 01
Kernel Primitives
Nine geometric scalars on the confirmed edge field and baseline: centroid offset, void ratio, cohesion, spatial dispersion, packing density, peripheral pull, orientation coherence (θ), structural thickness.
Layer 02
Mask Coherence
16 structural theories compared: Ω (cross-mask agreement), Γ (boundary permissiveness), Δᵣ (luminance–chromatic disagreement), Β (blind spot mass). The disagreement in theories is the output.
Layer 03
Structural Complexity
G1 centroid wander, G2 void topology and gland morphology, G3 contour curvature, G4 orientation entropy slope across scale, Structural Coherence Index.
Layer 04
Radial Compliance
How structural mass organizes relative to frame center versus its own center of gravity. Captures self-organizing versus frame-locked architecture.
Layer 05
Tonal Structure
LAB L* partitioned into shadow mass (dense nuclei), midtone mass (cytoplasm, stroma), and highlight mass (mucin, necrosis, open architecture). Strongest single-metric discriminator: F=604.
Layer 06
Structural Position (Ω)
Class-conditional weighted distance from per-tissue structural norms. Returns nearest class, deviation scalar, and axis-level explanation. The memory layer — what the tissue is supposed to do.
The structural expectation layer
Memory of form
The instrument has no value without something to measure against. The Ω layer provides that: a reference distribution encoding what each tissue type is supposed to look like — and how tightly it must hold to that form.
"The system did not need a better metric. It needed a memory of what structure was supposed to be."
How the reference works
For each tissue class, the reference encodes three things: the mean structural position across 200 labeled patches, the per-axis variance (how tightly that class holds to each structural property), and the variance-inverse weight (which axes define that class versus which vary freely).
Low variance on an axis means the class is tightly defined there. Deviation on a tight axis contributes heavily to Ω. Deviation on an axis the class varies widely on barely registers.
Ω_c(x) = √( Σᵢ w_{c,i} · (xᵢ − μ_{c,i})² )
Where w_{c,i} = 1/(σ²_{c,i} + ε). Tighter classes penalize deviation more. Each tissue type defines its own structural rules.
| Class | Defining Axis | Weight | Meaning |
|---|---|---|---|
| LYM | θ (orientation) | 6,388 | Must be isotropic — any direction fails |
| NORM | θ (orientation) | 4,126 | Crypts produce omnidirectional gradients |
| TUM | θ (orientation) | 1.796 | Tumor lacks dominant direction |
| MUC | k_rv (void) | 635 | Mucus is defined by being mostly empty |
| ADI | k_rv (void) | 817 | Fat vacuoles are structurally empty |
| MUS | θ (orientation) | 166 | Fibers are directionally committed |
θ dominates 6 of 9 classes. Orientation coherence is the structural spine of the system — derived from the data, not designed in.
| Class | Canonical Range | Deviant Range | Primary Failure | Structural Drift |
|---|---|---|---|---|
| ADI | 0.35 – 0.76 | 4.64 – 7.63 | Δᵣ ↑ | → MUC | \
| LYM | 0.81 – 1.41 | 3.06 – 6.02 | k_rv ↑ | → STR |
| MUC | 0.82 – 1.22 | 3.72 – 4.91 | k_rv ↓ | → ADI |
| MUS | 0.60 – 1.01 | 3.79 – 4.67 | θ ↓ | → STR |
| NORM | 0.56 – 0.99 | 3.96 – 4.72 | Δᵣ ↑ | → STR / MUC |
| STR | 0.51 – 1.25 | 3.83 – 4.59 | Δᵣ ↑ | → MUC |
| TUM | 0.32 – 0.78 | 3.99 – 5.71 | Δᵣ ↑ | → STR |
What Ω reveals
The gap between canonical and deviant
Across all seven clinical classes, canonical patches (bottom 10% Ω) and deviant patches (top 10% Ω) occupy completely non-overlapping ranges. The separation is not designed — it emerges from the variance-weighted distance structure.
Drift direction = most common nearest class among top 10% deviant patches. Visual inspection confirmed all seven classes.
Key finding — TUM
When tumor stops being tumor
The most clinically significant result in the validation: deviant tumor patches do not fail randomly. They fail in two geometrically distinct ways — and each way maps to a recognized biological phenomenon, detected without a single labeled example of either.
Failure mode 01
Density loss
Highlight mass jumps from 0.229 (canonical) to 0.54–0.61. Gamma spikes to 0.60–0.67. The tumor field opens. Dense epithelial sheets give way to optically permissive space.
Geometric signature of mucinous differentiation, intratumoral necrosis, or poorly cohesive growth — recognized histological subtypes with distinct biological behavior.
highlight ↑ +0.220
gamma ↑ +0.205
midtone ↓ −0.236
Failure mode 02
Directional acquisition
θ jumps to 0.12–0.13 — nearly five times the canonical TUM mean of 0.024. These patches have acquired directional structure that tumor normally lacks entirely.
Geometric signature of desmoplastic reaction: host stromal fibrosis within the tumor field, the fibrous matrix of the tumor microenvironment displacing the epithelial architecture. Associated with invasion and poor outcomes.
θ ↑ ×5 vs canonical
Δᵣ ↑ +0.023
Both phenomena were detected without training on mucinous carcinoma, necrosis, or desmoplastic reaction. The system identified them through geometry alone, density loss registers as a highlight mass and gamma shift; desmoplasia registers as a θ acquisition.
The explainability advantage
The why is built into the measurement
Standard deep learning produces confident predictions without structural explanation. Every output from this system is traceable to a specific geometric relationship between specific channels.
Deep learning output
class: TUM
confidence: 94.3%
explanation: —
Parallax output
nearest class: TUM
Ω distance: 4.71
primary axis: highlight_mass ↑
contribution: 46.2%
reading: cellular density failing
The explanation is not post-hoc attribution. It is the measurement itself. A pathologist can read the axis output, recognize the structural property it refers to, and evaluate whether the measurement corresponds to what they see in the image.
Applications
Where this system has teeth
This is not a replacement for deep learning. It is a complementary instrument that does what deep learning does not — deterministic structural measurement, label-agnostic positioning, and deviation detection without pathological training examples.
◈
Rare disease and low-data settings
Building a reference requires only normal tissue examples — not labeled pathological ones. Normal tissue is almost always more available than labeled rare-disease datasets. A small lab can build a structural normal reference and immediately begin quantifying deviation in their cases of interest.
◉
Interpretability layer for deep models
The 60 deterministic outputs per patch form a structured, biologically meaningful feature representation. Concatenated with a foundation model's embedding, or used to explain its predictions, the structural vector adds interpretable geometry to high-accuracy learned representations.
⊚
Continuous structural metrics
Ω is a continuous scalar — a distance, not a class. Multiple measurements over time produce a structural trajectory. Tissue drifting toward a pathological state shows increasing Ω before a defined diagnosis is possible. This is underexplored in computational pathology.
◎
Out-of-distribution detection
Deep models classify confidently within their training distribution — and fail confidently outside it. This system has no training distribution. High Ω on an unseen tissue type means "this does not fit any known structural regime" — the correct output, not a misclassification.
⊗
Dysplasia as measurement
Clinical pathology describes dysplasia as disordered growth and judges it qualitatively. Structural dissonance — the axis-decomposed Ω score — offers a geometric operationalization of the same property, with known inter-observer variability replaced by a deterministic scalar.
⊕
Library of normals
The reference architecture generalizes across tissue types. Build a normal reference for breast, skin, or kidney — and pathological cases surface as deviations from that reference, without labeled examples of the pathology itself. One architecture, any tissue.
Research paper
Parallax Pathology:
A Deterministic Structural
Expectation Framework
We introduce Parallax Pathology, a deterministic, training-free structural measurement system for H&E stained histology images. The system applies sixteen independent structural theories simultaneously and measures the pattern of agreement and disagreement across those theories. A structural expectation layer (Ω) computes class-conditional weighted distance from per-tissue-type structural norms derived from a reference corpus, providing a continuous scalar measure of structural deviation with axis-level explanation.
On CRC-VAL-HE-7K (1,800 Macenko-normalized 224px patches, 9 tissue classes), the system achieves 84.2% nine-class linear accuracy without any training, and produces visually confirmed structural separation between canonical and deviant patches across all seven clinical classes. A key finding is that deviant tumor patches stratify into two geometrically distinct failure modes corresponding to mucinous/necrotic differentiation and desmoplastic stromal reaction — detected through geometry alone.
Get the instrument
Everything needed to run it
Two notebooks, one reference file, one enriched dataset. Deterministic — the same image produces the same output on every run.
Single-image notebook
Full visual output — mask grid, kernel primitives bar chart, structural complexity curves, radial compliance, tonal structure, structural position Ω. Drop in any H&E image and run.
Batch runner
Process directories of images, output a master CSV with all 60 metrics and Ω distances for every patch. Includes the Ω Reference Builder — point it at a labeled corpus to generate your own reference.
Ω reference — colorectal
Structural expectation reference built from CRC-VAL-HE-7K. Per-class mean, variance, and weight vectors for 6 metrics across 9 tissue types. Drop into /content/ and Ω fires automatically.
Validation dataset
All 1,800 CRC-VAL-HE-7K patches enriched with the full 60-metric output plus Ω distances to all 9 reference classes. All tables and figures in the paper are reproducible from this file alone.