Radial distortion — where it appears
Named by 22 essays across 4 fields — each of them below, with the objects they name alongside it.
Straight lines that are not
Everybody says the edges of a wide-angle frame bow. Nothing is special about the edge. A radial map moves every point along its own radius, so the only line it leaves straight is one through the principal point, and the bend of every other is decided by how far it passes from that one place.
A lens destroys the invariant
The cross-ratio is the one thing a projection preserves, and nearly everything checkable about a photograph is checked with it. A lens returns it one and a third per cent out where the pinhole is exact to fifteen digits — and the height error that follows tracks a quantity nobody would guess.
The render is distorted on purpose
A headset renders a bent picture so its lens can straighten it, which is a lens's distortion polynomial run backwards, and the one case in which distortion is introduced deliberately. The round trip closes to a thousandth of a millionth of a pixel, and the price is that one rendered pixel becomes 0.493 delivered pixels at the edge of the field and one at the centre.
The lens a pavement can hide
A photographed pavement reads as a correct drawing up to a radial coefficient of about four tenths — a lens strong enough to bow a straight edge across the page by nearly six pixels and to print as twenty per cent distortion at the frame's corner. The reason is that a pavement sits near the principal point, which is the one part of the frame a radial map barely touches.
A barrel model folds at a radius it sets itself
The polynomial every calibration fits to a wide lens stops increasing at a radius fixed by its own first coefficient — 47.49° of field at k₁ = −0.28 — and past it two directions land on one picture radius. The routine that undistorts pictures with it does not refuse there. It hands back wrong directions from 46.75°, by as much as 106.5°, and refuses only at 65.5°: a fifth of the field returned silently wrong.
A tilted sensor is not a distortion
Tilt a sensor 3° out of square with its lens and every point of the picture moves — up to 7.5 px on the frame drawn here — yet every straight line stays straight to 10⁻¹³ px and the cross-ratio survives to 10⁻¹⁶. The picture is an ordinary pinhole picture whose principal point has moved 22.30 px. A calibration that frees its principal point absorbs it exactly; one that holds the principal point and reaches for tangential distortion terms leaves 1.87 px, and used as a correction it bends straight rows by 4 px.
A model that inverts has a horizon instead of a fold
The polynomial every calibration fits turns around at a finite radius and stops being a map from direction to picture. The division model, chosen because it inverts in closed form, never turns around — it rises for ever toward a horizon at one over the root of its own coefficient, so the whole hemisphere of directions lands inside a finite disc. Fitted to the four fisheye laws it follows every one of them more closely than the polynomial at every field from forty degrees to eighty — a hundred times more closely for the equidistant law at forty, and the stereographic law exactly.
The response is at the ends and the information is not
A radial map bows a straight edge by an amount that grows as the square of the distance along it, so 93 per cent of an edge's response to the coefficient lies in its outer quarters. Spending the marks there is 16 per cent worse than spreading them evenly, because two clusters say nothing a shifted, tilted line could not say. What identifies the coefficient is a curvature, which needs three places — both ends and the middle, which beats an even spread by 11 per cent.
No design separates the two coefficients
Separating a squared term from a fourth-power one was supposed to need marks at radii far apart, which is a statement about where edges are placed. It is not: one straight edge already runs from 20 px to 326. Spreading ninety-six marks over three edges or sixteen changes the answer by 23 per cent, spreading the offsets makes it 19 per cent worse, and the correlation stays at −0.98 whatever is done. What a plumb-line calibration determines is one number, to 1.52 thousandths, and which number depends on the model.
A known target sharpens the fit and does not separate it
Printed circles of stated size were supposed to break the −0.98 correlation between a lens's two radial coefficients, because a circle puts every mark at one radius and no straight edge can. They do not: every design of circles leaves the pair 0.979 to 0.9997 correlated, and for circles of known size the figure is exactly the cosine between r³ and r⁵. What a known target buys is precision — 3.8 times the straight edges' at the same budget — and only if its size in the picture is known to about a thousandth.
A wedge moves the centre, not the lens
A wedge of glass in front of a lens deflects every ray by a little more the further off the axis it goes, which looks like the shape a radial distortion coefficient describes. Fitted together, the two are nearly independent — correlated at 0.16 at most — and a calibration that knows nothing of the glass does not invent a lens: it reports a coefficient of about 0.002, moves its principal point by 4.5 to 14 pixels, and leaves a swirling residual that no radial model takes. The blame goes to the camera's centre, and the residual says so from twenty-two degrees off the axis.
A stereographic fisheye is a division model
The division model divides the picture radius by one plus a coefficient times its square. The fits that compared it with the polynomial were not of that model: they multiplied instead, and the model they measured has neither a fold nor a horizon. Fitted as it is written, the division model follows every fisheye law more closely than the polynomial at every field from forty degrees, and the stereographic law it follows exactly — the law is the model, with a coefficient of minus a quarter. Its horizon then turns out to sit beyond the lens's own ninety degrees, and pinning it there is a trade rather than a free constraint.
A tilted target pays for its tilt in perspective
A calibration target of printed circles held square to the lens fixes a lens's first radial coefficient to 4.77 thousandths from ninety-six marks. Tilt it thirty degrees, fit the tilt along with everything else, and the same ninety-six marks fix it to 2.46 — nearly twice as well. Squash the circles by the same angle without perspective and nothing is gained. What pays is the near half of each circle being drawn larger than the far half, which spreads a circle's marks across a band of distances from the lens's centre.
An image circle pins a fisheye's horizon, if its field is known
A fisheye picture stops at a circle, and for a lens covering exactly 180° that circle is the ninety-degree radius a division model calls its horizon. Handed to a calibration as one more observation, read to two pixels, it takes the error at the edge of an equidistant lens from 9.4 pixels to 2.0 — at a cost of 0.3 pixels inside the field the targets covered. Read as ninety degrees on a lens that really covers 190°, it makes the edge five times worse than no circle at all.
A calibration through glass reports a prism
Give a calibration that knows nothing of a 2° wedge in front of the lens the two decentring terms every standard model carries, and it takes three-quarters of the swirl the wedge leaves, moves the principal point further rather than less, and reports a lens decentred by about 0.013 — a lens that does not exist. Give it thin-prism terms instead and it takes more — nine-tenths at twenty-five degrees off the axis, almost all of it nearer — and reports what the glass is: a prism. Either way the residual that announced the glass goes quiet, out to 41° and 46° off the axis instead of 22°.
A closer pose sharpens one coefficient and not the pair
Photograph a calibration target tilted four ways at several distances, and the two radial coefficients of the lens stay locked together near a correlation of −0.97. A target further off adds nothing at all. Bringing it closer sharpens the first coefficient by about a half, then stops, and pushes the pair closer together. What moves the correlation furthest is being told each pose's distance.
Turning the glass tells the window from the lens
A calibration done through a two-degree wedge of glass reports a lens decentred by about 1e-2 that does not exist, and hides the glass inside it. Calibrate twice with the glass turned between, and the glass's part turns while the lens's stays: a half turn finds a real lens decentring of 2.2e-3 to 5.2e-4 with readings to 0.4 px, where one calibration was 1.0e-2 out. Three calibrations spread evenly round the turn do better, because the loop the glass traces is not a circle. What never separates is the radial coefficient, which has no direction for a turn to carry.
A lens's curve is known where its coefficients are not
Two radial coefficients correlated at −0.993 sound like a calibration that failed. Read as the displacement they make, the same fit knows the curve to a quarter of a pixel at the edge of the picture, ten times better than independent coefficients would. The ellipse of their errors lies almost along the line that leaves the curve unchanged, and the poses that sharpened the first coefficient most are not the ones that sharpen the curve.
A lens bends a table's tilt, not its lines
A street photographed through a lens with 2% of barrel distortion has its verticals bowed by 0.38 px, too little to see, while their straight chords still meet to 0.28 px. What has moved is where they meet: a lean table fitted to them reads a 20° tilt as 18.87°, and matches the photograph to four hundredths of a pixel. The table built from the camera's true tilt misses the same photograph by 1.58 px. A lens's distortion enters a table as a different constant, and a bowed line is a separate, smaller error that no table of straight leans can take back.
A street can read its own lens, if its edges are found finely
A copyist who fits a lean table to a photograph's chords draws a 2% barrel street 1.07 px wrong and never names the lens. Reading the lens from the street's own edges, by straightening them, and taking it out first does better while the edges are found finely enough: from the nine verticals alone the lens comes back to ±0.38% of its 2% from edges found to 0.3 px, and the street is then drawn 0.51 px wrong; adding three rooflines halves that to 0.30, under the verticals' own bow. The verticals alone lose to the copyist past about two thirds of a pixel. And the misfit has to be measured where the edges were read, or noise reads as pincushion.
A lens read from many photographs follows the best one
A camera's lens does not change between pictures, so the straight edges of several photographs can be fitted through one radial distortion together. Pooled, the lens is read as well as the photographs' informations added, which in practice is mostly the best photograph's: a level facade alone reads the corner distortion to ±0.087%, a narrow street alone to ±1.09%, and the two with a street and a tower to ±0.087%. The narrow street, drawn through the pool's lens, is drawn twelve times better than through its own. The risk is the same fact read backwards: if the lens changed for the photograph that carries the pool, the pooled lens follows it and the misfit test, at a 5% false alarm, flags it in one pool in seven.
A sagging sill shows in its own photograph, a changed lens only against another
A pool of photographs reads one lens mostly from its best photograph, and a test on the pooled misfit cannot see a change of lens in that photograph. Leaving each photograph out and comparing it with the rest's lens can, but only if the comparison carries both lenses' spreads: treating the rest's lens as exact accuses an innocent facade in 54% of pools, because the three photographs left to judge it read the lens three times more coarsely than it does. Done properly, a facade whose lens changed by 0.4% at the corner is caught 35% of the time and named as the culprit 40%; a second facade through the unchanged lens raises that to 87% and 75%. A sagging sill is the opposite case: no comparison finds it, and the facade's own misfit does, from 3 cm, because no lens bows one edge alone.
Named alongside it
The objects these essays reach for when they reach for this one.
Camera calibrationBrown–ConradyModel errorPrincipal pointResidualConditioningIdentifiabilityBarrel distortionfield of viewleast squareserror propagationFocal length