A leaning post is worth its lean, not its length
Worth reading first: The one thing a single view cannot give · What one picture of a plane determines.
A facade’s corners see the horizon its widths could not found a better witness for a camera’s orientation than a plumb wall’s widths had been. Every plumb edge in a picture runs towards one vanishing point far below, and for a camera with no roll that point and the horizon stand either side of the principal point at distances whose product is the focal length squared. Read the lines’ convergence and the horizon follows, without looking at the ground. A six-metre facade’s two corners, read to 0.4 pixels, saw a horizon 4.2 pixels out at three times their own scatter, as well as the ground’s depth test did; posts across the frame improved it roughly as the square root of their count.
Every one of those lines was exactly plumb, and the essay ended on the obvious trouble with that. A building’s corners are vertical to a small fraction of a degree, but there are usually only two or three of them in view. The verticals a street has in quantity — lamp posts, sign poles, bollards, tree trunks — lean: a well-set steel column by a twentieth of a degree, a timber pole by a quarter or more. The question was how many leaning posts are worth one plumb corner, and whether leans put a floor under the reading that no number of posts goes below.
They put no floor under it. What they do is change what a post is worth, and change it so much that the obvious way of adding posts to a picture makes it worse.
A lean is scatter that the reader did not mark
The picture is the standing camera of the earlier essays: 1.62 metres up, 700 pixels of focal length, pitched 6.78 degrees down, with the six-metre facade 8.5 metres away and posts 2.5 metres tall across the frame 7.5 metres away. Each line is sampled every eight pixels along its image and read across itself to 0.4 pixels. Each post now stands at a random lean, drawn afresh for every trial, with a stated standard deviation sideways and the same towards or away from the camera, independently. The corners stay plumb.
The curve is the lean a plumb line at each column of the picture would have: zero at the centre column and growing outward, because every plumb line meets every other at the vertical vanishing point six thousand pixels below. The corners sit on it, and so do the posts when they are plumb. Leaning, they scatter about it by their own leans, and a lean of a quarter of a degree moves a post’s line by about as much as a horizon several pixels out would move all of them.
The slider runs the posts’ lean from nothing to half a degree. With the posts plumb, the ten lines put the horizon about a pixel from the truth, and it makes no difference how they are combined. At half a degree, counted equally, they put it 5.16 pixels out, worse than the two corners would on their own. The weighted reading, which the later sections take apart, puts it 1.63 pixels out at the same lean. A lean is scatter the reader never marked: it is not in the 0.4 pixels the line was read to, and a fit that knows only the reading error treats a leaning post as exactly as reliable as a plumb one of the same length.
Every lean averages down, and each one sets a price
A lean is random from post to post, so it should average down as reading error does. The measurement asks whether it does, and what it costs per post.
Every line falls as the count rises, with roughly the square-root slope the earlier essay found for plumb posts. No lean puts a floor under the reading: sixty-four posts leaning half a degree see a horizon 8.8 pixels out, and a hundred and twenty-eight would see better still. That half of the question has a clean answer, and it follows from the one assumption the measurement makes — that the leans are independent from post to post. A street whose posts all lean the same way is a different matter, taken up below; a street that slopes is another, and figures on a street that slopes found that a slope moves the line a reader takes for the horizon, which plumb posts, unlike heads, do not follow.
What the lean does is set a price. Plumb, four posts see 3.2 pixels, better than the corners’ 4.2. Leaning a twentieth of a degree, four posts see 4.2 — exactly the corners — so a careful steel column is worth about half a corner. At a tenth of a degree four posts see 6.5, and it takes between eight and sixteen to match the corners. At a quarter of a degree, the ordinary lean of a timber pole or a sign post knocked by a car, eight posts see 13.3 pixels, three times the corners, and it takes about sixty-four. At half a degree sixty-four see 8.8, and the square-root slope the counts follow puts the match near three hundred.
That converts the earlier essay’s advice into an inventory. A street with a couple of plumb building corners in view needs no posts. A street of steel lamp columns has a witness as good as a facade in any half-dozen of them. A street of timber poles and trees has a witness only if it has a great many of them in view, and is otherwise better read from a single building’s corners.
A lean takes away the advantage of length
The earlier essay found that a vertical’s worth depends on its length and its place: eight posts a metre tall saw a horizon 10.8 pixels out against 2.4 for posts of 2.5 metres, because a line’s direction is known to its reading error over its length, and a short line is both less sampled and a shorter lever. That arithmetic belongs to the reading error. A lean is another kind of error.
The reading error of a line’s direction falls steeply with its length — a line twice as long, sampled at the same spacing, is known nearly three times better in direction — so plumb posts gain hugely from height. A lean is already an angle. It is the same angle whatever the post’s height, and a tall post carries it into the reading as fully as a short one. So at a quarter of a degree of lean, posts 2.5 metres tall are only 1.4 times better witnesses than posts a metre tall: 13.3 pixels against 18.0. A bollard that leans is worth nearly as much as a lamp post that leans by the same amount.
This is the half of the earlier essay’s prediction that the measurement confirms exactly. A long leaning post is not a better witness than a short leaning post by anything like the factor a long plumb line beats a short one. For leans of a tenth of a degree the gain from height is twice; for a quarter of a degree, a third more. The reading error and the lean add in quadrature, and once the lean dominates, the length that controlled the reading error controls almost nothing.
Which way a post leans matters
A post can lean across the picture or along the line of sight, and the two are not equally harmful.
A sideways lean rotates the post within a plane square to the line of sight, and its image rotates by the same angle wherever in the frame it stands. A lean towards the camera moves the post’s top along the line of sight. For a post on the centre column that slides the top straight down the column: the image gets shorter or longer and does not turn at all. For a post off the centre column it turns the image a little, in proportion to how far off the column the post stands, because the line of sight there is no longer square to the picture.
So sixteen posts leaning a quarter of a degree only along the line of sight see a horizon 3.4 pixels out, not much worse than the 1.9 they see plumb, while the same posts leaning only sideways see 8.1. Real posts lean in both directions and the sideways part dominates: 8.5 for both together. A reader choosing which posts to trust can use this. A post near the centre of the frame is read mostly for where it stands rather than for its lean, and a post near the edge, whose lean in depth now turns its image too, is the one to doubt. The posts near the edge are also the ones that the earlier essay found most useful when plumb, because their leans differ most from the centre’s — the spread that gave them their value is the spread that now exposes them.
Counted as equals, leaning posts make the corners worse
The commonest way to use leaning posts is beside a building’s corners: a picture has two plumb corners and some posts, and a reader fits the vanishing point to all of them. The fit the earlier essay used counts every line equally, which is right when every line is plumb.
Counted equally, eight posts leaning a twentieth of a degree help the corners, 3.05 pixels against 4.22. At a tenth of a degree they are already a little worse than nothing, 4.61. At a quarter of a degree they make the corners’ reading 2.4 times worse, 10.02 pixels, and at half a degree 4.6 times. A reader who has two plumb corners and photographs a street with them in it, then adds every pole in view to the fit, reads the horizon far worse than if the poles had been left out.
The reason is in what equal counting means. A post 2.5 metres tall at 7.5 metres is as long in the picture as a corner, so its reading error is as small, and counting it equally says it is as trustworthy as a corner. Its lean is the larger error, and the fit has been told nothing about it.
Weighting each line by the error it actually carries — the reading error for a corner, the reading error and the lean together for a post — repairs it. The weighted reading never does worse than the corners by more than its own sampling: 2.85 pixels with posts leaning a twentieth of a degree, 3.55 at a tenth, and at a quarter or a half of a degree, 4.14 and 4.23 against the corners’ 4.22. A steel column is then a help, and a timber pole is trusted so little that it changes almost nothing. The answer is an ellipse made the general point that a reading’s uncertainty has a shape, set by the geometry that carries each error into it, and not by the marking error alone; a lean allowance is that shape for a leaning post, and a fit that leaves it out has the shape wrong.
Overrating the lean is safe, and underrating it is not
Weighting needs a lean to weight by, and a reader rarely knows a pole’s lean before measuring it. The reader has to allow some lean, and can get it wrong either way.
The two mistakes are not alike. Allowing too little lean trusts the posts more than they deserve, and their leans come back into the reading: posts truly leaning half a degree, read as if they leaned a tenth, put the horizon 9.69 pixels out, more than twice the corners alone. Allowing too much lean trusts them less than they deserve, and the reading falls back towards the corners’ own: posts leaning half a degree read as if they leaned two degrees give 4.20, the corners’ figure, and posts leaning a tenth read as if they leaned half a degree give 3.91, a little worse than the right allowance’s 2.84 but still better than nothing.
So the rule for a reader who does not know how straight a street’s posts are is to assume they are not very straight. An allowance of half a degree for any post not known to be a steel column costs little when the posts are better than that and protects the reading completely when they are worse. The two plumb corners set the floor, and an over-cautious reading never falls below it.
A shared lean is a different thing
Everything above assumes the leans are independent from post to post. A street can break that. Posts set by one crew in soft ground all settle away from the road; a row of trees leans together towards the light; a hillside makes every post lean downhill.
A lean shared by every post is not scatter but a bias, and no count of posts averages it away. Which way the shared lean points decides what it does. If every post leans sideways by the same angle, the whole set behaves like a camera rolled by that angle, which moves the vertical vanishing point sideways; the horizon read off its row is untouched to first order. If every post leans towards the camera, the set behaves like a camera pitched by that angle: sixteen posts all leaning 0.29 degrees towards the camera move the horizon the verticals imply by 3.55 pixels, the focal length times the lean, exactly as a pitched camera would. A building’s corners would disagree with the posts by that amount, which is how a reader with even one plumb corner in the picture would notice. It is the pattern a wrong model shows at its own level described: a horizon read wrong lands on the level that belongs to the camera’s orientation, and a shared lean is a wrong model of the verticals that lands in the same place.
The floor a better camera cannot reach found the same distinction in another measurement: the marking error, independent from mark to mark, fell thirty-fold as it was made smaller, and the error in an assumed shape, shared by every mark, set a floor at exactly its own size. Leaning posts are both, in proportions only the street can say.
What a street’s posts are worth
Put together, the measurements answer the question the corners essay left. Random leans put no floor under a horizon read from verticals; every lean averages down with the count. But each lean sets a price per post, and the prices are steep. Against two plumb corners at 4.2 pixels, four steel columns leaning a twentieth of a degree are an equal witness and sixty-four timber poles at a quarter are needed for the same. A tall post that leans is barely better than a short one, because length controls only the reading error. Sideways leans matter more than leans along the line of sight. And leaning posts added at equal weight to plumb corners make the reading worse; weighted for a generous allowance of lean, they cannot make it worse than the corners alone and can make it better.
The procedure the earlier essays built gains a rule about what to read. Prefer a building’s corners. Add steel columns freely. Add timber poles and trees only in numbers, and only weighted for a lean of half a degree or so. And check the posts against any plumb corner in view, because a lean shared by every post is the one error that more posts cannot reduce. Which reference to measure from is the lesson again, now with a price on each candidate.
What the reading takes on trust
The leans are independent and centred on plumb. A street whose posts lean together carries a bias the count cannot remove, as above. How common that is in real streets was not measured here, and it is the assumption most worth checking against a plumb corner.
The posts are straight. A tree trunk or an old timber pole is often bowed as well as leaning. A bowed post fitted as a straight line has a lean that depends on how much of it is visible, which adds scatter the lean allowance does not describe. A reader can fit each post’s upper and lower halves separately and drop any post whose halves disagree.
The camera has no roll, and the principal point is the centre. Both are the earlier essay’s assumptions and both still bind. A rolled camera moves the vertical vanishing point off the centre column, and a shared sideways lean in the posts is then confused with the roll. A level picture shows its rise on its horizon found that a camera’s principal point can be read off its horizon when the camera is level — but this camera is pitched, so its principal point is not on its horizon, and a crop or shift moves the implied horizon by the full shift.
The lean allowance is the same for every post. A reader who knows which posts are steel and which timber can give each its own allowance, and should; the measurement used one allowance for all posts to show what a uniform rule does.
Still open: what a street’s posts say about each other
The leans here are nuisance: a reader allows for them and moves on. But the same picture that reads the horizon from a street’s verticals also reads every post’s own lean, once the vanishing point is known — the departure of each post’s line from the plumb line through its foot. For a camera that knows its orientation, the picture is a survey of how straight the street’s posts are.
The measurement that settles what such a survey is worth fits the vanishing point from a building’s corners alone, then reads each post’s lean from its departure, and asks how well the leans come back as a function of the post’s height and distance, and of how many corners fixed the vanishing point. The question with a number in it is whether a single photograph with two plumb corners can grade a row of posts — tell the ones leaning a quarter of a degree from the ones within a twentieth — and whether a lean along the line of sight, which barely turns a post’s image near the centre column, is invisible to such a survey there and readable only at the edges of the frame.
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.
- The ramp has its own horizon — both name horizon, single-view metrology, vanishing line, vanishing point
- The stair that turns has a vanishing point that moves — both name horizon, single-view metrology, vanishing line, vanishing point
- A drawing has three horizons — both name horizon, vanishing line, vanishing point
- A floor with a referent — both name least squares, model error, vanishing point
- A height, out of one photograph — both name horizon, single-view metrology, vanishing point
- A lens destroys the invariant — both name horizon, single-view metrology, vanishing point
Named objects
A flat tag is an object no other essay names yet.
Horizonleast squaresModel errorrobust estimationsingle-view metrologyVanishing lineVanishing point