The real instrument

A circle on the ground names the column and the focal length at once

The picture of a circle lying on the ground meets the horizon in two complex points, and for a level camera they are exactly the principal point's column plus or minus i times the focal length. So one circle does what two rectangles turned apart do, with no turn to choose: a manhole cover 1 m across, 8 m off, marked at 24 points to half a pixel, reads the column to 14 px and the focal length to 1.5 per cent, as two rectangles twenty degrees apart do — wherever it lies across the picture. It pays for distance as the square: the same cover at 24 m is out by 128 px. And the building beside it is worth its horizon and nothing more.

Worth reading first: The principal point is not the centre · Recovering the camera from the picture it drew.

A second rectangle fixes the column a level picture hides took a level photograph whose principal point had been slid along the horizon by a shift lens or a crop — invisible to a building’s two vanishing points, which put the camera somewhere on a semicircle and leave it free along it — and fixed the slide with a second rectangular object turned against the first. Its two vanishing points draw a second semicircle on the same horizon, and the two cross once, at the camera. Twenty degrees between the two objects read the focal length to 1.3 per cent and the column to about fifteen pixels, on a facade seen twelve degrees off square where the frame’s middle column was a third out.

That essay ended on a different kind of object. A street holds circles as well as rectangles — a manhole cover, the base of a column, a roundabout, a fountain’s basin — and one conic calibrates the camera argued that a circle’s picture carries the camera’s calibration directly. The question was how well, from how small or far a circle, and whether a circle’s information about the column escapes the dependence on turn that two rectangles cannot.

The picture of a circle meets the horizon at c ± i·f

Every circle in a plane passes through the same two points at infinity, the circular points, which are complex: they are where the plane’s line at infinity meets every circle in it, and no real point does. A camera draws them somewhere on the plane’s vanishing line, and a circle’s picture, an ellipse, still passes through their images. For a circle on the ground, the vanishing line is the horizon. So where the ellipse meets the horizon line it meets it in two complex points, and those two points are the same for every circle on the ground.

For a level camera with square pixels the two points have a plain meaning. Perpendicular is a pairing found that the vanishing points of perpendicular directions on the ground are paired by a map of the horizon to itself whose two fixed points are imaginary, and that those fixed points sit at the principal point’s column plus or minus i times the focal length. The images of the circular points are exactly those fixed points. A circle on the ground therefore meets the horizon at

x=c±if,x = c \pm i f,

the column as the real part and the focal length as the imaginary part. One fitted ellipse and one horizontal line give both numbers, with no second object, no semicircles and no crossing.

Forty pictures of a 1 m circle 8 m off, marked to half a pixel, put the camera within a median 11 px of its column; forty of two rectangles 20° apart, within 10 px — and the building alone leaves it anywhere on its arcA level camera with a 44° field, its principal point slid 100 px along the horizon to column 445, focal length 854 px, looking at a building 12° off square. The building's two vanishing points put the camera somewhere on the arc drawn — every column with the focal length the right angle then needs; at the frame's middle column, 579 px. The picture of a circle lying on the ground meets the horizon in two complex points, and for a level camera they are exactly the column plus or minus i times the focal length, so each picture of the circle names one point here. Filled dots: forty pictures of a circle 1 m across, 8 m ahead, 24 points on its outline each marked with half a pixel of error and an ellipse fitted to them, the horizon taken from the building's vanishing points (median column error 10.8 px). Open dots: forty pictures of the building and a second rectangle turned 20° from it, every vanishing point read from eight edges of 160 px marked the same way (median 10.0 px). The ring is the true camera. The slider moves the circle further off, where its picture is thinner and its readings spread.6008001e+30100200300400500600column along the horizon, px (the frame is 0 to 690)focal length, pxthe camerafilled: a 1 m circle · open: two rectangles 20° apartarc: the building alone · circle 8 m off
Fig. 1 Every camera a building’s two vanishing points allow, as an arc of column against focal length, and the one point each picture of a circle on the ground names. Filled: forty pictures of a 1 m circle; open: forty of two rectangles turned 20° apart. The slider moves the circle further off.

