Theme

The thread: Computed, not quoted — page 18

Every swatch begins as a spectral power distribution and is carried through the colour-matching functions as it is drawn. None is a hex code recalled from a table.
Six departures, and three ways of adding them up. The six audited observer departures on 120 smooth reflectances, across the dial. Summing them assumes they all point the same way and is an overestimate everywhere; taking the largest alone assumes only one matters and is an underestimate everywhere. Quadrature — the usual way of combining contributions taken to be independent — assumes they are mutually perpendicular, and the measured combination crosses it at a degree of 0.8618. Below that the departures are on balance pointing together and quadrature is too small; above it they are on balance pointing apart and quadrature is too large. It is exactly right in one room. Difference and uniformity

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.

Where a surface's band sits decides the room it needs. Each of 168 surfaces at its own crossing — the degree of adaptation at which the part adaptation has yet to remove falls to the size of the part it will leave — against where that surface's absorption band sits. The line joins the median at each band centre and the rooms are marked across. A surface absorbing at 470 nm crosses at 0.883 and one absorbing at 670 nm at 0.972. Both of the filters this is about absorb in the blue, so a surface with a blue band is where the two differ in shape and has a large residual, while a surface with a red band is nearly invisible to both and its whole deviation is the shared yellowing of the observer's white. Difference and uniformity

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.

Three stored-value defects, before the eye and after it, a print at 40 cm. Each defect's largest colour difference between the version computed on stored values and the version computed on light, read twice: as a pixel carries it, and after both images have been through the visual system's three channels at 83 pixels a degree. The two rankings are not the same. The unsharp mask has the largest error per pixel — 16.62 — and keeps only 38 per cent of it; the corner has the smallest at 7.14 and comes out at 9.87. The filter is not a blur applied to a difference: it is applied to each image, and the difference is taken after. What it takes to deliver it

The eye keeps the lightness errors

Four essays have priced what a resize taken on stored values costs, in colour differences between pixels. A reader does not see a pixel. Put the two versions of each image through the visual system's own three channels and the ranking reverses: the unsharp mask, the largest error per pixel at 16.6, is seen at 6.3 on a printed page, while the corner's 7.1 is seen at 9.9. What decides it is not the size of an error but how much of it is colour.

The error between a profile's nodes is a bias, not a scatter. Two quantities against the lattice size: the mean colour difference between the nodes, and the mean signed lightness error. If the interpolation erred in both directions the second would be near zero while the first was not. They lie on each other — 0.136 against 0.133 at a nine-step lattice — so the whole of what a profile does between its patches is to lighten. It errs light because a press's response is convex in ink coverage: the first drop of ink removes more light than the last, and a straight line between two points on a convex curve lies above it. At three steps 400 of 400 samples err light. What it takes to deliver it

A profile interpolates light

A profile is exact at its patches and wrong between them, and how wrong has been measured twice. Which way it is wrong has not. At a nine-step lattice the mean signed lightness error between the nodes is +0.136 against a mean colour difference of 0.133 — the error is not a scatter but a bias, and it lightens. The repair costs nothing measured and is forbidden by how a profile is checked: let the table be wrong at its own patches.

One instrument, one uncertainty, six places on the scale. What an absolute uncertainty of 0.001 in measured reflectance is worth in lightness, at six levels from a four-colour solid to the paper. Nothing about the instrument changes between the rows: what changes is the slope of the lightness function, which is a straight line of 903 units per unit of luminance factor below a luminance of 0.0089 and a cube root above it. At the solid the uncertainty is 0.903 lightness units and at the paper 0.043 — 21 times as much, for the same measurement. What it takes to deliver it

The scale hangs from one measurement

Black point compensation is a straight line between two blacks, and the destination's is a measurement of one patch at the darkest place a spectrophotometer is ever asked to read. The lightness scale's slope is 903 units per unit of luminance factor there and 43 at the paper, so a thousandth of a reflectance is worth nine tenths of a lightness unit at the black and four hundredths at the white. That one number moves a mid grey by nearly a quarter of a delivery tolerance, and no specification names it.

The confusion matrix, and which corner the common lamps are in. Twelve fixtures sorted two ways. Down the page is what their spectra are; across is what flicker says. The two corners on the diagonal are 7 fixtures the classifier gets right. The 3 missed are structured lamps that do not flicker — a white LED and a warm LED on constant drivers, and a three-emitter fixture — and those are the lamps most modern interiors are lit by. The 2 false alarms are smooth lamps that do flicker: a halogen lamp on mains and a tinted radiator, both of which a photograph of a room is quite likely to contain. What a camera does

