A pair over a ripple wobbles in depth, by the sea's curvature
Worth reading first: The sky inside a cone · Depth is a reciprocal.
A stone under a ripple wobbles by the bending factor looked down through a moving surface at a stone on the bottom of a stream. Each patch of surface the eye looks through is tilted, a tilted patch bends the line of sight, and the stone’s picture moves. Seen from above, a ray crosses the surface near its normal, where a tilt of turns it by , a quarter of the tilt for water. So a stone at depth under a sea of rms slope wobbles by , which the tracing confirmed until the sea grew steep enough to show the stone more than once.
All of that was one eye. Two eyes, or a stereo pair of cameras above a stream, look at the same stone through two different patches of the surface. The stick a stereo pair puts back had used such a pair to recover a stick through calm water, and calm water gives every patch the same tilt. That essay’s open question was what a moving surface does to the pair. How does the wobble of the disparity between the two pictures compare with each eye’s own wobble? At what baseline, against the sea’s wavelengths, do the two eyes’ wobbles stop being correlated, and the depth read from the pair start to wobble more than the place read from either? And does a pair whose baseline is short against the sea’s crests see a stone that wobbles sideways and holds still in depth?
The last question expected the answer yes, and the measurement says the reverse. A pair with its eyes close together shares the sideways wobble almost perfectly and places the stone across the view no better and no worse than one eye. What it cannot share is a depth, and the stone’s depth wobbles thirty to forty times as much as its place, by an amount that does not fall as the eyes close in. The reason is the surface’s curvature, which a single eye’s sideways reading never saw.
Two eyes and one sea
The arrangement continues the single eye’s. A seeded sea is a sum of forty sinusoids with wavelengths from 2 cm to 50 cm, the same slope in each, scaled here to an rms slope of 1°, a gentle ripple on a stream. Moving along it is the same as letting time pass. A stone lies on a flat bottom 0.3 m below the mean surface. Two eyes stand 1.5 m above the surface, level, a stated distance apart, with the stone below their midpoint.
At each moment each eye does what the single eye did. Every point of the surface sends that eye’s line of sight down to some place on the bottom, bent at the slope it meets there; where a line reaches the stone the eye sees an image of it, and the stone’s apparent place is the brightness-weighted mean of its images. The pair then reads the stone the way a stereo pair calibrated on calm water would. Each eye’s line of sight is carried into the water as calm water would carry it, through the point of the surface it crossed and on towards the place on the bottom it reads, and the two lines are intersected. On calm water this returns the stone exactly.
Each eye’s line of sight reaches the stone through its own patch of surface, about an eighth of the distance between the eyes away from the other’s, since the lines converge on the stone. Each patch has its own tilt and its own curvature. In the moment drawn, with the eyes 30 cm apart, the two eyes’ readings are 1.8 mm and 0.5 mm off the stone’s place, on opposite sides, and their lines of sight cross 0.6 mm to the side of the stone and 18 mm below it.
Close together, the eyes share the sideways wobble
Every quantity is measured over 160 moments of the sea and quoted as an rms.
Each eye’s own picture wobbles by 1.32 mm, whatever the distance between them. That is the single eye’s law, giving 1.31 mm for this stone and sea, and it is the first answer: each eye is still the eye of the earlier essay.
Their difference is another matter. With the eyes 5 mm apart it is 0.11 mm, a twelfth of either eye’s wobble, and it grows in proportion to the distance: 0.21 mm at 10 mm, 0.63 mm at 3 cm. Two eyes close together look through patches of surface a fraction of a millimetre apart, which tilt together, and both pictures move together. Further apart the difference stops growing and levels at about 2 mm, the size of two independent wobbles combined, times one. So the disparity’s wobble is small against each eye’s when the eyes are close, and larger than each eye’s once they are far enough apart to see unrelated patches.
How far apart is far enough depends on the sea’s shortest waves.
With ripples down to 2 cm the two eyes’ wobbles correlate 0.997 at 5 mm apart, 0.99 at 10 mm, 0.59 at 65 mm and nothing at all by 30 cm. Take the ripples shorter than 10 cm out of the sea and the correlation at 65 mm rises to 0.95. The rule is the obvious one, made quantitative: the eyes stop sharing the wobble when their two patches of surface, about an eighth of their distance apart at these heights, are separated by a sizeable fraction of the shortest wavelength that carries the slope. For a pair of human eyes over a stream with ripples a few centimetres long, that is about where they are.
The depth wobbles thirty times more, and does not go away
The sideways reading of the pair follows from the two eyes’. With the eyes close together both lines of sight are displaced alike, and the pair puts the stone just as far aside as either eye: 1.32 mm at 5 mm apart. Further apart the two displacements become independent and their intersection averages them, 0.95 mm at 30 cm, close to one eye’s wobble over .
The depth reading does not follow from the sideways ones at all. With the eyes 65 mm apart the pair’s stone wobbles 1.17 mm sideways and 42.9 mm in depth, thirty-seven times as much.
The cloud of triangulated stones is a line along the direction of sight. A pair a hand’s width apart, looking down at a stone through gently moving water, agrees closely about where the stone is across the view and hardly at all about how far down it is. That is the opposite of the hope in the question. A pair whose baseline is short against the sea’s crests does not see a stone that wobbles sideways and holds still in depth; it sees one that holds still sideways, nearly, and wobbles in depth.
The more surprising part is what happens as the eyes close in. A depth read from two pictures is the baseline divided by the disparity, roughly, which is why depth is a reciprocal and why its error grows as the disparity’s error over the disparity squared, and the disparity’s wobble falls in proportion to the baseline as the eyes close, so the two might be expected to cancel and leave the depth wobble constant. They do, but not at zero. At 5 mm apart the depth wobbles 51 mm, at 3 cm 49 mm, at 65 mm 43 mm. Only once the eyes are far enough apart that their patches decorrelate does it start to fall, as one over the distance: 14.8 mm at 30 cm, 4.6 mm at 1.2 m. The depth wobble at short baselines is not a pair’s error at all. It is something each patch of surface does to a single line of sight, which a pair is merely able to see.
A curved patch is a weak lens
A patch of surface that is tilted moves the stone’s image sideways; that is the single eye’s law, and it is the small-angle form of Snell’s law that what a ray does at a surface set out. A patch that is curved does something else. A curved surface between two media is a lens, of power for curvature , and a weak lens moves the image of a point along the line of sight. Under calm water a stone at depth appears at , the familiar shallowing that a point under water has two depths took apart. Under a curved patch its image is pushed nearer or further, by to first order, and a pair that reads depths back through the calm surface multiplies that by :
which is the sideways law with the slope replaced by the depth times the curvature.
The sea’s rms curvature, computed from its components, is 2.18 per metre. For the stone at 0.3 m the law gives 48.9 mm, and the pair measures 51.0 mm; at 0.2 m, 21.8 against 22.0 mm. A single line of sight’s depth error is invisible to a single eye, which reads only a direction. A pair with its eyes close together sees through very nearly one patch with two lines, so it reads that patch’s lens exactly, and what it reports as the stone’s depth is the lens’s image of the stone.
The curvature also explains why the short ripples matter so much more for depth than for place. The sea has the same slope at every wavelength, so its slope is shared evenly among them, but curvature is slope times wavenumber, so it is dominated by the shortest waves. Take out every ripple shorter than 5 cm and the sideways wobble at 65 mm barely changes, 1.19 mm, while the depth wobble halves, to 22.9 mm against the law’s 23.0. Without ripples shorter than 10 cm it is 14.1 mm; without those shorter than 20 cm, 9.1 mm. A pair looking down through a swell with no ripple on it sees the stone hold far stiller in depth than one looking through a breeze-ruffled surface of the same slope.
Deeper, the law runs out. At 0.5 m the depth wobble over 160 moments is 224 mm against the law’s 136; at a metre, 978 mm against 544. The rms is carried by a few moments in which a strongly curved patch makes a lens whose focus falls near the stone, so the image runs off along the line of sight. That is the onset of what the single-eye essay found at its focusing depth, where the stone is seen more than once. The bulk of the moments still follow the law at 0.5 m; it is the tail that grows.
Why the rim’s essay could not have found this
The slope and the curvature of a moving surface have been in every essay about it, and only now does the second one matter. A ripple moves the window’s rim by its own slope looked up from under water and found the edge of the sky’s cone moving by the whole tilt of each facet. The stone essay looked down and found its picture moving by a quarter of the tilt. Both measured a direction, and a direction depends on a patch’s tilt and not on its curvature, because a single ray meets the surface at one point and the curvature there does not turn it.
A depth is not a direction. It is the meeting of two rays, and two rays meet the surface at two points. Where those points are close together, the difference between the two tilts the rays meet is the curvature times their separation, and the separation is exactly what a short baseline makes small. So the depth error is the curvature’s, in the same way that the place error is the tilt’s, and the first instrument in this sequence that could see it is the first one that looks along two lines at once. The curvature was always moving the stone’s image along the line of sight; nothing that reads only directions could tell.
What a stereo pair over water should do
A pair measuring through a moving surface has two errors with two different laws. Its sideways error is the slope’s, , shared by close eyes and averaged by distant ones, and small. Its depth error is the curvature’s, for close eyes, falling as one over the baseline once the eyes look through unrelated patches, and large. With a 1° sea over a stone 0.3 m down, a pair 1.2 m apart still wobbles in depth three and a half times as much as a single eye’s place, and only several metres of baseline bring the two to the same size.
That turns the usual design choice round. A short-baseline stereo rig is normally chosen for its tolerance of matching and occlusion, and accepted for its poor depth precision, which whole pixels cut space into shells priced on dry land. Over water the short baseline has a second cost the dry-land rig does not: whatever its pixel precision, its depth cannot be steadier than the surface’s lens allows. A wide baseline buys depth precision through water just as it does through air, and for an additional reason: it decorrelates the two eyes’ lenses so that their errors average.
The other remedy is time. The depth wobble is a wobble, not a bias: its mean over the 160 moments is a fraction of a millimetre at 0.3 m. Averaging pictures over moments of the sea averages it away, at the square root of the count, as the single eye’s sideways wobble was averaged. A pair at 65 mm needs about a thousand independent moments to read the stone’s depth to the single eye’s 1.3 mm. A pair 1.2 m apart needs about a dozen.
A section, a gentle sea and a calibrated pair
Everything is in one vertical section. A real sea is curved in two directions, and so a real patch is an astigmatic lens with two curvatures. Its depth error along the section’s line of sight is set by the curvature in the plane containing both eyes, which is the one traced; the other curvature moves the image too, by the same law, so a real sea’s depth wobble is somewhat larger than the section’s.
The pair is calibrated for calm water. It knows the surface’s mean height and the index, and carries each line of sight into the water as a calm surface would. A water surface’s height trades against its index found how such a calibration can go wrong; here it is exact, so every error is the ripple’s.
The stone is a point, and the pair reads its brightness-weighted place. A real matcher matching texture on the bottom sees a smeared patch rather than a weighted point, and its own errors are added to the ripple’s. The sea is gentle, 1° of rms slope, so the stone is seen once at nearly every moment; at 3° and 0.3 m the depth wobble at 65 mm is already 154 mm and the sideways 3.4 mm.
Still open: whether three eyes can read the lens
A pair close together sees one patch’s lens and cannot tell it from the stone’s depth. But the lens is a property of the patch, and a patch is seen by every eye whose line of sight crosses it, not only along the line to the stone. A third eye sees the water the pair cannot used a third camera to recover a flat surface’s height; a third eye could in principle recover a curved patch’s curvature.
The measurement that settles it adds a third eye beside the pair, looking at the same stone and at a second stone a short way off through overlapping patches, and asks whether the three lines of sight to each stone, read together, separate the patch’s curvature from the stones’ depths; how much of the 43 mm depth wobble at 65 mm a third eye removes, and at what spacing; and whether a pair looking at two stones instead of one, through patches that overlap, can do the same, since two stones under one lens are both moved by it and their difference in depth is not.
Two eyes over a ripple each see the stone wobble sideways by the slope’s law. Close together they share that wobble and the pair places the stone no better than one eye. What the pair adds is a depth, and the depth wobbles thirty to forty times as much, by an amount that does not vanish as the eyes close in: each curved patch is a weak lens, and it moves the stone along the line of sight by . Short ripples carry the curvature, and a wide baseline averages 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.
- The depth a pair calls zero — both name depth from disparity, disparity, stereo pair, triangulation
- A fit weighted by the miss trusts only the surface — both name refraction, stereo pair, triangulation
- A rectification's free shift is free only near the pair — both name depth from disparity, depth uncertainty, disparity
- A scroll through two slits ranges in a straight line — both name depth uncertainty, disparity, stereo pair
- A stereo pair reads the depth a set was built at — both name disparity, stereo pair, triangulation
- A sway gives the blind centre a depth, not a good one — both name depth uncertainty, disparity, triangulation
Named objects
A flat tag is an object no other essay names yet.
Depth from disparityDepth uncertaintyDisparityRefractionSnell's lawStereo pairTriangulation