What a pair is for

A camera placed from the marks aims true at them

A ray's error at the point has a part that grows with distance, from the reading and the aim, and a part that does not, from where the camera stood. Put the camera's place into the weight and the right weighting moves from one over the distance squared back towards the plain midpoint, but only by a few per cent of error, because placement then decides the point outright. A camera placed from marks around the point is different: forty centimetres out in position, it costs the point nothing inside the marks.

Worth reading first: Two rays that do not meet · Depth is a reciprocal.

A third ray is worth what its picture is worth took a pair of eyes 0.9 m apart, a point 7 m in front of them, and a third eye walked backwards, and asked how its ray should count. Two estimators disagreed about it. The point nearest every ray in metres, the plain midpoint generalised to three rays, counts each ray’s miss equally per metre, so a distant eye, whose half-pixel reading spans more metres at the point, pulls as hard as a near one. The point that minimises reprojection error counts each ray by what its own picture says, which is roughly one over the distance squared in metres, and lets the distant eye’s ray fade as the eye goes back. The second was right, and the first was wrong in a way that grew with the distance.

All of that held every camera exactly where it was. The essay’s open question was what changes when it is not: when each ray’s uncertainty has the camera’s own uncertainty in it as well as the reading’s, and when, as is common, the distant camera is also the hardest to place. Whether ignoring the camera’s uncertainty is a small correction or the dominant term turns out to depend on how the camera was placed, more than on how far away it is.

Three ways a ray can miss

A ray from a camera misses the point it was aimed at for three independent reasons, and they behave differently with distance. The reading of the point in the picture is wrong by some fraction of a pixel; at a focal length ff in pixels that is an angle σp/f\sigma_p/f, and at a distance dd it is d σp/fd\,\sigma_p/f metres across the ray. The camera’s orientation is wrong by some angle σa\sigma_a, which turns the ray by that angle and misses by d σad\,\sigma_a metres at the point. And the camera’s position is wrong by some distance σx\sigma_x in each direction, which moves the whole ray sideways by that distance, the same number of metres at every range.

The variance that ought to weight the ray is the sum of the three:

s2=σx2+d2(σp2f2+σa2).s^2 = \sigma_x^2 + d^2\left(\frac{\sigma_p^2}{f^2} + \sigma_a^2\right).

A camera's place is a fixed distance at the point; its reading and aim grow with rangeHow far one ray misses the point, measured across the ray at the point, from each of its three sources: a reading of 0.5 px at a focal length of 620 px (dashed), an aim wrong by 0.05° (dotted), and a camera placed to 5 cm (flat), with their sum in quadrature (solid). The reading's term equals the position's at 62 m, and reading and aim together equal it at 42 m. Nearer than that a ray's error is mostly where its camera stood, and is the same number of metres whatever the distance.1310301000.0010.0030.010.030.10.3distance from the camera to the point (m)miss across the ray at the point (m)reading, 0.5 pxaim, 0.05°place, 5 cmall threeone ray, f = 620 pxcrossover at 42 m
Fig. 1 How far one ray misses the point, measured across the ray at the point, from a reading of 0.5 px at 620 px (dashed), an aim wrong by 0.05° (dotted) and a camera placed to 5 cm (flat), with their sum (solid), against the distance from camera to point. Both axes are logarithmic.

The two kinds of term cross at a distance d∗=σx/σp2/f2+σa2d^\ast = \sigma_x / \sqrt{\sigma_p^2/f^2 + \sigma_a^2}. For a reading of half a pixel at 620 px and a camera placed to 5 cm, the reading alone matches the placement at 62 m; with an aim wrong by 0.05° added, the crossing is at 42 m. Nearer than that, a ray’s error is mostly the camera’s place, and it is the same number of metres whatever the range.

That reverses the conclusion of the essay before. If every ray’s error is a fixed number of metres, every ray deserves the same weight per metre, which is what the plain midpoint gives. The reprojection weight is right only beyond d∗d^\ast, where the reading and the aim dominate and the error grows with the distance. For a scene a few metres away and cameras placed by survey to a few centimetres, the midpoint is not a choice of the wrong ruler, as the midpoint is a choice of ruler argued for exact cameras; it is close to the right one.

The weighting matters less than the placement

The arithmetic says which weight is right. The trials say how much the choice is worth.