Flicker sorts lamps the wrong way

A camera cannot see a spectral line in its own white, so the essay on the two-matrix profile named the classifiers a device might have instead, and the first of them was flicker. Flicker is measurable, and it measures the wrong thing. It sorts lamps by how their power is delivered while the matrix needs them sorted by how their spectrum is shaped, and the two are independent: a white LED on a constant driver is perfectly steady and strongly structured, and it is what most indoor photographs are lit by.

The statistic a converter would read, under each model. The log ratio of the two channels that are still open, against how bright the surface is, under the two models of what a highlight is. A matt surface over-exposed keeps its own ratio exactly — the line is flat, and it must be, because scaling every channel by the same amount leaves a ratio alone. A glossy surface carries a reflection of the lamp on top of its body colour, so its ratio slides towards the lamp's as the reflection strengthens: -0.086 of a log unit between a quarter of full scale and nine tenths. That slide is the whole of the evidence a converter has for choosing between them. What a camera does

The converter can choose except where it matters

A converter rebuilding a clipped highlight has to say whether the surface was matt and over-exposed or glossy and carrying a reflection, and the evidence is whether its raw chromaticity slides towards the lamp's on the way up. Read through the sensor's own noise, the slide is clear on most of the chart from the few tens of pixels a specular highlight holds — and on the surfaces where it takes half a frame, confusing the two models costs more than the median. A ratio cannot see a common scale, and an exposure supplies one.

The four places a clamp could sit are two pipelines. Every pair of clamp positions, with the largest difference their delivered values reach over a grid of raw inputs that includes negative ones. Two of the six are exactly zero: a clamp at zero commutes with the white balance, which is a positive scale applied channel by channel, and with the tone curve, which is monotone and fixes zero. It does not commute with the colour matrix, which is the only step that mixes the channels — so the four positions collapse to two, before the matrix and after it, and no measurement of any scene can say more than which side a converter is on. What a camera does

Four places to clamp are two pipelines

The essay on clipped noise ended on a procedure: a black frame and a dim grey card at a high amplification would place each raw converter's clamp. A procedure is a claim that a measurement identifies something, and this one identifies less than it looks. A clamp at zero commutes with the white balance and with the tone curve and not with the colour matrix, so the four positions are two pipelines — and the measurement separates them, on a card at half a per cent of white rather than on the black frame.

Six ways of tabulating one notch on one mercury line. A 12-nanometre notch centred on a fluorescent tube's 546.1 nm line, its colour computed on a five-nanometre grid six ways, on a logarithmic scale. Point sampling costs 2.54 colour differences and two separate slits 0.727. Sharpening both blurred tables with the published three-term correction takes it to 0.188 — a real improvement, four times better — and one slit on the light the sample actually reflects gives 0.019. The correction recovers the part of the damage that is a blur, and the part that is left is not a blur. What light is

A linear repair for a bilinear loss

The Stearns correction sharpens a table blurred by a triangular slit, and the obvious question was whether applying it to a lamp's table and a sample's restores the product the two of them are wrong about. It restores four fifths of the damage and cannot touch the rest: a three-term filter is linear, the covariance two separately blurred tables discard is bilinear in the two factors, and no linear operator applied to each factor separately produces a bilinear term. What is left is ten times the one-slit answer, at every position of the notch.

One instrument, one slit, two requirements. The slit's width swept, with three measurements on a logarithmic scale: a smooth sample under the line lamp, where only the lamp's structure is at stake; the notched sample under a smooth lamp, where only the notch is; and the real case, both at once. The lamp wants a slit of 5 nanometres and the sample wants 1, and each wants what it wants for the same reason: a slit should spread a feature the grid cannot resolve and leave one it can. The real case is best at 3 nanometres — which is neither requirement's answer — and costs 0.247 there, an order of magnitude more than either requirement alone. What light is

One slit, two requirements

A line lamp wants a wide slit, because a wide slit spreads a line where a coarse grid can see it. A notched sample wants a narrow one, because a wide slit fills the notch the grid could have resolved. An instrument has one slit. Measured on the two requirements separately the best widths are five nanometres and one; measured on the two together the best is three, which is neither — and it costs twelve times what the lamp alone would cost and thirty-four times what the sample alone would.