The arrangement is the earlier essay’s hard case: a camera with a 44-degree field, its principal point slid 100 px to column 445, focal length 854 px, looking at a building 12 degrees off square whose arc is steep over the frame. Exact marks on the outline of a 1 m circle 8 m ahead give an ellipse that meets the horizon at 445.000 ± i·853.905; a circle 0.6 m across, 2 m to the left, gives the same pair; so does a 10 m roundabout 20 m out and 3 m to the right. The circles differ in every way a circle can and agree, to the last digit, on the camera. Marked to half a pixel at 24 points round the outline, forty pictures of the 1 m circle put the camera within a median 11 px of its column and forty of two rectangles twenty degrees apart within 10 — two clouds the same size round the same point, where the building alone left the camera anywhere on its arc.

What the ellipse says, and where it says it

Two features of the ellipse carry the two numbers, and both can be seen.

A 1 m circle 8 m ahead is drawn 107 px across and 21.4 px deep; an ellipse through 24 marks read to half a pixel meets the horizon at 430 ± i·879 px, against the camera's 445 ± i·854Left: the whole frame, 690 by 420 px, of a level camera whose principal point is slid 100 px right of the middle, with its horizon and a circle 1 m across lying on the ground 8 m ahead. The circle is drawn as an ellipse 107 px wide and 21.4 px deep — foreshortened by the eye's height over the distance. Right: the ellipse enlarged 1.6 times, with the 24 points of its outline as a reader marks them, each with half a pixel of error, and the ellipse fitted to the marks. Where that ellipse meets the horizon line it does so in two complex points, 430.3 ± i·879.3 px; the camera's column and focal length are 445 and 853.9. The ellipse's slant says where the column is — a circle straight below the principal point is drawn upright, and one beside it leans away — and its depth against its drop below the horizon says the focal length. The slider moves the circle further off.the framethe circle, ×2dashed: the frame's middle · solid tick: the principal pointmeets the horizon at 430 ± i·879
Fig. 2 The whole frame with its horizon and a 1 m circle on the ground, and the circle enlarged with the 24 marks a reader places on its outline. The slider moves the circle further off.

The focal length is in the ellipse’s depth against its distance below the horizon. A circle at distance ZZ seen from an eye at height EE is foreshortened by about E/ZE/Z, and it is drawn fE/ZfE/Z below the horizon; their ratio is ff. The 1 m circle at 8 m is drawn 107 px across and 21.4 px deep, about a fifth, since 1.6 m over 8 m is a fifth. The column is in the ellipse’s slant. A circle straight below the principal point is drawn upright, symmetric about a vertical axis through its centre; a circle beside it is drawn leaning, its far edge pulled towards the column more than its near edge, because the far edge is nearer the horizon and every ground line through the circle runs to a point on the horizon in the same family. The complex roots are the algebra’s way of combining the two features into one answer.

That also says what fails as a circle recedes. At 20 m the same circle is drawn 43 px across and 3.4 px deep — a sliver whose depth is seven marks’ worth of error, and whose slant is a fraction of a pixel over its whole width.

Distance costs the square, size buys it back once

So the question with a number in it is the one the earlier essay asked: how small a circle, or how far off, still fixes the column to the fifteen or twenty pixels two rectangles achieve.

