Concept

Entrance pupil — where it appears

The point a camera's rays appear to pass through, which is where it must be rotated about for a panorama to stitch. Rotating a camera about anything else leaves parallax between frames, which no warping can remove because it depends on the depth of what was photographed.

Named by 27 essays across 7 fields — each of them below, with the objects they name alongside it.

-10-50-2-10baseline (m, log scale)worst deviation in the recovered shape (log scale)exact pointsread to 1 pxat 2 mm: 4.7e-9 exact, 2.9e+1 read to 1 px6e+9× apart

A turn of the head is not a step sideways

The textbook says a short baseline makes reconstruction ill-conditioned. Measured, the algebra does not notice — a two-millimetre baseline recovers the courtyard to nine digits from exact marks. What fails is the ratio of baseline to reading error, and it fails without refusing.

depth · Baseline
the far field — where the stitch was fitted2.2 m — 3.2 px out24 m — 0.3 px outthe sky registers to 1e-13 pxthe foreground does not — up to 3.2 px

The eye is a place, not a point

Rotate a camera about the wrong point and the sky still stitches perfectly while the foreground slides. The misregistration falls as one over the distance, exactly — which is what says the fault is the pivot and not the lens.

lens · Pupil
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

A flat window into water costs a lens a third of its field. A sphere centred on the entrance pupil costs nothing at all — not nearly nothing, exactly nothing — and six millimetres off centre costs 0.635°.

refraction · Port
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

A dome port centred on the entrance pupil bends nothing at all, exactly. One that is not bends rays by an amount that depends on the decentring over the radius and on nothing else, so a ten-centimetre dome six millimetres off centre and a twenty-centimetre dome twelve millimetres off centre are the same instrument, bit for bit. The picture carries the ratio, which means it never carries the radius.

refraction · Port
a point at 1.5 mthe pupilthe sensorwhere it focusesf/2.8, focused at 3 m5.8 px across

The centre has an area

Every theorem of perspective follows from a projection through a point, and no instrument has one. Give the pupil a radius and each world point images as a disc — whose centre is the pinhole's mark to 5.7 × 10⁻¹⁴ millimetres, at every aperture, every distance and every field angle. The geometry survives exactly; only the sharpness is spent.

sensor · Aperture
00.50011.50-0.25000.2500.5000.750the blur a reader is prepared to call sharp, in pixels (powers of ten)near and far limits of the band, in metres (powers of ten)the focus distance2 pxone lens, one focus setting, five criteria5 bands

The sharp band is a decision

One 50 mm lens at f/2.8 focused at three metres has a sharp band half a metre deep or an unbounded one, and nothing about the optics changes between them — only how large a blur disc a reader is prepared to ignore. Every quantity usually quoted about depth of field is that acceptance restated, including the rule that a third of the band lies in front, which is true at one distance and nowhere else.

sensor · Aperture
the entrance pupilthe stopthe glassthe chief rays, from four object distances3.6e-15 mm apart

The hole a scene actually sees

The stop is not the centre of projection. Model a 50 mm lens with its stop 18 mm behind the glass and the chief rays from every object distance cross the axis at one point 28.1 mm on the other side of the lens — 10.1 mm from the stop and 1.56 times its size — to 3.6 × 10⁻¹⁵ mm. That point is the entrance pupil, and it is where a picture is a projection from.

lens · Pupil
the pupilan opaque edge120 mmf/1.4, focused at 6 m3 of 5 rays get past

A pupil sees around an edge

Two backgrounds identical everywhere a pinhole can see, differing only in the strip an occluder hides from it, produce identical pinhole pictures and pupil pictures 42 per cent apart. So no function of the sharp image — no kernel, no depth-dependent kernel, nothing — produces the picture a real lens makes, and the reach behind the edge is R(Z₂/Z₁ − 1), which is 120 mm here.

sensor · Aperture
00.2000.40005101520field angle, in degrees from the axislight lost, in stops0°10°17°23°one foreshortening, one tilt, two of distance0.48 stops at the corner

The corner sees an ellipse

A circular pupil viewed from off the axis is foreshortened by the cosine, so the blur patch a corner receives is an ellipse of axis ratio 0.920 at the edge of a full-frame picture with a 50 mm lens — and the light through it falls as the fourth power of the same cosine, 0.480 stops. Both are geometry, both happen to a perfect lens, and no design removes either.

