The second eye

Seeing the scene fences in the plane at infinity

A reconstruction made without the calibration does not know which of its planes is infinitely far away. Requiring every point to lie in front of both cameras rules out every candidate that would tear the courtyard, and what is left is a convex region — 32 per cent of a generous slice — that always holds the true plane and never shrinks to it.

Worth reading first: Four cameras fit, and one of them can see · What one picture of a plane determines.

Four cameras fit, and one of them can see used an assumption about the world to settle a question the algebra could not. An essential matrix decomposes into four camera pairs that all reproject every mark exactly, and requiring the courtyard to lie in front of both cameras chose one of them, 44 points to 0, 0 and 0. The assumption was not an equation. It was an inequality — depth is positive — and it settled a discrete choice completely.

That essay had the calibration. Without it, two pictures determine the scene only up to a projective transformation of space, and two views give shape and no size counted what that leaves free: fifteen numbers where a metric reconstruction has seven. Three of the eight extra numbers say which plane of the reconstruction is the plane at infinity — the plane whose points are infinitely far away, where parallel lines meet. A projective reconstruction does not know it. Parallel lines in it need not be parallel, because the plane where they should meet has not been identified.

The same inequality applies here, and it does something different. The ambiguity is not four answers; it is a three-parameter family of candidate planes. An inequality cannot pick one member of a continuous family. What it can do is fence part of the family off, and the fence turns out to have a precise shape.

The planes that could be at infinity, in one sliceA slice through the three numbers that place a plane, centred on the true plane at infinity of a projectively distorted reconstruction of the courtyard, 0.8 either way. The inner outline encloses every plane that, sent to infinity, leaves all 44 points in front of both cameras: 31.9 % of the slice, convex, holding the true plane, and open to the slice's edge in 13 of 72 directions. The outer outline is what the two cameras alone allow. Every plane outside the inner outline tears some point of the courtyard to the far side of infinity.the true planefirst number of the plane, from the true valuesecond44 points in front: 31.9 % of the slicethe third number held at its true value
Fig. 1 A slice through the three numbers that place a plane, centred on the true plane at infinity of a projectively distorted reconstruction of the courtyard and running 0.8 either way. The inner outline encloses every candidate that, sent to infinity, leaves all 44 points in front of both cameras: 31.9 % of the slice, convex, holding the true plane, open to the slice’s edge in 13 of 72 directions. The outer outline is what the two cameras alone allow.

Sending a plane to infinity

The construction behind every figure here is short, and it is worth having exactly.

The true reconstruction of the courtyard is distorted by a fixed projective map of space, so that what is in hand is a projective reconstruction whose true plane at infinity is known to the figures and not to the recovery. Upgrading that reconstruction means choosing a plane and applying the map that sends it to infinity. If the chosen plane is the true one, the result is an affine reconstruction: parallels parallel, midpoints midpoints, only angles and relative lengths in different directions still wrong. If it is any other plane, the result is still projectively equivalent to the scene but places infinity somewhere it is not.

The slice fixes the third number of the plane at its true value and varies the first two. Every point of it is a candidate upgrade.

What a wrong plane does

A plane is a boundary between two sides. Sending it to infinity sends everything on one side of it to the other side of infinity, which in an affine picture means the opposite side of the scene.

A plane just outside the region, sent to infinity: the courtyard tornThe projective reconstruction upgraded by a plane a quarter of the way beyond the region's edge. 3 of the courtyard's 44 points now lie behind the cameras — on the far side of infinity, where an affine picture puts them on the opposite side of the scene — and the blocks they belong to are torn across. The pale plan is the upgrade by the true plane.upgraded by the true planeupgraded by a plane outside the region3 points gone past infinity3 of 44 points behind a cameraplane outside the region
Fig. 2 The projective reconstruction upgraded by a plane a quarter of the way beyond the region’s edge. Three of the courtyard’s 44 points now lie behind the cameras — on the far side of infinity — and the blocks they belong to are torn across. The pale plan is the upgrade by the true plane.