A circle's column error grows as the square of its distance over its size: a 1 m circle reads the column to 8 px at 6 m and 128 at 24 m; two rectangles 20° apart read it to 14A level camera slid 100 px, a building 12° off square supplying the horizon from its two vanishing points, and a circle on the ground 0.6, 1, 2, 4, 10 m across lying from 4 to 32 m ahead — from as near as its near edge stays 2 m from the eye; 24 points of its outline marked to half a pixel, 200 pictures a point. Median column error, px: 0.6 m across — 4 m 5.7, 6 m 12.8, 8 m 22.6, 12 m 51.4, 16 m 99.8, 24 m 231.4, 32 m 342.8; 1 m across — 4 m 3.2, 6 m 7.9, 8 m 13.6, 12 m 29.9, 16 m 53.9, 24 m 128.3, 32 m 230.3; 2 m across — 4 m 1.6, 6 m 3.8, 8 m 6.7, 12 m 15.4, 16 m 26.8, 24 m 61.0, 32 m 115.3; 4 m across — 4 m 0.8, 6 m 1.9, 8 m 3.2, 12 m 7.7, 16 m 13.2, 24 m 29.6, 32 m 54.2; 10 m across — 8 m 1.1, 12 m 2.7, 16 m 4.7, 24 m 11.9, 32 m 21.8. The dashed line is two rectangles turned 20° apart, read from eight edges of 160 px each: 14.5 px. A circle further off is drawn smaller across, as one over the distance, and thinner, as one over the distance again, so its picture carries the camera's numbers less firmly as the square of how far it lies; a larger circle carries them more firmly in proportion to its size. The reach at which a circle matches the two rectangles therefore grows as the square root of its size.46812162432131030100300how far ahead the circle lies, metresmedian column error, px (200 pictures)a 0.6 m circlea 1 m circlea 2 m circlea 4 m circlea 10 m circledashed: two rectangles 20° apart24 marks to half a pixel; log scales
Fig. 3 The median column error of a circle on the ground against how far ahead it lies, for circles 0.6 to 10 m across, every mark to half a pixel. Dashed: two rectangles 20° apart.

A 1 m circle reads the column to a median 3.2 px at 4 m, 7.9 at 6 m, 13.6 at 8 m, 29.9 at 12 m and 128 at 24 m. Doubling the distance quadruples the error, as the picture predicts: the circle is drawn smaller across by one factor of the distance and thinner by another, so its outline carries the camera’s numbers less firmly as the square of how far it lies. Doubling its size halves the error — at 12 m a 1 m circle is out by 29.9 px, a 2 m circle by 15.4, a 4 m circle by 7.7 — because a larger circle is drawn larger in both directions but its marks are no worse. The reach at which a circle matches the two rectangles therefore grows as the square root of its size.

Set to seventeen pixels, the middle of the earlier essay’s fifteen to twenty, the reach is 4.7 m for a circle 30 cm across, 6.6 m for a manhole cover of 60 cm, 8.6 m for one of a metre, 12.3 m for a 2 m column base, 17.5 m for a 4 m fountain basin, 28 m for a 10 m roundabout and 42 m for one of 20 m. A manhole cover a few steps from the photographer does what a second building does; the same cover across the street does not, and a roundabout across the square does.

A 1 m circle reads the focal length to 0.79% at 6 m and 5.7% at 16 m; a 10 m roundabout to 1.36% at 24 m — against 1.32% for two rectangles 20° apartA level camera slid 100 px, a building 12° off square supplying the horizon from its two vanishing points, and a circle on the ground 0.6, 1, 2, 4, 10 m across lying from 4 to 32 m ahead — from as near as its near edge stays 2 m from the eye; 24 points of its outline marked to half a pixel, 200 pictures a point. Median focal-length error, %: 0.6 m across — 4 m 0.62, 6 m 1.37, 8 m 2.32, 12 m 5.10, 16 m 9.17, 24 m 21.90, 32 m 44.46; 1 m across — 4 m 0.36, 6 m 0.79, 8 m 1.46, 12 m 3.20, 16 m 5.72, 24 m 12.65, 32 m 24.26; 2 m across — 4 m 0.21, 6 m 0.43, 8 m 0.69, 12 m 1.66, 16 m 2.85, 24 m 6.45, 32 m 11.29; 4 m across — 4 m 0.13, 6 m 0.27, 8 m 0.42, 12 m 0.81, 16 m 1.42, 24 m 3.16, 32 m 5.72; 10 m across — 8 m 0.23, 12 m 0.42, 16 m 0.68, 24 m 1.36, 32 m 2.38. The dashed line is two rectangles turned 20° apart, read from eight edges of 160 px each: 1.32%. A circle further off is drawn smaller across, as one over the distance, and thinner, as one over the distance again, so its picture carries the camera's numbers less firmly as the square of how far it lies; a larger circle carries them more firmly in proportion to its size. The reach at which a circle matches the two rectangles therefore grows as the square root of its size.468121624320.10.3131030how far ahead the circle lies, metresmedian focal-length error, % (200 pictures)a 0.6 m circlea 1 m circlea 2 m circlea 4 m circlea 10 m circledashed: two rectangles 20° apart24 marks to half a pixel; log scales
Fig. 4 The median focal-length error of the same circles against how far ahead they lie. Dashed: two rectangles 20° apart.

