Theme

The thread: Three numbers — page 2

An infinite-dimensional spectrum is projected onto three cone responses, and everything colour science can do — and every way it fails — follows from that single collapse.
One tolerance decision, about pairs that agree less and less about the spectrum. Every point is a pair of samples that the reference observer reports as exactly ΔE00 1.0 apart — the same number, the same decision, the same line in the same specification. Along the axis is how far apart their two reflectances are. Up the side is the 95th percentile of what two hundred other eyes report. It runs from 1.13 to 2.32. The document records the horizontal line and not the axis it is plotted against. Difference and uniformity

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.

How wrong a camera profile is, and who it is wrong for. A colour matrix fitted against the 1931 observer, evaluated four ways. Its residual against that observer is ΔE00 0.92 — the Luther failure, which is a property of the sensor and is the honest measurement of the camera. Against a person drawn from a population of 160, the worst-off twentieth report 3.35. And a camera with no spectral error whatever, reporting the standard observer's own tristimulus values exactly, would leave 3.47. The camera is not the problem. It was fitted to somebody who does not exist, and so is the standard it was fitted against. What a camera does

Fitted to an eye nobody has

A camera profile's residual against the observer it was fitted to is under a unit, and that is the number everybody quotes. Against a person drawn from a population it is 3.35 at the ninety-fifth percentile — and a camera with no spectral error whatever, reporting the standard observer's tristimulus values exactly, would carry 3.47. The camera is not the problem.

The share of itself each change leaves behind, and the smallest is inside the eye. The residual as a fraction of the change rather than as a colour difference, which sorts the census differently. At the top is the macular pigment — the filter in front of the central few degrees of one's own retina — leaving 2.4 per cent of itself. It is a fixed transmittance multiplying the light and the white together, which is as close to a pure gain as anything here gets, and it is why nobody notices they have one. What the eye does

The filters inside the eye

The macular pigment leaves 2.4 per cent of itself after adaptation — the smallest share of anything in this site's census of light changes, and less than half the next smallest. Fifty years of lens yellowing leaves 7.9 per cent, and the difference between the two says what a gain is actually good at.

A stabilised grating fades at a rate that depends on which way its bars run. What is left of a 0.3 cycle-per-degree grating, in multiples of its own threshold, as a function of its orientation, at four moments after the image was stabilised on the retina. The first curve is flat to floating point: at the instant the pattern arrives, orientation does not matter, because the filter that carries it has no orientation preference at this frequency. The anisotropy arrives with the fading, reaching ×2.09 after five minutes, and a pool with no axis predicts none of it. What the eye does

A fading pool has a shape

Giving the local adaptation pool two axes instead of one costs a single parameter and produces a prediction the circular version cannot make — a stabilised grating fades at a rate that depends on which way its bars run. The obvious objection is the oblique effect, and the two act in bands that do not overlap.

A radiance factor, split into the part that was reflected and the part that was not. The two components of what leaves a heavily brightened sheet under M₁ — D50 including its ultraviolet. The lower band is the reflected component, which is what a reflectance curve means and is everything a reflectance-based model can hold. The band above it is light emitted at wavelengths it did not arrive at, and its total is decided by how much ultraviolet the source had rather than by anything about the sheet's colour. The line at one is the boundary a reflecting surface cannot cross; the sum reaches 1.21 at 430 nanometres. Matching and measuring

The eye weights where the light is not

A brightened sheet returns a quarter more light than arrives at 430 nanometres, and it is three tenths of one per cent brighter for it. The luminous efficiency function is 0.017 there against 1.0 in the middle of the band, so the whole effect lands in the blue-yellow axis — brighter than white is a colour claim wearing a brightness word.

The best possible 3×3, and the patches it makes worse. Each row is one patch printed on a brightened sheet, measured under both conditions. The pale bar is how far apart the two measurements are; the dark bar is what is left after the best least-squares 3×3 over the whole set has been applied. It leaves 23 per cent of the mean, and — the part a mean hides — it makes 4 patches worse than doing nothing. The solids are the ones it damages: the ink blocks the ultraviolet, so a solid barely disagrees between the two conditions and the correction has no business touching it. A matrix has no way to apply itself only where the paper is showing. Difference and uniformity

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.

