Deterministic Perceptual Medoid Selection for Low-Color-Count Patterns
Balancing Skein Cost Against Perceptual Fidelity
Unconstrained photo quantization frequently selects thirty-five to fifty distinct floss numbers, half of which appear fewer than fifteen times across the entire canvas. Buying whole eight-metre skeins for trace transition shades inflates material cost and triples parking complexity.
Unlike randomized K-means clustering—which produces different thread lists every time you click refresh—our reducer runs deterministic farthest-weighted seeding followed by exact stitch-weighted CIEDE2000 medoid swap refinement over real catalog threads.
Reading the Multi-Budget Perceptual Error Curve
Every run evaluates four reference palette budgets (4, 8, 12, and 16 colors) side-by-side so you can pinpoint the "knee" of the perceptual error curve before committing to a skein count.
- When an illustration contains fewer unique hues than the chosen ceiling, zero unnecessary merging occurs.
- On continuous-tone landscapes, stepping from 16 down to 12 colors often raises mean ΔE00 by under 0.6 units while saving four skeins.
- Pair palette reduction with 4-neighbor confetti cleanup to consolidate tiny boundary remnants into crisp color blocks.