The focal length follows the same law. The 1 m circle reads it to 0.79 per cent at 6 m, 1.46 at 8 m and 5.7 at 16 m; a 4 m circle to 1.4 per cent at 16 m; a 10 m roundabout to 1.4 per cent at 24 m. Two rectangles twenty degrees apart give 1.32 per cent. A circle near enough to read the column as well as the rectangles reads the focal length about as well too — the two numbers come from one ellipse, and they degrade together.

No turn to choose, no place to avoid

The rectangles’ reading has a weakness the circle does not share. Two rectangles fix the column where their semicircles cross, and two rectangles turned alike draw semicircles on nearly one centre, which cross at a shallow angle or not at all. The earlier essay found the column 36 px out at five degrees apart and 53 to 85 at three. A circle has no turn.

A circle has no turn to get wrong: a 1 m circle 8 m off reads the column to 13.6–14.4 px wherever it lies, however far the principal point was slid and however the building is turned; two rectangles need turning apartMedian column error over 200 pictures, everything marked to half a pixel. A 1 m circle 8 m ahead: circle -4 m across from the axis, 14.1 px; circle 0 m across from the axis, 13.6 px; circle 4 m across from the axis, 14.4 px; circle, principal point slid -200 px, 13.6 px; circle, principal point slid 200 px, 13.6 px; circle, building turned 30°, 13.6 px; circle, building turned 45°, 13.6 px. Two rectangles, a building 12° off square and a second object turned from it: two rectangles 5° apart, 36.1 px; two rectangles 10° apart, 22.2 px; two rectangles 20° apart, 14.5 px; two rectangles 33° apart, 11.5 px. Two rectangles fix the column where their semicircles cross, and turned alike their semicircles share a centre and cross nowhere; their reading depends on the turn between them. A circle's picture meets the horizon at the column directly, with no second object to turn against, and its slant carries the column whether it lies to the left or the right. The building only supplies the horizon, which its vanishing points fix well at every turn.circle -4 m across from the axis14.1 pxcircle 0 m across from the axis13.6 pxcircle 4 m across from the axis14.4 pxcircle, principal point slid -200 px13.6 pxcircle, principal point slid 200 px13.6 pxcircle, building turned 30°13.6 pxcircle, building turned 45°13.6 pxtwo rectangles 5° apart36.1 pxtwo rectangles 10° apart22.2 pxtwo rectangles 20° apart14.5 pxtwo rectangles 33° apart11.5 pxmedian column error, 200 pictures a barhalf a pixel throughout
Fig. 5 The median column error of a 1 m circle 8 m off, wherever it lies across the picture, however far the principal point was slid and however the building is turned — against two rectangles turned 5° to 33° apart.

Placed 4 m to the left of the camera’s axis, on it, or 4 m to the right, the circle reads the column to 14.1, 13.6 and 14.4 px. With the principal point slid 200 px either way it reads 13.6. With the building turned 30 or 45 degrees from square instead of 12 it reads 13.6. Two rectangles in the same picture read 36.1 px five degrees apart, 22.2 at ten, 14.5 at twenty and 11.5 at thirty-three. The circle sits at the rectangles’ twenty-degree figure without anyone choosing an angle, and it stays there wherever it is put.

The building’s turn does not matter because, for the circle, the building only supplies the horizon — the line the ellipse is cut with — and a building’s two vanishing points fix a horizontal line well at every turn: both are on it, and its height is all that is used. The circle’s place across the picture does not matter because its slant carries the column from either side.

A circle keeps its proportion when the marks are coarse

The earlier essay found that coarse marking hurt the building’s own reading fastest, because its far vanishing point, four thousand pixels out, is found from edges that converge on it at a few degrees.

