Field

What the brain does

Constancy, adaptation and simultaneous contrast — the reasons a patch of known radiance still has no determined appearance.

53 essays. Read in order: Appearance.

Two identical grey patches on different surrounds. Both inner squares are #818181. The one on the dark field looks lighter. The values are checked to be equal before the figure is drawn, so the claim is a fact about the drawing rather than a promise.

These two patches are identical

part 1
The Cornsweet edge, with its luminance profile. The two plateaux are both #898989 and are flat to exactly — the profile below shows that everything which differs lies within a narrow band at the boundary. Cover the centre line and the two halves become obviously identical.

Brightness is inferred from edges

part 2
One reflectance, two illuminants, two colours. A reflectance peaking near 580 nm, and the colours it produces under D65 and A. The object has not changed. The light has, and colour is a property of the pair.

Constancy is the default

part 2
One stimulus, three rooms, three appearances. The same XYZ in a dark, a dim and an average surround. The stimulus does not change and is drawn identically in all three panels; what changes is what CIECAM16 says it looks like. Predicted lightness runs from 65.6 to 57.5 — a spread of 8.1 — with chroma and colourfulness moving too. Colorimetry returns one answer here because it has nowhere to put the room.

A viewing condition is an argument

part 3
Colourfulness rises with light level; apparent contrast does not. Predicted colourfulness M for one stimulus across four decades of adapting luminance, and the exponent of the lightness curve over the same range. M rises by a factor of 2.24 — the Hunt effect, which the model does predict. The lightness exponent changes by -2.2%, and in the wrong direction — the Stevens effect, which it does not.

Brighter looks more colourful

part 4
Four adaptation transforms, measured against CAT16 (D65 to D50). Twenty-seven colours moved from D65 to D50 by each transform, compared with the current recommendation. Bars are the worst disagreement in CIELAB, the number beside each is the mean. Plain XYZ scaling — still shipping, still called von Kries by people who have not read von Kries — misses by up to ΔE 13.7, which is many times any tolerance a supplier would be held to.

Four ways to move a white point

part 3
The four unique hues, and the axes they are said to define. A constant-lightness, constant-chroma ring in CIECAM16, with the four unique hue anchors marked and CIELAB's a and b axes drawn through the same circle. If a* really were the red-green axis the anchors would fall on the crosshairs. Unique red sits 25° off, and the four are not 90° apart in any case. Hatched sectors are hues this display cannot reach at this chroma.

Why there are four unique hues

part 3
five greens, no neutral, under D65 — four guesses at the illuminant. The scene's surfaces as they reach the eye, and each estimator's angular error in degrees against the illuminant that actually lit them. Grey-world 43.1°, Max-RGB 27.7°, Shades-of-grey (p = 6) 31.4°, Grey-edge 34.4°. The best here is Max-RGB, which is best because this scene happens to satisfy its assumption — something reflects fully in every band — and not because it is the better algorithm. Any hatched patch is a surface this display cannot show under this light.

The algorithms that guess the light

part 5
One stimulus, three rooms, three appearances. The same XYZ in a dark, a dim and an average surround. The stimulus does not change and is drawn identically in all three panels; what changes is what CIECAM16 says it looks like. Predicted lightness runs from 65.6 to 57.5 — a spread of 8.1 — with chroma and colourfulness moving too. Colorimetry returns one answer here because it has nowhere to put the room.

A patch is not a scene

part 5
Brightness against chroma, at exactly constant luminance. Seven stimuli of identical luminance and rising chroma at hue 25. The model's brightness moves by 2.2 per cent across the whole sweep, and at some hues it moves the other way. The Helmholtz–Kohlrausch effect — measured repeatedly, by several methods — is that a saturated colour looks as bright as a neutral of 1.3 to 2 times its luminance, shown as the band. The gap is the model's, and nothing here closes it: the term that would is not in CIECAM16 and is not invented for the occasion.

Brightness is not luminance