sensor · Aperture
at one depth — a stadium, to 1.8e-5receding — tapered, 4% outone point, one exposure, the whole pupil1.8e-5 against 4%

The disc and the streak

A frame integrates over the pupil and over the exposure at once. Hold the point's depth and the patch is exactly the streak of its centres with one disc slid along it, to 1.8 × 10⁻⁵ of its own width. Let it recede over the same exposure and the disc's radius falls by 3.7 along the streak, and the patch departs from any single kernel by 16 pixels.

sensor · Aperture
00.2500.5000.7501-10-50510across the edge, in pixels of the picturehow much of the background reaches the sensorwhere a pinhole puts the edgethe pupilone depth per samplethe same edge, two ways of blurring it70% apart

One depth per sample is not enough

A depth buffer keeps a single distance at each sample, so a post-process blur can only ask how far away the thing at this pixel is. Across an occluding edge that answer is two depths and an occlusion, and the gather it produces differs from the pupil's own integral by 70 per cent of full scale over a band eleven pixels wide.

pipeline · Zbuffer
paraxial pupilthe stopa curved front elementcrossings 15.0 · 14.5 · 13.5 · 11.6 mm

The entrance pupil walks with the angle

The place a picture is a projection from is not a point in a wide-angle design. Chief rays traced through a strongly curved front element cross the axis 15.07 mm behind its front vertex when they are nearly on the axis, and 4.23 mm nearer the front at 80° of field. So no pivot makes a wide panorama seam clean: at one metre, pivoting at the paraxial pupil leaves 4.39 arcminutes of misregistration along a seam, and the best pivot still leaves 1.41.

lens · Pupil
0.313100510how far away the subject is, in metreshow far the pupil moves forward, in millimetres0.50 mthe whole walk with field anglea 50 mm lens, focused as one pieceequal at 0.50 m

Focusing moves the pivot past its best place

Focusing a fifty-millimetre lens to one metre carries its entrance pupil 2.63 millimetres forward of the camera body, and to half a metre 5.56 — which is more than the whole 5.53 that the pupil walks with field angle, so past a subject at 502 millimetres the focus decides where the pupil is. A panorama head aligned at infinity and used at a metre leaves 7.46 arcminutes along its seam; aligned at four metres it leaves 2.21, better than pivoting at the pupil at all.

lens · Pupil
the pivottangent circle, 30.0 mmno single viewpoint — the rays miss by 24.98 mm6 frames · pivot 60 mm off

The pivot that is not the eye

A camera bolted to a tripod turns about the screw under its baseplate, and the light crosses somewhere else. Every ray of the panorama that results passes the pivot by e sin γ — the offset times the sine of how far off its own frame's axis the ray points — so the picture has a radius where a projection would have a point.

curved · Pivot
0204060204060frames in the panoramadistance from the pivot (mm)π/β = 9.5across the seamup the framepivot 60 mm · frame 38° tallfloor 19.53 mm

The parallax you cannot shoot away

A stitched panorama's parallax has two halves and they do not behave alike. The one across the seam falls as the sine of half a frame spacing, so more frames buy it off; the one up the frame is the sine of half the frame's own height, and no quantity of shooting touches it. They cross at π over β, which has no pivot error in it at all.

curved · Pivot
the pupil, and the pivotsubject at 34°the filmcorrect from 15 cm, at 160 mm wideagrees with the cylinder to 1.1e-16

The camera that is a cylinder

A swing-lens camera turns its lens about its own entrance pupil and sweeps a slit across film bent into a circle concentric with it. Compute where the light lands, unroll the film, undo the pinhole's inversion, and the result is not similar to the cylindrical picture surface — it is the same map, to the arithmetic floor. What it pays instead is detail, and a shear on anything that moves.

curved · Pivot
0510the six seams of the room, each at the nearer of its two frames' subjectsworst disagreement along the seam (arcminutes)0.5 m0.7 m1.5 m4.0 m1.2 m0.5 mfixed head, best pivothead that tracks the focussix frames, each focused on its own subjectworst 12.9′ against 2.82′

A refocused panorama is six lenses

