Field

Through water and glass

A refracted picture is not a projection at all — its rays, continued into the water, miss each other by millimetres rather than meeting at a point. Everything the other fields rest on is measured here against the case where it fails, from the cross-ratio to Snell's window to a dome port that turns out to be an exact pinhole.
water, n = 1.333eyetruly 1.50 m downappears 0.818 m downh/n would be 1.125 mno single viewpoint — the rays miss by 17.1° of bend at the surfaceapparent depth 54.5% of the true one, not 75.0%

What a ray does at a surface

Snell's law in vector form, the apparent depth of a submerged point along a line of sight, and why dividing the depth by the refractive index is one point on a curve rather than the answer.

the water surfacethe pinholethe rays miss by 9.9 mmno single viewpoint — the rays miss by 9.9 mmdry control: 0e+0 m

A picture through water has no viewpoint

A refracted picture is not a projection through any centre — the rays have no common point — and the cross-ratio, the invariant this site is built on, comes back one and a quarter per cent out where the pinhole is exact.

no single viewpoint — the rays miss by 4.5 px, depth-dependentf recovered from it: 396.88 px

What survives a pane of glass

A plane-parallel slab displaces a ray and leaves it parallel to itself, so vanishing points survive it exactly while finite points do not — which splits the site's two recoveries cleanly in half.

15°30°45°60°85°the rim: 48.61° from straight upbeyond it: the bottom, reflected45° of sky0.469460° of sky0.370275° of sky0.211485° of sky0.0738area scalen = 1.333, so the rim is at asin(1/n) = 48.61°area scale 0.563 at the centre, 0.0738 at 85°

The sky inside a cone

Snell's window as a map from a direction above the water to the direction it arrives from beneath, measured on straightness, conformality and area scale in the same way the curved field measures its six picture surfaces.

00.50011.50205101520the dome's centre, off the entrance pupil (mm)worst departure from the pinhole it would be in air (degrees)centred: exactly zero6 mm → 0.635°a 100 mm dome in acrylic, n = 1.4910.106° per mm of centring error

The port that is not there

What a flat port does to a lens's field of view, the hard ceiling twice the critical angle sets on it, and the dome port that restores the pinhole camera exactly provided its centre is at the entrance pupil.

the critical angle, 48.61°00.2500.5000.75010204060angle off the zenith (°)brightness, as the disc draws itfrom the zenith out to 60°bottom of albedo 0.3

The horizon is in the window and almost unlit

Fresnel's equations applied to Snell's window. The disc is 1.74 times brighter than the sky at the zenith and falls through the sky's own brightness at 48.01 degrees; five degrees of horizon takes 0.25 degrees of radius at 32 per cent transmission; and a white bottom reaches the square of the index, leaving no edge at all.

00.2000.4000.6000.800204060how far off the axis the ray leaves the pinhole (°)how far the dome bends it (°)10 cm dome20 cm domeboth at offset/radius = 0.060identical to 1e-16°

The dome knows its offset in units of itself

What a dome port's picture says about the dome — the scale invariance that makes two different domes one instrument, and the length that has to be imported from the water.

00.2000.4002468how far off the perpendicular the sightline is (°)how far the pane moves the point (mm)13.2 mm, n = 1.3510.0 mm, n = 1.528.0 mm, n = 1.756.5 mm, n = 2.1t(1 − 1/n) = 3.421 mm for all four1.8 µm apart over 8°

A pane gives a product before it gives two numbers

Recovering a pane's thickness and refractive index from the displacement it gives, the valley the two share at small angles, and the angular range that separates them.

correct from 15 cm, at 160 mm widereflecting and refracting · 6.0e-12 px

One surface, two images

The reflected and refracted halves of one photograph put through one instrument, and the landscape rule read as an epipole at infinity.

parallel in, no common point out18.6 mm of spread

A ball of water has no eye either

The refracting counterpart of a curved mirror having no eye, with the paraxial focus as the control that gives the number its meaning.

water, n = 1.333eyethe point, 1.50 m downsagittal: 0.740 mtangential: 0.320 mno single viewpoint — the rays miss by 0.840 mbetween the pencil's two images

A point under water has two depths

The astigmatic pencil a submerged point sends through a flat water surface: the sagittal and tangential apparent depths in closed form, traced by triangulating rays to two eye positions, which one a pair of eyes reads as its baseline tilts, and why the familiar apparent-depth curve is only the first of the two.