part 4
One light, seven rooms. The same stimulus — fixed in XYZ, unchanged throughout — shown against whites from 12 to 800 candelas per square metre. Its lightness falls from 152 to 16 and its brightness rises, because one of those is a ratio to the white and the other is not. Brown is the low-lightness end: a colour that exists only when something brighter is present, which is why no lamp is brown and no star is.

There is no brown light

part 4
One adapting colour, two answers. The left patch is what was stared at. The middle is the afterimage the cone-gain arithmetic predicts at 15 per cent adaptation; the right is the inverted code values. They are 22.1 ΔE00 apart. The gains that produced the middle patch are 0.95, 1.06, 1.69 on the long, medium and short cone classes — the reciprocal of what each class had been receiving, taken 15 per cent of the way.

An afterimage is an adaptation

part 3
An afterimage, as the local pool coming back to equilibrium. The local pool has adapted to the patch and the global pool has not, so the gain change is exactly the local share of a full von Kries change — which is why afterimage's free strength parameter is not free here. The dwell is 20 seconds. The swatches are the predicted appearance of the test surface at four moments. They are predictions of hue and direction; there is no response compression in this model, so the chroma is a ceiling rather than an estimate.

A gain has a time constant

part 5
The eye's own drift, and what it does to every spatial frequency. A pattern of f cycles per degree, drifting across the retina at 0.5 degrees a second, arrives at each receptor at f × 0.5 hertz. The curve is the temporal sensitivity at that rate, against the pattern's spatial frequency. Every frequency the eye can resolve stays above a quarter of the temporal peak, and the band of drift speeds for which that holds is 0.02–0.71 degrees a second — with the measured drift inside it. Faster and the finest detail is carried past 60 hertz, where there is no sensitivity at all.

The eye is never still

part 5
The eleven basic colour terms, at their quoted centroids. Each patch is the CIELAB centroid quoted for that term, converted to a stimulus and drawn — except blue, whose focal colour is outside the sRGB gamut and is therefore hatched rather than clipped, which is the rule for an unreachable colour everywhere else and applies here too. The centroids are rounded to 5 units in each coordinate, and moving them by that much either way leaves the same term outside.

A colour has a name

part 4
How large a step changes the name, across the ab plane at L* 60. At each point, the smallest ΔE00 step in any direction after which the probability of two people using the same word has halved. It runs from 4.8 to 33.8 units across this one plane, in eight quantised levels: the palest cells are where a name is finest — a short step changes it — and the strongest are the middles of large territories, where a colour can move twenty units and keep its word. The ragged edge is the sRGB boundary at this lightness rather than a property of the vocabulary. The boundary softness is a stated parameter of the model, and the map barely moves when it is changed fourfold, because what sets this quantity is how far apart the centroids are.

A name is not a threshold

part 5
The appearance model's three rooms, read as three moments. CIECAM16's degree of adaptation is a function of the surround and the adapting luminance and of nothing else — the model has no time in it. Solving for the moment at which an observer who will adapt completely has got that far turns each of the three tabulated surrounds into a reading on a clock. At 100 candelas per square metre they are 106, 49, 21 seconds. They are presented as three rooms. They are also one observer, in one room, at three times in the first two minutes.

A viewing condition is a moment

part 6
How much of the gamut changes name, and what changed it. The eleven basic terms are quoted as centroids in CIELAB, and a colour is named by which one it is nearest. Two things nobody records decide the answer. Changing the distance function renames 20.5 per cent of the displayable gamut. Changing the room — the same colours, the same words, a different surround, through the appearance model — renames up to 26.8 per cent. The centroids were measured in one viewing condition and are applied here in every essay as though a name were a region of a space with no room in it.

A name moves with the room

part 6
Every published adaptation transform, and one computed from daylight, on every change. What each basis leaves an adapted observer with, row by row. Darker is worse. The last column is not a published transform: it is the basis in which a change from D65 to D50 is exactly diagonal, computed in closed form from the two spectra with nothing fitted. It is far the best on the daylight rows and it is beaten on the discharge lamps, which is the trade the published transforms are sitting in — they were fitted to data containing both kinds of light and are therefore optimal for neither. Over the census as a whole the winner is Bradford at ΔE00 1.14.

A gain needs a basis

