The second eye

A line loses its floor when the first picture is read again

A line of second pictures compared with one first picture stops improving at a floor, because every comparison shares the first picture's readings of the kerb and the ground marks. Read the first picture again, independently, and the floor falls by the square root of the number of readings: 4.32% with one, 3.05% with two, 0.54% with sixty-four. Split a fixed number of pictures nearly half and half between the two roles and the floor is gone altogether: the error falls as one over the root of the count, a fifth above a ring's. The first picture was never special except in being alone.

Worth reading first: A flat scene fixes no second eye · Flattening a façade out of the photograph.

A kerb’s height can be read from two pictures without a camera calibration. Fit the map that carries the ground from the first picture to the second, carry the kerb’s top through it, and the amount by which the kerb misses its predicted place is a parallax in proportion to its height over its depth. Two marks off a known plane find the other eye showed that every such miss lies along a line through the image of the other camera, which is why a single number per point, the coefficient, says everything the pair knows about it. A parallax length is a height over a depth set that out. Second pictures reach a floor unless they go round then found that more second pictures do not help without limit. Every second picture is compared with the same first one, so the first picture’s reading of the kerb is an error shared by every comparison, and on a line of second pictures nothing averages it away.

A fitted plane shares its marks at every distance added the plane’s own fit. The map is fitted from ground marks read in both pictures, and the first picture’s readings of the marks are shared too. On a line the floor rose to 4.32% of the kerb’s height for a kerb 40 m away, against 2.96% with the plane known. Going round the kerb removes both shares, because a ring of second pictures lets a fit tell the first picture’s error from the parallax. A vehicle on a road, or a drone flying one strip, cannot go round.

That essay closed by suggesting another way to check a reading, which is to take it twice. Two first pictures a short step apart along the line each read the kerb and the marks independently; each second picture is compared with both; an error in one first picture is no longer common to every comparison. It asked how far the floor falls with two first pictures and with four, whether the step between them matters, since two first pictures in nearly the same place share their view of the marks’ geometry, and whether a line with some first pictures among its second ones reaches a ring’s error or a lower floor that is still a floor.

The measurement answers all three, and the third answer changes what the floor was. Read the first picture kk times and the floor falls by k\sqrt{k}. The step matters only through the baselines it lengthens. And a fixed number of pictures split nearly half and half between the two roles has no floor at all.

The same kerb, read from more than one place

The arrangement is the earlier essay’s. A camera 1.6 m above level ground with a 900 px lens looks horizontally. Nine ground marks lie on a 3 × 3 grid, 6, 10 and 14 m ahead and 3 m either side. The kerb’s top is 1 m high, 1.5 m to the right and 40 m ahead. Second pictures are taken 2.4 m to the side of the first, all from the same place, which is what the earlier essays meant by a line: every displacement along one direction. Every reading, of the kerb and of every mark, in every picture, has an error of one pixel in each direction, independently.

2 first pictures 0.6 m apart and a line of second pictures, from aboveThe ground from above, depth up the page. The first pictures stand along the line of travel, 0.6 m apart and walking away from the second pictures, which stand 2.4 m to the side of the first, with every picture's line of sight to the kerb dashed; nine ground marks lie 6 to 14 m ahead and the kerb 40 m ahead, 1.5 m to the right. Each first picture reads the kerb and the marks for itself, and every second picture is compared with every first. With 2 first pictures the line's floor, the error no number of second pictures can go below, is 2.73% of the kerb's height, against 4.32% with one.kerb, 40 m aheadnine marksfirst picturessecond pictures2 first pictures, 0.6 m apartfloor 2.73%
Fig. 1 The ground from above, depth up the page: the first pictures along the line of travel, stepping away from the second pictures 2.4 m to the side, the nine marks and the kerb. The slider changes the number of first pictures.

What is new is that there are now kk first pictures. Each reads the kerb and the nine marks for itself. Every second picture is compared with every first one: a map is fitted from that first picture’s marks to that second picture’s marks, the first picture’s kerb is carried through it, and the miss is a parallax. With kk first pictures and nn second ones there are knkn parallaxes, and they share errors in two directions at once. Every comparison with first picture jj shares that picture’s readings, and every comparison with second picture ii shares that one’s.

Nothing here is sampled. Every step is linear in the readings to first order, so each parallax is differentiated with respect to all forty readings it depends on, and the coefficient’s error is that of the best linear estimate from the full covariance. The structure makes this cheap. Second pictures standing in one place are interchangeable, so everything the estimate can learn about the kerb from them is in their mean, and the differences between them say nothing about it. The covariance that matters is then 2k2k by 2k2k, whatever nn is. With one first picture it reproduces the earlier essay’s line exactly.

