A fitted plane shares its marks at every distance
Worth reading first: A flat scene fixes no second eye · The image of the other eye.
Second pictures reach a floor unless they go round read a kerb a metre high, 40 m from a camera 1.6 m above the ground, against a known ground plane in many second pictures. Each second picture estimates the same coefficient, the kerb’s height over its depth, from its parallax against the plane. Each is compared with the same first picture, so the first picture’s reading of the kerb is an error they all share. On one line no number of them goes below one pixel over the longest parallax: 2.96% at a 2.4 m baseline. Spread round the kerb, the second pictures disagree about where the first reading must have been, a fit can find out, and the floor goes away.
That arrangement took the plane’s map as given and gave it an independent error in each second picture. Real planes are fitted. The map from the first picture to each second one comes from ground marks read in both, and the first picture’s reading of those marks is the same reading every time. So each second picture’s map is fitted against the same misread marks, and carries the same error out to the kerb. That is a second shared error, and the earlier essay could only name it.
The expectation was that it would grow with distance. A fitted map is accurate among the marks and extrapolated beyond them, and extrapolation magnifies errors. A kerb at 40 m, with the marks at 6 to 14 m, is a long way past them. The measurement says otherwise, and the reason is in the first picture.
The arrangement, and an error with no sampling in it
The camera is the earlier one: 1.6 m above level ground, a 900 px lens, looking horizontally. The kerb top is 1 m high and 1.5 m to the right. Nine ground marks lie on a 3 × 3 grid at 6, 10 and 14 m ahead and 3 m either side. Every reading in every picture, of the kerb and of each mark, has an error of one pixel in each direction. Second cameras stand 2.4 m from the first, all to one side for a line, or spread round a circle for a ring.
For each second picture, the plane’s map is fitted from the nine marks by least squares, the kerb’s position in the first picture is carried through it, and the parallax is what is left. Every step is linear in the reading errors to first order. So nothing here is sampled. The fitted prediction at the kerb is differentiated with respect to every reading, the covariance of all the parallaxes is assembled, shared parts included, and the coefficient’s error is that of the best linear estimate.
That estimate uses the parallax in both directions, not only along the line of the second cameras. For a line of second pictures the parallax runs sideways, and the vertical component of what each picture measures is pure error. It is not useless. Part of it is shared, and it turns out to say a good deal about the part along the parallax.
The line floors higher, and the ring still goes under
With the plane known, a line of second pictures reproduces the earlier result: 5.24% with one second picture, 3.24% with sixteen, 2.98% with 256, approaching one pixel over the 33.75 px parallax, 2.96%. With the plane fitted from the nine marks, the same line starts at 7.78%, reaches 4.70% at sixteen and 4.34% at 256, and approaches 4.32%. The fit adds about half again to the floor.
Round the kerb, the fitted plane’s error falls as the known plane’s does: 1.89% at sixteen second pictures, 1.03% at sixty-four, 0.55% at 256. Carried on to sixteen thousand, the product of the error and the square root of the count settles at a constant. There is no floor. The marks’ shared error, like the kerb’s, is removed by going round.
A fitted plane raises the line’s floor and leaves the ring’s slope alone. The rest of this essay takes those two statements apart: how large the line’s extra floor is and what sets it, why going round removes it, and what the fit still costs on a ring.
The marks’ share does not grow past the marks
The floor is what remains of a line when there are infinitely many second pictures and every private error has averaged away. It is the shared errors, carried into the coefficient. Divided out by the parallax, it is a number of pixels, and it can be followed as the kerb is moved away.
The kerb’s own reading is one pixel at every distance, which is why the known plane’s floor is one over the parallax. The marks’ share, carried to the kerb by the fitted map, is 1.07 px at 10 m, 1.06 px at 40 m and 1.13 px at 120 m. It is never smaller than the kerb’s own reading, and it barely changes. In the best fit the two combine to 1.46 px at 40 m, which over the 33.75 px parallax is the 4.32% floor.
So the question of how far past the marks the shared fit starts to dominate has an unexpected answer: it is already as large as the kerb’s own reading at 10 m, the nearest distance tried, and it stays that size. It does not take over at some distance, and it does not grow.
The reason is visible in the first picture.
Extrapolation is magnified by distance in the picture, not distance in the world. The map is a function on the first picture’s pixels, fitted where the marks are, between 103 and 240 px below the horizon, and asked for its value where the kerb is. A kerb at 10 m is 54 px below the horizon, at 40 m 13.5 px, at 80 m 6.8 px. Every distance beyond the marks lands in the same thin band above them, and that band ends at the horizon. The extrapolation runs at most about a hundred pixels upward from the highest row of marks, whether the kerb is at 20 m or 2 km. What does grow with distance is the effect of a fixed pixel error on the coefficient, because the parallax shrinks as one over the distance. That growth is already in the known plane’s floor, and the marks’ share simply rides along with it.
A plane coefficient reaches as far as its parallax found that the coefficient’s reach is set by how many pixels of parallax a point has. The fit does not change that rule. It changes the numerator, from one pixel of the kerb’s reading to about one and a half pixels of shared error, at every distance.
Across the parallax, the error tells on itself
One number in the depth figure needs explaining. A fit that uses only the component of each parallax along the line of the second cameras keeps 2.98 px of shared error at 40 m, twice the best fit’s 1.46 px. The marks’ share alone, taken along the parallax, is about 2.8 px. The best fit keeps a little over one.
The difference is the vertical component. A misread mark tilts or shifts the fitted map, and at the kerb that moves the predicted position both sideways and vertically, by amounts tied together by where the marks were misread. In a line of sideways second pictures the vertical part of each parallax should be zero. With many pictures the private errors average away, and what vertical residual remains is the shared part, which the line observes directly. Because the sideways and vertical parts of the marks’ error are correlated, the vertical residual predicts much of the sideways one, and the best fit subtracts it.
This is the same move the ring makes, done with less. A ring observes the shared error in every direction and removes all of it. A line observes it in one direction, across the parallax, and removes the part of it that lies along the parallax only so far as the two are correlated. Here they are strongly correlated, and the line recovers more than half of what the fit cost it. A line of second pictures should be fitted in both directions, not only along its own parallax.
Which marks lower the floor
The marks’ share is an extrapolation, and the obvious remedies are more marks and marks nearer the kerb in the picture.
Both work, and one layout change that looks as though it should help does not. With only four marks, at the corners of the same area, the floor nearly doubles to 7.76%. A homography needs four points, and with exactly four there is no averaging at all. With twenty-five marks over the same area it falls to 3.61%. With nine marks reaching from 6 m to 30 m, so that the deepest row sits much nearer the kerb in the picture, it falls to 3.53%, the best of the five. Spreading the same nine marks 16 m wide instead of 6 m gives 4.33%, no better than the original.
The pattern is the one the first picture predicts. What the shared error depends on is how far, in the picture, the map is carried from the marks to the kerb, and how many independent readings the fit averages over that distance. Width moves the marks sideways, and the kerb is not to the side. Depth moves them up the picture toward the kerb. A few marks placed far out on the ground, close under the horizon, do more for a far point than many near ones.
None of the layouts reaches the known plane’s 2.96%. The first picture’s marks are one more reading of the first picture, and no layout of them is free.
Going round removes both, and charges for the fit in count
The earlier essay found that spreading the second pictures round the point lets a fit work out where the first reading was. The marks’ shared error is, at the kerb, one more shared displacement of the predicted position, the same in every second picture to first order, because near a flat scene the map from the first picture to any second is close to a translation. So it should come off with the spread exactly as the kerb’s own reading does.
It does. Sixteen second pictures with the plane fitted give 4.70% in one direction, 4.01% spread over 30°, 2.52% over 90°, 1.96% over 180° and 1.89% all round. With the plane known the same arrangements give 3.24% and 1.31%. At sixteen pictures the fitted plane costs about 1.45 times the known plane’s error at every spread. The spread takes the marks’ share off in the same proportion as the kerb’s.
What is left on a ring is not shared at all. Each second picture also reads the nine marks, and its own misreadings tilt its own map, which adds a private error at the kerb in that picture alone. On a ring of very many pictures the fitted plane’s error settles at 1.73 times the known plane’s, and stays there, while both fall as one over the square root of the count. The square of 1.73 is three. On a ring a fitted plane costs three times as many second pictures for the same error, and no floor. On a line it costs a floor half again as high, which no number of pictures can buy back.
In millimetres on a kerb
The coefficient is the kerb’s height over its depth, so a percentage error in it is the same percentage of the kerb’s height when the depth is known. On a kerb a metre high, read from 40 m with second pictures 2.4 m to one side, the numbers become lengths.
With the plane known, a line of second pictures can never do better than 30 mm. With the plane fitted from nine marks read in the same pictures, it can never do better than 43 mm. A fit that uses only the sideways part of each parallax, which is the natural thing to write down, cannot do better than 88 mm, three times the known plane’s floor and twice the best fit’s. Sixteen second pictures on the line get within a tenth of each floor: 32 mm with the plane known, 47 mm with it fitted. More pictures on the same line add almost nothing. A ring of 256 with the plane fitted reaches 5.5 mm.
The count at which a line stops paying is about sixteen whether the plane is known or fitted, because the fit adds to the shared error and to each picture’s private error in roughly the same proportion. So the fit does not change how many pictures a line is worth taking. It changes what those pictures buy. That is the difference between a cost that a survey can plan around, more pictures, and one it cannot, a floor. A surveyor who has fitted the plane from marks in the same pictures and is flying a single strip should expect a floor about half again as high as the known plane’s, and should fit both components of the parallax to stay there rather than at three times it.
What this rests on
Every reading to a pixel, independently. A matcher’s errors in one picture are often correlated across nearby features, and the marks are read by the same matcher. Correlated mark errors would act more like a single misread mark and average less.
Second cameras parallel to the first. The cameras are displaced and not rotated, so the map from the first picture to each second one is close to a translation, and the shared error lands on every second picture as nearly the same displacement. With rotated second cameras or a strongly tilted plane the shared error would land at different sizes and directions in different pictures. That would itself provide some of the variety a ring provides, and it is not measured here.
A flat ground and a known pixel size. The plane is a plane. How flat is flat enough measured what a slightly curved ground does to a map read as flat. A real site’s departure from flatness would be a third error, shared through the fit like the marks’ readings.
First-order arithmetic. The derivatives are taken at the true readings, so the result is exact for small errors and an approximation for large ones. At a pixel of error on readings hundreds of pixels apart, the difference is far below anything reported here.
Still open: whether the first picture can be read twice
Every shared error measured here belongs to one reading of the first picture: of the kerb, and of the marks. A ring removes them because it lets a fit check the first reading against many second ones. A line cannot, and a vehicle driving along a road or a drone flying a straight strip is a line.
There is another way to check a reading, which is to take it twice. Two first pictures, a short step apart along the line of travel, each read the kerb and the marks independently. Each second picture can then be compared against both, and an error in one first picture is no longer common to every comparison. That is not going round, since every displacement is still along one line. But it breaks the identity of the shared reading, the thing that sets the floor.
The measurement that settles what it is worth replaces the single first picture with two, a stated step apart on the same line, fits the plane from the marks in both, and asks how far the line’s 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 even when their readings are independent; and whether a line of second pictures with k first pictures among them reaches the ring’s error, or approaches a lower floor that is still a floor.
A line loses its floor when the first picture is read again makes that measurement.
A plane fitted from the first picture’s marks shares that picture’s reading with every second picture, and the share does not grow past the marks: a far point’s image only approaches the horizon. A line pays it as a higher floor. A ring removes it with the point’s own reading, and pays for the fit only in count.
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.
- Far enough away, a pair is one eye — both name conditioning, error propagation, homography, instrument limit, parallax
- A given turn spends the long lens's parallax — both name conditioning, error propagation, homography, parallax
- A skyline gives a long lens its turn — both name conditioning, error propagation, homography, parallax
- A frame's shear knows travel only over depth — both name conditioning, instrument limit, parallax
- A light far enough away — both name conditioning, error propagation, instrument limit
- A longer lens buys parallax and not the direction — both name conditioning, homography, parallax
Named objects
A flat tag is an object no other essay names yet.
Conditioningerror propagationHomographyinstrument limitParallax