Our colour extractor reads pale fabrics as muddy. The intuitive repair — sample the most saturated pixels instead of the median — produced a test that failed the faithful render and passed the defective one. We parked the work. This is what that looked like.
A plausible improvement to a measurement can invert it. An inverted gate is worse than no gate, because it converts a missing safeguard into an actively misleading one.
A pale blue linen shirt from a UK high-street retailer, in two versions: a faithful on-model render, and a genuinely defective one in a saturated royal blue. Both compared against the same flat-lay, under two extraction strategies — median garment colour, and most-chromatic garment colour.
Most-chromatic extraction read the flat-lay as royal blue, #1E64BB. It was sampling the deep shadow inside the fabric folds, which on a pale garment is the most saturated thing in the frame and is not the garment colour at all.
Every downstream comparison then ran against a reference that was wrong.
| Render | Truth | ΔE vs most-chromatic reference | Gate verdict |
|---|---|---|---|
| Pale blue linen | Faithful | 29 | FAILED — wrongly |
| Royal blue linen | Defective | 2 | PASSED — wrongly |
Had this shipped, it would have rejected good work and waved through the exact defect it was written to catch.
Trimmed median. Fails the other way — discards the fold shadows and returns a muddy grey that is no closer to the true colour.
Segmentation. Would not help. Segmentation solves a cluttered or ambiguous source image; our flat-lays are already clean, isolated product shots. The problem is not finding the garment, it is that a near-neutral colour measures inconsistently between a flat-lay and an on-model render under different lighting.
So we parked it. Pale-garment colour remains unsolved, and it stays on the model-graded and human layers described in Finding 02.
This is a negative result about one extraction strategy on one fabric class. It does not show that deterministic colour checking is a dead end — the same gate is dependable on chromatic garments, with measured ΔE between 0.9 and 6.5 across five of them.
Ask a vendor what they tried that did not work.
A roadmap with no graveyard has not been tested. Every team that has genuinely measured its own system has a story like this one, and the ones who will tell it to you are the ones whose numbers you can rely on. The useful question is not “does it work?” It is “how did you find out where it doesn’t?”
Take a flat-lay of a pale, folded garment. Extract a representative colour twice — once as the median of the garment pixels, once as the most chromatic. Compare the two hex values to what you see with your own eyes.
Then render the garment faithfully and unfaithfully, and score both against each reference with CIEDE2000. If your gate ranks the wrong render above the right one, you have reproduced this.