Placed to a few millimetres, the cameras decide the point and the weighting barely doesThe pair 0.9 m apart and a third eye 21 m from a point 7 m away, every reading wrong by 0.5 px and every camera placed with the error on the horizontal axis; the point's rms error over 600 trials. With the cameras exact, weighting each ray by one over its distance squared (dashed) gives 58.5 mm and counting every ray equally per metre (dotted) 75.4. At 1 cm they are 118 and 125; at 5 cm 530 and 509, the order reversed. The weight that adds the three variances (solid) is never worse than either: 508 mm at 5 cm. The pair alone (pale) is 543 mm there.310301001003001000how well each camera is placed (mm, each axis)error in the point, rms (mm)one over d²equal per metresummed variancethe pair alonereading 0.5 px, third eye at 21 m5 cm: 508 mm
Fig. 2 The pair 0.9 m apart and a third eye 21 m from a point 7 m away, every reading wrong by 0.5 px and every camera’s position wrong by the amount on the horizontal axis: the point’s rms error over 600 trials, under three weightings, and for the pair alone. Both axes are logarithmic.

With the cameras exact, weighting by one over the distance squared gives the point to 58.5 mm and equal weights per metre give 75.4 mm, the earlier essay’s result. With every camera placed to a centimetre they are 118 and 125 mm, already close. At 2 cm the order reverses, and at 5 cm the reprojection weight gives 530 mm against 509 for the midpoint’s. The weight that sums the three variances is never worse than either: 58.5 mm with the cameras exact, 117 at a centimetre, 508 at 5 cm.

What the figure shows more plainly than any of those comparisons is the scale. Placing the cameras to 5 cm makes the point nine times worse than reading it to half a pixel does, under any weighting. The pair’s baseline is 0.9 m and the point is 7 m away, so a sideways error of a few centimetres in one eye becomes a depth error about eight times larger; the triangle the two rays make is long and narrow, and moving its short side moves its far corner a long way. No weight undoes that, because the error is not in any one ray. It is in the pair, and the weighting only decides how to share what the pair already lost.

So the first half of the open question has a clear answer. Ignoring the cameras’ uncertainty in the weight is a small correction, a few per cent of the point’s error, at every placement. Ignoring it in the error budget is not small: it is the dominant term as soon as the cameras are placed less well than a millimetre or two, which is better than most surveys of camera stations can do.

The far eye’s share

The weighting does change one thing a great deal, which is how much the far eye counts.

The far eye's share of the weight, with cameras placed to 20 mmThe third eye, 21 m from the point against 7 m for each of the pair, and the share of the whole weight its ray receives under three weightings, with every reading worth 0.5 px and every camera placed to 20 mm. One over the distance squared gives it 5.3% whatever the placement; equal weights per metre give it 33.3%; the summed variance gives it 23.9%, moving from the first towards the second as the placement error grows.one over d²5.3%equal per metre33.3%summed variance23.9%the far eye's shareplaced to 20 mm
Fig. 3 The third eye, 21 m from the point against 7 m for each of the pair, and the share of the whole weight its ray receives under three weightings, with readings worth 0.5 px and every camera placed to 20 mm. The slider changes how well the cameras are placed.

One over the distance squared gives the far eye 5.3 per cent of the weight, whatever the placement, since it sees only the distance. Equal weights give it a third, whatever the placement, since they see nothing. The summed variance gives it a share that moves between the two as the placement worsens: with the cameras exact it is the reprojection share, with them placed to 20 mm it is 23.9 per cent, and at 40 mm it is most of the way to a third. Dragging the slider from nothing to four centimetres moves the far eye from a minor contributor to a near-equal partner.

That is the honest form of the earlier conclusion. A distant eye’s ray is less informative than a near one’s only if the reading is what limits it. When the camera’s place limits all three rays alike, the far eye’s ray is as good as the others in metres, and discounting it throws away a third of the evidence. The essay before found the reprojection weight protects the point from a distant camera’s imprecision; here it protects the point from an imprecision the distant camera does not have.

How far back the third eye is worth standing

The same arrangement, at a fixed placement error, can be asked what the third eye is worth as it walks back.

With placement error, a far eye is worth keeping at full weightCameras placed to 5 cm and readings to 0.5 px, with the third eye walked back from 10.5 m to 56 m. The pair alone gives 543 mm (pale). Weighting by one over the distance squared (dashed) lets the third eye's help fade as it goes back, to 540 mm at 56 m; counting it equally per metre (dotted) keeps most of it, 523 mm; the summed variance (solid) does best everywhere, 511 mm at 56 m. Every curve is within a tenth of the pair's figure: placement error decides the point, and no weighting takes that back.48050052054020304050distance of the third eye from the point (m)error in the point, rms (mm)one over d²equal per metresummed variancethe pair alonecameras placed to 5 cm56 m: 511 mm
Fig. 4 Cameras placed to 5 cm and readings to 0.5 px, with the third eye walked back from 10.5 m to 56 m from the point: the point’s rms error under three weightings, and for the pair alone (pale).

The pair alone gives 543 mm. Under the reprojection weight the third eye’s help fades as it goes back, as the essay before found, from 526 mm with the eye at 10.5 m to 540 at 56 m, nearly nothing. Under equal weights it keeps most of its help, 523 mm at 56 m. The summed variance does best at every distance, 511 mm at 56 m, because at that distance the far eye’s reading term is beginning to matter and the full weight discounts it a little, which equal weights cannot do.

