The focus ring reads what the dome hides
Worth reading first: The port that is not there · What a ray does at a surface.
The dome knows its offset in units of itself found that a dome port photographing underwater bends rays by an amount that depends on how far the camera’s entrance pupil sits from the dome’s centre, divided by the dome’s radius, and on nothing else. A ten-centimetre dome six millimetres off centre and a twenty-centimetre dome twelve millimetres off centre take the same picture, bit for bit. The essay drew the general rule from it: an arrangement made only of reflection, refraction and a pinhole has nothing in its physics that carries a length, so every picture it takes reports ratios.
It also said, near its end, that one thing about a dome does carry a length. A dome forms a virtual image of the underwater world close in front of the glass, the lens has to focus on that image, and where it sits depends on the radius in millimetres. The picture reports the departure from a pinhole and so the ratio; the focus reports the optics’ own geometry and so the size. That remark was not measured. This essay measures it: where the virtual image is, what the focus ring can read from it, what it does to a flat subject’s corners, and whether the offset the picture reports only as a ratio comes back in millimetres too.
The dome as a lens
The dome is a thin spherical shell of glass of radius R between water of index 1.333 and the air inside the housing. Its thickness and the glass’s own index are set aside: a thin concentric shell has almost no power of its own, and what matters is the water’s curved boundary with the air.
Centred on the pupil, every ray the camera sees meets the dome square on, along a radius, and passes through it undeviated. That is why the port that is not there found a centred dome costs a picture nothing at all: every direction is kept, so the picture is the pinhole picture of the water as though the glass were absent. But a ray is a line and a lens acts on pencils. The narrow cone of light from one point of a fish to the whole width of the pupil meets the curved surface at slightly different places, at slightly oblique incidence, and the water-to-air boundary bends the edges of that cone outward. The pencil leaves the dome diverging more steeply than it arrived, as though it came from a point nearer the camera. The camera, which must bring that pencil to a point on its sensor, has to focus on the nearer point.
Along each ray, then, a fish 150 mm from the pupil is focused at 133 mm, one at 300 mm at 200 mm, one at 600 mm at 267 mm, and a fish at any great distance at 400 mm. All of them are seen in exactly the direction they lie in, and all of them must be focused at a distance between the dome’s own surface and four radii out. A distant object’s virtual image lies at from the pupil, 4.003 radii for water, and since the dome is the same along every ray, the far images of the whole underwater world lie on a sphere of that radius about the pupil.
Followed along a ray by Coddington’s equations for a narrow pencil refracted at a sphere, the two directions of the pencil, along the ray’s plane and across it, come to the same point when the incidence is square, so the centred dome forms these images without astigmatism, exactly.
In dioptres, the dome is a constant
The relation between the fish’s distance and the focus distance looks awkward written in millimetres. Written in dioptres, the reciprocal of distance in metres, it becomes a straight line.
For a fish a distance from the pupil, the camera focuses at where
The first term is what a flat port does. A flat window does not image a fish where it is but at its reduced distance, the real distance divided by the water’s index, which is the familiar way underwater objects look a quarter nearer than they are; a point under water has two depths met the same division in another form. The dome keeps that term and adds a constant: 5.00 dioptres behind a 50 mm dome, 2.50 behind 100 mm, 1.25 behind 200 mm. The constant is the dome’s power as a lens, and a power is the reciprocal of a length. That is the length the earlier essay said the dome’s optics carry and its pictures do not.
Two things follow at once. A fish at any distance at all, from the glass to infinity, is focused between the dome’s surface and 4.003 radii, so the whole underwater world is compressed into a few tens of centimetres of focus. And the constant is the same for every fish, every direction and every distance, which is what the rest of this essay turns on.
Reading the radius off the focus scale
The plainest consequence is that a camera focused on a distant scene through a centred dome is focused at four radii, so its focus distance is a measurement of the radius.
How finely the radius is read depends on how finely the focus is found. A lens cannot be focused more finely than its depth of field allows the eye or the autofocus to judge, and half the depth of field in dioptres is the f-number times the circle of confusion over the focal length squared. For a 16 mm lens at f/2.8 with a 0.015 mm circle that is 0.164 dioptres. As a share of the radius, the uncertainty is those dioptres times the focus distance, so it grows with the dome: 3.3% behind a 50 mm dome, 6.6% behind 100 mm, 13.1% behind 200 mm. Stopped down to f/8 the depth of field triples and the reading is 18.8% behind 100 mm; a 24 mm lens at f/4 does better than either, 4.2% behind 100 mm, because a longer lens has a shallower depth of field at the same distance.
This is a genuine measurement of a length from a camera and a dome alone, with no target of known size. It is the same move a close picture carries its own distance made in air, where a lens’s focusing extension recorded how far it was focused and a picture’s vanishing points recovered the extension. Behind a dome the focus is not on the subject at all but on the dome’s image of the far scene, so what it records is not the subject’s distance but the dome’s radius.
The general rule the earlier essay stated is exactly right about this, and it is worth saying how. Reflection, refraction and a pinhole carry no length. A lens’s focus does: a lens of focal length f focused at a distance moves its glass by a definite number of millimetres, and that mechanism is the length that breaks the similarity. The picture through a dome is scale-free; the focus ring is not, because the focus ring is a ruler.
Corners: a constant power curves a flat subject
A camera behind a dome photographing a flat subject, a wreck’s hull or a reef wall seen square on, meets the dome’s most familiar fault: the middle sharp and the corners soft. The dioptric law says exactly how soft.
The wall’s point at angle θ from the middle is from the pupil, and the camera’s flat focus, set on the middle, is at along the same ray. With the law, the dioptric difference between where the corner’s image is and where the flat focus is comes out as
and the wall’s distance has cancelled. A wall at 300 mm and a wall at infinity have exactly the same corner miss, because the water’s term is the same fraction of the distance at every angle and only the dome’s constant is left over. At 45 degrees that is 1.46 dioptres behind a 50 mm dome, 0.73 behind 100 mm and 0.37 behind 200 mm. Doubling the dome halves the miss.
The miss is a curvature of the image, not of the picture. The corner is still seen in exactly the right direction, since the centred dome bends no ray; it is only focused at the wrong distance. The virtual images of a flat wall lie on a curved surface, and a flat sensor behind a lens focused on a plane cuts that surface only in the middle.
The same picture at a different aperture
What a photographer does about soft corners is stop down until the depth of field covers them, and the law turns that into arithmetic.
The f-number that holds a 45-degree corner within half the depth of field is the miss times the focal length squared over the circle of confusion. For a 16 mm lens that is f/25 behind a 50 mm dome, f/12.5 behind 100 mm and f/6.2 behind 200 mm. A 12 mm lens needs f/7.0 behind a 100 mm dome; a 24 mm lens would need f/28, if its field reached 45 degrees at all. The aperture is proportional to the miss, so it falls as the radius grows, and it rises as the square of the focal length.
That gives the earlier essay’s observation its practical half. Two domes with the same offset ratio take the same picture, bit for bit, in where every ray goes. They do not take it at the same aperture. The larger dome’s image is flatter in dioptres, so it can be shot two stops wider open for the same corner sharpness, with less diffraction, less noise and a faster shutter. Underwater photographers prefer large domes for wide lenses for exactly this reason; the measurement says the preference is a statement about dioptres and has nothing to do with the picture’s geometry, which the dome’s size cannot change.
The offset, in millimetres
The earlier essay’s central quantity was the pupil’s offset from the dome’s centre, which the picture reports only as a fraction of the radius. The focus might report it in millimetres.
With the pupil to one side, the sphere of far images is still centred on the dome, but the camera now looks at it from off centre, so the distance to it differs across the field. Followed by Coddington’s equations, the focus needed at 40 degrees to one side and 40 degrees to the other differs by , 1.286 millimetres for every millimetre of offset: 5.14 mm at 4 mm off centre, for a 50, 100 or 200 mm dome alike. The radius has dropped out, because the offset moves the pupil relative to a sphere whose size does not matter to first order. The pencils’ two foci part when the incidence is no longer square, but by at most 0.0068 dioptres at 6 mm of offset, far too little to see.
So the focus does carry the offset in millimetres, and it carries it independently of the radius, which is exactly the length the picture could not supply. Whether it can be read is another matter. A millimetre of focus difference at 400 mm is 0.0062 dioptres, twenty-six times finer than the depth of field of a 16 mm lens at f/2.8. No focus scale and no ordinary autofocus resolves it. The offset is in the focus, but too finely written to read.
What can be read is the product of two coarser things. The picture reports the offset as a fraction of the radius, which the earlier essay found precise, and the far focus reports the radius to a few per cent. Multiplied, they give the offset in millimetres to the focus’s few per cent, which is enough to say whether a port extension needs another few millimetres, and that is the use a photographer has for it.
Every instrument in the row, with its length found
The earlier essay ended on a test for any optical instrument: before asking what it measures, ask what in the arrangement has a length in it. A shadow is a second projection has one because the floor is somewhere. The caustic is the mirror’s own ruler has one because the table is. A floor anamorph is three numbers has one because the marks are laid down in the room. A dome, it now turns out, has one too, and it is behind the glass rather than in front of it: the lens’s own focusing travel, which measures vergence, and vergence is the reciprocal of a length.
That reading also says why the length is so much less precise than the ratio. The picture’s departure from a pinhole is read from the positions of many points across a frame, each to a fraction of a pixel, and the earlier essay could measure the ratio finely. The focus is read from one quantity, the sharpness of a whole picture against the focusing travel, and sharpness is a broad maximum whose width is the depth of field. A length enters through the coarsest channel the camera has.
The dome and the lens, as modelled
The shell is thin. A real dome is several millimetres of glass or acrylic, a concentric meniscus whose own power is small and negative and adds slightly to the water’s; the law keeps its form with a slightly different constant.
The pupil is a point. A real entrance pupil has a size, which is what makes a pencil, and the entrance pupil walks with the angle found it also moves with the field angle; a wide lens’s pupil cannot be centred on the dome at every angle at once, so every real dome has some of the offset measured here at the edges of its field.
Focus is found to half a depth of field. A contrast-detecting autofocus that fits a curve to sharpness can find the peak several times more finely; a scale read by eye, no better.
The lens focuses on a plane. Real wide-angle lenses have field curvature of their own, which can be designed to partly match a dome’s; the miss here is the dome’s alone.
Still open: whether a dome can be focused in one pass for a curved subject
The corner miss is a property of a flat subject. A curved subject, the inside of a cave or the round flank of a fish photographed close, is at different distances in different directions, and its virtual images lie on a different surface again: by the law, a subject surface given in dioptres maps to an image surface shifted by the dome’s constant and scaled by the water’s index.
The measurement that settles it takes subjects of stated curvature, convex toward the camera and concave, and asks whether there is a curvature of subject for which a dome’s virtual image is flat, so that a flat focus is sharp to the corners at full aperture; how that curvature depends on the radius, which by the law it must; and whether a photographer choosing a dome for a habitual subject, a cave wall or a reef dome, could choose its radius to flatten that subject’s image rather than to maximise the aperture.
A dome flattens one shape, and it is not a ball takes that measurement: the subject imaged flat is a hyperboloid with its focus at the pupil, a ball three dome radii across near the axis, and past an angle set by its distance over the radius no subject is imaged flat at all.
A centred dome bends no ray, so its picture carries no length, but it is a lens of constant power, : the camera focuses at , and a distant scene at 4.003 radii. The focus on a far scene reads the radius, to a few per cent with a wide aperture behind a small dome. The same constant curves a flat wall’s image away from a flat focus by at any distance, so a larger dome takes the same picture at a wider aperture. A pupil off centre moves the focus apart across the field, in millimetres and whatever the radius, but far more finely than a depth of field can read.
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 focus stack is sharp everywhere but its edges — both name depth of field, entrance pupil
- A lens that focuses behind its stop needs no rail — both name depth of field, entrance pupil
- A mirror ball does not know its size — both name scale ambiguity, virtual image
- A pane gives a product before it gives two numbers — both name refractive index, scale ambiguity
- A pupil sees around an edge — both name depth of field, entrance pupil
- A stack shot from one pupil is one picture scaled — both name depth of field, entrance pupil
Named objects
A flat tag is an object no other essay names yet.
depth of fieldDome portEntrance pupilRefractive indexscale ambiguityVirtual image