Theme

The thread: Made by something finite — page 3

The departures in these fields are not optical. Depth is kept in a fixed number of bits, the picture is a grid of samples that need not be square, and the frame is read over an interval and mostly a row at a time. None of that changes what a projection is; all of it changes what this particular picture is a projection of, and each one has a closed form and a control. Essays 49 to 66 of 66.
-50-250255003691215frame, a thirtieth of a second apart, along one drive round the bendthe post's lean in the picture (thousandths)read top-downread bottom-upthe tilt as drawna post 12 m out, one drive, speed knownexact leans The rectangle behind the lens

Frames read up and down part a post's lean in one drive

A rolling camera reads a bend from how its roadside posts lean, and a post's own tilt is read as bend unless a second car drives the road the other way. A sensor that reads alternate frames from the bottom row up reverses the shutter's lean without reversing the car. Thirty-two such frames of one drive read the 50-metre bend from a timber pole to ±1.8 metres, against ±1.7 for two passes of sixteen — and a post swaying in the wind, which costs two passes three metres, costs one drive a quarter of one.

-0.05000.050one over the pole's range, 1/mthe pole's lean in the picture01/401/201/10top-down framebottom-up framehalf the difference1/Rfilled: top-down · hollow: bottom-up · ringed: half the differencetwelve poles, one pair of frames The rectangle behind the lens

One pair of frames reads the speed and the bend from the roadside

A camera that reads one frame from the top down and the next from the bottom up turns every roadside pole's rolling-shutter lean round and leaves its own tilt where it was. Half the difference of each pole's two leans is the shutter's alone, and across a row of poles it lies on one straight line in one over the range: its slope is the car's speed and its crossing is the bend. So one pair of frames, a fifteenth of a second, reads both — the speed to 3 per cent and the bend to ±5.6 m from sixteen timber poles, whatever they lean. With the speed known, sixteen poles read the bend to ±2.4 m, a little better than one plumb post followed for sixteen frames. The nearest pole decides most of it.

-4-3-2-1000.50011.502how much more effort, log₁₀ of the controlhow much of the error is left, log₁₀ of the first samplepanorama-seam · −0.92panorama-vertical · floorsilhouette-hull · −2.00silhouette-notch · flooranamorph-sagitta · −2.30anamorph-sagitta-intervals · −2.00mirrorball-size · −1.007 laws, 12 samples each2 with a floor · 5 without What survives

An error with two terms

Two results from machineries with nothing in common have now found the same shape. A panorama's parallax separates into a term that halves every time the frame count doubles and a term with no frame count in it at all; a silhouette's error into an excess that falls as one over the square of the view count and the area of a concavity that is the same number at four views and at a hundred and twenty-eight. Fitting both terms turns the distinction into a measurement, and pointed at seven of this collection's own laws it reads every one of them the way its own essay does.

00.2500.5000.7501-1-0.50000.500how far apart the lamps are, log₁₀ metreshow often the drawing is read as two lampshalf the drawings1 px of clicking, 12 drawings each, separated across the viewbelow the crossing the second lamp is not in the picture Light and mirrors

The distance at which two lamps part

Two lamps five centimetres apart are one lamp, and the drawing is right to say so. The separation at which they become two is proportional to how carelessly the picture was clicked — 3.6 centimetres at half a pixel, 7.2 at one, 28 at four — with no floor anywhere, so nothing but care stands between a reader and any separation at all.

direct0.708 pxdirect, logical shot0.000 pxcomposited0.708 pxcomposited, naive0.915 pxcomposited, logical shot0.000 pxnaive throughout, logical shot0.471 pxworst over every windowpale: breaks the bound What a machine computes

A display's scales cancel, if they are true maps

Between a renderer's buffer and a screenshot there may be two more resamples: a compositor reducing a whole-number scale to the panel, and a screenshot read back at the window's size. Each rounds to whole pixels, and under the true map the roundings telescope: only the last size and the renderer's assumed aspect matter, so the one-rounding bound survives, and a screenshot at the window's size shows the square camera exactly. A naive step breaks the bound in six per cent of windows and moves every centre.

0246801020304050generations of copyingerror in the proportions, rms (% of height)no ruletwo rulesgrid of 18chain of fourfour from the hairlinehand of 1% a markfifty copies: 0.99% Systems that kept the measure

A ratio is a code with no threshold