part 7
How much of what a display can show each name owns. Every point on a 5-unit CIELAB lattice inside the sRGB gamut is given to its nearest centroid under ΔE00, and the shares counted. They run from 21.1 per cent for purple to 4.6 for blue, a factor of 4.6. The three terms that carry no chroma at all — black, grey and white — hold 20 per cent between them. A share here is a statement about the names and about the gamut they are counted over, and the gamut is sRGB.

A name in the model's own words

part 7
How blue the sheet reads, and how much of that is the room. Chroma in an appearance model, with the observer adapted to the light the sheet is under. The three markers on each row are an average, a dim and a dark surround; the open marker at the left is the same sheet with the ultraviolet removed. Every stock is close to neutral without the excitation and carries real chroma with it, at a hue of about 295 degrees — blue-violet — so the colour is the fluorescence and not the substrate. And it falls by nearly half between a bright room and a dark one, which makes how blue a sheet looks a property of where it is being looked at.

A brighter white still looks white

part 7
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.

The cones an appearance model uses

part 8
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.

No basis is good at both

part 9
How far from circles every basis leaves the ellipses. Eight bases ranked on the mean ratio of the long to the short axis of MacAdam's twenty-five discrimination ellipses, measured in a lightness–chroma space built on that basis. The range runs from 1.61 for best for discrimination to 7.70 for best for adaptation. The ordering is not the ordering on the other objective and is nearly its reverse.

One matrix doing two jobs

part 9
The cheapest direction to give ground in is the flattest one. Six bars, one per direction the adaptation objective can see, showing how much of the other objective a fixed budget of adaptation buys if it is spent along that direction. The rate is the slope of the second objective divided by the square root of the first's curvature, so it rewards a direction the second objective wants and punishes one the first is stiff in. The flattest direction wins at 10.68 against 3.29 for the next best and 0.54 for the stiffest — a factor of 20. Spending 1 per cent of the adaptation optimum there moves the anisotropy from 7.70 to 5.02.

The trade only runs one way

part 10
A population of receptor bases, in the plane the published ones live in. The two axes this collection scores an adaptation basis on — the residual across the illumination census on the horizontal, ellipse anisotropy on the vertical, lower better on both — with 200 extra points on it. Each is the basis a member of the population's own confusion points determine. The cloud is not a point: it runs from 1.22 to 2.24 ΔE00 horizontally, which is wider than the whole spread of the published transforms marked on it. The observer this site quotes sits inside the cloud and near one edge of it, and the sentence "the receptor basis costs seventy per cent" is a sentence about that one point rather than about the construction.

A trade between matrices, not people

part 10
A mid-grey's lightness across a continuum of rooms. The lightness a mid-grey is predicted to have, plotted along the continuous surround parameter running from an average room to a dark one. The three rooms the standard tabulates are marked on it: average at the left, dark at the right, and dim 61% of the way between them rather than halfway. The whole span is 9.71 units of lightness and the step from average to dim is 5.64 of it — 58% — so choosing one of the three rows is a decision worth most of the range.

The surround is three rows of a table

part 9
Every adaptation number here assumes a complete adaptation. Three curves and their mean: the colour difference an adapted observer is left with after a change of light, against the degree of adaptation from zero — no adaptation at all — to one. Every adaptation figure in this collection is computed at one, the right-hand end. The appearance model's own formula puts the degree at 0.941 for an average surround at a hundred candelas, marked, where the residual is 2.21 ΔE00 rather than 1.27 — larger by a factor of 1.74. The left-hand end is exactly the unadapted change, which is not an approximation but an identity, and is what says the curve interpolates between the two things it claims to.

A discount nobody measured

part 10
The same claim in nanometres of pigment, where no declared width can reach it. Five horizontal bars on a scale of nanometres, one per published chromatic-adaptation transform, each showing how far the medium-wave cone pigment's absorption peak would have to move for the receptors' own protan confusion point to land where that transform puts it. Zero is the measured peak. The bars run from -10.5 to 18.2 nanometres — in both directions, so two of the transforms want the pigment shorter and two want it longer. Drawn across them is the 25 nm separation between the L and M pigment peaks, which is the whole basis of red-green vision and is not a number this collection declared. The nearest transform asks for a displacement of 30 per cent of that separation, and the span across the table is 28.7 nanometres — larger than the separation itself. No population, cloud or standard deviation appears anywhere in the statement.