Refocus between the frames of a room panorama and each frame is its own camera: its pupil carried forward by its own extension, its picture made at its own principal distance. The best fixed pivot then leaves 12.9 arcminutes along the worst seam, and a head that slides the camera back as the lens extends leaves 2.82 — the lens's walk alone. The pivot's share is first order and worth a tracking head indoors. But a stitcher that reads all six frames with one focal length misregisters by up to 270 arcminutes, which is the larger mistake by ninety times.

lens · Pupil
2481632641280.5125102050100f-number (log scale)worst blur between 0.5 m and 4 m (arcminutes, log scale)refocused, fixed head: 12.9′ seamrefocused, tracking head: 2.82′defocus at the endsdiffractionboth togetherone focus at 0.89 m, 550 nm lightleast at f/40

One focus stopped down is as sharp as six in a deep room

Refocusing a room panorama frame by frame costs a seam of 12.9 arcminutes on a fixed head. One focus stopped down costs none of that, and at f/40 holds half a metre to four metres to 5.27 arcminutes — sharper than the fixed head's seam, blunter than a tracking head's 2.82. But the comparison flatters refocusing: the frame on the table also holds the wall behind it, so it cannot be held sharper than 5.27 however it is focused. Counted properly, one focus on a plain head comes within 2.4 per cent of the geared one, and pays for it in light.

lens · Pupil
02.5057.50103040506070focal length (mm)worst error on the set (px)pupil moves 10 mmpupil moves 30 mmpupil moves 50 mmset cut at 24 mm, pieces still30 mm: 6.3 px at 70 mm

A zoom's moving pupil is a move the set must follow

A zoom changes no direction, so a forced-perspective set should not care about it. But a zoom lens moves its entrance pupil along its axis as it zooms, and the set was cut around the pupil. Five millimetres of travel costs the colonnade a pixel at 70 mm. An axial move costs a third of a sideways one, the nearest scaled column most; cutting the set for the pupil near the long end halves the worst of the range; and a dolly zoom on the set is exact if every piece follows the pupil, the far column travelling seven tenths of the camera's way.

viewing · Builtset
05100.50011.502one over the distance (1/m)blur (arcminutes)stack of 4each exposureone focus, f/400.5 m to 4 m, green light4 at f/20.2: 2.63′

A focus stack is sharp everywhere but its edges

Split a room half a metre to four metres deep into n slices of reciprocal distance, shoot one exposure on each at the aperture that holds its slice best, and keep each point from its sharpest exposure: every continuous surface is then held to √(2.44λΔ/n), 3.73′ for two exposures and 1.52′ for twelve, against one stopped-down focus's 5.27′, with seams between slices a quarter of that. The price is paid where a near object stands in front of a far one. The far exposures are shot wider open, so they blur the table across more of the wall, from 2.6′ at one focus to 11.3′ at twelve, and the table and wall come from different pupils, misregistered by up to 9.8′ at the frame's edge.

lens · Pupil
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 dome port centred on a camera's entrance pupil bends no ray, so its picture carries no length; but it is a lens, and the camera focuses on the virtual image it forms. In dioptres that image is the water's own reduced nearness plus a constant, 1/V = 1/(nd) + (n − 1)/(nR), so a distant scene sits at 4.003 radii, and the focus distance reads the radius: to 6.6% behind a 100 mm dome with a 16 mm lens at f/2.8. The same constant curves a flat wall's image away from a flat focus by (n − 1)(1 − cos θ)/(nR) at every distance, so a larger dome buys a wider aperture rather than a different picture. A pupil off to one side moves the focus 2e·sin θ apart across the field, in millimetres, but twenty-six times more finely than a depth of field can read.

refraction · Port
051015200204060how far off the fovea the line passes (degrees)departure from a straight chord, in degrees of visual angleschematic eyeconcentric retinaa line spanning ±65° of azimuth17.30° at 40° eccentricity

The eye is a picture surface too

A retinal sphere behind an off-centre nodal point takes every measurement this collection puts to a lens or a screen, and answers all of them. It is the equal-area fisheye to within 110 micrometres of retina rather than the equidistant one everybody draws it as, and a flat picture at its own correct distance leaves the identical arc on it, to 1.4e-14 degrees.

curved · Retina
camera stillcamera on the rail012345entrance pupil forward of where it starts (mm)12 exposures, 0.5 to 4 m, 50 mm lensdark: nearest and farthest focus