Choose a candidate a quarter of the way beyond the edge of the fenced region and three of the courtyard’s 44 points end up behind the cameras. They have not moved in any projective sense; the candidate plane passed between them and the rest of the courtyard, so the upgrade put infinity between them too. In the plan they vanish from the scene and reappear on the far side, and the blocks they belong to are torn in two.

That is the physical content of the inequality. A camera photographed the courtyard, so every point of the courtyard was in front of the camera, so no point of the courtyard can lie on the far side of infinity from the camera. Any candidate plane that would put one there is not the plane at infinity.

A plane inside the fence

The region inside the fence is not the answer. It is the set of candidates the inequality cannot rule out, and a candidate well away from the truth can still be inside it.

A plane inside the region, far from the truth: the courtyard distorted but wholeThe projective reconstruction upgraded by a plane four fifths of the way from the true plane to the region's edge. Every one of the 44 points is still in front of both cameras. The courtyard is distorted — its parallel edges no longer parallel, its blocks skewed — but no block is torn, because the plane sent to infinity crosses none of it. The pale plan is the upgrade by the true plane.upgraded by the true planeupgraded by a plane inside the regionall 44 points in front of both camerasplane inside the region
Fig. 3 The projective reconstruction upgraded by a plane four fifths of the way from the true plane to the region’s edge. Every point is still in front of both cameras. The courtyard is distorted — its parallel edges no longer parallel, its blocks skewed — but no block is torn, because the plane sent to infinity crosses none of it.

Four fifths of the way from the true plane to the fence, every one of the 44 points is still in front of both cameras. The courtyard is visibly wrong: the blocks’ parallel edges converge, their rectangles are skewed into quadrilaterals, and distances across the scene are stretched unevenly. But no block is torn, and nothing lies on the wrong side of infinity. Every convex part of the scene is still convex and still in one piece.

That property has a name in the literature — a quasi-affine reconstruction — and it is a real intermediate stage between projective and affine. A projective reconstruction can split a single wall across infinity. A quasi-affine one cannot. It is wrong about parallelism and right about which points lie between which.

Why the fence is convex

Each point and each camera contributes one condition, and the conditions have a simple form.

For a candidate plane, each point of the reconstruction lies on one side of it or the other, and so does each camera’s centre. The upgrade puts a point in front of a camera exactly when the point and the camera’s centre are on the same side of the candidate plane — with the side fixed by the true configuration. So the fence is the set of planes that have every point and every camera centre on the side the truth has them, and “on this side of a plane” is a linear condition on the plane’s numbers for each fixed point. The fence is an intersection of half-spaces, one for each point and each camera, and an intersection of half-spaces is convex.

The figure checks that rather than relying on it: the midpoint of pairs of points on the fence’s edge, taken across the whole outline, falls inside the fence every time. And the true plane is inside by construction, because the truth puts every point in front of every camera.

The same argument says which points matter. A plane that has every point of the courtyard on one side has the whole convex hull of the courtyard and the two camera centres on that side, because a half-space is convex. So a point in the interior of that hull adds no condition the outer points have not already imposed. The fence is set by the extreme points — the corners of the blocks at the edges of the scene and the two cameras — and a point in the middle of the courtyard, however precisely it is marked, rules out nothing.

How far the fence is

Walking a candidate plane out from the truth along one direction shows where the fence stands and what crossing it does.

Walking a candidate plane out of the regionCandidate planes on a line leaving the true plane at infinity. Up to 0.594 from it, every point of the courtyard stays in front of both cameras; past that the count of points behind a camera rises in steps — 1 at 0.600, 2 at 0.640, 3 at 0.680, 3 at 0.720 — as the candidate crosses one point after another. The edge is where the plane first touches the courtyard.012300.2000.4000.6000.800distance of the candidate plane from the true one, along one directionpoints left behind a camerathe region's edgeedge at 0.594 along this direction44 points
Fig. 4 Candidate planes on a line leaving the true plane at infinity. Up to 0.594 from it every point stays in front of both cameras; past that the number of points behind a camera rises in steps — one at 0.600, two at 0.640, three at 0.680 — as the candidate crosses one point after another.