The floor falls by the square root

Each further reading of the first picture lowers the line's floor by the square rootThe kerb 40 m away, every reading to a pixel, second pictures 2.4 m to the side: the coefficient's error with k first pictures, each reading the kerb and the nine marks for itself, all standing in one place. The floor, with any number of second pictures, is 4.32% for one, 3.05% for two, 2.16% for four and 0.54% for sixty-four: one over the square root of k, exactly. With sixteen second pictures the error is 4.70%, 3.56% and 2.80%. A ring of 256 second pictures round one first picture reaches 0.55% (dotted).1310300.5125first pictures, each read independentlycoefficient's error (%)ring of 256: 0.55%floor, any number16 second pictureskerb at 40 m, second pictures 2.4 m asideone over root k
Fig. 2 The coefficient’s error with k first pictures in one place, each reading independently, for any number of second pictures (the floor) and for sixteen, with a ring of 256 second pictures round a single first picture for comparison. Both axes are logarithmic.

The floor with one first picture is the earlier essay’s 4.32%. With two it is 3.05%, with four 2.16%, with sixty-four 0.54%: one over the square root of kk, to six decimal places. That is what independent readings of a shared quantity do. With many second pictures, their own errors average away, and what is left is the first pictures’ readings of the kerb and the marks, kk independent copies of the same 20 numbers, which average as kk copies of anything do.

Sixteen second pictures are near the floor at every kk, as they were for one: 4.70% with one first picture, 3.56% with two, 2.80% with four. That count stops paying sooner as kk grows, because the floor is lower and the second pictures’ own errors make up more of what is left.

The ring is the comparison that matters. A ring of 256 second pictures round one first picture reaches 0.553%. A line reaches that only with 61 first pictures. That is the price of a line if the first picture is the thing repeated: a ring’s accuracy, but only after re-reading the reference sixty times.

A step between them helps by lengthening the baseline

The earlier essay’s question had a doubt in it. Two first pictures in nearly the same place see the marks from nearly the same direction. Their readings are independent, but the geometry they read through is shared: the map from either one to a second picture is nearly the same map, extrapolated to the kerb by nearly the same lever. Would that shared geometry leave part of the floor in place?

Stepping the first pictures apart helps only by lengthening their baselinesThe floor with two first pictures (solid) and four (dashed), stepped apart along the line of travel away from the second pictures. A millimetre apart, two independent readings give 3.05%, the same as two readings from one place: sharing a view of the marks costs nothing that their readings do not. Stepped apart, the further pictures see the kerb across a longer baseline and the floor falls, to 2.38% at 2.4 m; further still, the far picture's view of the marks grows oblique and the floor rises again, 2.53% at 4.8 m. Four pictures do best a little closer together, 1.59% at 1.2 m.012301234step between first pictures (m)the line's floor (%)2 first pictures4 first pictureskerb at 40 mtwo, 2.4 m apart: 2.38%
Fig. 3 The line’s floor with two and four first pictures, stepped apart along the line of travel away from the second pictures, against the step between them.

It does not. Two first pictures a millimetre apart give 3.05%, exactly the same as two readings from one place. Sharing a geometry is not sharing an error. The geometry decides how much each reading’s error moves the result, and it is known; only the readings themselves are uncertain, and those are independent.

The step does change the floor, for a different reason. A first picture further from the second pictures sees the kerb across a longer baseline, and the parallax grows with the baseline while the errors do not. Stepped 2.4 m apart, the second first picture is 4.8 m from the second pictures and the pair’s floor falls to 2.38%. Further still, that picture’s view of the marks grows oblique and its fit worsens, and the floor rises again, to 2.53% at a 4.8 m step. Four first pictures do best a little closer together, 1.59% at 1.2 m.

That leaves the step as a matter of baseline, which the earlier essays already priced. A single first picture at twice the baseline, 4.8 m, floors at 2.32%, below two first pictures in one place at 3.05%. On a line, a longer lever is worth more than a second reading. Doubling the baseline roughly halves the floor, and a second reading divides it by 2\sqrt 2.

A fixed number of pictures, split between two roles

The last question was whether a line with some first pictures among its second ones reaches a ring’s error, or a lower floor. Asking it for a fixed number of pictures shows what the floor was made of.

Take 32 pictures on the line. One is the first picture and 31 are second pictures: the earlier essay’s arrangement, at 4.52%. Now move pictures from the second role to the first, keeping the total at 32.

