Where the model breaks

The model has no clock

An appearance model takes a stimulus and a situation and returns what it looks like. It does not take a time, and adaptation is not instantaneous — half a second after the light changes a judgement is three and a half CAM16-UCS units from the settled one, and a minute later it is still 1.3.

Assumes A viewing condition is an argument and Four ways to move a white point.

A viewing condition is an argument — this site has already said so, and the argument has four parts: an adapting white, a background, an absolute luminance and a surround category. There is a fifth thing a real judgement depends on, and no appearance model takes it: how long the observer has been looking.

How far a judgement is from the settled one, second by second. The light changed from one white to another at t = 0 and nothing else moved. The model has one degree of adaptation and no clock, so the distance plotted is what a clock adds: 3.6 CAM16-UCS units half a second in, still 1.3 after a minute, and 0.11 after five. Every appearance number on this site is the value at the right-hand end.
Fig. 1 The light changed from one white to another at t = 0 and nothing else moved. What is plotted is how far the appearance is from the settled one, in CAM16-UCS units — 3.58 half a second in, 1.31 after a minute, 0.11 after five. Every appearance number in these essays is the value at the right-hand end.

The claim

CIECAM16’s degree of adaptation is a steady state, and reaching it takes minutes. A judgement made before it is reached is made in a state the model has no argument for, and the error is large enough to matter to the trades that make judgements for a living:

time since the light changed how far from settled
0.5 s 3.58 CAM16-UCS units
1 s 3.15
2 s 2.65
5 s 2.28
10 s 2.15
30 s 1.77
60 s 1.31
300 s 0.11

A unit of CAM16-UCS is roughly a just-noticeable difference. So the first glance after a change of light is several of them out, and a minute is not enough.

What the model does have

viewingConditions computes a degree of adaptation DD from the adapting luminance and the surround:

D=F(113.6e(LA42)/92)D = F\left(1 - \tfrac{1}{3.6}e^{(-L_A - 42)/92}\right)

At 100 cd/m² in an average surround that comes out at 0.941 — not 1, because adaptation is never complete, which is a measured fact and is already asserted on this site.

That number is where the observer ends up. It says nothing about the journey, and the journey is the subject here.

The clock, and where its constants come from

The time course added in this phase is a two-exponential of stated constants:

done(t)=0.65(1et/1s)+0.35(1et/60s)\text{done}(t) = 0.65\left(1 - e^{-t/1\,\text{s}}\right) + 0.35\left(1 - e^{-t/60\,\text{s}}\right)

  • a fast component of about a second, which is receptoral gain control,
  • a slow component of about a minute, which is everything downstream,
  • and roughly two thirds of the change in the fast one.

All three are quoted with ranges, and no claim on this page depends on their third digits. What the arithmetic then does is thread done through the model as an interpolation of the white: at tt, the observer is working from a white part way between the old one and the new one, and the model applies its own DD to that white exactly as it does at the end.

Two incompletenesses, and conflating them was this file’s first bug. The model’s DD says an observer never adapts fully, at any time — a permanent property of the steady state. done says how far through the transition the observer has got. Multiplying the two, which was the obvious first move, left a residual shift of 0.83 units at five minutes: the model quietly reporting that adaptation never finishes, which is not what a time course means.

time fraction complete
0.5 s 0.26
1 s 0.42
2 s 0.57
5 s 0.67
10 s 0.70
30 s 0.79
60 s 0.87
120 s 0.95
300 s 1.00

The shape is the interesting part: the fast component takes the first two thirds in a couple of seconds and then the slow one grinds through the rest for two minutes. That is why a light change feels instantaneous and a careful colour judgement made straight afterwards is still wrong.

Where it costs somebody money

A viewing booth with a switch. Comparing a sample under D65 and then under illuminant A means changing the light and judging, and the judgement made in the first seconds is made by an observer still adapted to the previous illuminant. That is why the standards for visual assessment prescribe an adaptation period, and why the period is a minute or more rather than a moment.

A soft proof. A proof is a different object from a print because the two are viewed in different conditions — and the practical procedure makes it worse: an operator looks at the screen, then at the print in the booth beside it, then back. Each glance is made in an adaptation state inherited from the other. The measured gap between the two objects is 4.18 CAM16-UCS units under settled conditions; the transient adds several more, in a direction that alternates.