Two lamps of the same colour, and one sheet that is two colours under them. The same brightened sheet under a xenon flash, the same flash behind its cover glass, and a phosphor-converted white LED of nearly the same chromaticity. Each patch is computed relative to its own lamp's white, which is what a perfect white balance does — so everything a camera can see and correct has already been removed. What is left is ΔE00 11.8 between the first and the last, against 3.2 between the two lamps themselves. The LED has no emission below 380 nanometres at all, because its pump die is at 450, so the sheet simply does not fluoresce under it and nothing in the photograph records why. What a camera does

A camera cannot record the excitation

Two lamps of nearly the same chromaticity, one with ultraviolet and one with none, put a brightened sheet twelve units apart after a perfect white balance. Nothing in the camera measured the difference — the filter stack removed the band before the sensor saw it — so the correction that would fix the picture needs a quantity the file does not contain.

One observer's matching functions, in three of the bases the matches leave free. The three colour-matching functions after a change of basis 0.00 of the way from Hunt–Pointer–Estévez towards the set built from the dichromat confusion points. Every one of these triples predicts exactly the same matches as every other, because a match is an equality and a matrix applied to both sides of an equality changes nothing. What moves is where the peaks are and whether the curves go negative — these ones do not, and going negative is what the 1931 committee constructed XYZ to avoid. What the eye does

The matches do not name the cones

Colour matching is the whole empirical basis of colorimetry, and it fixes the observer's three curves only up to a nonsingular 3×3 — nine numbers that no match, in any quantity, to any precision, can see. One particular choice of those nine is used throughout here, and it was made for a different purpose.

Where a dichromat's confusions converge. Every pair of colours a protanope cannot tell apart lies on one of these lines, and all the lines meet at a single point — at (0.7465, 0.2535) for this class. The point is the chromaticity of the missing cone's own response direction, which is why it need not lie inside the diagram or correspond to any light at all. Two of the three do not. The three points between them carry six numbers, and six is two thirds of what the matching data leave undetermined. What the eye does

A confusion point is a missing pigment

The nine numbers colour matching leaves free are fixed by three points on a chromaticity diagram, each of them the place where everything one class of dichromat cannot tell apart converges. Two of the three lie outside the diagram entirely, which is not a defect — a direction in tristimulus space need not correspond to a light.

The same formula, applied after six different changes of basis. CIELAB's arithmetic — divide by a white, take a cube root, difference the results — run on six of the bases the matching data leave free. A linear change of basis leaves every match alone; a cube root does not commute with one, so the space, and therefore every colour difference computed in it, depends on which basis was in place before the nonlinearity. CIELAB's own choice gives an axis ratio of 3.44 and the best row here is LMS (confusion points) at 2.60. Difference and uniformity

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.

What a camera matrix reports on its own chart, and what it delivers off it. The same camera fitted on charts of increasing chromatic range. The left bar of each pair is the mean error on the chart the matrix was fitted to, which is the number a profile comes with; the right bar is the error on a saturated set it never saw. At the thinnest chart the fit reports 0.19 ΔE00 and delivers 1.65, a factor of 8.6. The gap closes as the chart widens, and it closes because the chart improves rather than because the camera does. What a camera does

The chart decides the profile

A camera's colour matrix is nine numbers fitted to a set of patches somebody chose, and the number that comes with it is the error on those patches. On a chart with no chromatic range that number is 0.19 ΔE00 and the matrix delivers 1.65 — and a second matrix, indistinguishable on the chart, delivers 2.03.

An instrument, as the only thing it really is. The 3 filters a bank of that size puts across the visible range, each drawn against wavelength. Everything the instrument can report about a spectrum is 3 numbers — the integral of the light against each of these — so the set of spectra it cannot tell apart is everything orthogonal to all 3 of them, which is 78 dimensions of the 81 this site works in. Three of these is a colorimeter in spirit; the eye is three of them too. What light is

Three numbers cannot see a line

An instrument that returns three filtered readings of a spectrum determines a three-dimensional projection of it and is exactly blind to the other seventy-eight. On daylight that costs almost nothing; on a fluorescent tube, three quarters of the lamp lies in the part no reading reaches, and adding filters recovers it slowly.

Where each published matrix puts the confusion points, whether or not it meant to. Every matrix from tristimulus values to cone responses commits itself to three confusion points, because the point is the direction the other two rows annihilate. The first row is the construction from the measured points and returns them exactly. The rest were chosen for other reasons and land elsewhere — Hunt–Pointer–Estévez, which this collection uses everywhere, misses the deuteranope's point by 1.28 in chromaticity. The worst here is 4.09. What the brain does

