Lab book · TRIDENT colour-profile rerun · built by scripts/04_labbook_icc.py

TRIDENT on paired PLISM scans, with each scan's embedded colour profile applied

Same 26 scans, TRIDENT commit, weights, settings, fields and scoring as the original TRIDENT study (../trident-plism). One change: every region TRIDENT reads is converted from the scan's embedded profile ("AT2" or "Segue_v2") to sRGB. Applied, the profiles take Otsu from 28 to 4 switched fields of 156, GrandQC from 1 to 0 and HEST from 6 to 0. HEST with artifact removal goes from 26 to 53.

1. Record

armsegmenterdeviceconversionregion readsprofiles appliedtime
gate_otsuotsucpuFalse1,088none2 min
gate_grandqcgrandqcmpsFalse750none46 min
icc_otsuotsucpuTrue1,088AT2, Segue_v22 min
icc_grandqcgrandqcmpsTrue750AT2, Segue_v238 min
icc_hesthestmpsTrue59,404AT2, Segue_v28.1 h
icc_hest_artifactshestmpsTrue82,412AT2, Segue_v217.6 h

2. Gate

With the wrapper on and conversion off, Otsu and GrandQC regions equal the original study's on all 26 scans each (zero symmetric difference). The wrapper alone changes nothing. Pass.

3. Fields switched, of 156

segmenteroriginal (AT2-only / GT450-only)profile appliedGT450/AT2 tissue area, original: median [range]profile applied
Otsu28 (18 / 10)4 (2 / 2)0.933 [0.596, 8.405]1.018 [0.944, 1.074]
GrandQC1 (0 / 1)0 (0 / 0)0.992 [0.975, 1.048]0.995 [0.987, 1.008]
HEST6 (3 / 3)0 (0 / 0)0.978 [0.941, 1.144]1.020 [0.996, 1.050]
HEST + artifact removal26 (10 / 16)53 (6 / 47)0.998 [0.802, 1.990]1.324 [1.271, 1.621]

AT2-only is a field admitted on AT2 and not on GT450; GT450-only the reverse. No region in any colour-profile arm fell below 10% of its pair.

4. Fields admitted

segmenteradmitted on AT2, original → profileon GT450on bothAT2 decisions changedGT450 decisions changed
Otsu142 → 147134 → 147124 → 1451315
GrandQC155 → 156156 → 156155 → 15610
HEST152 → 155152 → 155149 → 15533
HEST + artifact removal130 → 101136 → 142120 → 954516

5. HR, the section where artifact removal took most of the tissue originally

segmenterHR tissue mm², AT2 / GT450, originalprofile applied
Otsu19.8 / 166.0161.6 / 165.3
GrandQC184.5 / 193.3195.4 / 193.6
HEST146.9 / 168.1170.8 / 173.4
HEST + artifact removal20.6 / 40.9106.6 / 166.3

6. The artifact step, by section

Tissue area after artifact removal as a share of the HEST region before it, in the same colour handling. Areas come from each arm's own regions.

sectionAT2 kept, originalGT450 kept, originalAT2 kept, profileGT450 kept, profileswitched with profile, AT2-only / GT450-only
GIV91%95%62%92%0 / 6
GIVH96%98%79%99%1 / 0
GM88%83%61%75%2 / 3
GMH97%101%79%100%0 / 2
GV90%99%74%97%0 / 5
GVH97%100%75%99%1 / 1
HR14%24%62%96%0 / 5
HRH95%99%77%98%0 / 4
KR85%99%76%95%0 / 3
KRH97%100%74%98%0 / 4
LM79%77%46%69%0 / 6
LMH95%100%70%99%0 / 5
MY89%72%48%75%2 / 3
all, pooled area86%88%68%92%6 / 47

With the profile applied, the artifact step keeps a smaller share of AT2 tissue than in the original run on 12 of 13 sections; HR is the exception, where it keeps more on both scanners. GT450's share moves by at most 8.2 percentage points from its original value except on HR. The result is a GT450 region larger than the AT2 region on 13 of 13 sections, and 47 of the 53 switched fields are admitted on GT450 only. HEST alone switches 0 fields under the same conversion, so the added switches come from the artifact step. For reference, on 2000-pixel OpenSlide thumbnails with the profiles applied, AT2 tissue is brighter than GT450 tissue on 13 of 13 sections (median tissue luma; ../plism-icc/thumbnail_check.json); without them it is darker on all 13.

7. Scope

Same array, scanners, software and settings; only the colour conversion changes. One rendering intent. Thirteen serial, differently stained sections of one mixed-tissue TMA; two scanners from one vendor. Descriptive: it does not say which region is right. The segmentation and artifact models were trained on images whose colour handling is not known here, so converted pixels are not assumed to be closer to their training data.

8. Files

PLAN.md, PLAN.sha256, PLAN.frozen_at.txt; run_chain.sh; scripts/02_segment_icc.py, scripts/gate_check.py, scripts/03_score_icc.py, scripts/04_labbook_icc.py; out/<arm>/ (regions, thumbnails, run metadata); results/ (gate.json, summary.json, sections.csv, fields.csv, scans.csv); logs/.