Marked coarsely, the circle keeps its proportion and the rectangles do not: at two pixels a 1 m circle 8 m off reads the column to 54 px and two rectangles 20° apart to 127A 1 m circle 8 m ahead, 24 marks on its outline, against two rectangles 20° apart read from eight edges of 160 px apiece, every mark read to 0.25, 0.5, 1, 2 px; 200 pictures a point. Circle: 7.0 px, 0.72%; 13.6 px, 1.46%; 27.1 px, 2.95%; 53.5 px, 5.83%. Two rectangles: 6.9 px, 0.67%; 14.5 px, 1.32%; 34.1 px, 2.35%; 127.5 px, 5.41%. The circle's error is in proportion to the marking: an ellipse fitted to marks all round it averages them. The rectangles' grows faster, because the building's far vanishing point is four thousand pixels out and found from edges that converge on it at a few degrees: a coarse mark swings it along the horizon far more than in proportion, and the crossing of two semicircles inherits the swing.0.250.512102050100how finely every mark is read, pxmedian column error, px (200 pictures)a 1 m circle, 8 m offtwo rectangles 20° apartlog scales200 pictures a point
Fig. 6 The median column error against how finely every mark is read, for a 1 m circle 8 m off and two rectangles 20° apart.

At a quarter of a pixel the circle and the rectangles read the column alike, 7.0 and 6.9 px. At half a pixel, 13.6 and 14.5. At one pixel, 27.1 and 34.1; at two pixels, 53.5 and 127.5. The circle’s error is in proportion to the marking all the way, because an ellipse fitted to marks all round it averages them and nothing in the fit is a long extrapolation. The rectangles’ crossing inherits the far vanishing point’s extrapolation, which grows faster than the marking. The focal length tells the same story more mildly — 5.8 per cent for the circle at two pixels, 5.4 for the rectangles — because the second rectangle, whose vanishing points are near, carries most of the rectangles’ focal length.

More marks help in the expected way, and a little better. Eight marks round the 1 m circle at 8 m read the column to 21 px, twelve to 15, twenty-four to 14, forty-eight to 9 and ninety-six to 5. The outline of a manhole cover is a curve a reader can mark at as many points as the picture resolves, which a rectangle’s two vanishing points cannot match.

The building is worth its horizon and nothing more

There is an obvious combination to try. The circle gives the column; the building’s arc gives a focal length at every column; so read the building’s arc at the circle’s column and get a focal length that uses both objects.

Given the circle's column, the building's own arc reads the focal length worse than the circle does — 3.7% against 0.79% at 6 m — because a facade seen nearly square has an arc that is steep over the frameA 1 m circle 4, 6, 8, 12, 16 m ahead before a level camera slid 100 px and a building 12° off square; 24 marks on the circle and eight edges to each of the building's vanishing points, all to half a pixel; 200 pictures a point. Median focal-length error from the circle alone — the imaginary part of where its picture meets the horizon: 0.36%, 0.79%, 1.46%, 3.20%, 5.72%. From the circle's column carried onto the building's arc: 3.25%, 3.69%, 4.61%, 7.57%, 13.29%. The building's arc is steep over the frame, because one of its vanishing points is four thousand pixels out, so any error in the column becomes a large error in the height read off it; and the far vanishing point's own error moves the arc. The circle reads its focal length from the ellipse's depth against its drop below the horizon, which no column error steepens. The building is worth its horizon and nothing more.05104681216how far ahead a 1 m circle lies, metresmedian focal-length error, % (200 pictures)the circle aloneits column on the building's arca 1 m circle, half a pixelthe building 12° off square
Fig. 7 The median focal-length error from a 1 m circle alone, and from its column carried onto the building’s arc, against how far ahead the circle lies.

It is worse at every distance. At 6 m the circle alone reads the focal length to 0.79 per cent and its column on the building’s arc to 3.7; at 12 m, 3.2 against 7.6. The building’s arc is steep over the frame, the earlier essay’s whole difficulty: a facade seen nearly square has one vanishing point thousands of pixels out, so the arc’s height changes fast with the column, and every pixel of error in the circle’s column becomes a large error in the height read off the arc. The far vanishing point’s own error moves the arc besides. The circle reads its focal length from the ellipse’s depth against its drop below the horizon, which no column error steepens.