And a camera or a display’s automatic white balance, which usually does have a time constant — deliberately, to stop the picture lurching — and whose constant is chosen against the eye’s. A system that adapts faster than the viewer produces a visible correction; one that adapts slower produces a lingering cast. Neither is a colorimetric error, and no colorimetric measurement can see either.

How far a judgement is from the settled one, second by second. The light changed from one white to another at t = 0 and nothing else moved. The model has one degree of adaptation and no clock, so the distance plotted is what a clock adds: 4.1 CAM16-UCS units half a second in, still 1.5 after a minute, and 0.12 after five. Every appearance number on this site is the value at the right-hand end.
Fig. 2 The same transition at a much higher light level. The transient is larger — 4.08 units at half a second against 3.58 at 100 cd/m² — because a brighter room adapts to a larger degree, so there is more adaptation to complete.

The transient is not small compared with anything

It helps to put the numbers beside the other quantities this site measures in the same unit, because a bare “3.58 CAM16-UCS units” carries no weight on its own.

quantity size
a judgement half a second after the light changes 3.58
the same, after a minute 1.31
the soft-proof gap between a booth and a screen 4.18
the surround’s share of that gap 3.95
roughly, one just-noticeable difference 1

The first row is comparable with the entire settled difference between a print in a booth and a proof on a screen. That is the finding stated in the most useful way: for the first few seconds after any change of light, the observer’s own transient is as large as the effect being judged.

It also explains a familiar experience that is usually attributed to fatigue or imagination. Two samples that matched a moment ago stop matching when the light is switched and match again a minute later, and nothing about them changed. What changed was the state of the instrument, and the instrument is the reader.

The two tables are one law

The essay prints a shift in CAM16-UCS units against time and, separately, a fraction complete against time. Eliminating the time between them gives a law, and the law is worth having because it says what kind of quantity the shift is.

Fitting the eight rows the two tables share:

shift    4.30(1done(t))0.58\text{shift} \;\approx\; 4.30\,\bigl(1 - \text{done}(t)\bigr)^{0.58}

It reproduces every published row to within two per cent — 3.62 against 3.58 at half a second, 1.33 against 1.31 at a minute — over a range in which the shift falls by a factor of nearly three.

The exponent is the interesting part, and it is not the clock’s. Neither time constant appears in it; what appears is a power of about 0.58, which is very close to the 0.63 that CAM16-UCS raises its own Euclidean distance to. So the shift is very nearly the incomplete fraction of the adaptation, measured through the unit’s own compression — the observer’s state moves along a straight line towards the settled one, and the unit reports a compressed version of how far along it has got.

That is a check rather than a discovery, and it is the useful kind. It says the two tables are not two measurements but one, and it means the whole essay’s arithmetic can be run forwards or backwards: given a state of adaptation, the shift follows, and given a shift, so does the state.

What a repeated comparison actually costs

Which makes the last of the three recommendations computable rather than merely stated. Treat a repeated comparison as a repeated settling — the operator looking from the screen to the booth and back — was asserted three sections ago with no number, and the number is available from the two exponentials without any new machinery.

Alternating between two whites with a dwell of TT at each drives every exponential component to a periodic steady state rather than to either endpoint. A component with time constant τ\tau ends up swinging between 1/(1+eT/τ)1/(1+e^{-T/\tau}) and eT/τ/(1+eT/τ)e^{-T/\tau}/(1+e^{-T/\tau}) of the way across, so the fast component follows the glances almost perfectly while the slow one settles near the midpoint and stays there.

dwell at each best moment worst moment
2 s 1.93 3.65
5 s 1.56 3.86
20 s 1.42 3.93
60 s 1.10 4.06
sitting still for five minutes 0.11

Nobody comparing two things back and forth ever gets below about one and a half units. An operator glancing every five seconds oscillates between 1.56 and 3.86 CAM16-UCS units of error, and the floor of that range is fourteen times the 0.11 a settled observer reaches. The transient never decays because the drive never stops; what looks like an adaptation period is a duty cycle.

And the trade runs the wrong way for anybody trying to fix it by looking longer. Lengthening the dwell improves the best moment — 1.93 down to 1.10 as the glance goes from two seconds to a minute — and makes the worst moment worse, 3.65 up to 4.06. A longer look lets the slow component get further from the midpoint, so the observer arrives at the other object carrying more of the wrong state. There is no dwell that is good at both ends, and the two ends are the two things being compared.