The cones an appearance model uses

CIECAM16 adapts in three axes whose rows are labelled L, M and S, and they were fitted to corresponding-colour experiments rather than measured on receptors. Run the dichromat construction backwards on them and they commit to a deuteranope confusion point 1.45 away in chromaticity from the measured one — which is a test the axes were never asked to pass.

Four different bases, one adaptation model, one number. The middle row of the basis built from the confusion points multiplied by 0.21, 1, 3.7 and 11 in turn, with the resulting adaptation residual drawn as a bar in each case. The four bars are the same height to 9e-16 of a ΔE00, because the row's scale cancels exactly between the gain and the inverse. Three of the nine numbers a colour match leaves free are invisible to an adaptation model, which is why the six the dichromat data supply determine it outright with nothing left to fit. What the eye does

The three numbers a gain cannot see

Colour matching leaves nine numbers free. Three dichromat confusion points fix six of them and three choices of unit fix the rest — and it turns out that a von Kries gain is exactly blind to those last three. So the dichromat data do not merely constrain an adaptation basis. They determine it, with nothing left over to fit.

How cone-like a basis is, against how well it adapts. Each basis placed by how far its own implied deuteranope confusion point falls from the measured one (horizontal) and by how much an adapted observer is left with in it (vertical). The construction from the confusion points sits at zero on the horizontal by definition and near the top on the vertical. Nothing near the left of the picture is near the bottom: the closer a basis is to the receptors, the more a von Kries gain leaves behind. The unconstrained winner sits at 1.63 on the horizontal, further from the measurement than any published transform except CAT02 and Bradford. What the eye does

The best axes are not receptors

If the axes that make a von Kries gain work were nearly the cone fundamentals, the published adaptation transforms would be cone-like and their departures would be slack in a fit. They are not. Minimise the residual over all nine free numbers and the winner sits further from the measured dichromat confusion points than any of them.

Every basis against both objectives at once. A scatter with the mean adaptation residual across the illumination census on the horizontal axis and the mean axis ratio of MacAdam's ellipses in a lightness–chroma space on the vertical. Lower is better on both. The two winners sit at the two ends of an empty diagonal: the basis that adapts best leaves 7.70 on the vertical and the basis that discriminates best leaves 1.79 on the horizontal, each worse on the other objective than every published transform. The basis built from the dichromat confusion points is at (1.65, 2.60) — best at neither and within a factor of two of both floors, which no other entry in the picture manages. What the brain does

No basis is good at both

The same nine numbers decide how well a von Kries gain reproduces a change of light and how nearly a lightness–chroma space makes the discrimination ellipses circles. Minimise either one and the other collapses. The basis built from the receptors is best at neither and is the only entry in the table respectable at both.

Five answers to how far the ellipses are from circles. Five mean axis ratios on the same twenty-five measured ellipses, measured the same way in every row: the boundary points carried through, the longest radius over the shortest, averaged. What differs is which class of map is allowed. The first two rows are chromaticity diagrams, which divide by a sum; CIE xy as printed leaves 2.95 and the best diagram there is leaves 2.02. The last three are lightness–chroma spaces, which divide by a white point; CIELAB as specified leaves 3.44, the best space with no compression leaves 2.33, and the best space with a cube root in it leaves 1.61. Neither family contains the other, and only the last one gets below two. Difference and uniformity

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 floor as a function of the exponent, and the fixed basis beside it. Two curves against the compression exponent on a logarithmic axis from 1 to 10. The lower curve is the best mean ellipse axis ratio any basis can reach with that exponent applied after it, and it falls from 2.33 at no compression to 1.66 at a square root and 1.61 at a cube root, then hardly moves — 1.57 at a tenth root. The upper curve is CIELAB's own basis at the same exponents and gets steadily worse, from 3.57 to 3.77. Almost everything a compression buys arrives with the first step away from linearity, and after that the exponent is choosing between 1.66 and 1.61 while the basis is choosing between 1.61 and 3.44. Difference and uniformity

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.

A display's primaries, scored as the adaptation basis they are. Four primary sets ranked by the mean ΔE00 an adapted observer is left with when the white point moves — which for a display is a gain on R, G and B, and so a von Kries adaptation in the inverse of its own primary matrix. sRGB leaves 2.36, as much as scaling XYZ directly and therefore as much as having no cone basis at all. Rec. 2020 leaves 1.09, better than every published adaptation transform fitted to corresponding-colour data. Nobody chose that: it is what wanting a wider gamut does to a primary's spectral selectivity. Matching and measuring