A grid corrects a copy by rounding each mark to a line, which makes it exact below a threshold of hand and lost above it. A canon of ratios corrects by setting each landmark from another on the same drawing. That holds every ruled proportion at one hand's error for ever, at any hand, and holds nothing it does not name, and nothing about the figure's size. On a grid, a ratio canon is exact where the grid is and bounded where the grid is not.

42.0°27.3°13.5°13.5°27.3°42.0°leftfrontrightbackupdownmidpoint: 0°7 straight lines, at 60° to the seamworst 42.04° · midpoint 0° Surfaces that are not flat

The kink at a seam

A cube map is six flat pictures, so every great circle is drawn exactly straight inside a face — to 3e-15 of its chord — and breaks at the join. The break is a kink and not a bend, it is exactly zero at a seam's midpoint whatever the slant, and it is bounded by 2·atan(½) = 53.130° at the corner.

0%0.3%0.6%0.9%1.2%one rule1.00%twice from the hairline0.71%three times, mean0.58%three times, median0.67%hairline and a neighbour1.02%hairline and two others1.11%steady rms error of a proportion (%), hand error 1%dark: every rule from the hairlinepale: a rule from another landmark Systems that kept the measure

A second rule pays only from the same reference

A canon that names a landmark twice lets the copyist set it twice and average. Measured from the hairline both times, the proportion's error falls to one over root two of a hand's, 0.71% at a 1% hand. Set the second time from another landmark, as a canon that ties the parts to each other does, and it falls by nothing or rises, to 1.50%. Against a rare large slip two settings are a detector, catching 95% of slips of eight hand errors, and three settings with their median are a corrector: copies left visibly wrong fall from 8.2% to 0.3%.

the camera's principal point1280×720 logical, device scale 1.5crop rounding: 0.50, 0.00 px What a machine computes

A crop moves the frame and not the camera

A crop of a screenshot scales nothing. It moves the frame's corner and leaves the renderer's principal point where it was, so the cropped picture is exactly the picture of an off-centre camera and nothing in it can say otherwise. What the crop adds is the rounding of its edges to whole screen pixels, which moves the principal point by at most half a pixel each way, in a pattern that repeats with the crop's position and never grows. Converting the crop's corner with the map that is right for a pixel's centre adds half the scale's excess on top, a whole pixel on a display at 2 or 3.

how clearly each line belongs to one pencil2 lamps, 5 posts251.5 px100% assigned right3 lamps, 5 posts12.1 px73% assigned right4 lamps, 5 posts38.6 px40% assigned right0.5 px of clicking, lamps spread over 2 mthe counting of unknowns cannot see this Light and mirrors

The drawing does not run out of lines

Every post supplies a line to every lamp, so a drawing of five posts offers ten lines to two lamps and twenty to four — the unknowns and the constraints grow together and two posts fix any number of lights. What runs out is the partition, whose margin falls from 251 pixels to six as the share of lines assigned correctly falls from all to just over half.

window, 1280 × 720 logical, at 1.5117 × 73 pxfx 346.3 pxfy 348.4 pxcrop 211 × 131 → 117 wideheight 72.57 → 73 What a machine computes

A thumbnail gives its camera a pixel it cannot see

A crop resized to a stated width has its height rounded, so its two focal lengths are scaled by two different ratios of whole numbers. They disagree by at most one rounding of the target's height, 1/(2h): 0.8% at 100 px wide, 0.1% at 800, and across ten thousand crop sizes the worst fills the bound. In the target's own pixels that is half a pixel times the crop's focal length in heights, six pixels for a narrow crop, while no corner of the picture moves more than half a pixel. A box and a square in the same thumbnail read the squeeze ten to forty times too coarsely to notice.

from the fieldkneebuttockelbowshoulderhairlinefrom the rulingsets the fourfrom the figurekneebuttockelbowshoulderhairlinefrom the shouldersets the fourhand error 1%, a hundred copiessize: 1.0% against 15.6% Systems that kept the measure

A canon holds the size only from the field

A canon of ratios holds a figure's proportions and lets its size walk, because every rule measures from the hairline and nothing measures the hairline. Rule the hairline from a fixed mark on the field and the size stops walking, held at one hand's error for ever. Rule it instead from the figure's own landmarks, as a canon of mutual ratios would, and the loop has no fixed point: the size walks faster than with no rule at all, 19% after a hundred copies through the shoulder and 43% through the knee. Averaging the field with the landmarks holds it at twice the field's error, and a median of three settings from the field keeps a slip out of the size.