An interference notch filter, and where a five-nanometre grid lands on it. The transmittance of a Fabry-Pérot etalon of order 24 and finesse 20, drawn at a fifth of a nanometre, with the standard grid's points marked. Its features are 2.29 nanometres wide and spaced 22.9 apart, so the grid steps over them: between two adjacent grid points the transmittance rises and falls completely, and neither point records it. That is what a real coating looks like, and a Gaussian notch — which is what this collection's earlier work used — is a much gentler object. What light is

A finer table is a worse table

A real interference filter is not a Gaussian notch. It is an etalon, with pass bands a nanometre or two wide spaced twenty-three apart, and a five-nanometre grid steps over them. Resampled from the maker's one-nanometre table its colour is out by five colour differences under every fill-in rule — the three rules agree to three decimals, because none of them is ever handed a sample inside a feature. The same filter measured through a five-nanometre slit is out by 0.03.

Two uniform spaces, two answers: cyan to magenta. The gradient from above, in the a and b plane. The grey line is the straight path in CIELAB; the two coloured curves are the shortest paths under ΔE₀₀'s own local metric and under CAM16-UCS's. They are 15.7 CIELAB units apart at their furthest, against bows from the straight line of 9.9 and 12.2. Both spaces are published as uniform and both are used to decide what lies between two colours; they do not agree. Matching and measuring

Two uniform spaces disagree about between

ΔE₀₀'s own local behaviour says which colours lie between two colours, and so does CAM16-UCS's. They do not agree. On cyan to magenta the two shortest paths run fifteen CIELAB units apart — more than either runs from the straight line — and on that gradient ΔE₀₀ would rather have the straight line than CAM16-UCS's answer. Getting the comparison at all takes noticing that one of the two has no local metric: its published difference is a Euclidean distance raised to the power 0.63, and a power below one has an infinite derivative at zero.

What a gamut charges a gradient, against what the relaxation's noise is. For each gradient, how much longer the best path that stays inside sRGB is than the free shortest path, as a percentage of the free one. The shaded band is the relaxation's own noise, measured by relaxing the same free path from two different starting points: 0.42 per cent at its worst. Every excess is inside it. So holding a gradient inside a display's gamut costs nothing measurable in the metric's own units, on any of these pairs — including the ones whose free path is outside at most of its points. Matching and measuring

A gamut charges a gradient nothing

On red to green the shortest path happened to stay inside sRGB where the straight line did not, and that was called a coincidence of mechanism. Made into a measurement it is not a coincidence: constraining a path to stay inside the gamut costs less of the metric's own length than the relaxation's own noise, on every gradient tested — including the ones whose free shortest path is outside at fifteen of its twenty-one steps. The gamut's boundary and the metric's cheap region point the same way, and the price of the constraint is nothing.

How often the choice of correction changes a pair's grade. Eighteen metameric pairs walked to each of eleven reference mismatches, with the share whose index falls in a different band under the two corrections the standard allows. At an exact match the share is zero and must be: there is nothing for either correction to correct. It rises to 44 per cent at a reference mismatch of 2, which is the quality a dyehouse reaches rather than the quality a laboratory constructs. The banding is a five-step convention at 0.5, 1, 2 and 3, stated here rather than quoted, and how much the count depends on it is drawn separately. Matching and measuring

The ambiguity is largest where the index is used

The metamerism index is defined for a pair that matches exactly under the reference light, no real pair does, and the two corrections the standard allows for the residual give different answers. Over eighteen pairs at eleven match qualities the gap is nearly a function of the mismatch alone — its middle half spans a factor of 1.4 at the mismatches a dyehouse reaches — so it could be tabulated. And it is largest exactly there: zero at a laboratory's match, and re-grading eight pairs in eighteen at a trade's.

The glossiest finish the solver can report, against what it costs to report it. Six quadratures, each with the roughness at which its answer stops being stable, on logarithmic axes. The line is a fit and its slope is -0.350: the reachable roughness falls as the cost to the power of about a third, so reaching a finish twice as glossy costs about 7 times the work. The solver used here sits at 108 directions and reports down to a roughness of 0.145, which is where its own note put the boundary by inspection. What a scene does

The boundary belongs to the quadrature

