A skyline's pan is predicted by its own spread, not by a third picture
Worth reading first: Far enough away, a pair is one eye · Seven numbers no picture can name.
A skyline’s pan stops being harmless when the step turns toward the scene read the turn between two pictures off a band of far marks, a skyline or a row of distant roofs, as if the band were infinitely far. The band is not, so part of its parallax is read as turn. For a step straight across the view that part is a pan, and a pan is harmless there, because a skyline gives a long lens its turn exactly along the line a sideways step cannot measure anyway. Lean the step toward the scene by and the band’s error is still a pan, the sideways part of its parallax, for a step and a band at . What changes is the cost. Taking a wrong pan out shortens only the step’s sideways part, which turns a leaning step’s direction by , with the scene’s distance: 2.9° at a 45° lean with a skyline ten times the scene’s distance.
Every remedy that essay found made larger. It closed on one that would not: a third picture, taken further along the same track. The band’s parallax across two different steps should be a measurement of that two pictures cannot make, since the two steps’ sideways parts are in a known ratio and the band’s pans must be in the same ratio. The questions were whether the two pans give the band’s distance back; how well, at 0.3 px; and whether, with read, the pan can be predicted and subtracted at every lean.
The answer to the first question is no, and the reason it is no shows where the distance actually is. It is in the pair already, in a number the earlier essay fitted and set aside.
The arrangement
The scene and the cameras are the earlier essay’s. A slanted scene of thirty marks 24 m away, a lens of 2,480 px, cameras aimed at the scene’s middle and stepped 0.3 m along a straight track leaning from across the view: is a sideways step, a step straight at the scene. Behind the scene twelve far marks run across the upper part of the frame at a distance , 240 m unless stated, ten times the scene’s.
The turn is read off the band by least squares as if its marks were infinitely far, with one extra number fitted alongside: a radial scale, the band’s marks moving apart from the camera’s axis or together. The earlier essay added that number to absorb the forward part of the band’s parallax, which a turn alone would read as a tilt, and found that it worked and changed nothing that mattered at 0.3 px. The direction of the step is then read from the scene’s thirty marks with the turn the band gave.
Two pans in a ratio that carries nothing
Put a third camera on the track, 0.9 m from the first where the second is 0.3 m, and read the band from each pair. Every mark exact, the 0.3 m pair reads a pan of 0.126° from a band at 96 m and the 0.9 m pair 0.386°; at 240 m, 0.0505° and 0.154°; at 2.4 km, 0.0050° and 0.0154°. Both pans fall as one over the band’s distance. Their ratio is 3.054 at 96 m, 3.054 at 240 m and 3.054 at 2.4 km.
That is the whole of the answer, and it was in the premise. The two steps’ sideways parts are in a known ratio, and the band’s pans are in that same ratio, at every distance, because each pan is its step’s sideways part over , and divides out of a ratio. The ratio is a little over three rather than three exactly because each camera turns to keep the scene’s middle in view and sees its step from its own direction, but it does not move with the band. The pans would carry only if the steps’ lengths were known in metres, and then each pan alone would carry it: would be over the pan, and no third picture would be needed.
The directions the two pairs read agree as well. With the band at 160 m, the 0.3 m pair reads the step’s direction 4.57° off and the 0.9 m pair 4.65° off: the same wrong direction, within the scene’s own geometry. A straight track’s pairs are one pair at two sizes, every angle the same and every length scaled, and a band read as infinite is the same mistake at both sizes. Three pictures along one line can only agree with each other about it.
So a third picture along the track gives back nothing a pair did not have. The premise was right that the ratio of two pans is fixed by the track; it was wrong that a fixed ratio could measure anything.
The distance is in the band’s spread
What does carry the band’s distance is the number the earlier fit added and found too small to matter.
A step toward the scene moves the camera closer to the band as well, by . The band’s marks then spread apart from the point the camera moves toward, each by its angle from the middle times , and that spread is the radial scale the fit reads. The pan is the sideways part of the same parallax, . Their ratio is
with and both gone. The ratio of the band’s pan to its spread is the step’s own lean, and the step’s lean is exactly what the pair reads from the scene: the sideways part of the read direction over its forward part. So the pan can be predicted from the spread without knowing or ,
where is the band’s radial scale and are the read direction’s sideways and forward parts. The pan is then taken out of the turn, the direction read again with the corrected turn, and the prediction repeated with the new direction, three times in all, since the first direction was read with the wrong pan and leans by the error being removed.
With every mark exact it works at every lean. Read as infinite, the band leans the direction by 1.93° at a 20° lean, 2.97° at 45° and 1.86° at 70°, the earlier essay’s law. With the pan predicted from the spread and taken out, by 0.035°, 0.020° and 0.006°: the band’s cost goes, and what is left is second order, the parts of the parallax a pan and a scale do not exactly describe. Straight across the view there is no forward part and no spread to predict from, but there is no cost to remove either, since a sideways step’s pan is the harmless one; straight toward the scene there is no pan.
So the answer to the third question is yes, and it does not need the second. The pan can be predicted and subtracted at every lean, from two pictures, without the band’s distance ever being read. The distance is not needed because what the pan depends on is not but , the band’s parallax, and the band’s spread measures exactly that in the other direction.
Read to 0.3 px, the spread is noisy
The spread is small. At a 45° lean with the band at 240 m it is , under a thousandth, and a mark at the band’s end, 290 px from the middle of the frame, moves by about a quarter of a pixel. Twelve marks read to 0.3 px in each picture read it with a noise about as large as itself. The predicted pan carries that noise, multiplied by the lean’s cotangent.
With the turn exact, the direction’s median error is 1.46° for a sideways step, 1.32° at a 45° lean and 0.21° straight in, the scene’s own floor. Read as infinite, the band leaves 1.67°, 2.87° at 20°, 4.19° at 45° and 1.99° at 75°. With the pan predicted and taken out: 2.92°, 3.05° at 20°, 2.14° at 45° and 0.95° at 75°.
The prediction pays from a lean of about twenty degrees, and above it the gain is large: at 45° it halves the error and brings it within 0.8° of the exact turn’s, at 60° and 75° it does better still. Below twenty degrees it costs. A step that is mostly sideways has almost no forward part, so its spread is almost nothing and is read as noise, and the cotangent multiplying it is large: at a 10° lean the prediction is 5.7 times the spread, and a spread read to its own size is a pan read to several times the one it was meant to remove. The plain reading costs little there, because the pan of a sideways step is the harmless one.
So a reader using the prediction should use it only when the read direction has a forward part, and the rule falls out of the measurement: take the pan out when the step leans more than about twenty degrees toward the scene, and leave it in when it leans less. The two regimes meet where both cost about the same.
The prediction does not care how far the skyline is
The two costs depend on the band’s distance in opposite ways. Read as infinite, the band costs its parallax, which falls as one over its distance: 9.38° at 96 m, 4.19° at 240 m, 2.62° at 480 m, 1.89° at 960 m and 1.54° at 2.4 km, approaching the exact turn’s 1.32°. With the pan predicted, the cost is the noise in the band’s spread multiplied by the lean, and both the spread and the pan fall with distance together, so their ratio is read with the same relative noise wherever the band is: 2.39°, 2.14°, 2.04°, 1.99° and 1.96°.
The two cross near a kilometre, about forty times the scene’s distance. A skyline nearer than that is better read with its pan predicted, and much better when it is near: a band of roofs at 96 m costs a 45° step 9.4° read as infinite and 2.4° with its pan predicted. A skyline further than that is better read as infinite, because its pan is already smaller than the noise its spread would add. The earlier essay’s rule, keep the band far, is right beyond a kilometre; within it the band’s own spread is the better remedy, and it is the one available indoors and in streets, where the far marks are seldom far.
What a further picture is good for
The third picture did not measure the distance. It does do something, and the measurement says what.
Pair the first picture with one taken further along the track and every reading changes except the band’s. With the turn exact, the direction’s error falls with the step, from 1.32° at 0.3 m to 0.51° at 0.6 m, 0.32° at 0.9 m and 0.18° at 1.5 m, since the scene’s parallax grows with the step and its reading error does not. Read as infinite, the band costs 4.19°, 3.26°, 3.13° and 3.11°: once the scene’s own noise is gone, what is left is the band’s , which does not depend on the step at all. With the pan predicted: 2.14°, 0.90°, 0.63° and 0.37°, falling with the step as the exact turn does, because the band’s spread grows with the step and its reading error does not.
That is the third picture’s use, and it is the opposite of the one proposed. It does not measure the band’s distance through a ratio; it lengthens the step, and a longer step makes the band’s spread large enough to read. At 1.5 m the predicted pan is within 0.2° of an exact turn, where the plain reading stays 3.1° off however long the step becomes. A photographer, a vehicle or a drone with several pictures along its path should read each pan from the longest pair available, not from neighbours.
The same reasoning says what a finer reading buys. Read to 0.1 px instead of 0.3 at the 0.3 m step, the band’s spread is read three times as finely, and the predicted pan leaves 0.75° at 45° against an exact turn’s 0.35° and a plain reading’s 3.11°. Forty-eight far marks instead of twelve help less, 1.85° against 2.14°, because the spread is read best from the marks furthest from the middle and adding marks across the same band adds few of those.
What this rests on
The band is at one distance. The pan and the spread are then the same parallax, , and their ratio is exactly the lean’s cotangent. A real skyline has marks at different distances. Its pan is the sideways step over an average of those distances weighted one way, and its spread the forward step over an average weighted another, by each mark’s distance from the frame’s middle, and the two averages differ. The prediction then leaves a residue, which is unmeasured here.
The track is straight and the cameras aim at the scene. A track that turns between pictures makes the pairs different shapes rather than one shape at different sizes, and the pans’ ratio then does depend on something; a scale chain leans rather than wanders is the sequence that would pick it up. Along a straight track the plain reading’s error is the same at every pair and always toward the scene, the steady lean that closing a loop mends its ends and a chain and an adjustment can take out afterwards with one number; the predicted pan removes it pair by pair instead, which a track that never closes needs.
The lens and its calibration are known. The spread is read as a scale about the camera’s axis, which needs the axis’s place in the picture. A principal point read wrong by a few pixels turns part of the spread into a shift, which the turn absorbs, and the prediction would lose that part.
The scene’s own marks are the earlier essay’s. The read direction’s sideways and forward parts come from thirty marks on a slanted plane, which the spread a point gets would say are pinned best in the middle; a scene with more depth would read the lean better and the prediction with it.
Where the confusion goes
A given turn spends the long lens’s parallax found that a long lens confuses a small pan with a small sideways step, and a longer lens buys parallax and not the direction that no lens escapes it. The skyline essays found that a band’s error lies along that confusion, harmless for a sideways step and turning a leaning one. This one finds that the band is not only the source of the error but a measurement of it: the same parallax that leaks into the turn as a pan shows in the band’s marks as a spread, and the step’s own lean converts one into the other. A far band is never quite one eye, which far enough away, a pair is one eye took as its limit; the amount by which it is not is readable, and readable in the pictures it was failing in.
Still open: whether a skyline at many distances can still predict its own pan
Everything here put the band’s twelve marks at one distance, so its pan and its spread were the same parallax read two ways. A real skyline is a church tower at 300 m, a ridge at 2 km and a mast at 600 m, and each mark’s parallax is different.
The measurement that settles it spreads the band’s marks over a range of distances, from a factor of two to a factor of twenty between nearest and furthest, and asks how far the pan predicted from the spread then misses the pan the band actually hands on, since the spread weights the marks far from the middle and the pan weights them all; whether a reader who fits each mark its own parallax, which the turn and the step’s lean then fix, recovers the prediction; and whether the marks’ differences are themselves the measurement of the band’s depth that the third picture was meant to make, read from a single pair.
A band of far marks read as infinitely far hands a leaning step a pan of its sideways parallax, and the pan turns the step’s direction. A third picture on the same track cannot read the band’s distance from the ratio of two pans: a 0.3 m and a 0.9 m step’s pans stay at 3.05 to one from 96 m to 2.4 km, because a straight track’s pairs are one pair at two sizes. The distance is already in the pair. The band’s marks spread apart by its forward parallax, and the ratio of pan to spread is the step’s own lean, which the scene reads; predicted from the spread and taken out, the pan’s cost goes entirely with exact marks, and at 0.3 px falls from 4.2° to 2.1° at a 45° lean. The prediction pays above a lean of about twenty degrees and for skylines nearer than about a kilometre. A further picture helps by lengthening the step: with 1.5 m between the pictures compared the predicted pan leaves 0.37° where reading the band as infinite leaves 3.1°.
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.
- A turn of the head is not a step sideways — both name baseline, conditioning, degeneracy, parallax
- How flat is flat enough — both name conditioning, degeneracy, error propagation, parallax
- A fitted plane shares its marks at every distance — both name conditioning, error propagation, parallax
- A picture with two eyes in it — both name degeneracy, error propagation, parallax
- A plane's coefficient reaches as far as its parallax — both name conditioning, error propagation, parallax
- A quarter of a degree of roll keeps the line — both name baseline, degeneracy, stereo pair
Named objects
A flat tag is an object no other essay names yet.
BaselineConditioningDegeneracyerror propagationParallaxStereo pair