The gamut race chose the basis

Twenty years of arguing about how much of the diagram a display should cover has produced primaries whose inverse is a better adaptation basis than any transform ever fitted to corresponding-colour data. On the invariant count of what those displays can actually show, the same twenty years produced nothing at all.

The same optimum, along its narrowest direction and its widest. The adaptation objective along two straight lines through its own minimum, both of unit length in the nine coefficients. Along one of them the cost rises steeply; along the other the same step costs 8.0 times less, and a design constrained to move that way gives up almost nothing. That is why restricting the nine numbers to be the inverse of three realisable primaries — three degrees of freedom gone — costs about one per cent, while requiring them to hit the three dichromat confusion points costs seventy. Counting what a constraint removes predicts neither number; what matters is which way it points. Where the model breaks

A constraint costs what it points at

Three primary chromaticities remove three of the nine numbers in an adaptation basis and cost one per cent. Three dichromat confusion points remove six and cost seventy. Counting what a constraint removes predicts neither, because an optimum is a long bowl and what matters is which way the constraint points.

The points a ratio needs are proportional to the ratio. A scatter of 133 points on logarithmic axes, one per MacAdam ellipse under each of six coordinate systems. The horizontal position is that ellipse's true axis ratio; the vertical is the smallest sample size, from a sequence of doublings, at which the sampled ratio comes within one per cent and stays there. A line of slope 0.94 runs through them, against a predicted 1 — the minimum's notch is 0.88 σ₂/σ₁ radians wide, so resolving it takes a number of points proportional to σ₁/σ₂, and nothing about the basis or the ellipse enters beyond that. An ellipse with a ratio of two needs seventeen points and one with a ratio of twenty-six needs a hundred and ninety-two. Where the model breaks

An extremum is not a sample

Three separate measurements in this collection took a maximum or a minimum over a sample of a set — forty-eight points round an ellipse, twenty-four directions out of an optimum, fourteen changes of light off a list. All three are wrong, all three are wrong in the same direction, and the error in each grows with the very quantity being measured.

The minimum sits in a notch the width of the answer's reciprocal. The distance from the centre to the boundary, all the way round one MacAdam ellipse mapped into a lightness–chroma space built on the CIE RGB primaries. The curve has two broad maxima and two very narrow minima: the dip is about 2.5 degrees wide at a third above its floor, because the width of the minimum of an ellipse's radius is the reciprocal of its axis ratio, and this ratio is 41. Forty-eight sample points, marked, are spaced 7.5 degrees apart, so none of them lands in either notch and the smallest one found is 2.2 times the true minimum. The ratio comes out 18.59 where it is 40.76. Difference and uniformity

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 set of ellipses, and which of them is which. Two curves and a horizontal line, against the size the ellipses are drawn at. The line is the analytic axis ratio — the ratio of the singular values of the map's own derivative, which is what "does this space make discrimination contours circles" means. The upper curve is a very finely sampled ring, which sits 0.6 per cent above the line at full size and converges onto it as the ellipse shrinks, because the gap between them is the second-order distortion of the map across a real ellipse rather than an error. The lower curve is the forty-eight-point sample used for this until now: it does not converge onto anything, because its error is set by the sample and not by the size. Difference and uniformity

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.

Nine eigenvalues, six of which exist. Nine points on a logarithmic vertical axis: the eigenvalues of the Hessian of the adaptation residual at its own optimum, largest to smallest. The first six run from 6.8×10² down to 7.6×10⁻¹, a condition number of 890. Then the axis drops: the seventh is 1.9×10⁻⁴, and the last three are separated from the sixth by a factor of 4.0×10³. Those three are not small curvatures. They are the finite-difference truncation error on directions along which the objective is exactly constant, and a shaded band marks them as the numbers the objective does not have. What the eye does

The rank is the invariance

A von Kries gain cannot see the scale of a row of its basis. That is an identity, proved in a line, and it can be measured instead — as the rank of a second-derivative matrix. Both objectives this collection minimises over the observer's nine free numbers have a Hessian of rank exactly six, and the three directions they cannot see are the three scalings, to a hundredth of a degree.

207 essays on this thread, page 2 of 9 · all threads · all essays