32 pictures on a line are best split nearly half and half between the two roles32 pictures on the line, k of them first pictures standing in one place and the rest second pictures 2.4 m aside, every reading to a pixel, the kerb at 40 m. With one first picture the error is 4.52%; the best split is 15 first and 17 second, 1.94%; with one second picture, 4.98%. A first picture carries its readings into every comparison and a second picture carries its own into one, so the two roles are nearly symmetric, and the best split leans slightly towards more second pictures because a first picture's error is extrapolated from the marks to the kerb.024102030first pictures, out of 32coefficient's error (%)best: 15 and 1732 pictures on one linebest 1.94%
Fig. 4 The coefficient’s error with a fixed number of pictures on the line, k of them first pictures in one place and the rest second pictures, against k. The slider changes the total.

The error falls quickly and then flattens into a broad bowl. The bottom is at 15 first pictures and 17 second ones, at 1.94%, under half the error of the usual split. One first picture and 31 second pictures, and 31 first pictures and one second picture, are nearly as bad as each other, 4.52% and 4.98%.

The near-symmetry is the finding. A comparison of two pictures needs both, and it does not care which one is called first. A first picture’s readings enter every comparison it is part of, and so does a second picture’s. With one first picture and 31 second ones, the 31 second pictures’ errors average away and the one first picture’s do not, and its error is the floor. With 31 first and one second, the roles reverse and the second picture becomes the floor. The best split puts as many independent readings on each side as possible. It leans slightly towards second pictures, 15 against 17, because a first picture’s errors are carried out to the kerb through the fitted map and so weigh a little more.

So the floor on a line was never a property of lines. It was the property of a reference read once.

No floor, and a fifth above a ring

Split between the roles, a line has no floor and runs a fifth above a ringThe coefficient's error against the total number of pictures, kerb at 40 m. A line with one first picture levels off at its floor, 4.32% with 1,024 pictures. The same line with the pictures split at their best between first and second roles falls as one over the square root of the count without levelling: 0.34% at 1,024. A ring of second pictures round one first picture gives 0.29% at 1,024. The split line stays 1.24 times the ring's error at 256 pictures and 1.20 at 1,024.103010030010000.5125pictures in allcoefficient's error (%)line, one first pictureline, best splitring round one firstkerb at 40 m, baseline 2.4 m1,024: 0.34% against 0.29%
Fig. 5 The coefficient’s error against the total number of pictures: a line with one first picture, a line split at its best between the two roles, and a ring of second pictures round one first picture. Both axes are logarithmic.

With one first picture the line levels off at its floor whatever the count: 4.33% with 1,024 pictures. Split at its best, the same line falls as one over the square root of the count and does not level off: 1.94% at 32, 0.69% at 256, 0.343% at 1,024. A ring round one first picture, with every other picture going round, reaches 0.286% at 1,024. The split line stays 1.24 times the ring’s error at 256 pictures and 1.20 times at 1,024, and that ratio is the whole of what going round now buys.

That answers the question as asked. A line with first pictures among its second ones does not approach a lower floor; it has none. It approaches the ring’s rate, within a fifth. The ring’s remaining advantage is that it lets every second picture tell the first picture’s error from the parallax by direction, which a line cannot do. A line has to average the error instead, and averaging needs as many readings on the reference side as on the other.

In millimetres, and at other distances

The coefficient is the kerb’s height over its depth, so a percentage of it is a percentage of the kerb’s height once the depth is known. For the metre-high kerb at 40 m, one first picture can never do better than 43 mm. Two readings of it floor at 31 mm, four at 22 mm. Thirty-two pictures split 15 and 17 reach 19 mm, and 1,024 pictures split at their best reach 3.4 mm, where a ring of the same count reaches 2.9 mm.

At every distance the second reading buys the same shareThe coefficient's error against the kerb's distance: the floor with one first picture, with two, and 32 pictures split at their best. All three grow in proportion to the distance, because the parallax shrinks as one over it and the readings' share at the kerb does not grow. At 10 m: 1.09%, 0.77%, 0.47%; at 120 m: 13.39%, 9.47%, 5.90%. Two first pictures take the same 29% off the floor at every distance, and the split's advantage is the same ratio everywhere.0510255075100kerb's distance (m)coefficient's error (%)floor, one firstfloor, two firsts32 pictures, best splitevery reading to a pixelall in proportion to distance
Fig. 6 The coefficient’s error against the kerb’s distance: the floor with one first picture, with two, and thirty-two pictures split at their best.