Along this direction every candidate up to 0.594 from the true plane keeps every point in front of both cameras. Past the edge the number of points behind a camera rises in steps: one at 0.600, two at 0.640, three at 0.680. Each step is the candidate crossing one more point of the courtyard. The edge is where the candidate plane first touches the scene’s hull.

The distance itself is in units of the plane’s numbers in the distorted reconstruction, so 0.594 is not a length anyone would recognise. What it measures is relative: the fence stands at more than half the width of a slice wide enough to contain every plausible candidate, which is to say the inequality leaves a great deal of freedom.

What each point buys

The last figure measures that freedom as points are added.

How much of the slice each added point rules outThe share of the slice through plane-space in which the plane at infinity could lie, as points are required to be in front of both cameras: 78.3 % with the cameras alone, 46.9 % with 4 points, 42.4 % with 8 points, 37.5 % with 16 points, 37.3 % with 32 points, 31.8 % with 44 points. Each point adds inequalities and can only remove planes. What is left always holds the true plane and is always convex, and even with every point of the courtyard it is 32 % of a slice that runs 0.8 either way.cameras only78.3 %4 points46.9 %8 points42.4 %16 points37.5 %32 points37.3 %44 points31.8 %share of the slice where the plane at infinity may lie44 points in the courtyard
Fig. 5 The share of the slice in which the plane at infinity could lie, as more of the courtyard’s points are required to be in front of both cameras: 78.3 % with the cameras alone, 46.9 % with 4 points, 42.4 % with 8, 37.5 % with 16, 37.3 % with 32 and 31.8 % with all 44.

With only the two cameras, 78.3 per cent of the slice is allowed. Requiring four points to be in front of both cameras brings it to 46.9 per cent. Eight points, 42.4; sixteen, 37.5; thirty-two, 37.3; all forty-four, 31.8.

The first few points do most of the work, and the step from sixteen to thirty-two does almost nothing. That is the hull argument showing itself. The points are taken in a fixed order through the courtyard’s list, and the sixteen already include most of the corners that define the scene’s outline; the next sixteen are mostly inside it. The last twelve include corners of the far block that the thirty-two had missed, which is why they move the share again.

And it never approaches zero. However many points are marked, the fence encloses a region, not a plane, because it is made of inequalities and an inequality removes candidates without ever pinning one down. Four cameras fit, and one of them can see needed only a region to be one of four points; here the region stays a region.

What the fence is for

A region that holds the truth and rules out the tearing candidates is less than an answer and more than nothing, and it has two uses.

It is a safe place to search. Any method that recovers the plane at infinity from further information — vanishing points of lines known to be parallel, a known angle, a calibration — searches a three-parameter space, and a search that wanders outside the fence produces a torn reconstruction that looks absurd for reasons nothing in its residual reports. Restricting the search to the fence costs nothing and removes that failure. The scale of the saving is the count figure: two thirds of the slice, discarded for the price of an inequality.

It is the step the stratification quietly assumes. Two views give shape and no size set out the sequence from projective to affine to metric to Euclidean, each step bought by one piece of outside knowledge. The quasi-affine stage sits between the first two and is bought by a piece of knowledge so ordinary it is never listed: that the photographs are photographs of something the cameras could see. It does not upgrade the reconstruction to affine. It guarantees that whatever upgrade follows does not have to undo a torn scene first.

What the fence cannot do is distinguish the scene from a reflection of it. A narrow view keeps a second answer, inside out found a twin reconstruction whose depth order is reversed and whose points are all still in front of every camera. Cheirality admits both, here as there. The inequality is about which side of infinity a point is on, and a reflection about the middle of a scene moves no point across infinity.

What the two cameras rule out on their own

The count figure’s first row is worth a paragraph, because it is the fence with no scene in it at all.