Put beside the settled figures the essay already quotes, this reorders the problem. The soft-proof gap between a booth and a screen is 4.18 units under settled conditions and is a difference somebody pays money to remove. The act of comparing them costs between 1.6 and 3.9 units on its own, in a direction that alternates with the glance — so a large part of what an operator is judging when they look back and forth is their own duty cycle.

The procedure that avoids it is the one nobody follows because it feels wasteful: look at one thing, wait, form a judgement, then look at the other, wait, and form a second judgement — comparing two memories rather than two views. That trades the transient for the far worse noise of colour memory, which is why it is not the practice; but the trade is now a trade between two measured quantities rather than between a measured one and an unexamined one.

What a standard could say instead

The visual assessment standards already prescribe an adaptation period, and this arithmetic suggests what a sharper version would look like.

Name the time, not the ritual. “Allow the observer to adapt” is a procedure; “at least sixty seconds, during which the observer looks at the field and not at the samples” is a specification, and the table above says what each choice of number costs.

Name the previous state. The transient’s size depends on where the observer came from — the further the two whites, the larger it is — so a booth that switches between D65 and illuminant A demands a longer wait than one that switches between D50 and D65.

And treat a repeated comparison as a repeated settling. Looking back and forth between a screen and a booth does not let the observer settle at either: each glance restarts the clock from the other end. Nothing in any current procedure acknowledges that, and it is the commonest way a careful person makes an uncontrolled measurement.

How far a judgement is from the settled one, second by second. The light changed from one white to another at t = 0 and nothing else moved. The model has one degree of adaptation and no clock, so the distance plotted is what a clock adds: 3.9 CAM16-UCS units half a second in, still 1.4 after a minute, and 0.12 after five. Every appearance number on this site is the value at the right-hand end.
Fig. 3 The same transient in a brighter booth. The size scales with the degree of adaptation, which scales with the light level, so a bright viewing cabinet has both the better light and the larger settling error — and the second is the one nobody budgets for.

What was computed, and how

The transition is D65 to D50, with the stimulus fixed in XYZ and the room’s luminance and surround unchanged. Only the white moves.

The appearance at each time is CIECAM16 with the white interpolated by done(t), and the distance is CAM16-UCS against the fully settled appearance — the site’s usual unit for an appearance difference, and the same one the proof comparison is quoted in.

The assertions are three, and the third is the one that catches the bug above. The shift must be monotone; the shift at half a second must exceed a floor, because a transient too small to notice would be nothing to warn anybody about; and the shift at five minutes must be under 0.2, because a model whose transient never settles is modelling something else.

Where the model stops

The constants are quoted and the shape is chosen. Two exponentials is the simplest form that reproduces the reported behaviour — a fast receptoral component and a slow one — and the literature reports more structure than that, including asymmetries between adapting to a brighter light and to a dimmer one.

Only the white moves. A real change of light usually changes the level as well, and light and dark adaptation have their own much slower course — minutes to tens of minutes — which is a different mechanism and is not here.

Nothing local. This is scene-wide adaptation. The local version is an afterimage, which has its own time course and is computed in this phase without one.

The repeated-glance figures assume the drive is a square wave. A real operator’s gaze does not alternate on a fixed period, does not spend equal time on each object, and passes over everything between them on the way; the table is what a metronome would produce. Its ordering — a floor that never reaches the settled value, and a best moment that improves as the worst one degrades — depends only on the two exponentials being driven periodically, and not on the shape of the drive.

And the interpolation of the white is a modelling choice. What is actually changing over time is a set of receptor gains; treating that as a white part way between two whites is a defensible approximation and it is not a derivation. A model with time in it properly would carry gains rather than whites.

How far a judgement is from the settled one, second by second. The light changed from one white to another at t = 0 and nothing else moved. The model has one degree of adaptation and no clock, so the distance plotted is what a clock adds: 3.3 CAM16-UCS units half a second in, still 1.2 after a minute, and 0.10 after five. Every appearance number on this site is the value at the right-hand end.
Fig. 4 The same transition in a dimmer room, for comparison with the two above. The three together are the essay’s one free parameter swept: the transient scales with the degree of adaptation, which scales with the light.

A cyan is the hue where the same sweep of adapting whites moves the stimulus furthest, and it is worth seeing beside the earlier one.

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 148 to 15 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.
Fig. 5 One stimulus — fixed in XYZ and unchanged throughout — shown against whites from 12 to 800 candelas per square metre. Its lightness falls and its brightness rises, because one of those is a ratio to the white and the other is not.