Five transforms and the space between them

part 11
What six of this collection's published numbers do when the unit changes. Six quantities, from six calculations that share nothing: a change of light after an observer has adapted, a camera profile's error, the gap between the two standard observers, a metameric pair under the lamp that breaks it, the same image on two papers, and an observer two seconds into a new room. Each is recomputed under all six units and every unit is calibrated onto ΔE2000's scale first, so the bar is not a change of units in the ordinary sense. The bar is the ratio of the largest reading to the smallest, and it runs from 1.71 to 2.30. Five of the six are printed in ΔE2000 by the essays that report them; the sixth is printed in CAM16-UCS, because the model it comes out of defines that unit.

A model judged in another model's unit

part 13
Two slabs with one reflectance, and two colours through an aperture. Two constructed media whose bulk reflectance agrees at every wavelength to fifteen figures, and whose diffusion lengths differ by a factor of four. The upper curve is that shared reflectance — both slabs lie on it exactly. The two patches on the right are what a 4 millimetre radius returns from each, and they are 6.3 ΔE₀₀ apart. This is a metamerism with no observer in it: the two samples are the same colour to anybody under any light, and the instrument separates them because it is measuring a kernel through a hole rather than measuring a reflectance.

The appearance model has no slot for it

part 12
Each departure over forty-two surfaces rather than one. The same six departures measured over a family of forty-two analytic reflectances — an absorption band of stated centre, width and depth — with the smallest, the median, the ninety-fifth percentile and the largest marked. Every one of them spans more than a factor of three, and the ranking between them is not stable across the family: what decides a departure's size is which sample it is asked about, because a departure is a pairing and the sample is one of the two factors. Quoting any single number for what an observer's age is worth is quoting a choice of example.

The census under another observer

part 14
What choosing a space to divide the white out in is worth. Three pairs of routes to the same colour, over forty-two surfaces: dividing the white out in tristimulus values, in a published cone space, and in the observer's own cones. The first two agree to 0.59 ΔE₀₀ at the median. Either of them differs from the observer's own cones by more than fifteen. That is why the two exact conditions in this round are exact only in the eye's own coordinates: the identity belongs to the receptors, and every published arithmetic works in a basis somebody else chose.

The appearance model takes XYZ

part 14
The two tabulation choices over forty-two surfaces, under a 6500 K thermal radiator. Each column is one choice, measured over a family of forty-two analytic reflectances rather than on a single example: an absorption band of stated centre, width and depth. The four marks are the smallest, the median, the ninety-fifth percentile and the largest cost in ΔE₀₀, logarithmically. Under a smooth light the range is worth 9.1 times the step at the median, so a collection wanting one repair should widen its range rather than refine its step — and under a fluorescent tube the ranking reverses outright.

The grid under the census

part 15
Where a stated appearance has no stimulus under it. The chroma the inverse can still return a light for, at lightness 50, all the way round the hue circle. Below the curve a stated appearance corresponds to a stimulus; above it the formula still returns three numbers and one of them is negative. Over a lattice of 10488 appearances spanning the whole space a specification is written in, 10.8 per cent are of that kind, and only 44 per cent are colours a display could show.

An appearance is not always a stimulus

part 16
The model's hue scale, and the four numbers it is built from. Hue quadrature against hue angle. The four anchors are the unique hues, each with its own weight, and between them the scale is a hyperbolic interpolation rather than a straight line. The quadrant from blue back to red spans 143 degrees of hue angle for its hundred units of quadrature, against 70 for red to yellow.

The hue scale has four corners

part 16
Where averaging the model's answers is and is not averaging its argument. Each row takes a spread of situations, averages the model's predictions across them, and compares that against the model's prediction for the average situation. The bar is the gap as a share of the spread itself. Over the differences between observers it is 1.4 per cent — the model is very nearly linear there. Over the range of adapting luminance one room covers in a day it is 59 per cent, and from indoors to outdoors 74.