Every curve sits within a tenth of the pair’s figure. The third eye stands almost behind the pair, on nearly the same line of sight, so its ray adds little that is new about depth, which is what two rays that do not meet found the depth of a pair is limited by, and why depth is a reciprocal of disparity with a baseline in it rather than a quantity a third eye on the same line can improve. Placement error in the pair is what decides the point, and a third ray along nearly the same direction cannot measure the pair’s own sideways error. The right way to buy precision here is not a third eye behind, at any weight. It is a camera from another direction, or a better survey of the two that exist.

A camera placed from marks has no free place

All of the above treats each camera’s position as known independently of the scene, to a stated tolerance, as it would be if each station were surveyed or read from a satellite fix. Most cameras in a reconstruction are not placed that way. They are placed from the scene itself: marks of known position are read in the picture, and the camera’s position and orientation are solved for so that the marks land where they were seen. That is the resection recovering the camera performs from a picture’s own vanishing points, done with points instead of lines.

A camera placed that way has a pose whose errors are tied together. If its position comes out too far to the left, its orientation comes out turned to the right by just the amount that keeps the marks where they were read. In metres the camera can be badly placed; in the picture, at the marks, it is nearly right, because nearly right at the marks is the condition it was solved under.

A camera placed from marks aims well at the marks and poorly past themThe third eye, 21 m away, placed from twelve marks spread through a box 3 m wide, 2 m high and 3 m deep about the point, each read to the same error as the point. Its position comes out uncertain by 100 mm at a reading of 0.5 px, yet the error its pose adds to the picture of a point at the marks' centre is 0.31 px for each pixel of reading. It reaches about a pixel per pixel 3 m to the side (solid), 4 m beyond (dashed), and 3 m nearer the camera (dotted). The edge of the marks is 1.5 m from the centre.0120246distance of the point from the marks' centre (m)pose's error at the point (px per px of reading)to the sidebeyondnearerinside the markstwelve marks, third eye at 21 mcentre: 0.31 px per px
Fig. 5 The third eye, 21 m away, placed from twelve marks spread through a box 3 m wide, 2 m high and 3 m deep about the point, each read to the same error as the point. The error its pose adds to the picture of a point, per pixel of reading, as the point moves away from the marks’ centre to the side (solid), beyond (dashed) and nearer the camera (dotted). The shaded band is inside the marks.

The numbers are lopsided in the way the argument predicts. Twelve marks read to half a pixel place a camera 21 m away to 100 mm in position, twice the survey tolerance that made the point nine times worse above. Yet the error that pose adds to the picture of a point at the marks’ centre is 0.31 px for each pixel of reading, a third of the reading’s own error, and it adds in quadrature, so the ray’s total is only 5 per cent worse than if the camera were exact. The pose’s error stays below the reading’s out to the edge of the marks and a little beyond, and reaches about a pixel per pixel 3 m to the side, 4 m beyond and 3 m nearer the camera. Past that the camera is a poorly placed camera, its errors no longer cancelling at the point, and growing with the distance from the marks the way an extrapolation does.

The distant camera that is hardest to place

The essay before guessed that the camera which is far away is also the one hardest to place, so that its ray is both imprecise and mis-aimed, and the two pull together. For a resected camera the first half is true and the second does not follow.

Placed from the marks, the far eye costs the point nothing inside themThe third eye 42 m from the point, placed from the twelve marks so that its position is uncertain by 404 mm, with the pair taken as exact. At the marks' centre the point's error is 62.3 mm with the eye exact and 62.0 mm with it placed: nothing. Three metres to the side, 62.4 mm exact against 78.4 placed, and weighting the far ray for its pose as well brings it to 72.6. Four metres beyond, 152, 154 and 152 mm, where the point is mostly further from the pair.at the marks' centre, eye exact62.3 mmplaced, reading weight62.0 mmplaced, both weights62.0 mm3 m to the side, eye exact62.4 mmplaced, reading weight78.4 mmplaced, both weights72.6 mm4 m beyond, eye exact152 mmplaced, reading weight154 mmplaced, both weights152 mmthird eye at 42 m, 0.5 pxrms over 400 trials
Fig. 6 The third eye 42 m from the point, placed from the twelve marks each trial, with the pair taken as exact: the point’s rms error at the marks’ centre, 3 m to the side, and 4 m beyond, with the eye exact, with it placed and weighted by its reading alone, and with it placed and weighted for its reading and its pose.