All of these grow in proportion to the distance, for the reason the earlier essay found: the parallax shrinks as one over the distance and the readings’ share at the kerb does not grow, because a far point’s image only approaches the horizon. So the ratios are the same everywhere. Two first pictures take 29% off the floor at 10 m and at 120 m, and the split’s advantage is the same at every distance. A survey that plans its split for one distance has planned it for all of them.

Why a ring and a split line differ by only a fifth

The size of the ring’s remaining advantage is worth explaining, because the earlier essays made going round sound like the only cure. A ring removes the first picture’s error by direction. Each second picture sees the kerb’s parallax pointing a different way, towards its own displacement, while the first picture’s misreading displaces the prediction the same way in all of them. A fit over the ring can therefore separate the two: the part that turns with the second camera is parallax, and the part that does not is the first picture’s error. That uses each second picture’s reading twice, once for the kerb and once as a check on the reference.

A split line cannot separate by direction, since every displacement points the same way. It separates by count instead. Its reference error is the mean of fifteen independent readings rather than one, and it pays for those fifteen by having fifteen fewer second pictures. The bowl in the split figure is that trade, and its bottom is as low as a line can go: at a given count, about a fifth above the ring, and falling at the same rate.

There is a familiar shape to this. A flat scene fixes no second eye found that a plane leaves a family of answers that no number of marks on it can choose between, and the line’s floor looked like one more such family, a direction of error the arrangement could not see. It was not. It was an error the arrangement could see perfectly well and had simply measured once. The distinction matters because the remedies differ: a family has to be broken by changing what is photographed, and a single reading only has to be repeated.

The same holds for a survey that adjusts many pictures together. A chain and an adjustment found that how pictures are tied to one another, more than how many there are, decides how a run’s errors behave, and the split here is the simplest case of that: two clusters of pictures, each tied to every member of the other, so that neither cluster’s error is anyone’s origin.

What a vehicle or a strip of flight should do

For a camera on a line of travel, the practical reading is that reference frames are not a special kind of picture. A survey vehicle taking one keyframe and comparing a run of later frames against it is spending its pictures in the way that leaves a floor. Taking a keyframe every so often, and comparing each frame with several of them, spends the same pictures on both sides of the comparison, and the floor goes away. The cost is computational: kk times as many comparisons. The pictures are the same pictures.

And where the line can be lengthened sideways, it should be. A single reference at twice the baseline does better than two references at the same one, which is the plane coefficient reaching as far as its parallax, now seen from the reference’s side.

What this rests on

Every reading independent, including repeated readings from one place. Two first pictures from the same spot read the same kerb with the same matcher, and a matcher’s error on a given texture is often partly the same each time. Whatever part of the error repeats is shared by every reading and cannot be averaged, and the floor returns at that part’s size. The measurement holds the independent part; a real survey’s floor is whatever its matcher repeats.

Second pictures in one place, first pictures in one place unless stepped. The earlier essays’ line put every second picture at the same displacement, and the reduction to two means rests on that. Second pictures spread along the line would see the kerb across different baselines, and the best weighting would favour the longer ones, as the step’s figure suggests.

First-order arithmetic, a flat ground and cameras that do not rotate. As in the earlier essays: the derivatives are taken at the true readings, the plane is a plane, and the map from one picture to another is close to a translation. How flat is flat enough priced the second.

Still open: whether the second pictures can check the marks

Every comparison here fits a fresh map from the marks in one first and one second picture. With kk first pictures and nn second ones that is knkn maps, fitted independently, though every one of them describes the same ground. The ground has one plane and eight numbers. A survey that fitted the plane once, from every picture’s reading of every mark together, would hold the marks’ errors to a single shared fit rather than to knkn separate ones.

The measurement that settles what that is worth fits one plane from all the pictures’ marks at once, carries every first picture’s kerb through it into every second picture, and asks how far the error falls below the best split’s; whether a joint fit lets one first picture do the work of several, since its marks’ errors are then checked against every other picture’s reading of the same marks; and whether, with the plane fitted jointly, the best split moves away from half and half towards more second pictures, since the reference’s readings of the marks would no longer be the reference’s alone.

On a line the floor was the first picture’s readings, shared by every comparison and read once. Read the first picture kk times and the floor falls by k\sqrt{k}; step the readings apart and they help only by lengthening the baseline. Split a fixed number of pictures nearly half and half between the two roles and the floor is gone: the error falls as one over the root of the count, within a fifth of a ring’s.

What links here

Computed from the collection, not written here: the essays that point at this one.

Shares its objects with

Essays that name at least two of the same things, and that neither author linked.

Named objects

A flat tag is an object no other essay names yet.

BaselineGround planeHomographyleast squaresParallax