Where the model's curve does not matter

part 17
The audit's six departures, read twice. Each departure priced in the matching unit it was published in and in the appearance unit an appearance prediction would be judged by. The model does not scale them by one factor: it amplifies the smallest by 1.58 and the largest by 1.03, so the range between them narrows from 3.34 to 2.17. The mean ranking is unchanged and 14 of the 42 surfaces reorder.

The audit, read as appearances

part 17
What a stated lightness pins down, and where. A lightness quoted to 0.05 of a unit, inverted, and the luminance it fixes. Read as a fraction of the colour's own luminance the requirement is 0.90 per cent at J 10 and 0.097 at J 95, a factor of 9.3. Read in absolute luminance it is the other way round, by a factor of 6.5. Both readings are true and they answer different questions.

A stated lightness is two requirements

part 18
Which appearances a surface can have, lightness by lightness. The same lattice of lightness, chroma and hue a specification is written in, 10488 points, inverted under daylight with the observer adapted to it. Each row is one lightness, split into three shares: appearances a reflecting surface can have, appearances that are a light but that no surface can return, and appearances with no light under them at all. Over the whole lattice the first is 66 per cent, the second 23 and the third 11. At J 90 a surface can have 38 per cent of the row.

A third of the appearance box is no surface

part 17
How far the answer for the average is from the average answer, over eight spreads. For each spread of inputs, the distance between the mean of the model's answers and its answer for the mean input, as a share of the spread of the answers. Over a population of observers it is 1.4 per cent. Over surfaces it is 21 on smooth natural reflectances, 27 on a banded family with lightness in it, and 9 on a set of pale surfaces. Over the light one room sees in a day it is 59.

The average surface does not look average

part 18
How much of a display's gamut each observer names differently. Each of 60 observers names every colour of the displayable gamut that the panel can make — 823 of them — and the histogram is how much of that gamut each observer names differently from the standard observer. On an OLED panel the median observer renames 8.1 per cent and the furthest 13.1 per cent. Nobody agrees with the standard observer about all of it.

A name moves with the reader

part 19
How far CIECAM16 moves a monochromatic hue when the light is brightened thirtyfold. A monochromatic stimulus at a relative luminance of 2 and of 60, read through CIECAM16 in one room, and the difference between its two hue angles. The model was never fitted to this effect and has it anyway: the shift is positive at the short end, negative through the greens, positive again in the yellows and reds, and crosses zero at 459, 495, 502, 570 nanometres. The marks are the invariant wavelengths the literature reports — 474, 506, 571.

The model has a hue shift it was never given

part 19
What the choice of adopted white is worth, in a room lit by two lights. A room lit half by daylight and half by an incandescent lamp. The light on the surfaces is fixed; what varies is the white the model is told the observer has adapted to, running from the lamp on the left to the window on the right. The median of twelve surfaces moves 32.6 CAM16-UCS units if the lamp is adopted and 24.5 if the window is, against the room's own mixture in the middle. The model offers no way to choose, and its degree of adaptation is 0.94 at every point of the dial.

A room with two lights has no white

part 20
One grey scale, three backgrounds. CIECAM16's lightness against the luminance factor of a neutral sample, with only the background changed. A grey reflecting 19% reads 46.7 on a near-black background and 32.8 on a near-white one. The three curves are not three shapes: each is the same curve raised to a different power, because the background reaches lightness only through the exponent z, which runs 1.621 to 2.374 across the three.

A dark background moves every difference and no match

part 21
A crispening term puts the peak where the background is. How much lightness the model returns for a small change in the sample's level, against the sample's level measured as a log ratio to the background's — so that all three backgrounds share one axis and a peak at the background is a peak at zero. The pale curves are CIECAM16 as it stands, which has no peak anywhere: they rise slowly and monotonically because a background that enters as four constants fixed before the sample arrives cannot know where the sample sits relative to it. The solid curves are the same model with a term of amplitude 6 and width 0.5 added to lightness. Each peaks at zero to within 0.000 of a log unit, and the peak's height is 12.00 lightness units per log unit of level — the amplitude divided by the width, exactly.