316 × 196690 × 428straight to 690fy/fx − 1 = 0.01%316 × 196117 × 73690 × 431via a 117 px thumbnailfy/fx − 1 = 0.71%316 × 19625 × 16690 × 442via a 25 px picturefy/fx − 1 = 3.28%boxes at 0.2 of their pixelseach tool rounds the height it was handed What a machine computes

A chain of resizes remembers its smallest picture

A picture resized several times, each tool keeping the aspect of the picture it was handed, carries every tool's rounding to the end: nothing undoes an earlier one, because the next tool rounds the aspect it was given. The final squeeze is bounded by the sum of every step's one rounding and fills it, so the smallest picture in the chain dominates, and an enlargement after a thumbnail brings the thumbnail's half pixel back magnified: 14 px of height at 690 px wide through a 25 px icon. The roundings add as a root of the count, floors add in a straight line, and a tool that keeps the source's own aspect forgets them all but its last.

kneebuttockelbowshoulderhairlineset fromthe hairlineone ruled linekneebuttockelbowshoulderhairlineset fromthe hairlinetwo ruled lineshand error 1% of the heightdashed: lines ruled on the field Systems that kept the measure

A second ruled line buys size with proportion

A canon ruled from the field at the hairline holds a copied figure's size at one hand's error, and every proportion to the hairline at one hand's error too, because every landmark is set from the hairline. Rule the shoulder from the field as well and the figure's size as a viewer sees it tightens, from 1.12 hands to 0.85, while the shoulder's proportion to the hairline loosens to √(1 + r²) of a hand, 1.34, since the two marks now err independently. The trade holds line by line, a ruling at every landmark holds the size at 0.62 of a hand and leaves the shape where the hand put it, and the second line is worth most next to the first. What two ruled lines add that one cannot is a check: they state the size twice, so a slip at either shows.

lamp 1lamp 2two lamps, close together, in plan1 dark region Light and mirrors

Counting shadows is not counting lamps

Two lamps close together cast one connected dark patch and the drawn lines say two. One lamp behind two cards casts two patches and the lines say one, exactly. And the arrangement where the patch count is right — two lamps far apart — has no fully dark region at all, so the same floor answers one, two or zero depending on which darkness is being counted.

0102030409.501010.5depth each row reports (m)row of the wallthe wall, 10 mno shear, each rowsheared, each rowfit, no shearfit, sheared65 mm pair, 900 px, 40 rowsfit 9.979 m against 9.75 m The second eye

A sheared rectification reads every wall at once

One constant shift of a rectified pair's principal points can put one depth exactly on a whole-pixel shell and no more. A shift that grows from row to row does what no constant can: shear one picture against the other so the shift climbs by one pixel over a wall's rows, subtract each row's share after the reading, and the rows' average lands on the wall's own disparity to within 1/(2n) of a pixel, at every depth at once — 2.1 cm at ten metres from forty rows, where the shells are 1.72 m apart. Only a shear can do it: a rotation or a difference of vertical scale breaks the shared rows. The price is one slant that the shear leaves undithered, and the gain belongs to a precise matcher; by 0.4 px of matcher error the matcher has dithered the wall itself.

00.2500.5000.7501-20-1001020pixel down the patch's middle columnintensityexactsnapped spansturned framebank 20°, 0.3 cycles a texelrms: spans 0.120, frame 0.126 What a machine computes

A banked floor drawn in its own frame trades place for sharpness

A renderer that walks a banked floor along its lines of constant depth, snapping each pixel to the nearest one, moves the texture by up to half a pixel across the line. Drawn instead on a lattice turned to those lines, every sample exact, and resampled onto the page once, the texture stays in place and loses contrast. The two errors are different in kind and grow differently: the snapped spans' in proportion to the texture's frequency, the resampled frame's as its square. So the frame is far better on slow textures, twelve times at 0.02 cycles a texel, and worse near the finest a pixel grid carries, with the crossing at 0.28 cycles a texel at every bank; on a checker, whose error lives at its edges, the two stay within a few per cent. Bought with more samples, each improves on its own schedule.

2 point lampsthe card2 lamps across 36 cmstep 0.5000, worst error 0.2488 Light and mirrors

How many lamps make one lamp

An array of point lamps spread across the width a real lamp would occupy leaves a staircase rather than a ramp — 4 lamps step by 25.0 per cent of the whole, 64 by 1.6 per cent — and the worst departure from the true ramp falls as the -1.007 power of the count. A single point lamp is not a coarse version of that staircase; it is wrong by 0.50, the most a fraction can be wrong by.

All themes