With no points required, only the two cameras’ centres must lie on the truth’s side of the candidate plane. That rules out every plane that passes between the true plane and either camera — a plane that would, sent to infinity, put a camera on the far side of infinity from the scene it photographed. In the slice that removes 21.7 per cent and leaves 78.3. Four points spread across the courtyard then remove another third of the slice at a stroke, because four points that are not coplanar already span a solid, and a plane that misses the solid of four spread points misses most of any solid the scene could make.

Everything after that is refinement, and it is refinement by the scene’s outline. The fence is a statement about the convex hull of the points and the cameras, and a hull is made by its corners. A scene with a few well-spread corners fences in the plane at infinity almost as tightly as a scene with thousands of points inside the same outline.

Where the three numbers come from instead

The fence is not how the plane at infinity is usually found, and saying how it is found places the fence correctly.

Parallel lines meet on the plane at infinity. A family of parallel edges in the scene — the courtyard’s block edges running one way — has a vanishing point in each picture, and the two vanishing points are two images of one point on the plane at infinity. Triangulated from the projective cameras, they give that point. Three families in three directions give three points, and three points fix a plane. That route is an equation rather than an inequality, it is exact from exact marks, and it is the route recovering the camera takes in a single view when it reads a camera out of three vanishing points.

Its weakness is that it needs parallels the scene may not have. Foliage, rock, a crowd and a landscape offer no family of lines known to be parallel, and a scene with only two families gives two points on a plane that needs three. The fence needs nothing but the fact that the pictures were taken of something, so it is available in exactly the scenes that the vanishing-point route is not, and it gives less: a region instead of a plane.

The two also combine. A plane estimated from vanishing points read with error can land outside the fence, and when it does, the fence says so with no further information. A solver refining the plane from noisy parallels, like the adjustment where the adjustment stops describes, gains a constraint that costs nothing to evaluate and removes the one family of wrong answers that looks most absurd.

And once the plane is known, what is left is the part seven numbers no picture can name counted for a calibrated reconstruction, plus the calibration itself: five numbers of the cameras’ internal geometry that upgrade an affine reconstruction to a metric one, and then the seven no picture fixes. The fence sits at the very start of that sequence, before any of it.

The same line, from the other side

The plane at infinity has been met from a single picture before. The picture contains what is behind the camera followed rays that leave a picture through the back of the eye and found them landing in the picture anyway, as the images of points behind the photographer. In a single view the line between in front and behind is the plane through the camera’s centre parallel to the picture, and a projective map of the picture does not know which side of it anything is on.

Two views put two such planes in the scene, one through each camera, and the fence is the region of candidate planes at infinity consistent with every point being in front of both. It is the same distinction — in front of the eye or behind it — made twice and intersected, and it is exactly as strong as that sounds: strong enough to forbid tearing, and too weak to identify infinity.

What this does not settle

One slice. The plane has three numbers and the figures vary two, holding the third at its true value. The fence is a convex solid in three dimensions and the slice is one cross-section of it; its share of a three-dimensional box was not computed.

One distortion. The projective map applied to the true courtyard is fixed. A different map places the same fence differently in plane-space; the share of a slice depends on the map and on the slice’s width, and the numbers here belong to both. What does not depend on them is the fence’s convexity, the true plane’s being inside it, and the hull argument for which points bound it.

Exact marks. Every point here is reconstructed exactly. With reading error, points near a candidate plane can be placed on the wrong side of it, and the fence’s edge becomes a band. Its width was not measured.

Still open: how a third camera tightens the fence

Every camera centre is one more point that must lie on the truth’s side of the candidate plane, and every picture from a new direction sees the scene’s hull from a side the first two did not. The count figure found that more points in the same scene buy less and less, because interior points add nothing. More cameras are not interior points.

The question that leaves is how fast the fence closes as views are added around the courtyard: whether a third camera on the far side of the scene removes most of what is left, whether the fence ever becomes small enough to locate the plane at infinity to a useful precision without any other information, and how its size compares, view for view, with what the same cameras would give if their focal lengths were simply known.

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.

Camera matrixCheiralityConvex hullPlane at infinityProjective stratificationreconstruction ambiguity