Metric — the series
-
How far apart are two colours
ΔE is meant to be a distance with the property that the same number means the same perceived difference everywhere. Three successive formulae have tried, they disagree with each other by more than a just-noticeable difference, and the disagreement decides real matching questions.
-
MacAdam measured it
In a perceptually uniform space the just-noticeable-difference contours would be circles of equal size. MacAdam's ellipses are neither, by a factor of eighty — and transforming them into each candidate space settles which spaces improved matters and by how much.
-
The midpoint is not half
Code 128 sits halfway along the sRGB scale and carries about a fifth of white's luminance. Half the luminance is code 188. Almost every gradient, blur and resize on the web gets this wrong, and the errors are visible once known.
-
A threshold is not a unit
MacAdam measured the smallest difference anyone could detect. ΔE2000 was fitted to how far apart plainly different colours look. The two are quoted interchangeably, and the contours they produce are not even the same shape.
-
A tolerance is a shape
A total colour difference below one, or every component within one — the two sound like the same requirement stated twice. They are different shapes, they disagree about most of what either accepts, and which one a supplier is held to is worth money.
-
How many colours are there
Sixteen point seven million counts code values in a file format. Ten million distinguishable colours is a volume divided by the size of a just-noticeable difference — and the two difference formulae this site implements disagree about that size by a factor of nearly five.
-
A difference has no size
A colour difference formula answers a question about two large patches seen side by side. Applied to a pattern, it reports fourteen units where the eye is left with less than one — and the ratio depends on nothing but how finely the difference is spread.
-
Three constants nobody quotes
CIEDE2000 is defined with three parametric factors in it, the CIE leaves them to the industry using the formula, and the two settings in ordinary use differ by a factor of two in one of them. Twenty-nine per cent of acceptance decisions change between the two — a larger disagreement than any between the formulae themselves.
-
Where the formula is not smooth
A colour difference formula is a distance, and a distance ought to vary gently. CIEDE2000's does not everywhere — it carries a hue-rotation term with a hard edge in it, and the discontinuity sits where a great many industrial samples live.
-
A difference is not a distance
Two earlier essays here said that CIEDE2000 violates the triangle inequality and left it at that. Searching for the violation finds a detour half the length of the direct route, a smaller one inside a five-unit ball, and a second defect nobody mentions — ΔE94 is not even symmetric.
-
Which of two is worse
Two colour-difference formulae disagree about which of two pairs is the larger difference in thirteen per cent of comparisons overall — and in forty-three per cent of comparisons among pairs sitting near a tolerance of one unit, which is where every acceptance decision is actually made.
-
A difference has no place
A colour difference formula answers a question about two patches somebody is looking straight at. Move the same pair ten degrees into the periphery and a third of it is left — and it has turned twenty-four degrees of hue, because the three channels give out at three different rates.
-
A tolerance is a probability
A colorimeter reports one number and a specification compares it with another, and both are computed for an observer who does not exist. Handed to two hundred people, the same pair at ΔE00 1.0 is read from 0.8 to 3.7 — and which of those two ranges applies depends on something no specification records.
-
A mean is not a difference
A specification for a proof, a profile or a print run is written against a set of colours and has to reduce that set to one number. The mean and the ninety-fifth percentile disagree about which of two reproductions is better in thirty per cent of cases, and both numbers are honest.
-
A tint at the edge of a page
The last phase left this join open and guessed at its answer — how visible a halftone tint is away from the centre of gaze should be the product of two effects it had measured separately. It is not the product. At five degrees the guess is fifty-three times too generous, and by twenty it is out by eight orders of magnitude.
-
A tolerance needs a second number
Two samples one colour difference apart can be read almost identically by everybody or two units apart by the worst-off twentieth, and which of those it is depends on how far apart their spectra are — a quantity every spectrophotometer has already measured and none of them prints. Adding it as a second field predicts the population three times better, and at the tolerances where it matters it is right about a third of the decisions the difference alone gets wrong.
-
A halftone is a luminance object
The eye's three spatial channels resolve a screen at 55, 15 and 10 cycles per degree, so at any ruling a press actually runs only one of them can see it at all. The corollary corrects a guess already published here — rotating a screen matters more to the chromatic channels, not less — but only at rulings so coarse that nobody prints there.
-
One unit in another room
Twenty-three pairs built at exactly ΔE00 1.000 under D65, re-measured under every change of light this site models with the observer adapted to each, come out anywhere between 0.64 and 1.57. A tolerance is written as a property of a pair and it is a property of a pair and a room.
-
Whiteness is mostly the lamp
The CIE whiteness formula ranks white samples the way people do, which is what it was built for and is not in question. What is in question is what it is a measurement of — take the ultraviolet out of the instrument and 82 per cent of the scale collapses, because the part that separates a premium sheet from an ordinary one was contributed by the lamp.
-
A tolerance cannot cross a condition
If two measurement conditions disagree by seven units, the obvious repair is a correction matrix fitted between them. The best least-squares 3×3 over seventeen printed patches leaves 23 per cent of the disagreement and makes five patches worse than doing nothing — because the term it is trying to remove is proportional to how much paper is showing, and no linear map on three numbers can express that.
-
No diagram makes them circles
Every chromaticity diagram is a projective picture of the same measurement, so how badly MacAdam's ellipses fail to be circles can be minimised over the whole family of them. The best plane there is still leaves the average ellipse twice as long as it is wide — which makes the residual a fact about the eye rather than about anybody's choice of primaries.
-
A difference needs a basis too
A linear change of coordinates leaves every colour match exactly where it was. A cube root does not commute with one — so a lightness–chroma space, and every colour difference computed in it, is a property of the basis that happened to be in place before the nonlinearity. CIELAB's basis was chosen in 1931 for reasons that had nothing to do with difference.
-
A compression goes below the floor
Elsewhere this collection minimised the anisotropy of MacAdam's ellipses over every chromaticity diagram there is, found 2.02, and called the residual a property of the eye. It is a property of the eye seen through a projective picture. A cube root after the right basis reaches 1.61 on the same twenty-five ellipses.
-
The exponent was never the argument
A century of colour science has argued about whether the eye's response is a cube root, a square root or a logarithm. Minimise the anisotropy of MacAdam's ellipses over every basis, at each of eight exponents, and the floor moves by under three per cent between a cube root and a tenth root — while the basis moves it by a factor of two.
-
How wrong would the data have to be
Twenty-five ellipses measured on one observer in 1942 are the ruler every colour space here is judged against, and they have never been given an error. Rather than invent one, the question is turned round, and asks how large an error would have to be before the ranking changed.
-
An ellipse is not a ring of points
For eleven rounds of argument the distortion a colour space does to MacAdam's ellipses by mapping forty-eight points round each one and dividing the longest radius by the shortest. The minimum sits in a notch whose width is the reciprocal of the answer, so the method was accurate wherever the answer was small and short by a factor of two where it was large.
-
Three numbers for one ellipse
How far a colour space is from making a discrimination contour circular has three different answers — what a coarse sample of the boundary reports, what a converged sample of a contour of stated size reports, and what the map's own derivative says. They differ by up to a factor of two, they mean different things, and only one of them is what the question is asking.
-
Twenty-five is a sample of the diagram
A colour space's uniformity score is the mean of twenty-five numbers, and a mean of twenty-five numbers has a standard error those twenty-five numbers determine. Nothing has to be quoted to compute it, and three of the seven adjacent pairs in this collection's ranking survive it.
-
A lattice is a quadrature rule
Walking a set of test surfaces more finely does not converge on a better answer, because refining a lattice under a constraint changes which corners of the region get sampled and not only how densely. The lattice used here turns out to be a two per cent biased estimate of the integral it stands for.
-
Saturation is nearly everything
The set of test surfaces has three numbers describing it, and only one of them matters. How saturated the surfaces are carries an elasticity of about 0.7 on every result computed over them; how bright they are carries 0.10. A test chart's chroma range decides its answer and its lightness range does not.
-
The error on a gap is not the errors at its ends
Comparing two rows of a table by looking at whether their error bars overlap is the wrong comparison, and here it is wrong by a factor of up to 3.4. The same 125 surfaces score both rows, so the difference between them is quieter than either — and how much quieter is a measurement of how alike the two rows are.
-
The weighting is the disagreement
Five colour-difference formulae, three decades and two committees, and the single property that predicts which of them agree is whether a chroma difference gets divided by the chroma it was measured at. It sorts the menu exactly, it cuts across the distinction between a matching difference and an appearance one, and it halves the census's largest sensitivity.
-
Two departures that partly cancel
A glossy translucent sample has two of this round's four departures at once, and the expectation was that they would compound. They do the opposite. An aperture takes light away that went into the material and came back too far out; an interface returns light that never went in at all — so measuring either alone overstates what both together do, on every material tested.
-
A dial through a discrete menu
ΔE*94 is ΔE*ab with two weighting constants in it, and at zero those constants make every weight exactly one — so the two ends of the oldest disagreement in colour difference are joined by a line rather than separated by a choice. Walking it gives a derivative where a menu gives only a spread, and the derivative says the published weighting is on the far side of the interesting part.
-
The disagreement is at the near end
Every colour-difference formula on the menu was fitted to threshold data, so the expectation is that they agree about pairs an observer can only just tell apart and diverge on large differences. They do the opposite. Proportionally the disagreement is largest at the near end, by a factor of six for the appearance unit, and the cause is an exponent of 0.63.
-
The departures are larger than the tolerance
A delivery tolerance is written around one ΔE₀₀ and every one of this round's four departures is above it on ordinary material. A specification that names an illuminant, an observer and a tolerance, and does not name a measurement condition, an aperture and a field, has written a number that two honest laboratories can miss each other on by more than the number itself.
-
A neutral has no grid
A perfectly flat reflectance computes to exactly the same colour on every wavelength grid, through every slit, at every origin, and for every observer — not nearly, but to the last bit of a floating-point number. The condition is an identity rather than a limit, and what makes it one is the white point.
-
The normaliser carries the error too
A five-nanometre sum gets a red pigment's tristimulus value wrong by two hundredths of a per cent and its colour wrong by six hundredths of a unit. Those two numbers are not the same size because the grid appears twice in a colour — once in the sample and once in the white — and the two errors are largely the same error.
-
A departure is straight in the excitations
Walk a sample a quarter of the way from the light towards its own reflectance and exactly a quarter of the observer disagreement remains — in cone excitations, to two parts in a hundred. In ΔE₀₀ the same quarter leaves 0.347 where proportionality wants 0.428, and the discrepancy belongs entirely to the unit.
-
A tolerance with an observer in it
A delivery tolerance is written in ΔE₀₀ against the 1931 observer, and six departures of that observer combine to about three of the same units on an ordinary saturated sample. A one-unit tolerance is being asked to contain a three-unit uncertainty that nothing in its budget mentions.
-
A distance raised to a power has no length
CAM16-UCS's colour difference is its Euclidean distance raised to the power 0.63 and multiplied by 1.41. That is still a metric — the triangle inequality holds on every one of four thousand random triples — and it has no length. A grey ramp from black to white measures 25 units in one step, 137 in a hundred and 755 in ten thousand, growing as the number of steps to the power 0.37, and halving the size of a step triples the number of steps that fit.
-
Two yellow filters cancel on a slope
An older lens and a denser macular pigment both take blue out of the light, and read before adaptation they move a colour in nearly the same direction, eight degrees apart. Once each eye has adapted to its own white they point a median 156 degrees apart on smooth reflectances and together cost less than the lens alone. On surfaces with a narrow absorption band they still sit 26 degrees apart and add. What decides it is the width of the surface's own features.
-
Two filters cancel only in a bright enough room
An older lens and a denser macular pigment cancel each other once an eye has adapted — and that result belongs to the end of a dial nobody stands at. Read at the degree of adaptation CIECAM16 gives an ordinary room, the two barely cancel; in a living room they add, and in a cinema they cost six times what they cost under the sky. The room has to be about as bright as an office before the cancelling begins at all.
-
A tolerance has no light level
Twenty-three pairs built at exactly one colour difference stay at exactly one in every room, because the formula has no argument for the room. Read in the unit that does have one, the same pairs are 0.72 in a cinema, 1.04 in an office and 1.30 in direct sun — and inside any one room they spread by half again, so no single conversion between the two units exists at all.
-
A difference has no rate
A colour difference formula answers for two patches that are both there and stay. Alternate the same two colours and the difference is not scaled but taken apart: the colour half is gone by fifteen hertz and the lightness half is four times louder at eight, so twenty-three pairs the formula calls identical run over a factor of six at the rate the eye is best at, and are worth nothing at all above sixty.
-
Adaptation turns more pairs off than on
One pair of observer departures was followed across the degree of adaptation and found to cancel only in a bright enough room. The same calculation takes any two, and run over all fifteen pairs it says something the single pair does not: adaptation is a rotation rather than a mechanism for making departures oppose each other. Five pairs lose their cancellation as the eye adapts, three gain it, three keep it and four never have it — and the pair everybody quotes is one of the three it turns on.
-
Quadrature is exact in one room
An observer allowance is built by adding the departures in quadrature, which assumes they are mutually perpendicular. Over fifteen pairs their angles run from 18 degrees to 179 and hardly any are perpendicular. Measured against the real combination, quadrature is too small in a cinema by eight per cent and too large under the sky by fourteen, crossing at an adapting luminance of 22 candelas a square metre — and on individual surfaces it is out by a third in both directions in every room.
-
The room a surface needs is written in its band
Whether two yellow filters cancel on a surface depends on the room, and each surface has its own crossing — the degree of adaptation at which the shared yellowing falls to the size of what is left underneath. Those crossings run from 0.68 to 0.99, and where a surface's absorption band sits accounts for almost all of the spread while how much light it returns accounts for almost none. The reds need a room brighter than a graphic-arts viewing booth, which is brighter than any room a sample is judged in.
-
Two units with a light level disagree about lightness
ΔE₀₀ has no argument for how bright a display is. Two colour differences do: CAM16-UCS takes the room's adapting luminance, and ΔEITP — the difference defined for high-dynamic-range television — takes the stimulus's own absolute luminance. Twenty-three pairs at exactly one ΔE₀₀ grow in both as the display brightens, 2.1 times in ΔEITP and 1.5 in CAM16-UCS from a 5 to a 5,000 cd/m² white. But in ΔEITP the lightness part grows fastest, 2.7 times, and in CAM16-UCS it does not grow at all.
-
The units part by hue, not by light level
Two colour differences with a light level in them were compared on a display running from 5 to 5,000 cd/m², and a prediction was drawn from how each divided a difference between lightness and chroma. Built into pairs that differ in lightness alone and in chroma alone, both units say the same thing about light level: as a display brightens, chroma differences gain on lightness differences — ΔEITP by a tenth, CAM16-UCS by a quarter. Where they part is hue. The appearance model moves every colour's balance by the same factor; ΔEITP moves the violets, reds and cyan-blues the other way, and at nine of twelve base colours the two units disagree about the direction.
-
The shadows a unit counts are the ones a room removes
ΔEITP's growth with display brightness is largest in the dark greys, and dark greys are where a lit room's light reflected off the screen sits. One candela a square metre of veiling luminance removes 22 per cent of the difference the unit gives a step at the bottom of the scale on a 1,000-candela display and nothing measurable at the top. The same veil raises the growth the unit reports across display levels from a factor of six to a factor of seventeen, because it destroys a dim display's shadows first.
-
A lit room brings the units' medians together
As a display brightens, CAM16-UCS says chroma differences gain a quarter on lightness differences and ΔEITP says a tenth. All of the appearance model's movement comes from what the viewer is adapted to, and every calculation had the viewer adapted to the display alone. Give the room its share of the adaptation and the model's movement shrinks at every step: with a 20 cd/m² room supplying two thirds of it, the two units' medians fall by the same amount. What does not shrink is their disagreement about direction. The model still moves every colour the same way, ΔEITP still moves violets, reds and cyan-blues the other way, and in a lit room that becomes the whole of what separates them.
-
A guessed veil halves the error
A colour difference that takes a display's absolute luminance leaves out the light a room reflects off the screen, and on an ordinary display in an ordinary room that makes it wrong about the darkest greys by a factor of three. Giving the unit the veil as a declared argument fixes that when the veil is known. The worry was that it never would be — that a guessed argument is no better than none. It is better: any declared veil up to about twice the true one beats declaring none, and one middling guess for every room halves the worst error. What a guess cannot do is reach ten per cent; that needs the veil known within a sixth, which is what a luminance meter aimed at a black screen gives.