So the building contributes one number to a circle’s reading, the height of the horizon, and contributing its right angle as well only adds the right angle’s poor conditioning. A photograph with a circle in it near the camera does not need a rectangle at all, beyond something to draw the horizon by.

What the circle asks of the ground

It lies on the ground. The circle’s picture meets the horizon at the camera only because the horizon is the circle’s own plane’s vanishing line. A disc that is not on the ground — a plaque on a wall, a table top tilted towards the camera, a manhole cover set in a sloping street — has its circular points on its own plane’s vanishing line, not on the horizon, and the ellipse meets the horizon at nothing in particular. A disc 1 m across whose far edge is lifted by ten degrees still gives the column, 445, because a tilt about the axis across the view keeps the picture symmetric about the same vertical line; but it gives the focal length as 460 px against 854, nearly half. A street that slopes is a ground with its own horizon, and the ramp has its own horizon is the reminder that a sloping plane’s vanishing line is not the level one.

It is a circle. A manhole cover is round by design. A roundabout is drawn round on the plan and laid round to within the kerb-layer’s care; a pond, a flower bed or a fountain basin may be oval, and an ellipse on the ground meets the horizon at points that are not the circular points’ images. An oval a tenth longer than it is wide is read as a circle seen from a different camera, and nothing in one picture of it says so. The conic a circle becomes is the collection’s account of what a circle’s picture can be; what it cannot do is say whether the thing pictured was a circle.

The camera is level. A level camera’s principal point lies on the horizon, which is what lets two complex points on the horizon carry the column and the focal length. A tilted camera’s principal point lies off the horizon by ftan⁡f\tan of the tilt, and the circular points’ images then constrain the camera in a way that needs one more number — which the building’s right angle can supply, as the next question says.

The lens draws straight lines straight, and circles as ellipses. Barrel distortion bends an ellipse near the frame’s edge into a curve no conic fits, and straight lines that are not is about the lenses for which that fails. A small circle far from the edge is drawn with little distortion across its own width, which is one more reason to prefer a near circle to a far one.

The horizon is a line. Here it is the line through the building’s two vanishing points. A picture with no building could take its horizon from the circle itself only with help — one conic has five numbers, and the horizon and the camera together need more — but two circles on the ground share their circular points, and the line through those is the horizon.

The circle and the semicircles

The arc every eye stands on began this line of reading with the observation that a drawn rectangle is consistent with a whole arc of eyes, every one of them reconstructing a genuine rectangle of another proportion, and the earlier essay used a second rectangle to cross the arc with another. A circle is every rectangle at once. Every pair of perpendicular diameters of a circle is a right angle on the ground, each pair draws its own semicircle of cameras, and all of those semicircles pass through the one point the circle’s picture names. An angle is a cross-ratio puts the same fact in the horizon’s terms: every right angle on the ground is harmonic with respect to the two complex points, and a circle is the object that draws those points themselves rather than one pair harmonic to them.

That is why it has no turn to choose. Two rectangles are two pairs out of a one-parameter family, and the reading depends on how far apart in the family they were picked. A circle is the whole family, and the reading depends only on how well its outline was drawn — which is a matter of its size, its distance and the marks.

Still open: whether a circle and one rectangle read a camera that is not level

Every camera here was level, so its principal point lay on the horizon and the circle’s two complex points were the column and the focal length. Most handheld photographs are tilted a few degrees, up or down; a camera looking down at a manhole cover from a standing height is tilted more. The principal point is then off the horizon, and the circle’s two points, still on the horizon, constrain three unknowns — the column, the principal point’s height and the focal length — with two numbers.

The building supplies a third. Its two vanishing points are the images of a right angle on the ground, and a right angle is one condition on the same three unknowns. The measurement that settles what that is worth tilts the camera by a stated angle, reads the horizon from the building and the ellipse from the circle, solves for the column, the height and the focal length from the circle’s two numbers and the building’s one, and asks how the errors grow with the tilt; whether the tilt itself is read as well as a building’s three vanishing points would read it, given a vertical edge; and whether, for a camera looking steeply down, the circle — drawn rounder the more the camera looks down on it — becomes the better half of the pair.

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.

Absolute conicCircular pointsFocal lengthHorizonIdentifiabilityPrincipal pointShift lens