At 42 m the twelve marks place the third eye only to 404 mm in position, four times worse than at 21 m: a resected camera’s position error grows as the square of its distance, because both its leverage on the marks and its ability to tell a turn from a step fall with range. That is the sense in which the far camera is the hardest to place. Yet at the marks’ centre the point comes out at 62.0 mm with the eye placed this way and 62.3 mm with it exact. Nothing is lost, to the precision of 400 trials, and weighting the far ray for its pose changes nothing either.

Away from the marks the cost appears. Three metres to the side the point is 78 mm with the eye placed against 62 mm with it exact, a quarter worse, and weighting the far ray for its pose as well as its reading takes that to 73 mm, recovering about a third of the loss. Four metres beyond the marks the point is 154 mm against 152, a small difference only because that point is so much further from the pair that the pair’s own depth error swamps it.

So the second half of the open question also has an answer, and it is the opposite of the guess. A distant camera placed from the scene’s own marks is badly placed in metres and well aimed at the marks; its rays are as good as its readings wherever the marks are, and whether to weight for its pose is a question that arises only outside them. The quantity that decides it is not the camera’s distance but the point’s distance from the marks the camera was placed by.

Why the ruler question has two answers

The two halves look contradictory and are not. A camera placed independently of the scene carries an error that is a displacement, and a displacement costs the same number of metres at every range, so it argues for equal weights per metre. A camera placed from the scene carries an error that is a displacement and a turn tied together so as to cancel at the marks, and the error it leaves is a picture-space error that grows from nothing at the marks with distance from them. The first is a property of the camera alone and the second is a property of the camera and the point together. Which one a reconstruction has depends on what fixed its cameras.

A survey that placed both the cameras and the marks, as a survey is trusted at its own accuracy found most surveys do, carries both, and the weight for each ray is then the sum of the reading, the survey’s tolerance across the ray, and the resection’s picture-space error at the point. That is one formula with three terms, and the trials here say the weighting it gives is never worse than either simpler weight, and that the gain over the better of them is a few per cent.

Weighting is not where the precision is

Every comparison above ends the same way. The choice of weight moves the point by a few per cent. The choice of how the cameras are placed moves it by a factor of nine. A survey of camera stations to 5 cm turns a 58 mm point into a 509 mm point under the best weight there is, while a far eye resected from twelve marks around the point, placed eight times worse than that in metres, costs the point nothing 400 trials can see.

That is the practical rule the measurement leaves. Where the cameras’ places come from outside the scene, the error in them is the error budget, and the most useful thing a weighting can do is admit it, by giving every ray its true variance and quoting the point’s uncertainty from it, which an uncertainty is quoted from something found is rarely done. Where the cameras’ places come from marks in the scene, the marks are where the reconstruction is good, and the cameras’ own uncertainty matters only for what lies outside them.

One point, independent errors, a linear step

Only one point is triangulated, so every error here is independent between rays. In a real reconstruction a camera’s error is shared by every point it sees, and a point’s errors are correlated with its neighbours’, which is what the bundle keeps the needles turned found shapes a whole reconstruction’s uncertainty. The resection is a single linear step from the true pose on noisy marks, which is what a converged solver returns to first order; a solver started far away could settle elsewhere. The marks are read to the same error as the point and are taken as exactly known in position, as a scale bar is worth its ends, not its tape took its bar’s ends to be. A mark surveyed to a few centimetres is itself a placement error of the first kind, carried into a camera placed in the second way.

The two eyes of the pair are taken as exact in the resection trials, so that the third eye’s pose is the only thing tested. With the pair surveyed to 5 cm as well, the point is already 543 mm out from the pair alone, and nothing the third eye does is visible beside it.

Still open: whether marks in one picture place two cameras alike

The resected camera here was placed by its own reading of the marks, with errors independent of the pair’s. When every camera is placed from the same marks, they are placed with errors that come from the same mark positions, and a surveyed mark that is wrong by a centimetre moves every camera that used it in a related way. Two cameras placed from one wrong mark are wrong together.

The measurement that settles what that costs places all three cameras from the same twelve marks, with the marks’ own positions wrong by a stated survey error, triangulates points inside and outside the marks, and asks whether a shared mark error cancels at the point, since all three rays move together, or adds, since each camera moves differently for the same mark; how that compares with the independent resections measured here; and how many marks a survey must fix, and how well, before its errors stop being the largest term in a point the cameras see from inside them.

Cameras placed from one survey are wrong together takes that measurement: a survey shared by every camera moves the point with the survey’s own frame and costs it little inside the marks, while a separate survey per camera costs five to seven times as much, almost all of it along the line of sight.

A camera’s place costs a ray a fixed number of metres at every range, so a camera placed by survey pulls the right weight back towards the plain midpoint, and decides the point by itself. A camera placed from marks around the point carries no such error there: its pose is wrong in metres and right at the marks, and only a point outside them pays for it.

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.

Baselinebundle adjustmenterror propagationMidpointReprojection errorTriangulation