eyethe sticktwo eyes side by sidea nodding headcorrect from 18 cm, at 160 mm widekink 14.96° · turn 4.29°

A straight stick in water is a kink and a curve

The image of a straight stick standing in water, traced point by point: a kink at the surface with a closed form that ignores which way the stick leans, a curve below it that does not, the different image a nodding head sees, an end-to-end turn that vanishes while the image is still bent, and what a photograph from the eye can and cannot show.

x axis, 54.7° off1.58°y axis, 63.5° off3.39°z axis, 46.9° off1.45°the frame's best rotation1.14°the recovered camera's turn3.37°wedge 2° · focal 1.33% short · principal point 16.6 pxframe mispredicted by 14.7 px

A wedge of glass turns the camera behind it

What a thin wedge of glass does to a camera behind it: the deviation it gives rays at every angle, the residual no rotation or homography of the frame absorbs, and why a camera recovered from three vanishing points through it is turned about three times as far as the frame, with its focal length and principal point wrong and nothing left over to warn.

eyethe stickcorrect from 18 cm, at 160 mm widerays miss by 3.13 mm

The stick a stereo pair puts back

What a stereo pair reconstructs from a straight stick in water as its baseline rolls, with the two exact baselines identified and the shape between them measured.

012204060how far off the axis the read directions reach, in degreeshow far the recovered wedge angle is out, in degreesthe wedge's own angle — nothing recovered60 trials at each spread, half a pixel of reading error0.068° at 55°

The wedge recovered with the camera

A joint fit of the camera's orientation and a wedge's angle and orientation, with the field the reading has to cover and the index it cannot pin down.

the stickreconstructedfitted straightbaseline rolled 45°residual 0.2 mm

The residual does not warn

What the compromise a rolled stereo baseline makes of a submerged stick costs a fitted shape, and whether the residual a pipeline reports says anything about it.

00.50011.502020406080roll of the baseline, degreesmillimetresunweighted residualfloored at a pixelweighted, no floorthe rays' miss, rmsa one-metre stick, the baseline rolledthe weighting runs the wrong way harder

A fit weighted by the miss trusts only the surface

Whether weighting a straight-line fit by each point's ray miss gives a stereo reconstruction of a submerged stick back the warning its residual lacks — and why the miss measures disagreement between two eyes rather than error.

residual × 40 · rms 1.62 px at the readings · principal point moved 7.7 pxno single viewpoint — the rays miss by a wedge's worth, varying with incidencethe glass-blind calibration at 40°

A wedge moves the centre, not the lens

Whether a wedge of glass in front of a camera is read as lens distortion when the two are fitted from one picture — the correlation between the wedge's angle and a radial coefficient fitted together, the coefficient and principal point a calibration that does not model the glass reports, the residual pattern it leaves, and how precisely both are known when both are fitted.

024020406080how deep the point is, cmthird ray's miss of the pair's point (px)one pixelraised 25 mmraised 50 mmraised 100 mmraised 200 mma one-metre stick, 30° into waterzero at the surface, every offset

A third eye sees the water the pair cannot

What a third camera placed off a level stereo pair's baseline adds to a reconstruction through water — traced ray by ray: the miss of the third ray against the pair's points, which direction of offset shows it, how re-triangulating as if in air absorbs it into depth and shortens the stick, a test that flags the water against a dry control at each reading error, and the refractive index recovered from the three rays with the stick restored.

with decentring terms · residual × 40 · rms 0.54 px over the discno single viewpoint — the rays miss by a wedge's worth, varying with incidencedecentring 1.3e-2 and -5.4e-3

A calibration through glass reports a prism

Whether the decentring terms of a standard lens calibration absorb the swirl a wedge of glass leaves, when the calibration does not model the glass — measured on a distortion-free camera behind a 2° wedge: the residual field under radial, decentring and thin-prism models, how much each takes at each reach, what each reports about the camera, and how far off the axis a reading must reach before the glass is announced.

-0.10000.1001.201.301.401.50the index the rays are read withthe surface's height they are read with (m)the valley floorwater, at the surface±1σ: 0.143, 48 mmthree eyes, 8 points a stick, a quarter pixeldarker: the rays agree better

A water surface's height trades against its index

Whether three cameras looking into water through a surface they cannot see can recover the surface's height and the water's index together: the valley in which the two trade, what a second stick at another distance does to it, how far fits from noisy readings slide along it and what that does to a reconstructed length, and how much holding either one known recovers.