The cancellation is exact and cheap to lose

part 22
The pairs that change places in chroma are a wedge with two straight edges. Every pair of samples, plotted by the log ratio of the two samples' background-free responses across and the log ratio of their chroma at a background of 2 up. A pair changes places between that background and one of 80 exactly when its chroma ratio and its response ratio point in opposite directions and the chroma ratio is the smaller — which is the wedge between the horizontal axis and a line of slope -0.2598, half the change in the lightness exponent. 754 of 14028 pairs are inside it, and the condition names every one of them and nothing else: 0 disagreements between the line and the model. The pale dots are one pair in eleven of those outside; the filled ones are every pair inside.

The reversals have a straight edge

part 22
One lightness scale, drawn as a contour across the rooms. Three surrounds up the page and the background's luminance factor across it, on a square-root scale so that the model's own exponent base is linear in the axis. Each curve joins the rooms whose lightness exponent is the same, and every room on one curve returns the same lightness for every sample. The marked curve is the one through a television in a lit living room against a mid grey: it also passes through a print on a desk against a background of 2.8 and a projection in a dark room against 47.0. A curve that leaves the plot has no member in that surround, because each surround multiplies a base that runs only from 1.48 to 2.48.

Two rooms with one lightness scale

part 22
How far each model turns a display colour's hue as white is added. The twenty-four most saturated colours an sRGB display makes, one every 15° of HSV hue across, each mixed with the display's white at the same luminance down to a fifth of its purity. Up, how far that mixture's hue angle turns in CIECAM16, CIELAB and Oklab. From red to a fifth of its purity CIECAM16 turns −9.4° and Oklab −10.2°; CIELAB −18.1°. From the display's blue, Oklab turns +16.3°, CIECAM16 +3.6° and CIELAB −8.9°.

White turns a hue, and the models part at blue

part 23
Which way a tint turns a pigment's hue, made in paint and made in light. For eight pigments tinted nineteen parts white to one of colour, the Oklab hue turn from the pure pigment: of the tint made in paint (upper bar) and of the additive mixture with white at the same luminance (lower bar). For seven of the eight the two point in opposite directions. The orange turns +13.5° in paint and −13.9° in light.

A tint in paint turns the other way

part 23
A halftone tint, between the two ideals and nearer one of them. For each pigment, how far the hue turns when it is tinted to the same lightness three ways: mixed with white pigment, mixed with white light, and printed as a halftone at a Yule–Nielsen factor of two. Right is towards a longer wavelength. 7 of the eight pigments' two ideals turn the hue opposite ways. The halftone mark sits between them at every pigment and between 26 and 44 per cent of the way from the light ideal to the paint one — so it keeps the additive tint's direction and loses about a third of its size.

Printing does not change the sign

part 24
An orange ink's tints on three papers: which way the hue turns. The hue of each tint of an orange ink, from the solid to a tenth coverage, against the solid on the same paper, in degrees of Oklab hue: on a coated sheet, an unbrightened uncoated sheet and a newsprint. Solid lines are read against daylight's white, as an instrument reads them; dashed lines against the paper's own white, as a reader adapted to the page. At a tenth coverage, read against daylight, the coated sheet's tint has turned -8.7 degrees and the newsprint's 21.8; read against each paper's white, -8.7 and -1.1.

Newsprint turns a tint with its colour, not its gain

part 25
The share of its colour each display hue loses to a quarter of its luminance in white. The twenty-four most saturated colours of an sRGB display, one every fifteen degrees of HSV hue, each scaled to a luminance of 20 and given white of a quarter that luminance: the share of its colourfulness lost, in CIECAM16, CIELAB and Oklab. All three put the fastest loss at an orange and the slowest at a blue. At the orange end they are close — CIECAM16 27 per cent, CIELAB 28 per cent, Oklab 21 per cent — and at the blue end CIECAM16's 1.7 per cent is a quarter of the others'.

White drains the blue last in every model

part 24

All essays