The directional solver stops at a roughness of about 0.15, and below that its answers are not imprecise but unphysical. The boundary is where the lobe stops being resolved by the sampling, so it belongs to the discretisation rather than to the room — and moving it is a purchase. Measured across six quadratures the reachable roughness falls as the cost to the power of a third, so a finish twice as glossy costs seven times the work and a polished varnish costs two hundred and thirty-six times.

A satin finish pulls each room towards the lamp's white — a 3000 K radiator. Six rooms lit by a 3000 K radiator, on the ab plane of an instrument referenced to daylight, whose own white is the cross at the centre. Each open circle is a matt room and the arrow runs to the same room with satin walls. The filled diamond is the lamp's own white on that plane. Every arrow points within 9.2 degrees of the diamond and covers between 8.1 and 11.5 per cent of the distance to it. Whether the daylight instrument then reads more chroma or less depends only on whether the room was nearer the cross than the diamond is. What a scene does

A finish adds colour only to a daylight meter

Measured against daylight's white, a satin finish under six lamps and six wall colours takes anything from −6 to 42 per cent of a room's colour, and one room reads as more colourful glossy than matt. Measured against the white of the lamp each room is actually lit by, the same thirty-six rooms lose between 7.7 and 12.9 per cent and none gains. The whole spread was the lamp's own colour, and the finish does one simple thing to every room: it pulls the room's colour a tenth of the way towards the lamp's white.

Thirty-six rooms as a viewer adapted to each would see them. Each cell is one room at a satin finish: wall colour down, lamp across. The large number is the share of the faces' chroma a viewer adapted to the room's own light loses, read through CIECAM16; the small number under it is what the room's light loses against the lamp's white. The viewer loses between 12.8 and 30.9 per cent, always more than the light, and the rows differ far more than the columns: a deep red room loses about twice what a green one does under every lamp. What a scene does

What an adapted viewer loses is set by the wall

A satin finish takes about a tenth of a room's colour, measured on the room's light against its lamp's white. Read through an appearance model by a viewer adapted to the room, the same thirty-six rooms lose between 12.8 and 30.9 per cent — 1.4 to 2.4 times as much — and the wall colour decides the multiplier: a deep red room loses twice what a green one does, under every lamp. A test on the bare wall predicts it. Add a little of the lamp's white to the wall's own colour and ask the model what that costs: the answer orders the thirty-six multipliers at 0.95.

The share a finish takes falls with how much light the wall returns. Seventy-two rooms under daylight, each with a different paint on two opposite walls — six hues, four band widths, three peak reflectances — at a satin finish. Across is the wall's luminance factor, the share of the lamp's light it returns; up is the share of the room's chroma the finish takes. The losses fall with the luminance factor at a rank correlation of −0.89, from 15.5 per cent on the darkest walls to 2.5 on the palest. The two ringed paints make rooms of the same matt chroma and lose 14.7 and 2.5 per cent. What a scene does

A dark wall pays for a finish

A satin finish takes about a tenth of a room's colour, and the tenth varies. The natural explanation is that a weak colour loses a larger share of itself to the white light a glossy surface adds. Over seventy-two paints under one lamp that explanation orders nothing: the loss runs from 2.5 to 15.5 per cent, it follows how much light the wall returns at a rank correlation of −0.89, and it follows how colourful the wall is at −0.04. Two rooms equally colourful matt lose shares nearly six times apart, and the one that loses more is the darker.

How many directions a slope limit costs, under four lamps. For each transition width and each lamp, the share of the solid's directions that lose more than one per cent of their reach — each lamp's solid against its own ideal. Daylight, a tungsten lamp and a phosphor LED run close together. The three-emitter LED, whose power sits in lines at 455, 530, 625 nanometres, costs 62 directions at forty nanometres where daylight costs 183, and by eighty — about the spacing of its lines — it costs 214 against 218. Where the model breaks

Three lines spare a slow pigment

A pigment that cannot switch faster than forty nanometres loses more than a per cent of its reach in 183 of the object-colour solid's 305 directions under daylight. Under an LED whose light sits in three narrow lines, it loses that much in 62. Between the lines almost nothing is measured, so a slow reflectance can do its changing there — until its transitions are as wide as the lines are far apart, at which point the lamp stops helping and the count jumps to daylight's.