the lens's ownno turnhalf a turndecentring (t₁, t₂) reported at every 15° of turn, exact readingsthe lens sits inside the loop

Turning the glass tells the window from the lens

Whether a camera behind a wedge of glass can be calibrated without modelling the glass, by calibrating twice with the glass turned between — measured on a lens with radial and decentring distortion of its own: the loop the glass-blind decentring traces as the glass turns, the principal point and radial coefficient, how small a turn separates the lens, how many turns are best, and how far off the axis the readings must reach.

-202-400-2000200400along the read stick from its middle (mm)off its own straight line (mm)lean 90°stick 905 mmexact readings, an index of 1.25the bow: 2.216 mm

A straight stick tests the index only across the sight

Whether knowing that a submerged stick is straight stops a three-eye fit of a water surface's height and index from sliding along the valley between them: what a wrong index does to a straight stick's straightness and to its length, why the answer depends on which way the stick leans, and how much a measured length — from a rough tape to a ruler with every mark known — recovers instead.

00.0500.1000.1501.251.301.331.401.451.50the index the eyes assume, the surface's height fitted to ithow badly the rays miss one straight line, rms pxa straight stickbowed 1 mmwaterexact readings, leaning across the sightbest fit 1.407

A bowed stick is read as a wrong index

Whether a stick that is not quite straight fools the straight-line constraint in a three-eye refraction fit: the fit's misfit against the assumed index for a straight and a bowed stick; the index the line-held fit returns for bows of a quarter of a millimetre to four millimetres in three directions; how the effect depends on which way round the stick it bows; forty rigs at a quarter pixel against the slide the constraint removes and against a tape; and why a stick leaning away from the eyes is immune.

-0.05000.050fitted index less water's, each dot one set of bow directions1 stick2 sticks4 sticks8 sticksexact readings, bows of 1 mmbar: ± the root mean square

Crooked sticks cancel each other's bows slowly, and eight of them match a tape

Whether several sticks, each bowed a millimetre in its own random direction, average away the bias a bow puts into a line-held refraction fit of index and surface height: the spread of the fitted index over draws of bow directions for one to eight sticks; why it falls more slowly than one over the square root of the count; how hard a bow pulls from each lean and distance; what the bows cost at a quarter pixel of reading error; and how many crooked sticks it takes to match a tape.

0.0050.010.020.050.10.0010.0030.010.030.10.25how far the bow alone pulls the index (log)the bowed stick's miss, px rms (log)a quarter pixeldark: 1.8 m outlight: 2.8 m outone stick, 1 mm of bow, exact readingseach dot one direction of bow

A crooked stick hides in a quarter pixel, and its residual finds it only below a tenth

Whether a crooked stick in a set of eight can be told by its share of a line-held refraction fit's residual and dropped: how far a bow pulls the index against how far it makes the stick's rays miss; each stick's share of the residual against its pull, read exactly and at a quarter pixel; how often a stick bowed three millimetres among sticks bowed one is ranked worst, as the reading error grows; how badly bowed a stick must be before a quarter-pixel residual finds it; and what dropping the worst-ranked stick does to the index.

00.50011.5030405060angle off the vertical, under water (degrees)mean radiance, sky = 1calm1° rms3° rms6° rmseye 1 m down, uniform sky, dark waterrim at 48.6° when calm

A ripple moves the window's rim by its own slope

Rays traced from an eye under a rippled surface, in a vertical section. The window's rim spreads by the surface's rms slope, not a quarter of it, so 0.25 degrees of slope already blurs the 0.25 degrees where the horizon sits. Looking up at a uniform sky no ray is brighter than calm water's middle. The bright network is on the bottom, peaking at the same contrast at a depth of 2.6 metres divided by the slope in degrees.

0.10.313131030depth of the stone (m)wobble of its apparent place, rms (mm)3° sea1° seaD·σ·(n − 1)/neye 1.5 m above, looking down3°, 0.5 m: 6.3 mm

A stone under a ripple wobbles by the bending factor