A stack shot from one pupil is one picture scaled

A focus stack's exposures are seen from entrance pupils a focusing extension apart, 4.5 mm across twelve exposures of a room, so an occlusion edge's two sides come from different places and are 9.8′ out of register at the frame's edge. A rail that moves the camera back by each exposure's extension puts every pupil at one place, and then every exposure is the same central projection at a different image distance: the misregistration is gone at any count, and focus breathing becomes one magnification per exposure, the same at every depth, which a stacker takes out exactly. The rail must place each pupil to 0.7 mm to keep the edge inside the stack's own sharpness. What no rail touches is the halo, and stopping the far exposures down trades it deliberately: twelve exposures at half their pupils are sharper inside and cleaner at the edge than four at full.

lens · Pupil
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 centred dome port is a lens of constant power, so a flat wall's corners miss a flat focus, and a photographer would like a subject whose image is flat. There is exactly one at each distance: a hyperboloid with its focus at the camera's pupil, convex toward it, whose curvature at its middle is that of a ball three times the dome's radius whatever its distance. Near the axis a ball of that size will do. But the hyperboloid recedes toward an asymptote, 45.6° off axis for a subject 700 mm behind a 100 mm dome, and past that angle no subject at all is imaged flat; a ball of the matching size has turned its outline long before. So a dome can be chosen to flatten a small convex subject over a modest field — a 35 mm dome holds a fish flank at f/0.4 where a 100 mm dome needs f/3 — and for a wall or a cave seen wide only a larger dome ever helps.

refraction · Port
0′2′4′6′8′10′whole lens, no rail9.77′whole lens, rail0.00′behind the stop, no rail0.00′in front, no rail4.38′in front, rail on the axis0.73′in front, rail aimed at 17°0.19′worst misregistration at an occlusion edge (arcmin)12 exposures, 0.5–4 m, 50 mm lensdotted: a rail held to 0.7 mm

A lens that focuses behind its stop needs no rail

A focus stack shot through a lens that focuses as a whole sees an occlusion edge from pupils 4.5 mm apart, 9.8′ out of register at the frame's edge, and a rail that moves the camera back by each extension removes it. A lens that focuses internally does not move as a whole, and where its entrance pupil goes depends on one thing: whether the moving group is behind the aperture stop or in front of it. The entrance pupil is the stop as seen through everything in front of it, so a lens focusing behind its stop has a pupil, and a pupil walk, that do not move at all: its stack is one central projection with no rail. A lens focusing with an element in front of the stop moves the pupil, here 1.7 mm on the axis, and changes the walk, 0.34 mm at the edge, so a rail that places the paraxial pupil leaves 0.73′, a sixth; aimed at the pupil for 17° instead, it leaves 0.19′.

lens · Pupil
column 62 mmcorrect from 19 cm, at 160 mm wide0.966% hidden, to 15.3° from the nadir

The hole a rig cannot fill

A two-lens spherical rig covers every direction between its two lenses and still cannot see 0.470 per cent of the sphere directly beneath it, reaching 12.8 degrees from straight down — its own tripod, standing exactly where neither lens can look. No arrangement of lenses removes it, because it is not a gap in coverage; it is the rig occluding itself.

curved · Nadir
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

Behind a centred dome port a flat wall's virtual image curves toward the camera, and at its middle the curvature is the dome's own, (n − 1)/(nR), whatever the wall's distance. So a lens whose focus surface is a sphere of that curvature, about four dome radii across, holds a flat wall sharp at every distance at once: to its 45° corners at f/0.49 when the wall is 300 mm away and f/0.17 at 700 mm, where a flat focus needs f/12.5. The match is to one dome. A lens curved for a 100 mm dome is no better than a flat one behind a 200 mm dome, and a lens curved for a small dome has no focus at the corners of a large one. And the curve is spent once: the fish flank and the coral head that a matched dome held sharp with a flat focus lose a stop or more. Each subject wants the dome's curvature less its own over n, and a flat focus suits exactly one.

refraction · Port

Named alongside it

The objects these essays reach for when they reach for this one.

instrument limitParallaxcentre of projectiondepth of fieldPanoramaApertureFocal lengthThin lensCircle of confusionOcclusionStitchingChief ray

All concepts