The generalisation

The habit is: when a model takes a situation as an argument, ask which of the situation’s properties it left out.

CIECAM16 takes four numbers and returns six correlates, and it is very good. What it takes is a state, and a state is a snapshot: the model has no way to express that the observer arrived at this state from somewhere, when, or how fast. Every one of its outputs is therefore an asymptote.

The same shape appears wherever a steady-state model is applied to a process:

The practical rule is the one the standards already encode without explaining: wait, and say how long. A visual comparison is a measurement with a settling time, like every other measurement made with an instrument that has one.

Who found it, and when

The time course of chromatic adaptation has been measured since the 1950s, and the two-component structure — a fast receptoral process and a slower post-receptoral one — was established through the following decades by measuring how a judgement changes in the seconds and minutes after a change of illuminant.

The practical response is older than the measurement. Visual assessment standards have prescribed adaptation periods for as long as they have existed, because anybody who has compared two samples under two lights notices the effect within a day of starting the job.

What has not happened is the model. CIECAM-class appearance models remain steady-state by design, and the reason is defensible: adding a clock means adding a state, and a model with a state cannot be a function from a stimulus and a situation to an appearance. The colour-management pipelines that use these models are built out of stateless transforms, and a stateful appearance model would not fit into any of them.

That is worth stating plainly rather than as a criticism. The omission is architectural, not an oversight, and the price of it is the table at the top of this essay.

A dim room is where the model’s own account of a display’s reach is furthest from the display’s specification.

The colourfulness the sRGB cube reaches, against the light in the room. The display is the same display throughout and the signal is the same signal. What moves is the adapting luminance, which enters the appearance model and nothing else. The furthest colourfulness the cube reaches falls from 131 to 57, a factor of 2.29. A gamut in CIELAB cannot show this at all, because CIELAB has no light level in it — which is why every gamut percentage in circulation is quoted without one.
Fig. 6 The display is the same display and the signal the same signal; what moves is the adapting luminance, which enters the appearance model and nothing else. The furthest colourfulness the sRGB cube reaches falls with the light in the room.

What the pictures cannot show

The transient. A page cannot change the reader’s illuminant, so nothing here can demonstrate the effect; the figures are plots of a model. The demonstration is available to anyone with two lamps and a colour sample, and it takes about ninety seconds.

And the settling is drawn on a logarithmic time axis, which is the only way to show half a second and five minutes on one figure and which flatters the tail: the last two minutes look like a short stretch of the axis and are a third of the adaptation.

How far a judgement is from the settled one, second by second. The light changed from one white to another at t = 0 and nothing else moved. The model has one degree of adaptation and no clock, so the distance plotted is what a clock adds: 3.0 CAM16-UCS units half a second in, still 1.1 after a minute, and 0.09 after five. Every appearance number on this site is the value at the right-hand end.
Fig. 7 The same transition in a dim room. The transient is smaller — 3.04 units at half a second rather than 3.58 — because a dimmer room adapts to a smaller degree, so there is less adaptation to complete. Every claim in this essay carries a light level for that reason.
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.
Fig. 8 The four arguments the model does take, one of them swept. The essay’s whole content is that a fifth argument exists, is not in the list, and is worth several units for the first minute after anything changes.

Where the ladder goes next

The nearest piece of work joins the two halves this phase built separately. An afterimage is local adaptation without a clock; this essay is scene-wide adaptation with one. A model carrying gains with time constants, rather than whites with an interpolation, would produce both from one mechanism — the afterimage as the transient of a local gain change, the illuminant shift as the transient of a global one.

The second is the asymmetry. Adapting to a brighter light and to a dimmer one are known to take different times, and nothing here has a direction in it. A model with the asymmetry would predict something the symmetric one cannot: that walking from a lit room into a dim one costs more judgement time than the reverse, which is both testable and part of why cinemas have foyers.

What this makes readable

Essays that name this one as a prerequisite.

Named alongside this one

Essays reaching for the same objects. Nobody chose these; they are what the index of named objects makes visible.

What links here

The 8 essays that link to this one and share the most of its objects, of 13 that link here.

The objects this essay names

Each one links to every other essay that touches it.

AdaptationAssertionChromatic adaptationCIECAM16Colour appearanceColour constancyQuality controlSpecificationViewing conditionThe von Kries transform