A 40-nanometre limit written in nanometres and written in energy. The transition width a reflectance is allowed, across the spectrum, for two ways of stating the same sharpness. Written in nanometres it is 40 everywhere. Written as a fixed spread of photon energy, which is how an absorption band's width is set, it is 40 at 550 nanometres and grows as the square of the wavelength: 21 at 400 and 67 at 700. The steps are the quantisation the calculation actually imposes. Where the model breaks

A limit written in energy charges the reds

A slope limit on reflectance is usually written in nanometres and applied the same way across the spectrum. An absorption band's width is closer to a fixed spread of photon energy, which is nearly twice as many nanometres at 700 as at 500. Written that way, a limit that is forty nanometres at 550 is kinder to the object-colour solid overall — 489 of 913 directions lose a per cent rather than 544 — and it charges the reds more. Which directions pay is decided by one thing: whether their optimal edges fall above or below the reference wavelength.

Two tables, two directions of error: 5-node ramps of four inks. For each ink, the mean signed lightness error between the nodes: of the ordinary forward table, which errs light, and of four ways to fill the inverse table, all of which err dark except the one refitted against its own objective. On cyan the forward table errs by +0.206; an inverse filled from the press by -0.317; one inverted from the ordinary table by -0.554, because it inherits the forward table's error on top of its own; one inverted from the refitted table by -0.367; and one refitted in its own right by -0.002. What it takes to deliver it

The inverse table errs dark

A profile's forward table predicts a print lighter than the press makes, and refitting its nodes removes the bias. The table a colour engine actually uses to separate an image is the other one — the inverse, from colour to ink — and it errs the opposite way: filled exactly from the press it asks for too much ink and prints dark, and built by inverting the ordinary forward table it prints darker still. Inverting the refitted forward table removes the inherited part and leaves the inverse's own. The round trip through both tables improves only when each is refitted against its own error, and then the two are no longer each other's inverse.

Where an unsharp mask errs, per pixel and as seen: print, 40 cm. The upper-left corner of a patch of skin against its shadow after an unsharp mask, as two maps of the colour difference between the result taken on stored values and taken on light. Left, pixel by pixel: the corner peaks at 16.8 and the middle of the edge at 16.6. Right, after the eye's three spatial channels at a print at 40 cm: the corner is seen at 17.1 and the edge at 7.1, a ratio of 2.40. Darker is larger, on one scale for both maps. What it takes to deliver it

The eye counts a corner's error, not its peak

A Lanczos-magnified patch errs a fifth more at its corner than along its edges, pixel by pixel, and an unsharp mask errs almost exactly as much at its corner as along its edges. Filtered by the eye over the plane rather than along a line, the two swap: the magnified corner is seen exactly as its edge is, and on a printed page the sharpened corner is seen at 2.4 times its edge. What decides it is whether the error changes sign. Ringing averages away and a one-sided halo does not, and a corner is where two edges' halos land on the same patch of retina.

What the rods cost a match, by where their signal enters and under which lamp. For five lights, the median colour difference over forty-two surfaces between the reference observer and the same observer with a rod signal a tenth of each cone's peak added — into all three cone channels, into the long- and middle-wavelength channels only, or into the short-wavelength channel only. Under daylight the first two are 1.03 and 0.90: whether the rods reach the S pathway hardly matters. Under a phosphor white LED they are 1.24 and 0.45, a factor of 2.75, and the S-only route alone costs 0.96. What the eye does

The rods' route is priced by the lamp

A rod signal in a dim room disturbs a colour match, and how much depends on which of the cone pathways it reaches — a weight the physiology leaves uncertain, especially for the blue–yellow pathway. Under daylight the uncertainty is nearly free: a rod signal that skips the S pathway costs 0.90 at the median surface against 1.03 for one that enters all three. Under a phosphor white LED it is worth a factor of 2.75, 0.45 against 1.24. What decides it is one number per lamp: how large the rod signal is compared with each cone class's own catch of the light.

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°. What the brain does

White turns a hue, and the models part at blue

Mix a saturated light with white and its hue changes as well as its saturation — the Abney effect, and the reason lines of constant perceived hue curve in a chromaticity diagram. Asked what adding white does to the twenty-four most saturated colours a display makes, CIECAM16, CIELAB and Oklab all turn the hue. About reds they agree: CIECAM16 turns within a degree of Oklab, whose hue was fitted to observers' constant-hue judgements. About the display's blue they do not: Oklab turns sixteen degrees, CIECAM16 four, and CIELAB nine the other way.

463 essays on this thread, page 18 of 20 · all threads · all essays