A stone on a flat bottom seen from 1.5 m above a rippled surface, in a vertical section, with the stone's apparent place taken as the brightness-weighted mean of its images over 200 moments of a seeded sea. Overhead, the wobble is 2.67 mm at 0.2 m under a 3 degree rms slope against 2.62 from D times slope times (n-1)/n, and 6.32 mm at 0.5 m against 6.55; at 3 m it is 29.4 against 39.3. The slope gain rises from 0.250 overhead to 0.290 at 20 degrees, 0.448 at 40 and 0.877 at 60. Multiple images begin near the depth where the sea focuses sunlight, 0.86 m at 3 degrees. Placing the stone to a millimetre takes 40 independent pictures at 0.5 m and 861 at 3 m.

from the left eyefrom the right eyestone, 0.3 m down1° sea, height ×20, width ×9this moment: -0.6 mm aside, 18 mm in depth

A pair over a ripple wobbles in depth, by the sea's curvature

Two eyes 1.5 m above a seeded 1° sea, wavelengths 2 to 50 cm, look down at a stone 0.3 m deep; each finds the stone's images and their brightness-weighted place, and the pair triangulates through calm-water lines of sight, over 160 moments. Each eye wobbles 1.32 mm sideways, the bending-factor law's 1.31 mm. The eyes' readings correlate 0.997 at 5 mm apart, 0.59 at 65 mm and nothing by 30 cm. The triangulated stone wobbles 1.17 mm sideways and 42.9 mm in depth at 65 mm; as the eyes close, the depth wobble levels at 51 mm, the weak-lens law D²·κ·(n − 1)/n giving 48.9 mm for the sea's rms curvature of 2.18 per metre. Without ripples shorter than 5, 10 and 20 cm the depth wobble falls to 22.9, 14.1 and 9.1 mm, and the law follows it.

pupildome, R = 100 mm150 mm133300 mm200600 mm267far: 400 mmfilled: the fish · ringed: where the camera focusesdistances from the pupil, mm

The focus ring reads what the dome hides

A thin spherical dome of radius 50 to 200 mm between water (n = 1.333) and air, and a camera's entrance pupil at its centre or a few millimetres to one side, followed along each chief ray by Coddington's sagittal and tangential equations. Measured: where a fish at 150 mm to infinity is imaged (133 to 400 mm for R = 100 mm); the vergence law against a flat port; the radius read from a focus on a distant scene at half a depth of field, for 16 mm and 24 mm lenses at f/2.8 to f/8 (3.3% to 47%); a flat wall's corner miss of a flat focus against field angle (0.73 D at 45° for 100 mm, at any wall distance) and the f-number it needs (f/12.5); and the focus difference across ±40° for a pupil 1 to 10 mm off centre (1.286 mm per mm, any radius).

dome, 100 mm300 mm700 mm2000 mmplan view, mm; water n = 1.333solid: imaged flat · dashed: sphere of radius 3R

A dome flattens one shape, and it is not a ball

A camera's entrance pupil at the centre of a thin spherical dome port in water (n = 1.333), the virtual image of each subject point found from the dome's vergence law along its undeviated chief ray. Measured: the exact surface whose image lies on one flat focus plane, for subjects 300 to 2000 mm away behind a 100 mm dome, and the field angle past which none exists, for domes of 50, 100 and 200 mm; the dioptric miss of a flat focus across the field for a flat wall, a concave wall, a ball of radius R/(n − 1) and that surface, 400 mm away; the worst miss over ±12° against a spherical subject's curvature, for three domes; and the f-number a 16 mm lens needs, against the dome's radius, for a fish flank, a coral head, a flat wall and a cave.

dome, 100 mmimage of a wall at 0.4 mimage of a wall at 2 mflat focusfocus curved to the domeplan view, mm; water n = 1.333the camera looks right

A focus curved to the dome holds the wall and loses the fish

A camera's entrance pupil at the centre of a thin spherical dome port in water (n = 1.333), the virtual image of each subject point from the dome's vergence law along its chief ray; the lens's surface of best focus on the image side of the dome a sphere of stated curvature through the image of the subject's middle, a thin lens's field curvature carried unchanged to every focus distance. Measured with a 16 mm lens and a 0.015 mm circle, as the f-number at which depth of field holds the worst dioptric miss: a flat wall over ±45° against the focus curvature, for walls 300, 700 and 2000 mm away behind a 100 mm dome; against the field from ±10° to ±60°; lenses curved for 50, 100 and 200 mm domes behind domes from 50 to 400 mm; a fish flank, a coral head, a ball of three dome radii, a flat wall and a cave with a flat and a curved focus; and the best focus curvature for spherical subjects from concave to convex, against a second-order law.

All essays