betaFeedback

Reading v1View latest version

WorksComputer Science

Real Cameras are Radiometric

Abstract

We propose the radiometric camera, a model that lifts any central geometric camera model to a radiometric one. The lifted model keeps the projection of the geometric model and adds a finite aperture, a free-form focus surface and a generic vignetting function. We calibrate it by inverse rendering directly on the relative irradiance of the sensor, from the same images of standard calibration targets used in geometric calibration. Geometric calibration absorbs the bias of its feature detections. The proposed radiometric calibration uses no features, and our radiometric cameras have lower reprojection errors on held-out test sets. The focus surface extends defocus modeling from the thin lens to any central camera, and we use it in a first multi-view radiometric reconstruction, which recovers the in-focus reflectance of a texture from defocused images. The vignetting is estimated jointly and accurately reproduces a flat field measured through a diffuser. Because every standard camera model lifts to a radiometric one, the radiometric camera naturally and directly extends generative scene models beyond multi-view geometry to multi-view radiometric ones, where phenomena such as lighting and attenuation can be accurately estimated.

Introduction

Reconstruction pipelines such as COLMAP [58] describe the camera with a few central projection models: Brown–Conrady [10] for perspective lenses, Kannala–Brandt [36] and Double Sphere [64] for fisheyes, and generic spline models [6, 57] where a parametric model falls short. These are the cameras of multiple-view geometry. They model where a scene point is imaged, but not how much light arrives there. All of them assume a pinhole aperture, i.e. that a single ray connects a scene point with the sensor. With a pinhole aperture every scene point is in focus and no light is lost toward the image border, so these models cannot represent defocus or vignetting.

In this paper, we make two major contributions, the radiometric camera and its calibration. The first is a model that lifts any central geometric camera model to a radio-

Comparison of ground truth, training photograph, pinhole, and radiometric camera results

Figure 1. Our radiometric camera model can be applied in downstream tasks like vignetting correction in panorama stitching or texture learning in inverse rendering.

metric one. The lifted model keeps the projection of the geometric model and replaces the pinhole aperture by a finite aperture with a free-form focus surface and a generic vignetting function. Setting the aperture to a pinhole recovers the geometric model. To our knowledge, it is the first model that generalizes the central camera models in common use with the major radiometric components of a lens, its aperture, focus and vignetting, and that is calibrated in all of them jointly from images of a standard calibration target (Tab. 1).

The radiometric camera unlocks more complex multi-view radiometric problems, in which several views jointly constrain radiometric unknowns such as the radiant intensity distribution and the pose of a light source [49, 56, 66, 69] or the attenuation of water [3, 12, 46, 59]. We aim to solve such problems generatively, i.e. by a maximum-likelihood estimate of the scene, which requires an image-formation model that predicts the measurements of the sensor from the scene. The camera is the last stage of this model. The irradiance at a sensor point is gathered over the cone of rays that the aperture admits, and where the lens is out of focus, these rays come from different scene points. Earlier radiometric extensions of geometric cameras relate each sensor value to the radiance of a single scene point, or add corrections to the image [29, 37, 54]. The difficulty in extending a geometric camera to radiometry is that the quantities to be added depend on exactly the components that the pinhole aperture removed. The radiometric camera restores them, so that the irradiance becomes the integral over the whole aperture. We address its calibration by inverse rendering on the RAW photosites, whose values are proportional to the irradiance that they receive, from the same images of standard calibration targets as a geometric calibration. The constraints are not the incidences of detected features with their projections, but the relative radiant flux of the photosites, which the same target under the same lighting must explain in every view.

However, differentiating a camera with a finite aperture gives rise to boundary terms, from the aperture, the discontinuous edges of the calibration pattern and from visibility, which bias the gradients of standard differentiable renderers [71]. Moreover, the lighting, the reflectance and the shape of the target have to be estimated simultaneously without being confused with the camera’s defocus and vignetting.

We give a single formulation that resolves all of these difficulties. Neither a parameter-dependent discontinuity nor a parameter-dependent integration domain remains in it, the focus surface is parameterized so that its gradient does not vanish, the lighting varies over the target so that it separates from the vignetting, the gauge freedoms between the camera, the lighting and the target are fixed exactly, the shape of the target is a bending of the board with few parameters, and the linear structure of the model in the lighting and the vignetting gives a closed-form start. We use the calibration to validate the components of the model in three respects. First, they benefit the geometric accuracy. We show that the feature detections of widely used calibration tools are biased, and that the radiometric calibration, which uses none, lowers the reprojection error on a held-out high-precision target. Second, their estimated parameters represent the physical phenomena. The focus surface is learned as a plane for a wide-angle lens and as a hemisphere for a fisheye, and the vignetting function reproduces a flat field measured through a diffuser. Third, the calibrated camera solves a first multi-view radiometric problem: it recovers the unknown in-focus reflectance of a texture from defocused images.

Related Work

Lens models. The thin lens [30, 50] gives the perspective camera a finite aperture, so that a scene point off the plane of focus is imaged to a circle of confusion. It is tied to the perspective projection and has no natural counterpart in classic distortion models [10, 14, 36, 64]. The plane of focus and the vignetting that emerge from this model are too simple to capture the actual phenomena. The surface of best focus of a real lens is curved, which is known in optics as field curvature [38]. Tang and Kutulakos [61] derive the blur of a rotationally symmetric lens as an integral over its aperture and show that field curvature acts as a defocus that depends on the position in the image. This is

Proj.Apert.FocusVign.Calib.
Thin lens [50], Mitsuba [33](✓)✓(✓)(✓)–
Lens-design ray tracing [39](✓)✓(✓)(✓)–
Tang and Kutulakos [61](✓)✓(✓)(✓)–
Kang and Weiss [35](✓)––(✓)(✓)
Kim and Pollefeys [37]–––✓(✓)
Neural lens model [70]✓––✓(✓)
Rehder et al. [54](✓)–––(✓)
Hannemose et al. [29](✓)–––(✓)
Lens blur fields [41]–(✓)––(✓)
Radiometric camera (ours)✓✓✓✓✓

Table 1. Prior camera models (top) and calibration methods (middle) against the radiometric camera: any central projection, a finite aperture, a free-form focus surface, a generic vignetting function, and the joint calibration of all of them from images. ✓: general; (✓): restricted, e.g. to the perspective projection, a plane of focus, the cos⁡4\cos^{4} falloff or a subset of the parameters; –: not modeled. Section 2 gives the details.

what a focus surface describes, and it justifies our design, which replaces their fixed, symmetric dependence by a free-form one. Their analysis is theoretical, and the aberrations for which the rays of a sensor position no longer meet in a point are not part of our model. Models that trace the rays through the lens elements [39] need the optical design of the lens, which manufacturers rarely publish. The neural lens model of Xian et al. [70] replaces the distortion of a pinhole camera by an invertible network and models the vignetting as a gain per pixel of the image, without an aperture. The thin lens is also the only finite aperture of the differentiable renderer Mitsuba [33] [47]. Its cameras are perspective and without lens distortion, and the aperture radius and the focus distance of its thin lens are not differentiable parameters, so neither the projection of a general central model nor its aperture and focus can be calibrated with it. Our calibration keeps every camera parameter differentiable: neither a parameter-dependent discontinuity nor a parameter-dependent integration domain remains in its formulation.

Radiometric calibration and image corrections. Radiometric calibration methods estimate the vignetting, often together with the response function, from the pixel values of overlapping images [22, 37, 74]. In [37, 70] the vignetting is an empirical function of the image position, and each pixel value is related to the radiance of a single scene point. Reconstruction methods likewise add corrections around a geometric camera, such as per-image gains [11], appearance embeddings [44] or blur kernels [42]. These compensate for the unmodeled radiometry in the image, where defocus, which depends on the depth of the scene point, cannot be corrected consistently. The radiometric camera models it inside the camera, as an integral over its aperture.

Calibration from pixel values. Kang and Weiss [35] obtain a rough focal length of a perspective camera from the cos⁡4\cos^{4} falloff in a single image of a uniform surface. Rehder et al. [54] formulate a maximum-likelihood calibration on the image intensities by rendering the target. They assume an evenly lit target and no vignetting, and take a single radiance sample per pixel, to which they attribute that their static calibration is no more precise than one from features; defocus, vignetting and uneven lighting are named as future work. Hannemose et al. [29] also render the target densely, with a pinhole camera with Brown–Conrady distortion, but their calibration is photometric and not radiometric: the rendering blurs the texture with a Gaussian whose width is a free parameter of each interest point, and it models neither the lighting nor the intensity scale of the image. A separate line calibrates the blur of a lens as a learned point spread function, apart from the projection of the camera [41]. In the radiometric camera, the defocus follows from the aperture and the focus surface of the same model that projects the scene, for any central projection, and it is calibrated together with the vignetting, the lighting and the target.

Radiometric Camera Model

Let I⊂R2\mathcal{I} \subset\mathbb{R}^{2} be the sensor plane. A pixel u\mathbf{u} with the area Iu⊆I\mathcal{I}_{\mathbf{u}} \subseteq\mathcal{I} measures the radiant flux [50]

Φ(u):=∫Iu∫Ω(p)L(x(p,ω),ωo(p,ω))cos⁡θ(ω) dω dp,(1)\Phi(\mathbf{u}) := \int_{\mathcal{I}_{\mathbf{u}}} \int_{\Omega(p)} L(x(p,\omega),\omega_o(p,\omega))\cos\theta(\omega)\,\mathrm{d}\omega\,\mathrm{d}p, \tag*{(1)}

where Ω(p)\Omega(p) is the solid angle under which the sensor point pp sees the aperture, x(p,ω)x(p,\omega) the scene point visible from pp along the direction ω\omega, L(x,ωo)L(x,\omega_o) the radiance that leaves xx in the direction ωo\omega_o towards the lens, and θ\theta the angle of incidence on the sensor. The inner integral is the irradiance E(p)E(p). All quantities are per color channel, and we omit the channel index (Sec. A.1 gives the spectral formulation). The radiance LL follows from the lighting and the reflectance of the scene (Eq. (8)). The lens model determines Ω(p)\Omega(p), x(p,ω)x(p,\omega) and ωo(p,ω)\omega_o(p,\omega). With a pinhole aperture, Ω(p)\Omega(p) is a single direction, so every scene point is in focus and there is no vignetting (Sec. A.2).

Projection

Let π−1:I→S2\pi^{-1} : \mathcal{I} \to S^{2} be the back-projection of a central geometric camera model with the center of projection oo. It maps a sensor point pp to the unit direction d^(p):=π−1(p)\hat{d}(p) := \pi^{-1}(p) of its ray. For a model that is given by its forward projection, we invert the projection numerically per sample. The radiometric camera keeps π−1\pi^{-1} as it is.

Aperture and Focus Surface

The thin lens [50] replaces the pinhole by an aperture disc A\mathcal{A} of radius rr, centered at oo and parallel to the sensor. All rays

from a sensor point pp through A\mathcal{A} meet in one point xf(p)x_f(p) on the plane of focus. Where the scene does not pass through xf(p)x_f(p), the cone of these rays intersects it in a region and not in a point, and pp collects the light of this whole region, which defocuses the image. For a real lens, the points of focus form a surface F\mathcal{F} (Figure 2) that is not a plane in general [30]: it is approximately a plane for a thin-lens-like lens and a sphere for a fisheye [16, 38]. We therefore learn the focus surface. We represent it by the inverse distance τ(p)\tau(p) from oo to the point of focus xf(p)∈Fx_f(p) \in\mathcal{F} along the ray of pp,

Figure 2. The radiometric camera lifts any central geometric model, here a perspective and a fisheye model, in a cross-section. The geometric model alone sets the direction d^(p)\hat{d}(p) in which the ray of the sensor point pp leaves the center oo of the aperture A\mathcal{A}; the model does not trace the light inside the camera (dashed). The lift adds the aperture: the rays through all aperture points aa meet in the point of focus xf(p)x_f(p) on the focus surface F\mathcal{F}, which is close to a plane for the perspective model and surrounds the camera for the fisheye. Where the scene is off F\mathcal{F}, the cone of these rays meets it in a region (thick blue), from which pp collects its light.

xf(p):=o+1τ(p)d^(p),(2)x_f(p) := o + \frac{1}{\tau(p)}\hat{d}(p), \tag*{(2)}

and extend the back-projection to the aperture (Figure 2). The ray from pp through an aperture point a∈Aa \in\mathcal{A} is directed from aa towards xf(p)x_f(p):

π−1(p,a):=xf(p)−a∥xf(p)−a∥=τ(p)(o−a)+d^(p)∥τ(p)(o−a)+d^(p)∥.(3)\pi^{-1}(p,a) := \frac{x_f(p)-a}{\lVert x_f(p)-a\rVert} = \frac{\tau(p)(o-a)+\hat{d}(p)}{\lVert\tau(p)(o-a)+\hat{d}(p)\rVert}. \tag*{(3)}

This is the lift of the geometric model. Setting the aperture A={o}\mathcal{A}=\{o\} reduces the lifted model back to the geometric one, since π−1(p,o)=π−1(p)\pi^{-1}(p,o)=\pi^{-1}(p). Where the latter back-projects to a single ray, π−1(p,A)\pi^{-1}(p,\mathcal{A}) back-projects to a cone of rays through xf(p)x_f(p) and, similarly, with the perspective back-projection and a plane of focus, the model reduces to the thin lens (Sec. A.3). The inverse distance avoids intersecting the rays with F\mathcal{F}, and unlike the distance itself, it keeps the gradient from vanishing for a far focus [22, 45] (Sec. A.4). We model τ\tau by a thin plate spline [7] over a grid restricted to the illuminated region of the sensor.

Vignetting

Written as an integral over the aperture, the flux of the thin lens carries the factor cos⁡4θ/s′2\cos^{4}\theta/s^{\prime2} that expresses its vignetting, with the image distance s′s^{\prime} [28] (see Sec. A.5). Real lenses differ much from it (Figure 6). Hence, we replace this factor by a generic vignetting function VV. We also normalize by the aperture area πr2\pi r^{2}, so that the aperture radius changes the defocus but not the brightness of the image, such that its scale is carried by the lighting (see § 4.2, A.9) alone. To spare us computing a boundary integral (see § 4.1), we substitute the aperture point a=o+rξ\boldsymbol{a}=\boldsymbol{o}+r\boldsymbol{\xi} with ξ\boldsymbol{\xi} in the unit disc D\mathcal{D} of the aperture plane. The area element da=r2dξ\mathrm{d}a=r^{2}\mathrm{d}\xi cancels the r2r^{2} of the normalization, and the radiometric camera measures

Normalized vignetting along the sensor diagonal

Figure 6. Normalized vignetting along the direction of the sensor diagonal through the principal point: the cos⁡4\cos^{4} falloff of the thin lens and our learned vignetting against the measured flat field.

Φ(u)=1π∫IuV(p)∫DL(x(p,a),−π−1(p,a))dξ dp(4)\Phi(\boldsymbol{u})=\frac{1}{\pi}\int_{\mathcal{I}_{\boldsymbol{u}}}V(\boldsymbol{p})\int_{\mathcal{D}}L\left(\boldsymbol{x}(\boldsymbol{p},\boldsymbol{a}),-\pi^{-1}(\boldsymbol{p},\boldsymbol{a})\right)\mathrm{d}\xi\,\mathrm{d}p \tag*{(4)}

where x(p,a)\boldsymbol{x}(\boldsymbol{p},\boldsymbol{a}) is the scene point that the ray from a\boldsymbol{a} in the direction π−1(p,a)\pi^{-1}(\boldsymbol{p},\boldsymbol{a}) meets. The radius now appears only in the position of the aperture point, and no longer in the domain of the integral. We assume a vignetting that is radially symmetric about the principal point c∈I\boldsymbol{c}\in\mathcal{I} and represent it by a cubic B-spline [51]

V(p):=∑i=0nNi,3(∥p−c∥rmax⁡+∥p−c∥)Pi,(5)V(\boldsymbol{p}):=\sum_{i=0}^{n}N_{i,3}\left(\frac{\lVert\boldsymbol{p}-\boldsymbol{c}\rVert}{r_{\max}+\lVert\boldsymbol{p}-\boldsymbol{c}\rVert}\right)P_i, \tag*{(5)}

with the basis functions Ni,3N_{i,3}, the control points Θv={Pi}i∈{0,…,n}\boldsymbol{\Theta}_{v}=\{P_i\}_{i\in\{0,\ldots,n\}}, n=15n=15, and the largest distance rmax⁡r_{\max} from the principal point to an illuminated pixel. Its knots are uniform in the image (see Sec. A.6).

Calibration by Inverse Rendering

We calibrate the radiometric camera by inverse rendering: we render the images of a calibration target with Eq. (4) and fit them to the captured RAW images. The rendered flux depends on the scene as well as on the camera, so we estimate jointly the poses Θe\boldsymbol{\Theta}_{e}, the projection Θd\boldsymbol{\Theta}_{d}, the focus surface Θf\boldsymbol{\Theta}_{f}, the aperture radius rr and the vignetting Θv\boldsymbol{\Theta}_{v} of the camera, the lighting Θl\boldsymbol{\Theta}_{l}, the material Θm\boldsymbol{\Theta}_{m} and the shape Θb\boldsymbol{\Theta}_{b} of the target. We denote all of them by Θˉ\bar{\boldsymbol{\Theta}}. Let ϕj(u)\phi_j(\boldsymbol{u}) be the value of the RAW photosite u\boldsymbol{u} in view jj and σj(u)\sigma_j(\boldsymbol{u}) its standard deviation under the Poisson–Gaussian noise model of the sensor. We minimize

∑j∑u∈Sj(ϕj(u)−Φj(u;Θˉ)σj(u))2+λ∥D3(d^−d^0)∥2(6)\sum_j\sum_{\boldsymbol{u}\in S_j}\left(\frac{\phi_j(\boldsymbol{u})-\Phi_j(\boldsymbol{u};\bar{\boldsymbol{\Theta}})}{\sigma_j(\boldsymbol{u})}\right)^2+\lambda\lVert\boldsymbol{D}^{3}(\hat{\boldsymbol{d}}-\hat{\boldsymbol{d}}^{0})\rVert^2 \tag*{(6)}

over Θˉ\bar{\boldsymbol{\Theta}}, where SjS_j are photosites drawn uniformly from those of view jj that see the target. The first term is the negative log-likelihood of the photosites, so that for λ=0\lambda=0 the minimizer is the maximum-likelihood estimate of the camera, the poses and the scene. The second term regularizes the central spline model only (see § 4.5). The remainder of this section gives what the objective requires: derivatives without boundary terms, a lighting model, the reflectance and the shape of the target, and a initialization value.

Differentiation without Boundary Terms

The derivative of an integral whose domain, or whose integrand’s discontinuities, depend on a parameter has a boundary term, which automatic differentiation of a sampled estimate misses (Figure 3, left). Differentiable renderers estimate such terms by sampling the boundaries [40, 71, 73]. In the calibration, three of them arise: The changing aperture radius, border of the calibration target, and sharp texture edges. We avoid these as follows. The change of aperture radius is addressed by integrating over the fixed unit disc as described above in § 3.3. Second, the hard edges of the calibration pattern are discontinuities of the albedo that move over the aperture and over the pixel with the camera, the pose and the target shape. We model the print as its design convolved with a Gaussian, a 1010–70%70\% edge width of 50 μm50\,\mu\mathrm{m} [55], so that the albedo is smooth. The boundary terms of a general scene, from silhouettes, shadows and the visibility at every bounce of a ray (see Sec. A.7), do not arise in the calibration: we only render the masked target M⊆I\mathcal{M}\subseteq\mathcal{I}, which is considered smoothly illuminated within a constant scene.

Fixed samples miss a moving boundary

Figure 3. Fixed samples (dots) miss a boundary that moves with a parameter (solid black to dashed red): none lies in the region that it sweeps, so the sampled gradient lacks its contribution (left). We remove both boundaries of the calibration (right). Top: the samples of the aperture are placed from the fixed unit disc D\mathcal{D} and move with its radius rr. Bottom: the blur of the print makes the albedo ρ\rho smooth across an edge of the pattern. Hollow dots: after the change.

Lighting

We represent the light of the environment by spherical harmonics of degree two [1, 53], LSH(ω;Θl)L^{\mathrm{SH}}(\omega; \Theta_l), with the coefficients Θl\Theta_l per color channel (Sec. A.8). A calibration target is planar, so every point of it sees the same hemisphere, and a lighting at infinite distance gives the same irradiance at every point of the target: any shading across the target would have to be explained by the vignetting. We therefore place the lighting on a sphere of finite radius rSHr_{\mathrm{SH}} about the center b0b_0 of the target, the larger of the diagonal of the target and the largest distance of a camera from b0b_0 at the start. The radiance that arrives at xx from the direction ω\omega is LSHL^{\mathrm{SH}} in the direction

ω^(x,ω):=x+γω−b0∥x+γω−b0∥(7)\hat{\omega}(x,\omega) := \frac{x+\gamma\omega-b_0}{\lVert x+\gamma\omega-b_0\rVert} \tag*{(7)}

from b0b_0 to the point where the ray from xx along ω\omega meets the sphere, with γ>0\gamma> 0 such that ∥x+γω−b0∥=rSH\lVert x+\gamma\omega-b_0\rVert= r_{\mathrm{SH}}. The lighting then varies over the target and separates from the vignetting.

Reflectance

Calibration targets usually consist of a pattern printed on background material. To model its appearance properly, we estimate the reflectance distribution of these materials. The radiance that leaves a scene point xx in the direction ωo\omega_o is [50]

L(x,ωo)(8)L(x,\omega_o) \tag*{(8)}
:=∫H2(x)f(x,ωo,ωi)L(x′(x,ωi),−ωi)cos⁡θi dωi,:= \int_{\mathcal{H}^2(x)} f(x,\omega_o,\omega_i)L(x'(x,\omega_i),-\omega_i)\cos\theta_i\,\mathrm{d}\omega_i,

where H2(x)\mathcal{H}^2(x) is the upper hemisphere over xx, x′(x,ωi)x'(x,\omega_i) the scene or light point visible from xx along ωi\omega_i, θi\theta_i the angle between ωi\omega_i and the surface normal, and ff the bidirectional scattering distribution function. On the target, the incident radiance is the lighting of § 4.2. For ff, we use the Cook–Torrance model [15] with an isotropic GGX microfacet distribution of roughness α\alpha [31] and the Fresnel term of a dielectric with the index of refraction η\eta, and a weight μ∈[0,1]\mu\in[0,1] between its diffuse part ρ(x)/π\rho(x)/\pi, with the albedo ρ\rho of the print, and its specular part. We evaluate the integral by Monte Carlo sampling of the visible microfacet normals [19] (Sec. A.8). Ink fills the microfacets of the print, so that inked areas are more specular than blank ones. We therefore blend the roughness and the index of refraction between a value for ink and one for the blank print by the albedo, Θm={α¬ink,αink,η¬ink,ηink,μ}\Theta_m = \{\alpha_{\neg\mathrm{ink}}, \alpha_{\mathrm{ink}}, \eta_{\neg\mathrm{ink}}, \eta_{\mathrm{ink}}, \mu\}.

Target Shape

A printed target is not exactly planar, and its print is not exactly its design. We chart the board by b∈Bb \in\mathcal{B}, in units of its width, and model its shape by a height field h:B→Rh : \mathcal{B} \to\mathbb{R} along the board normal nBn_{\mathcal{B}}. In a view with the pose (R,t)∈Θe(R,t) \in\Theta_e, the chart point bb is the scene point

s(b):=R(bB+h(b)nB)+t,(9)s(b) := R(b_{\mathcal{B}} + h(b)n_{\mathcal{B}}) + t, \tag*{(9)}

where bBb_{\mathcal{B}} is the point of bb on the plane of the board. The height field is a thin plate spline [7] through the heights h∈R25h \in\mathbb{R}^{25} at a 5×55 \times5 grid of nodes. A thin plate spline is the sum of an affine function and a bending, and affine heights, an offset and two tilts, describe a plane, which is already represented by the pose. We therefore restrict the heights to the pure bendings, h=Byh = B y, where the columns of B∈R25×22B \in\mathbb{R}^{25 \times22} span the nodal heights whose spline has no affine part, and optimize Θb:=y\Theta_b := y. The shape then has no gauge freedom with the poses, without a penalty or a fixed node (Sec. A.9), and only 22 parameters. For the spline camera, we also estimate the in-plane error of the print by an aspect and a skew, at which the albedo is read.

The scene point of Eq. (4) is the intersection of the ray from aa in the direction d:=π−1(p,a)d := \pi^{-1}(p,a) with this surface. We solve for its chart point: with an orthonormal pair e1,e2e_1,e_2 perpendicular to dd,

g(b):=(e1Te2T)(s(b)−a)=0,(10)g(b) := \begin{pmatrix} e_1^{\mathsf{T}} \\ e_2^{\mathsf{T}} \end{pmatrix}(s(b)-a) = 0, \tag*{(10)}

a root of two equations in two unknowns that we find by Levenberg–Marquardt iterations from the intersection with the plane of the board. It gives x(p,a)=s(b)x(p,a) = s(b) together with the chart point bb at which the albedo is read. The root is differentiated w.r.t. the camera, the pose and the heights by the implicit function theorem, ∂b/∂Θ=−(∂g/∂b)−1∂g/∂Θ\partial b/\partial\Theta= -(\partial g/\partial b)^{-1}\partial g/\partial\Theta, and not through its iterations. The effect of the shape on the reflectance is small, so the reflectance uses the normal of the plane.

Initialization and Optimization

The projection and the poses start from a geometric calibration (Sec. A.12), the target as a plane, the focus surface as the plane parallel to the sensor at the mean distance of the target, and the aperture radius as f/(2N)f/(2N) with the focal length ff and the f-number NN of the lens. The flux is linear in the vignetting and in the lighting and affine in μ\mu (Sec. A.10), so they start from one pass of linear least-squares solves: the lighting with V≡1V \equiv1, then the vignetting, then μ\mu. We minimize Eq. (6) with the Levenberg–Marquardt method [43], with λ=0\lambda= 0 for the parametric camera models. The nodes of the central spline at the border of the lens coverage are hardly constrained by the photosites. For this model only, the second term regularizes the change of the nodal directions d^⊆Θˉ\hat{d} \subseteq\bar{\Theta} from their start d^ 0\hat{d}^{\,0} with a P-spline penalty [21], where D3D^3 takes the third finite differences, the discrete change of curvature, along both axes of the grid and λ=0.1\lambda= 0.1 relative to the data term. It vanishes for a locally quadratic change, so the penalty leaves a smooth change of the camera free and suppresses its oscillation, and the border nodes follow the interior. No other component is regularized. The parameters stay in their physical ranges by their parameterization: we optimize log⁡r\log r, log⁡α\log\alpha, log⁡(η−1)\log(\eta- 1) and the logit of μ\mu, the poses on SE(3)SE(3) [60], and the inverse focus distances are kept non-negative. The gauge freedoms are removed by the parameterization (Sec. A.9).

Experiments

We show that geometric calibration is biased by its feature detections (§ 5.1) and that the radiometric camera improves the geometric accuracy (§ 5.2), compare the learned vignetting with a measured flat field (§ 5.3) and validate the focus model (§ 5.4). All captures are RAW images of a Sony ILME-FX3 (4256 × 2848 pixels) and are listed in Sec. A.11 together with the runtime for each experiment; all errors are in pixels of this image.

Detector Bias

Feature detectors introduce a measurement bias that degrades the regressed camera model. We rendered 10,000 images each of the AprilGrid [26, 48] with an FOV camera model [18], which has a mild distortion, and of the Siemens-star target of Schöps et al. [57] with a Double Sphere model [64], which has a strong fisheye distortion, in evenly lit calibration scenes. The second column of Figure 4 shows the displacement between the true projection of each feature and its detection, for the AprilGrid detector of OpenCV [9] (top) and the Siemens-star detector of Schöps et al. [57] (bottom). Both detectors exhibit a bias that grows toward the image border. The third column projects the features with the camera and the poses of a calibration. In the geometric calibration, OpenCV-14 for the AprilGrid and the central spline for the Siemens stars, the detection bias is absorbed by both the camera and the poses, whereas the radiometric refinement largely removes it. The fourth column substitutes the true poses for the estimated ones, which isolates the camera model. This column is the relevant one: the poses are discarded after the calibration, and a downstream task depends on the camera alone. The geometrically calibrated camera has absorbed a strong bias from the feature detections, also for the highly flexible spline of Schöps et al., and our radiometric refinement removes most of it.

Comparison of rendered, detected, and calibrated camera projections for OpenCV + AprilGrid and Schöps + Siemens stars

Figure 4. The bias of a detector (column 2) is absorbed by a geometrically calibrated camera (columns 3 and 4). With the calibrated poses, the bias is pushed into the camera model (column 3); with the true poses (column 4), it shows that the poses compensate for part of it. Our radiometric refinement does not rely on a detector and removes most of the bias in both evaluations.

Geometric Accuracy

We lift four commonly used central parametric camera models, Brown–Conrady [10], the 14-parameter model of OpenCV [9], Kannala–Brandt [36] and Double Sphere [64], and the central generic spline model of Schöps et al. [57] to the radiometric camera. We calibrate them on three lenses chosen for their diverse fields of view and distortions (Tab. A1): a Tamron 20 mm wide-angle lens with barrel distortion (94° diagonal field of view), a Sigma 14 mm rectilinear wide-angle lens (114°) and a Sigma 8 mm circular fisheye (180°). We captured two standard calibration targets, the Siemens-star target of Schöps et al. [57] and an AprilGrid [26], each 1 m × 1 m and printed directly on Alu-Dibond, at f/22f/22 (the fisheye’s Siemens stars at f/32f/32) and ISO 100, to minimize defocus and thus give optimal conditions to the geometric camera models, which do not model defocus. Each model is started from the geometric calibration of its native tool where the tool supports the model and the target, and from our own estimator otherwise (Sec. A.12). The radiometric refinement samples 8,192 photosites per image for the parametric models and 16,384 for the spline.

The test set consists of backlit images of the Thorlabs R3L3S7N1 high-precision distortion target [62], captured by rotating the camera about a pivot, which reduces the poses to one rotation per view. Every dot is evaluated with a pose that it did not help to fit (Sec. A.13).

Table 2 compares the reprojection error of each model at its geometric start and after the radiometric refinement on the Thorlabs test set (Table A2). We call a change significant where the 95 % bootstrap interval of the paired difference excludes zero (Sec. A.13). The radiometric refinement lowers the median reprojection error significantly in 82 % of the 28 combinations of model, lens and target (23, by 9 to 57 %), raises it significantly in 11 % (three, all on the Tamron 20 mm), and lowers the 95th percentile significantly in all of them, by 9 to 65 %. On the Sigma 14 mm and on the fisheye, no model is significantly worse in any statistic. Figure 5 follows the two refinements of the central spline on the Sigma 14 mm over their iterations. In both, the error on the held-out target falls throughout, while the error with respect to the detections that the geometric calibration was fitted to rises after the first four iterations (from 0.59 to 0.71 px on the Siemens stars and from 0.56 to 0.68 px on the AprilGrid). The test error decreases while the training error increases, which shows the bias: the refinement moves the camera away from the biased detections that its start was fitted to. We attribute part of this bias to the freedom of the geometric calibration: The feature wise parametrization of the target in [57] allows to absorb the bias, while our lower parameter parametrization (§ 4.4) cannot.

ModelAprilGridSiemens starsAprilGridSiemens starsAprilGridSiemens stars
Tamron 20 mmSigma 14 mmSigma 8 mm fisheye
Median reprojection error [px]
Brown–Conrady0.119→0.0670.119 \to\mathbf{0.067}0.288→0.1350.288 \to\mathbf{0.135}0.499→0.3770.499 \to\mathbf{0.377}0.687→0.3590.687 \to\mathbf{0.359}––
OpenCV-140.107→0.0600.107 \to\mathbf{0.060}0.308→0.1310.308 \to\mathbf{0.131}0.476→0.3590.476 \to\mathbf{0.359}0.600→0.3840.600 \to\mathbf{0.384}1.98→1.701.98 \to\mathbf{1.70}0.123→0.0790.123 \to\mathbf{0.079}
Kannala–Brandt0.117→0.1060.117 \to\mathbf{0.106}0.183→0.1760.183 \to\mathbf{0.176}0.456→0.3510.456 \to\mathbf{0.351}0.567→0.3290.567 \to\mathbf{0.329}2.00→1.522.00 \to\mathbf{1.52}0.113→0.0630.113 \to\mathbf{0.063}
Double Sphere0.261→0.2860.261 \to\mathit{0.286}0.219→0.2680.219 \to\mathit{0.268}1.42→1.341.42 \to\mathit{1.34}0.734→0.4610.734 \to\mathbf{0.461}2.09→1.492.09 \to\mathbf{1.49}0.109→0.0670.109 \to\mathbf{0.067}
Central spline0.040→0.0480.040 \to\mathit{0.048}0.161→0.1360.161 \to\mathbf{0.136}0.479→0.3310.479 \to\mathbf{0.331}0.504→0.3660.504 \to\mathbf{0.366}1.99→1.451.99 \to\mathbf{1.45}0.121→0.1000.121 \to\mathbf{0.100}
95th percentile reprojection error [px]
Brown–Conrady0.356→0.1730.356 \to\mathbf{0.173}0.855→0.3210.855 \to\mathbf{0.321}2.07→1.782.07 \to\mathbf{1.78}2.73→1.722.73 \to\mathbf{1.72}––
OpenCV-140.373→0.1550.373 \to\mathbf{0.155}0.969→0.3370.969 \to\mathbf{0.337}2.16→1.742.16 \to\mathbf{1.74}2.87→1.932.87 \to\mathbf{1.93}9.15→5.689.15 \to\mathbf{5.68}0.818→0.4400.818 \to\mathbf{0.440}
Kannala–Brandt0.446→0.2850.446 \to\mathbf{0.285}0.730→0.5150.730 \to\mathbf{0.515}1.99→1.791.99 \to\mathbf{1.79}2.37→1.752.37 \to\mathbf{1.75}6.80→5.436.80 \to\mathbf{5.43}0.590→0.2540.590 \to\mathbf{0.254}
Double Sphere1.70→1.161.70 \to\mathbf{1.16}0.717→0.6250.717 \to\mathbf{0.625}5.13→4.425.13 \to\mathbf{4.42}2.42→1.942.42 \to\mathbf{1.94}7.41→5.457.41 \to\mathbf{5.45}0.591→0.2890.591 \to\mathbf{0.289}
Central spline0.131→0.1190.131 \to\mathbf{0.119}0.436→0.3310.436 \to\mathbf{0.331}2.45→1.762.45 \to\mathbf{1.76}2.35→1.972.35 \to\mathbf{1.97}7.58→5.517.58 \to\mathbf{5.51}0.996→0.5380.996 \to\mathbf{0.538}

Table 2. Reprojection error on the held-out high-precision target, geometric start →\to radiometric refinement, for each camera model, lens and calibration target. The refined value is bold where it is significantly lower than the start and italic where it is significantly higher (95 % bootstrap interval of the difference, Table A4); the mean and the RMS are in Table A5. –: Brown–Conrady cannot represent the 180∘180^{\circ} field of view of the fisheye.

Median reprojection error during radiometric refinement

Figure 5. Median reprojection error during the radiometric refinement of the central spline on the Sigma 14 mm, with respect to the detections that the geometric calibration was fitted to and on the held-out high-precision target. After the first iterations the curves diverge in both panels: the error on the detections rises while the error on the held-out target falls, which shows that the geometric calibration had absorbed the bias of its detector.

lenstargetroledistance [mm]ff /exposurecapturedused
Geometric accuracy (§ 5.2)
Sigma 14 mmSiemens starstrain295221.6 s168132
Sigma 14 mmAprilGridtrain–222 s408399
Sigma 14 mmThorlabstest300221/10 s142141
Sigma 8 mm fisheyeAprilGridtrain186222 s407249
Sigma 8 mm fisheyeThorlabstest121221/13 s154154
Sigma 8 mm fisheyeSiemens starstrain–323.2 s301162
Sigma 8 mm fisheyeThorlabstest–321/10 s25482
Tamron 20 mmSiemens starstrain189221.3 s264209
Tamron 20 mmThorlabstest197221/60 s112112
Tamron 20 mmAprilGridtrain–222.5 s411404
Tamron 20 mmThorlabstest448221/60 s142142
Vignetting (§ 5.3)
Sigma 14 mmSiemens starstrain76241/8 s174166
Sigma 14 mmflat fieldreference–41/640 s11
Sigma 8 mm fisheyeSiemens starstrain69341/10 s16063
Sigma 8 mm fisheyeflat fieldreference–41/800 s11
Tamron 20 mmSiemens starstrain–2.81/50 s163138
Tamron 20 mmflat fieldreference–2.81/2000 s11
Defocus (§ 5.4)
Tamron 20 mmSiemens starstrain44081/4 s340332
Tamron 20 mmThorlabstest–81/800 s190190
zoom at 48 mmSiemens starstrain–100.8 s171159
zoom at 48 mmThorlabstest–101/500 s5454
Sigma 14 mmSiemens starstrain9312.81/15 s479475
Sigma 14 mmtext boardtest–2.81/15 s106106

Table A2. The captures of the data set, grouped by experiment, each training set followed by the test set captured with it. Role is the training/test split: training images calibrate the camera, test images (Thorlabs) only score it. Captured: the images of the set; used: those that enter the experiment, i.e. for a training set the images in which the geometric pipeline that starts our refinement localizes the board, and for a test set those whose dots are registered. The used counts are those of the starts before the geometric image changed to the full-resolution green image (Sec. A.13.2) and are to be regenerated. Distance: the median camera-to-target-plane distance inferred from the estimated poses (–: not yet computed). Of the 106 images of the text board, 63 fit the texture, 22 choose its regularization and 21 test it. Flat field: one image per lens through a diffuser (a white acrylic plate over the lens, hood on, lit by diffuse daylight), captured in the same session as the lens’s vignetting set (2026-10-28); it is the reference the learned vignetting is compared with, not used in any calibration. The fisheye Siemens-star set of 2026-10-27 (150 images, 118 Thorlabs) is excluded: the start pipeline localized too few of its images.

Vignetting

We use the three lenses of § 5.2 and the spline model with Siemens-star captures at a large aperture (f/4f/4; f/2.8f/2.8 for the Tamron) for stronger vignetting, and one flat-field image per lens (Table A2): the lens, with its hood on, covered by a white acrylic plate and lit by diffuse daylight through a light diffuser. Figure 6 compares, along the direction of the sensor diagonal through the principal point, the learned vignetting, a B-spline (§ 3.3), with the flat field, read off the green photosites, and with the cos⁡4\cos^{4} falloff of the thin lens. All profiles are normalized at the principal point. The learned vignetting follows the flat field for all three lenses:

its RMS deviation along this line, in units of the value at the principal point, is 0.009 for the 14 mm lens, 0.042 for the fisheye and 0.025 for the Tamron, against 0.244, 0.199 and 0.059 for the cos⁡4\cos^4 falloff.

Defocus

We validate the focus model in three ways. First, Figure 7 (left) shows the focus surfaces learned with the spline model for the Tamron 20 mm at f/8f/8 and for the fisheye at f/4f/4: a plane for the wide-angle lens and a hemisphere for the fisheye, as expected for these lens types [16, 38].

The focus model, showing learned focus surfaces and textures estimated from defocused images

Figure 7. The focus model. Left: the learned focus surfaces, a hemisphere for the fisheye at f/4f/4 and a plane for the Tamron 20 mm at f/8f/8. Right: a texture estimated from defocused images. The radiometric camera recovers sharp text, whereas the pinhole camera has to put the blur of the images into the texture.

Second, we solve a first multi-view radiometric problem with the calibrated camera: we estimate the unknown reflectance of a surface from many defocused views of it by inverse rendering. With a pinhole aperture, the estimated texture has to explain the defocus of the images and is blurred. We calibrate the Sigma 14 mm at f/2.8f/2.8 on Siemens stars, once with the aperture and the focus surface and once as a pinhole, and estimate the texture of a board with printed text from 63 defocused images with each camera. Figure 7 (right) compares both textures with the printed design: the radiometric camera recovers sharp text where the pinhole camera returns the blur of the images. Since the calibration works with relative irradiance, a texture is recovered only up to a scale and an offset, which we fit once per texture before comparing it with the design. With the design ranging from 0 to 1, the RMS difference to it is 0.177 for the radiometric camera and 0.235 for the pinhole, and it is lower for the radiometric camera on 99 % of the page.

Third, we ablate the focus model on two lenses with visible defocus, the Tamron 20 mm at f/8f/8 with the spline model and a 24–70 mm zoom lens at 48 mm and f/10f/10 with Brown–Conrady, by refining the same geometric start once with the aperture and the focus surface and once as a pinhole. Table 3 shows that modeling the aperture and the focus surface lowers the median reprojection error on the Thorlabs target by 25 % and 16 % compared with the pinhole refinement, both significantly; on the Tamron, the pinhole refinement is even worse than the geometric start.

RefinementMedian [px]95th perc. [px]
Tamron 20 mm, f/8f/8, central spline
Geometric start0.1600.499
Pinhole0.1990.534
Aperture and focus0.1490.410
− pinhole−0.051 [−0.054, −0.047]−0.124 [−0.139, −0.103]
Zoom at 48 mm, f/10f/10, Brown–Conrady
Geometric start0.0680.194
Pinhole0.0500.150
Aperture and focus0.0420.117
− pinhole−0.008 [−0.013, −0.003]−0.032 [−0.047, −0.017]

Table 3. Defocus ablation on the held-out target: the refinement as a pinhole and with the aperture and the focus surface, and their difference with its 95 % bootstrap interval. Bold and italic as in Table 2.

Conclusion

We presented the radiometric camera, which lifts any central geometric camera model to a radiometric one with a finite aperture, a free-form focus surface and a generic vignetting function. We also presented its calibration from the RAW photosites of ordinary calibration images, formulated without parameter-dependent discontinuities or integration domains and with every gauge freedom fixed exactly. To our knowledge, it is the first model to unite aperture, focus and vignetting with any central projection and to calibrate all of them jointly from the images of a geometric calibration (Tab. 1). The calibrated cameras have a lower reprojection error on a held-out high-precision target than their geometric starts for most models and lenses, their vignetting reproduces a measured flat field, and their focus surface is learned as a plane for a wide-angle lens and as a hemisphere for a fisheye. In a first multi-view radiometric reconstruction, they recover the in-focus reflectance of a texture from defocused images. The estimation of light sources and of the attenuation of water is future work. We will release the code, the data and the configurations of every experiment.

Spectral Formulation of the Image Formation

The camera sensor has a certain spectral sensitivity S(λ)S(\lambda) [2, 4, 17, 50, 63] and measures the spectral radiant flux as [34]

S(λ)Φ(u,λ)=∫IuS(λ)E(p,λ) dp.S(\lambda)\Phi(u,\lambda)=\int_{\mathcal{I}_u}S(\lambda)E(p,\lambda)\,\mathrm{d}p.

This spectral formulation requires knowledge of the camera’s spectral sensitivity S(λ)S(\lambda) which is difficult to recover in practice because it requires specialized equipment [4, 17, 63]. Tri-color (RGB) renderers avoid this by working directly with per-channel quantities [23, 68]. Let Λc\Lambda_c be the set of wavelengths associated with the channel c∈{r,g,b}c \in\{r,g,b\}. The per-channel radiant flux measured by the sensor in pixel uu becomes

Φc(u):=∫Iu∫ΛcSc(λ)E(p,λ) dλ⏟=:Ec(p) dp=∫Iu∫Ω(p)∫ΛcSc(λ)L(x(p,ω),ωo(p,ω),λ) dλ⏟=:Lc(x(p,ω),ωo(p,ω))cos⁡θ(ω) dω dp,\begin{aligned} \Phi_c(u):=\int_{\mathcal{I}_u}\underbrace{\int_{\Lambda_c}S_c(\lambda)E(p,\lambda)\,\mathrm{d}\lambda}_{=:E_c(p)}\,\mathrm{d}p \\ &=\int_{\mathcal{I}_u}\int_{\Omega(p)}\underbrace{\int_{\Lambda_c}S_c(\lambda)L(x(p,\omega),\omega_o(p,\omega),\lambda)\,\mathrm{d}\lambda}_{=:L_c(x(p,\omega),\omega_o(p,\omega))}\cos\theta(\omega)\,\mathrm{d}\omega\,\mathrm{d}p, \end{aligned}

where Fubini’s theorem [32] is used to swap the order of the integrals. In the main text and in the following, all quantities are per color channel and the channel index cc is omitted.

Geometric Camera Models and the Pinhole Aperture

The pinhole model can be constructed from the thin lens model by making the aperture radius infinitesimal so that for each sensor position only a single ray passes through the pinhole o∈Ao \in\mathcal{A} [50]. Using the Dirac delta distribution δ\delta, which satisfies the sifting property [8, 65]

∫Ω(p)g(ω)δ(ω−ω0) dω=g(ω0)(11)\int_{\Omega(p)}g(\omega)\delta(\omega-\omega_0)\,\mathrm{d}\omega=g(\omega_0) \tag*{(11)}

to select the radiance along the single ray direction ω0:=o−p\omega_0:=o-p through the pinhole [65], the radiant flux Eq. (1) simplifies to

∫Iu∫Ω(p)L(x(p,ω),ωo(p,ω))cos⁡θ(ω)δ(ω−ω0) dω dp\int_{\mathcal{I}_u}\int_{\Omega(p)}L(x(p,\omega),\omega_o(p,\omega))\cos\theta(\omega)\delta(\omega-\omega_0)\,\mathrm{d}\omega\,\mathrm{d}p
=(A1)∫IuL(x(p,ω0),ωo(p,ω0))cos⁡θ(ω0) dp=Φ(u).(12)\overset{\text{(A1)}}{=}\int_{\mathcal{I}_u}L(x(p,\omega_0),\omega_o(p,\omega_0))\cos\theta(\omega_0)\,\mathrm{d}p=\Phi(u). \tag*{(12)}

Eq. (12) shows that the pinhole model is a pure geometric model and physically incorrect: a vignetting falloff is missing and every scene point is in perfect focus.

The geometric camera models that the radiometric camera lifts are all models of a pinhole aperture. The radiometric camera uses them through their back-projection π−1\pi^{-1} alone (Eq. (3)), so it places no condition on how a model is parameterized. The remainder of this section defines the five models of § 5.2, derives their back-projections, gives the geometric meaning of their parameters Θd\Theta_d, and separates them into global and local models. The distinction decides how a model is regularized and how the vignetting, which is radially symmetric about the principal point (§ 3.3), is attached to it.

ModelParameters Θd\Theta_dScopePrincipal point
Brown–Conradyfx,fy,cf_x,f_y,c, 5 coeff.globalparameter cc
OpenCV-14fx,fy,cf_x,f_y,c, 14 coeff.globalparameter cc
Kannala–Brandtfx,fy,cf_x,f_y,c, 4 coeff.globalparameter cc
Double Spherefx,fy,c,ξ,αf_x,f_y,c,\xi,\alphaglobalparameter cc
Central splinedijd_{ij} per nodelocalestimated, Eq. (26)

Table 1 (PDF p. 12).

Global Models

Let the zz-axis of the camera frame be the optical axis. A parametric model maps a direction d=(X,Y,Z)T\mathbf{d}=(X,Y,Z)^{\mathsf{T}} of this frame to a point (xd,yd)(x_d,y_d) of the normalized image plane and from there to the sensor point

p=(fxxd+cx,fyyd+cy)T,(13)\mathbf{p}=(f_xx_d+c_x,f_yy_d+c_y)^{\mathsf{T}}, \tag*{(13)}

with the focal lengths fx,fyf_x,f_y in pixels and the principal point c=(cx,cy)T\mathbf{c}=(c_x,c_y)^{\mathsf{T}}. The models differ in the map d↦(xd,yd)\mathbf{d}\mapsto(x_d,y_d), which we write with the angle θ\theta between d\mathbf{d} and the optical axis and the azimuth φ\varphi about it,

θ=atan2⁡(X2+Y2,Z),φ=atan2⁡(Y,X).(14)\theta=\operatorname{atan2}\left(\sqrt{X^2+Y^2},Z\right),\qquad\varphi=\operatorname{atan2}(Y,X). \tag*{(14)}

All four models are defined by this forward projection. The back-projection π−1\pi^{-1} inverts it: Eq. (13) gives (xd,yd)(x_d,y_d) from p\mathbf{p}, and the inverse of the map d↦(xd,yd)\mathbf{d}\mapsto(x_d,y_d), derived below for each model, gives the direction. We call these models global: each of their few parameters changes the back-projection of every sensor point.

Brown–Conrady. The model starts from the perspective projection (x,y)=(X/Z,Y/Z)(x,y)=(X/Z,Y/Z), whose radius is ρ=x2+y2=tan⁡θ\rho=\sqrt{x^2+y^2}=\tan\theta. A lens that is rotationally symmetric about its optical axis displaces an image point along its radius, and by symmetry the displaced radius is an odd function of ρ\rho, so that ρd=ρR(ρ)\rho_d=\rho R(\rho) with a factor RR that is even in ρ\rho. Brown [10] truncates its series after three terms and adds the displacement that Conrady [14] derived for lens elements whose centers are not on a common axis, which is not radial:

xd=xR(ρ)+2p1xy+p2(ρ2+2x2),yd=yR(ρ)+p1(ρ2+2y2)+2p2xy,R(ρ)=1+k1ρ2+k2ρ4+k3ρ6.(15)\begin{aligned} x_d &= xR(\rho)+2p_1xy+p_2(\rho^2+2x^2),\\ y_d &= yR(\rho)+p_1(\rho^2+2y^2)+2p_2xy,\\ R(\rho)&=1+k_1\rho^2+k_2\rho^4+k_3\rho^6. \tag*{(15)} \end{aligned}

The radial coefficients k1,k2,k3k_1,k_2,k_3 describe barrel distortion where R<1R<1 and pincushion distortion where R>1R>1. The tangential coefficients p1,p2p_1,p_2 are the components of the decentering along the two image axes. Equation (15) has no closed-form inverse. We solve it for (x,y)(x,y) iteratively from (x,y)=(xd,yd)(x,y)=(x_d,y_d), which has a unique solution where the distortion is monotonic, i.e. where ρR(ρ)\rho R(\rho) increases with ρ\rho, and the back-projection is π−1(p)=(x,y,1)T/∥(x,y,1)∥\pi^{-1}(\mathbf{p})=(x,y,1)^\mathsf{T}/\lVert(x,y,1)\rVert. Since ρ=tan⁡θ\rho=\tan\theta diverges for θ→90∘\theta\to90^\circ, the model cannot represent a field of view of 180∘180^\circ.

OpenCV-14. The 14-parameter model of OpenCV [9] extends Eq. (15) by three effects. First, the radial factor becomes a rational function,

R(ρ)=1+k1ρ2+k2ρ4+k3ρ61+k4ρ2+k5ρ4+k6ρ6,(16)R(\rho)=\frac{1+k_1\rho^2+k_2\rho^4+k_3\rho^6}{1+k_4\rho^2+k_5\rho^4+k_6\rho^6}, \tag*{(16)}

which tends to a constant for large ρ\rho, where a polynomial diverges, and therefore follows a wide-angle lens further toward the image border. Second, thin-prism terms describe lens elements that are tilted against the optical axis, which displace the image by even powers of the radius along a fixed direction:

x′=xR(ρ)+2p1xy+p2(ρ2+2x2)+s1ρ2+s2ρ4,y′=yR(ρ)+p1(ρ2+2y2)+2p2xy+s3ρ2+s4ρ4.(17)\begin{aligned} x'&=xR(\rho)+2p_1xy+p_2(\rho^2+2x^2)+s_1\rho^2+s_2\rho^4,\\ y'&=yR(\rho)+p_1(\rho^2+2y^2)+2p_2xy+s_3\rho^2+s_4\rho^4. \tag*{(17)} \end{aligned}

Third, the sensor may be tilted against the plane perpendicular to the optical axis. With the rotation T=Ry(τy)Rx(τx)\mathrm{T}=\mathrm{R}_y(\tau_y)\mathrm{R}_x(\tau_x) of the sensor by the angles τx,τy\tau_x,\tau_y about the image axes, with the entries TijT_{ij}, the point is mapped by the homography

λ(xdyd1)=(T330−T130T33−T23001)T(x′y′1).(18)\lambda \begin{pmatrix} x_d\\ y_d\\ 1 \end{pmatrix} = \begin{pmatrix} T_{33} & 0 & -T_{13}\\ 0 & T_{33} & -T_{23}\\ 0 & 0 & 1 \end{pmatrix} \mathrm{T} \begin{pmatrix} x'\\ y'\\ 1 \end{pmatrix}. \tag*{(18)}

which rotates the image plane into the plane of the tilted sensor and projects it back along the optical axis, so that the principal point stays where the optical axis meets the sensor. The 14 parameters are k1,…,k6,p1,p2,s1,…,s4k_1,\ldots,k_6,p_1,p_2,s_1,\ldots,s_4 and τx,τy\tau_x,\tau_y, and k4=⋯=τy=0k_4=\cdots=\tau_y=0 is the Brown–Conrady model. For the back-projection, Eq. (18) is inverted in closed form, as a homography, and Eq. (17) is then solved for (x,y)(x,y) iteratively as above. The model distorts the perspective projection as well and shares its limit of 180∘180^\circ.

Kannala–Brandt. A fisheye lens is not designed to image a direction at the radius tan⁡θ\tan\theta of the perspective projection, but at a radius that stays finite at θ=90∘\theta=90^\circ, e.g. θ\theta (equidistant), 2tan⁡θ22\tan\frac{\theta}{2} (stereographic) or 2sin⁡θ22\sin\frac{\theta}{2} (equisolid angle). All of these, and the perspective projection itself, are odd functions of θ\theta. Kannala and Brandt [36] therefore model a rotationally symmetric lens by an odd polynomial in θ\theta, whose linear coefficient is absorbed by the focal length:

(xd,yd)=r(θ)(cos⁡φ,sin⁡φ),(x_d,y_d)=r(\theta)(\cos\varphi,\sin\varphi),
r(θ)=θ+k1θ3+k2θ5+k3θ7+k4θ9,(19)r(\theta)=\theta+k_1\theta^3+k_2\theta^5+k_3\theta^7+k_4\theta^9, \tag*{(19)}

with θ\theta and φ\varphi of Eq. (14). The first term is the equidistant projection, and k1,…,k4k_1,\ldots,k_4 describe the deviation of the lens from it. The model has no decentering terms. For the back-projection, the azimuth is that of the image point, φ=atan2⁡(yd,xd)\varphi=\operatorname{atan2}(y_d,x_d), and the angle is the root of r(θ)=xd2+yd2r(\theta)=\sqrt{x_d^2+y_d^2}, which we find iteratively from θ=xd2+yd2\theta=\sqrt{x_d^2+y_d^2} and which is unique where rr is monotonic. Then

π−1(p)=(sin⁡θcos⁡φ, sin⁡θsin⁡φ, cos⁡θ)T.(20)\pi^{-1}(\mathbf{p})=(\sin\theta\cos\varphi,\ \sin\theta\sin\varphi,\ \cos\theta)^\mathsf{T}. \tag*{(20)}

Since θ\theta is not restricted to less than 90∘90^\circ, the model represents fields of view of 180∘180^\circ and more.

Double Sphere. The model of Usenko et al. [64] is constructed geometrically. The direction is projected onto a unit sphere about the center of projection, which gives d/d1\mathbf{d}/d_1 with d1=∥d∥d_1=\lVert\mathbf{d}\rVert. This point is expressed in the frame of a second unit sphere whose center is displaced by ξ\xi along the optical axis, where it is (X,Y,Z+ξd1)T/d1(X,Y,Z+\xi d_1)^\mathsf{T}/d_1, and is projected onto the second sphere by dividing by its norm d2/d1d_2/d_1,

d2=X2+Y2+(ξd1+Z)2.(21)d_2=\sqrt{X^2+Y^2+(\xi d_1+Z)^2}. \tag*{(21)}

Finally, the point (X,Y,Z+ξd1)T/d2(X,Y,Z+\xi d_1)^\mathsf{T}/d_2 on the second sphere is projected perspectively from a center that is displaced by α1−α\frac{\alpha}{1-\alpha} behind the center of this sphere, which gives

(xd,yd)=(X,Y)αd2+(1−α)(ξd1+Z).(22)(x_d,y_d)=\frac{(X,Y)}{\alpha d_2+(1-\alpha)(\xi d_1+Z)}. \tag*{(22)}

The parameter ξ\xi is thus the distance between the two spheres and α∈[0,1]\alpha\in[0,1] the position of the final center of projection, and ξ=0,α=0\xi=0,\alpha=0 is the perspective projection. Both describe a rotationally symmetric lens, and the model has no decentering terms. Unlike the three models above, it has a closed-form inverse. With ρ2=xd2+yd2\rho^2=x_d^2+y_d^2,

mz=1−αξρ2α1−(2α−1)ρ2+1−α,m_z=\frac{1-\alpha\xi\rho^2}{\alpha\sqrt{1-(2\alpha-1)\rho^2+1-\alpha}},
π−1(p)=mzξ+mz2+(1−ξ2)ρ2mz2+ρ2(xdydmz)−(00ξ).(23)\pi^{-1}(\mathbf{p})= \frac{m_z\xi+\sqrt{m_z^2+(1-\xi^2)\rho^2}}{m_z^2+\rho^2} \begin{pmatrix} x_d\\ y_d\\ m_z \end{pmatrix} - \begin{pmatrix} 0\\ 0\\ \xi \end{pmatrix}. \tag*{(23)}

which follows from inverting the three steps in reverse order: the first line intersects the ray of the shifted perspective projection with the second sphere, and the second line intersects the ray from the center of the second sphere through this point with the first sphere. The inverse is a unit vector, and it is defined where (2α−1)ρ2≤1(2\alpha- 1)\rho^2 \le1, which bounds the image radius for α>12\alpha> \frac{1}{2}. The model represents fields of view beyond 180∘180^\circ.

The Local Model

The central generic model of Schöps et al. [57] has no projection function with physical parameters. It stores the back-projection itself: directions at the nodes of a regular lattice over the sensor, interpolated by a bicubic B-spline [51] and normalized. With the control directions dij∈R3d_{ij} \in\mathbb{R}^3 at the nodes (i,j)(i,j) and the cubic B-spline basis functions Ni,3,Nj,3N_{i,3},N_{j,3} over the lattice,

d^(p)=d~(p)∥d~(p)∥,d~(p)=∑i,jNi,3(px)Nj,3(py)dij,(24)\hat{d}(\boldsymbol{p}) = \frac{\tilde{d}(\boldsymbol{p})}{\lVert\tilde{d}(\boldsymbol{p})\rVert}, \qquad\tilde{d}(\boldsymbol{p}) = \sum_{i,j} N_{i,3}(p_x)N_{j,3}(p_y)d_{ij}, \tag*{(24)}

and Θd={dij}\Theta_d = \{d_{ij}\}. On the Sigma 14 mm, for example, the lattice has 35×2535 \times25 nodes at a spacing of about 160 pixels. We call this model local: a cubic basis function is nonzero over four cells of the lattice, so d^(p)\hat{d}(\boldsymbol{p}) depends only on the 4×44 \times4 control directions around p\boldsymbol{p}, and a control direction changes the back-projection only in the 4×44 \times4 cells around its node. The model is given by its back-projection and not, as the global models are, by its forward projection, which has no closed form. Where a projection is needed, as for the reprojection errors of § 5.2, we invert Eq. (24) numerically by Levenberg–Marquardt iterations; a second spline regressed to the inverse is an alternative, and it is local as well.

The locality has three consequences for the calibration. First, the model can follow a distortion that no global model describes, but a node is determined only by the photosites in its own support. Nodes at the border of the lens coverage, which few photosites see, are therefore not determined by the data, whereas the parameters of a global model are determined by the whole image. This is why the central spline, and no other model, is regularized (§ 4.5). Second, the model has no distinguished camera frame: rotating every control direction by a rotation RR and every pose by its inverse changes no ray in the scene. A global model does not have this gauge freedom, since its frame is fixed by its optical axis (Sec. A.9). Third, and for the same reason, the model has no principal point. The intrinsics of Eq. (13) do not enter Eq. (24), which is defined over the sensor directly, so the point about which the vignetting is symmetric has to be estimated (Sec. A.2.3).

The Center of the Vignetting

The vignetting VV of § 3.3 is radially symmetric about a point c\boldsymbol{c} of the sensor. The vignetting of a lens is symmetric about its optical axis, so c\boldsymbol{c} has to be the sensor point that images the axis, which in general is not the center of the sensor.

Global models. The principal point of Eq. (13) is this point by definition: each of the four models projects the direction of the optical axis, d=(0,0,1)T\boldsymbol{d}=(0,0,1)^\mathsf{T}, to (xd,yd)=(0,0)(x_d,y_d)=(0,0) and thus to p=c\boldsymbol{p}=\boldsymbol{c}. We center the vignetting at the principal point of the geometric start.

The local model. For the central spline, we estimate the optical axis as the axis about which the camera is closest to radially symmetric. Let

πsym(d):=c′+r(θ)(fxcos⁡φfysin⁡φ),r(θ)=θ+∑k=14κkθ2k+1,(25)\boldsymbol{\pi}_{\mathrm{sym}}(\boldsymbol{d}) := \boldsymbol{c}' + r(\theta)\begin{pmatrix} f_x\cos\varphi\\ f_y\sin\varphi\end{pmatrix}, \qquad r(\theta)=\theta+\sum_{k=1}^{4}\kappa_k\theta^{2k+1}, \tag*{(25)}

be the projection of a radially symmetric camera, with θ\theta and φ\varphi of Eq. (14): the model of Eq. (19) with its own focal lengths fx,fyf_x,f_y, principal point c′\boldsymbol{c}' and coefficients κ\boldsymbol{\kappa}. We regress this camera model to the rays of the spline,

min⁡R,c′,fx,fy,κ∑p∈R∥p−πsym(Rd^(p))∥2,(26)\min_{\boldsymbol{R},\boldsymbol{c}',f_x,f_y,\boldsymbol{\kappa}} \sum_{\boldsymbol{p}\in\mathcal{R}}\lVert\boldsymbol{p}-\boldsymbol{\pi}_{\mathrm{sym}}(\boldsymbol{R}\hat{d}(\boldsymbol{p}))\rVert^2, \tag*{(26)}

where R\mathcal{R} are the pixels in which the geometric start is defined. We minimize it by Levenberg–Marquardt iterations, first with the coefficient κ1\kappa_1 alone and then with one more coefficient at a time, each from the previous minimum, which keeps the higher orders from troubling the profile at the image border. The symmetric camera is not used as a camera model. Its role is to locate the axis: at the minimum, RT(0,0,1)T\boldsymbol{R}^\mathsf{T}(0,0,1)^\mathsf{T} is the axis about which the rays of the spline are closest to symmetric, the optical axis of the lens, and c′\boldsymbol{c}' is the sensor point that images it. A lens that is not symmetric about any axis leaves a residual in Eq. (26), but the axis remains defined as its minimizer.

We then turn the camera frame onto this axis. Every control direction is rotated, dij←Rdijd_{ij}\leftarrow R d_{ij}, which rotates every ray of Eq. (24) by RR, since the normalization commutes with a rotation, and every pose (Rk,tk)(R_k,t_k) from the world to the camera becomes (RRk,Rtk)(R R_k,R t_k). This uses the gauge freedom of the local model and changes no ray in the scene. Afterwards the zz-axis of the camera frame is the optical axis, and c:=c′\boldsymbol{c}:=\boldsymbol{c}' is the principal point of the spline camera, with the same meaning as that of a global model. The regression is done once, on the geometric start. In our experiments it turns the frame of the spline starts by 0.2∘0.2^\circ to 1.6∘1.6^\circ, and the principal point lies 8 to 25 pixels from the center of the sensor.

During the refinement. For every model, cc is held at this start value and is not a parameter of the refinement, and the gauge V(c)=1V(c)=1 between the vignetting and the lighting is fixed there (Sec. A.9). The rotation gauge of the spline camera is fixed with respect to the same axis: the held tangent coordinates of Sec. A.9 are those of the node whose direction is closest to it.

Thin Lens Equivalence

Let π−1\pi^{-1} be the perspective back-projection, d^(p)=o−p∥o−p∥\hat{d}(p)=\frac{o-p}{\lVert o-p\rVert}, and let the focus surface be the plane at the object distance ss from oo, perpendicular to the optical axis. The ray of pp meets this plane at the distance t(p)=scos⁡θ(p)t(p)=\frac{s}{\cos\theta(p)} from oo, where θ(p)\theta(p) is the angle between d^(p)\hat{d}(p) and the optical axis, so τ(p)=cos⁡θ(p)s\tau(p)=\frac{\cos\theta(p)}{s} and xf(p)=o+scos⁡θ(p)d^(p)x_f(p)=o+\frac{s}{\cos\theta(p)}\hat{d}(p). In the thin lens model, all rays from pp through the aperture meet in the point in which the ray through the center oo of the lens, which is not refracted, meets the plane of focus [50]. This point is xf(p)x_f(p), so that the ray through an aperture point aa has the direction xf(p)−a∥xf(p)−a∥=π−1(p,a)\frac{x_f(p)-a}{\lVert x_f(p)-a\rVert}=\pi^{-1}(p,a) of Eq. (3): without distortion and with a plane of focus, the radiometric camera is the thin lens.

Inverse Focus Distance

The lifted back-projection Eq. (3) depends on the focus surface through the distance t(p)=1/τ(p)t(p)=1/\tau(p) from oo to the point of focus. We show that its derivative w.r.t. the distance tt vanishes for a far focus, whereas its derivative w.r.t. the inverse distance τ\tau does not, which is why we parameterize the focus surface by τ\tau [22, 45]. Let o=0o=0 without loss of generality. With the distance,

∂∂tt(p)d^(p)−a∥t(p)d^(p)−a∥=d^(p)∥t(p)d^(p)−a∥−(t(p)d^(p)−a)t(p)∥d^(p)∥2−d^(p)⋅a∥t(p)d^(p)−a∥∥t(p)d^(p)−a∥2\frac{\partial}{\partial t}\frac{t(p)\hat{d}(p)-a}{\lVert t(p)\hat{d}(p)-a\rVert} = \frac{\hat{d}(p)\lVert t(p)\hat{d}(p)-a\rVert-(t(p)\hat{d}(p)-a)\frac{t(p)\lVert\hat{d}(p)\rVert^{2}-\hat{d}(p)\cdot a}{\lVert t(p)\hat{d}(p)-a\rVert}}{\lVert t(p)\hat{d}(p)-a\rVert^{2}}
lim⁡t→∞∂∂tt(p)d^(p)−a∥t(p)d^(p)−a∥=lim⁡t→∞d^(p)∥d^(p)−at(p)∥−(d^(p)−at(p))∥d^(p)∥2−d^(p)⋅at(p)∥d^(p)−at(p)∥t(p)∥d^(p)−at(p)∥2=0.\lim_{t\to\infty}\frac{\partial}{\partial t}\frac{t(p)\hat{d}(p)-a}{\lVert t(p)\hat{d}(p)-a\rVert} = \lim_{t\to\infty}\frac{\hat{d}(p)\lVert\hat{d}(p)-\frac{a}{t(p)}\rVert-\left(\hat{d}(p)-\frac{a}{t(p)}\right)\frac{\lVert\hat{d}(p)\rVert^{2}-\frac{\hat{d}(p)\cdot a}{t(p)}}{\lVert\hat{d}(p)-\frac{a}{t(p)}\rVert}}{t(p)\lVert\hat{d}(p)-\frac{a}{t(p)}\rVert^{2}} =0.

A focus surface that is far away thus receives no gradient. With the inverse distance τ=1t\tau=\frac{1}{t},

∂∂τ−τ(p)a+d^(p)∥−τ(p)a+d^(p)∥=−a∥d^(p)−τ(p)a∥+(d^(p)−τ(p)a)d^(p)⋅a−τ(p)∥a∥2∥d^(p)−τ(p)a∥∥d^(p)−τ(p)a∥2\frac{\partial}{\partial\tau}\frac{-\tau(p)a+\hat{d}(p)}{\lVert-\tau(p)a+\hat{d}(p)\rVert} = \frac{-a\lVert\hat{d}(p)-\tau(p)a\rVert+(\hat{d}(p)-\tau(p)a)\frac{\hat{d}(p)\cdot a-\tau(p)\lVert a\rVert^{2}}{\lVert\hat{d}(p)-\tau(p)a\rVert}}{\lVert\hat{d}(p)-\tau(p)a\rVert^{2}}
lim⁡τ→0−a∥d^(p)−τ(p)a∥+(d^(p)−τ(p)a)d^(p)⋅a−τ(p)∥a∥2∥d^(p)−τ(p)a∥∥d^(p)−τ(p)a∥2=−a∥d^(p)∥+d^(p)d^(p)⋅a∥d^(p)∥∥d^(p)∥2\lim_{\tau\to0}\frac{-a\lVert\hat{d}(p)-\tau(p)a\rVert+(\hat{d}(p)-\tau(p)a)\frac{\hat{d}(p)\cdot a-\tau(p)\lVert a\rVert^{2}}{\lVert\hat{d}(p)-\tau(p)a\rVert}}{\lVert\hat{d}(p)-\tau(p)a\rVert^{2}} = \frac{-a\lVert\hat{d}(p)\rVert+\hat{d}(p)\frac{\hat{d}(p)\cdot a}{\lVert\hat{d}(p)\rVert}}{\lVert\hat{d}(p)\rVert^{2}}

and since ∥d^(p)∥=1\lVert\hat{d}(p)\rVert=1, this limit is −(a−(a⋅d^(p))d^(p))-(a-(a\cdot\hat{d}(p))\hat{d}(p)), the negative of the component of aa perpendicular to the ray. It is nonzero for every aperture point off the ray, so the focus surface keeps a gradient however far it is.

Vignetting of the Thin Lens

The radiant flux Eq. (1) integrates over the solid angle Ω(p)\Omega(p) under which the sensor point pp sees the aperture. For a thin lens with the image distance s′s', changing the integration domain to the aperture area AA by the transformation ω=a−p∥a−p∥\omega=\frac{a-p}{\lVert a-p\rVert} [50] gives

Φ(u)=∫Lu∫Acos⁡4θ(a−p)s′2L(x(p,a),−π−1(p,a)) da dp(27)\Phi(u)=\int_{\mathcal{L}_u}\int_A\frac{\cos^{4}\theta(a-p)}{s'^{2}}L(x(p,a),-\pi^{-1}(p,a))\,\mathrm{d}a\,\mathrm{d}p \tag*{(27)}

where θ(a−p)\theta(a-p) is the angle between a−pa-p and the optical axis. This separates the falloff toward the sensor border from the solid angle: the factor cos⁡4θ/s′2\cos^{4}\theta/s'^{2} is a well-known property of the thin lens and describes its vignetting [28]. Figure 6 shows that the vignetting of real lenses differs much from it. In the radiometric camera, we therefore replace this factor by the generic vignetting function V(p)V(p), normalized by the aperture area πr2\pi r^{2}:

Φ(u)≈∫LuV(p)πr2∫AL(x(p,a),−π−1(p,a))cos⁡4θ(a−p)s′2 da dp(28)\Phi(u)\approx\int_{\mathcal{L}_u}\frac{V(p)}{\pi r^{2}}\int_A L(x(p,a),-\pi^{-1}(p,a))\frac{\cos^{4}\theta(a-p)}{s'^{2}}\,\mathrm{d}a\,\mathrm{d}p \tag*{(28)}

where the back-projection of the thin lens is replaced by the lifted back-projection π−1(p,a)\pi^{-1}(p,a) of Eq. (3), which is Eq. (4) after the substitution a=o+rξa=o+r\xi that maps the aperture to the unit disc D\mathcal{D}, with da=r2 dξ\mathrm{d}a=r^{2}\,\mathrm{d}\xi.

Knots of the Vignetting Spline

It is ∥p−c∥≤rmax⁡\lVert p-c\rVert\le r_{\max} and therefore

∥p−c∥rmax⁡+∥p−c∥∈[0,12].\frac{\lVert p-c\rVert}{r_{\max}+\lVert p-c\rVert}\in\left[0,\frac{1}{2}\right].

Let pk,pk+1p_k,p_{k+1} two uniform consecutive sensor positions, then ∥pk+1−c∥rmax⁡+∥pk+1−c∥\frac{\lVert p_{k+1}-c\rVert}{r_{\max}+\lVert p_{k+1}-c\rVert} and ∥pk−c∥rmax⁡+∥pk−c∥\frac{\lVert p_k-c\rVert}{r_{\max}+\lVert p_k-c\rVert} are the two corresponding consecutive samples chosen in [0,12]\left[0,\frac{1}{2}\right].

Boundary Terms of the Radiant Flux

§ 4.1 removes the two boundary terms that arise in the calibration. Here we list the boundary terms of the radiant flux in a general scene and say how each is treated.

The problem. Differentiable ray tracing learns scene parameters by minimizing the error between rendered and captured images [40] [47]. It has to differentiate integrals whose domain, or whose integrand’s discontinuities, depend on the parameters [40, 71, 73]. By the multidimensional Leibniz integral rule, such a derivative is the sum of the integral of the derivative, the interior integral, and a boundary integral over the moving boundaries [13, 24, 71]. Automatic differentiation of a sampled estimate computes the interior integral only [71, 73].

The boundary terms of a general scene. Differentiating the radiant flux Φ\Phi (Eq. (4)) w.r.t. the parameters Θˉ\bar{\Theta} differentiates the integrals over the pixel Iu\mathcal{I}_u and the aperture A(r)\mathcal{A}(r) and, for each bounce of a ray, the integral over the hemisphere H2(x)\mathcal{H}^2(x) in the radiance LL (Eq. (8)). With

E^(p,a):=L(x(p,a),−π−1(p,a)),\hat{E}(p,a):=L\left(x(p,a),-\pi^{-1}(p,a)\right),

we identify the following sources of boundary terms.

I. a↦E^(p,a)a\mapsto\hat{E}(p,a) has parameter-dependent discontinuities over A(r)\mathcal{A}(r), from surface silhouettes, sharp shadows and a discontinuous surface texture, e.g. the pattern of a calibration target.

II. p↦E^(p,a)p\mapsto\hat{E}(p,a) has the same discontinuities over Iu\mathcal{I}_u.

III. The aperture A(r)\mathcal{A}(r) depends on the radius r∈Θˉr\in\bar{\Theta}.

IV. By the chain rule, every bounce requires ∂∂xL(x,ωo)\frac{\partial}{\partial x}L(x,\omega_o), the derivative of the integral over H2(x)\mathcal{H}^2(x) in Eq. (8). Its integrand has discontinuities from the silhouettes, the shadows and the discontinuous textures seen from xx, which move with xx, and its domain H2(x)\mathcal{H}^2(x) depends on xx. Light sources with a boundary, such as area lights, add a further discontinuity of the incident radiance. This repeats at every further bounce.

The two terms of the calibration. Two of these sources remain in a calibration scene, and we remove both by a reformulation (§ 4.1, Figure 3). For III, we transform the aperture to the fixed unit disc D⊆R2\mathcal{D}\subseteq\mathbb{R}^2 with a=o+rξa=o+r\xi, ξ∈D\xi\in\mathcal{D}, which gives Eq. (4),

Φ(u)=1π∫IuV(p)∫DE^(p,o+rξ) dξ dp,\Phi(u)=\frac{1}{\pi}\int_{\mathcal{I}_u}V(p)\int_{\mathcal{D}}\hat{E}(p,o+r\xi)\,\mathrm{d}\xi\,\mathrm{d}p,

whose domain does not depend on rr. For the edges of the pattern in I and II, we use that a print is never perfectly sharp. We model an edge of the print by the convolution of the print design with a Gaussian of the standard deviation σw=w/1.805951\sigma_w=w/1.805951, where w=50 μmw=50\,\mu\mathrm{m} is the 10–70% edge width of a realistic print [55]. The albedo is then the cumulative Gaussian of the signed distance to the edges of the design, which we compute from the print file, and is smooth.

The terms that do not arise. The remaining sources are absent from a calibration scene. The silhouettes in I and II are not seen: we render only the pixels of a mask M⊆I\mathcal{M}\subseteq\mathcal{I}, with a padding, whose rays all meet the target. For IV, the scene contains the target alone, and the light scattered by its environment is represented by a smooth lighting (§ 4.2), so that no silhouette, shadow or boundary of a light is seen from xx. The dependence of the hemisphere H2(x)\mathcal{H}^2(x) on xx and the silhouette of the target seen from a point of the target contribute nothing, since the cosine in Eq. (8) vanishes at the horizon, cos⁡(π/2)=0\cos(\pi/2)=0. A general scene requires these terms, which differentiable renderers estimate by sampling the boundaries [40, 71, 73]; we leave them to future work.

Lighting and Reflectance

Lighting. The radiance of the spherical-harmonic lighting of degree lmax⁡l_{\max} seen from the direction ω\omega is

LSH(ω;Θl):=∑l=0lmax⁡∑m=−llalmYlm(θ(ω),ϕ(ω)),L^{\mathrm{SH}}(\omega;\boldsymbol{\Theta}_l):=\sum_{l=0}^{l_{\max}}\sum_{m=-l}^{l}a_l^mY_l^m(\theta(\omega),\phi(\omega)),

with the basis functions YlmY_l^m, the coefficients Θl={alm}⊆R\boldsymbol{\Theta}_l=\{a_l^m\}\subseteq\mathbb{R} per color channel and the spherical coordinates (θ(ω),ϕ(ω))(\theta(\omega),\phi(\omega)) of \omega [1, 5, 52, 53]. We use l_{\max}=2$ [53]. § 4.2 replaces it on a sphere of finite radius.

Reflectance. We compute Eq. (8) by Monte Carlo estimation [50]. NN microfacet normals [67] nk\mathbf{n}_k are sampled from the GGX distribution of visible normals, nk∼Dv(⋅,ωo;α)\mathbf{n}_k\sim D^{\mathrm{v}}(\cdot,\omega_o;\alpha), by sampling a spherical cap [19], and give the directions ωi,k\omega_{i,k} by reflection, with PDF(nk,ωo;α)=Dv(nk,ωo;α)/(4(ωo⋅nk))(\mathbf{n}_k,\omega_o;\alpha)=D^{\mathrm{v}}(\mathbf{n}_k,\omega_o;\alpha)/(4(\omega_o\cdot\mathbf{n}_k)), so that

L(x,ωo;Θr)≈1N∑k=1NfkCTLkcos⁡θi,kPDF⁡(nk,ωo;α).L(x,\omega_o;\boldsymbol{\Theta}_r)\approx\frac{1}{N}\sum_{k=1}^{N}\frac{f_k^{\mathrm{CT}}L_k\cos\theta_{i,k}}{\operatorname{PDF}(\mathbf{n}_k,\omega_o;\alpha)}.

with Lk:=L(x′(x,ωi,k),−ωi,k;Θr)L_k := L(x'(x,\omega_{i,k}),-\omega_{i,k};\Theta_r) and the Cook–Torrance reflectance [15, 19]

fkCT=fCT(x,ωo,ωi,k;Θm)=μρ(x)π+(1−μ)F(ωo,ωh;η) D(ωh;α) G2(ωo,ωi,k)4cos⁡θocos⁡θi,kf_k^{\mathrm{CT}} = f^{\mathrm{CT}}(x,\omega_o,\omega_{i,k};\Theta_m) = \mu\frac{\rho(x)}{\pi} + (1-\mu)\frac{F(\omega_o,\omega_h;\eta)\,D(\omega_h;\alpha)\,G_2(\omega_o,\omega_{i,k})}{4\cos\theta_o\cos\theta_{i,k}}

Here ωh\omega_h is the half-vector between ωo\omega_o and ωi,k\omega_{i,k}, θo\theta_o and θi,k\theta_{i,k} are the angles between the directions and the surface normal, FF is the exact unpolarized Fresnel term of a dielectric with the index of refraction η\eta per color channel [50], DD the isotropic GGX distribution, αx=αy=α\alpha_x=\alpha_y=\alpha [31], and G2G_2 the height-correlated masking and shadowing function [19, 31]. Θr:=Θl∪Θm\Theta_r := \Theta_l \cup\Theta_m are the parameters of the lighting and the material. The roughness and the index of refraction are blended between their values for ink and for the blank print by the albedo ρ(x)\rho(x).

Gauge Freedoms

The parameters Θˉ\bar{\Theta} contain three families of transformations that leave every rendered photosite value Φ\Phi unchanged. We fix each of them exactly by the parameterization, i.e. by removing the corresponding direction from the unknowns, and not by a penalty or a prior, so that no weight has to be chosen and the remaining parameters keep their meaning.

Vignetting and lighting. Φ\Phi is the product of the vignetting VV and a radiance that is linear in the lighting Θl\Theta_l. Scaling VV by σ>0\sigma>0 and the lighting by 1/σ1/\sigma therefore leaves Φ\Phi unchanged. We hold V=1V=1 at the centre of the vignetting, the principal point: the control points are scaled once so that the centre value is one, and the direction of the control points that changes the centre value is eliminated from the unknowns, so that every update keeps it exactly. The overall scale is then carried by the lighting alone.

Rotation of the spline camera and the poses. A parametric model fixes its camera frame by its optical axis. The directions of the generic spline model, in contrast, can all be rotated by the same rotation, and the poses of all views by its inverse, without changing any ray in the scene. We hold three coordinates of the directions that determine this rotation: both tangent coordinates of the node whose direction is closest to the optical axis, and, at the node farthest from it in angle, the tangent coordinate most aligned with the roll about that direction. These three coordinates are a nonsingular function of the rotation, so holding them removes the gauge and no degree of freedom of the lens. The poses remain free.

Board warping and the poses. A height field over the board that is affine in the board coordinates, i.e. an offset along the normal and two tilts, is a rigid motion

LensTypeGeom.Vign.Defocus
Tamron 20 mm F/2.8 Di IIIwide angle✓✓✓
Sigma 14 mm F2.8 EX HSMrectilinear✓✓✓
Sigma 8 mm F3.5 EX DGcircular fisheye✓✓✓
24–70 mm zoom at 48 mmnormal✓

caption: tbl:A1. The lenses of the data set and the experiments they take part in: geometric accuracy (Sec. 5.2), vignetting (Sec. 5.3) and defocus (Sec. 5.4). The camera is a Sony ILME-FX3 throughout.

board and is already described by the pose of each view. The nodal heights of the thin-plate spline are therefore restricted to those whose interpolant has no affine term, which leaves pure bending. Likewise, the skew of the pixel grid is held for every model, since it is interchangeable with the in-plane shear of the printed target.

Linear Parameters of the Radiant Flux

The start of the calibration (§ 4.5) uses that the radiant flux Eq. (4) is linear in two of its parameter blocks and affine in a third.

Vignetting. The vignetting V(p)=∑iNi,3(p)PiV(p)=\sum_i N_{i,3}(p)P_i is linear in its control points Θv={Pi}\Theta_v=\{P_i\} and multiplies the integral over the aperture, so Φ\Phi is linear in Θv\Theta_v.

Lighting. The lighting LSHL^{\mathrm{SH}} is linear in its coefficients Θl={alm}\Theta_l=\{a_l^m\} (Sec. A.8), the radiance that leaves the target (Eq. (8)) is linear in the incident radiance, and the integrals over the hemisphere, the aperture and the pixel are linear, so Φ\Phi is linear in Θl\Theta_l.

Diffuse weight. The Cook–Torrance reflectance is f=μfd+(1−μ)fsf=\mu f_d+(1-\mu)f_s with its diffuse part fdf_d and its specular part fsf_s, so Φ\Phi is affine in μ\mu.

With the other parameters held, each of the three blocks is therefore the solution of a linear least-squares problem in the residuals of Eq. (6), which we solve once per block at the start: the lighting with V=1V=1, then the vignetting, then μ\mu. The flux is bilinear in the vignetting and the lighting, which is the scale gauge of Sec. A.9.

Data Set

Table A2 lists every capture of the data set (§ 5), grouped by experiment. All images are Sony ILME-FX3 RAW files (4256 ×\times 2848 decoded pixels) at ISO 100. The board distance is not measured: it is the median perpendicular distance from the camera centre to the target plane over the estimated poses of a set. Captured counts the images of a set and used those in the experiment’s configuration: a training image is left out when the geometric pipeline that starts our refinement does not localize the board in it, and a test image when its dots are not registered. Each Thorlabs test set is captured together with its training set, in the same session and with the same focus and aperture.

The runtime of a calibration is given in Sec. A.14.

Geometric Starts

Every radiometric refinement starts from a geometric calibration of the same model on the same images. All of them are calibrations from correspondences between detected image points and the known points of the target, which differ in the detector and in the tool that estimates the camera.

AprilGrid. The corners are detected by OpenCV’s ArUco detector [27] with sub-pixel refinement. Brown–Conrady and OpenCV-14 are calibrated by OpenCV’s calibration [9, 72], Kannala–Brandt by its fisheye calibration, Double Sphere by Kalibr [26], and the central spline by the calibration of Schöps et al. [57] on these corners.

Siemens stars. The features are detected by the detector of Schöps et al. [57], whose calibration gives the central spline. OpenCV and Kalibr cannot detect this target. Brown–Conrady and OpenCV-14 are calibrated by OpenCV’s calibration on the correspondences of Schöps’s detector, and Kannala–Brandt by its fisheye calibration on them or, on some sets, by our own estimator. Double Sphere, which OpenCV does not provide, is always calibrated by our own estimator: a robust pose of the target per image, followed by a joint refinement of the camera and all poses that minimizes the reprojection error.

Thorlabs Evaluation

The geometric accuracy of every camera model in Sec. 5.2 is measured on images of a high-precision distortion target that none of the models was calibrated on. Section A.13.1 defines the target and Sec. A.13.2 the evaluation protocol.

The Thorlabs Distortion Target

The test target is the Thorlabs R3L3S7N1 negative grid distortion target [62] (Figure A1): 17 × 17 clear dots of 0.5 mm diameter at 5 mm spacing in a low-reflectivity chrome coating on a 90 mm × 90 mm soda-lime glass plate, with the dot diameter, the spacing and the corner-to-corner distance within ±5 µm (Table A3). Its dimensions, from the manufacturer’s drawing, define the target points XX; no part of the target is estimated. A tolerance of ±5 µm is far below the size of one pixel’s footprint on the target at our capture distances, so the target geometry can be treated as exact.

The Thorlabs R3L3S7N1 target on its LED backlight

Figure A1. The Thorlabs R3L3S7N1 target on its LED backlight, from our capture.

grid17 × 17 dots, 80 × 80 mm
dot spacing5.000 mm
dot diameter0.500 mm
tolerance*±5 μm
substratesoda-lime glass, 90 × 90 mm
coatingOD 3 chrome, 0.12 μm
polarityclear dots, opaque field

Table A3. Specifications of the Thorlabs R3LS3T1 target (manufacturer’s drawing, 15 Nov 2024). *Of the dot diameter, the dot spacing and the corner-to-corner distance.

Evaluation Protocol

Capture. The target is backlit by an LED panel in a dark room, so the dots are the only light in the image. The target is kept fixed, and the camera, mounted on a ball head on a pivot arm, is rotated between the images so that the dots cover the whole image, the rim included. The distance to the target is in the same range as for the Siemens-star and AprilGrid captures of the same lens, and the aperture is the same (f/22f/22; f/32f/32 for the fisheye at 30 cm), so the defocus is comparable.

Detection. We detect the dots with a Förstner blob detector on the full-resolution green image, in which each red and blue photosite is interpolated bilinearly from its green neighbours (the image every geometric detector of our pipeline uses, the Siemens-star front end included), [25] and take the blob centroid as the image of the dot centre. The imaged dots cover a median of 12 to 34 px2^{2} per set (diameters of 4 to 7 px, full-resolution pixels) across the image set, so we assume that identifying the blob centroid with the dot centre introduces negligible bias. The imaged dots cover a median of 12 to 34 px2^{2} per set (diameters of 4 to 7 px), so identifying the blob centroid with the dot centre introduces negligible bias.

Correspondences. In each image, the detected dot centres are assigned to the 17 × 17 grid nodes once, before any model is evaluated: a RANSAC pose of the target with a one-to-one (Hungarian) assignment, in which a detection farther than half the grid spacing (2.5 mm on the target) from every node stays unassigned. These correspondences are the same for every model, and no model rejects dots afterwards.

Motion. The camera model under test is held fixed. Since the camera rotates about one unknown pivot, a target point XX is in view kk at Rk(X−c)+dR_k(X-c)+d, with a rotation RkR_k per view and the centre cc and the offset dd shared by all views (3N+63N+6 parameters for NN views, instead of 6N6N for free poses). They are fitted by minimizing the robust reprojection error. Constraining the motion in this way keeps the unknown poses from absorbing reprojection error at test time.

Train and test split. The grid nodes (i,j)(i,j) are split by the parity of i+ji+j into two interleaved halves, like the colours of a checkerboard. The motion is fitted on one half and the reprojection error is measured on the other; the halves are then swapped and the errors of both are pooled. Every reported residual is therefore of a dot that did not enter the fit, and both halves cover the whole image, the rim included.

Statistics. We report the median, mean, 95th percentile and RMS of the reprojection error in pixels. A model is evaluated on a dot only if it back-projects the dot and projects its fitted target point; the models of a set are compared on the dots that every one of them evaluates, so all rows of a set rest on the same dots. A model that is not defined over the whole image, e.g. a calibration restricted to the area its detections covered or a parametric distortion that does not reach the rim, leaves out the dots it cannot evaluate, which lie at the image border and are the hardest ones; the common dots then favour such a model. We therefore also computed each model’s coverage, the share of the registered dots it evaluates, and its error on all of them. Every model of Table 2 evaluates at least 99.4 % of the registered dots, except the spline start on the fisheye’s AprilGrid set (95.0 %), whose refinement, estimated over the whole lens coverage, evaluates 99.4 %. The median error of a model on all of its dots differs from that on the common dots by at most 0.002 px, and by at most 6 % on the fisheye’s AprilGrid set, where the common dots leave out the border.

Confidence intervals. We compare two models of a set, e.g. a camera after the radiometric refinement and its geometric start, by the difference of a statistic of the reprojection error (median, mean, 95th percentile or RMS), each computed over the dots that every model of the set evaluates, pooled over all images. The interval of this difference is a paired, nonparametric bootstrap over images. The dots of one image are correlated through its pose, so the image is the resampling unit and not the dot. In each of 10,000 draws, as many images as the set contains are drawn with replacement; the statistic of both models is recomputed on the dots of the drawn images, an image drawn several times counting as often, and their difference is taken. Both models are thus always evaluated on the same images and dots, which removes the variation between images from the comparison. From the 10,000 differences we take the 95 % bias-corrected and accelerated (BCa) interval [20], whose bias correction is the share of draws below the observed difference and whose acceleration is estimated by a jackknife that leaves out one image at a time. The four statistics share the same draws, and the random seed is fixed, so the intervals are reproducible. A difference whose interval excludes zero is significant at the 5 % level. The intervals are computed over the whole image and, separately, over its centre and its edge (radii below 0.4 and above 0.6 of the largest radius).

Runtime

The radiometric refinement of the Sigma 14 mm Siemens-star set (132 photographs of 4 256 × 2 848 px, 16 384 samples each, 2 162 688 observations per iteration; 25 LM iterations over 2 273 free parameters: 1 443 of the camera, 792 of the poses, 29 of the target and 9 of the lighting) takes 703.5 ± 3.7 s (mean ± std over 8 runs, 26.1 s per iteration, writing the calibrated camera included) on one NVIDIA B200 with 8 CPU threads, from its loaded start; the decoding and the geometric start are excluded. Table A6 lists the size of the problem.

Sigma 14 mm, Siemens stars, central spline
Photographs132 at 4256 × 2848 px
Samples per photograph16,384
Observations per iteration2,162,688
Free parameters (camera / poses / target / lighting)1,443 / 792 / 29 / 9
LM iterations25
Time per iteration [s]26.1
Refinement time [s] (mean ± std, min–max)703.5 ± 3.7 (700.3–710.5)
Runs8
GPU, CPU threadsNVIDIA B200, 8

Table A6. Table A6. Runtime of one radiometric calibration: the refinement of the central spline of the Sigma 14 mm lens on the Siemens-star set, from its loaded geometric start to the written calibrated camera, over 8 runs, each on its own GPU after an untimed warm-up run. The decoding of the photographs and the geometric start are not included.

Results. Table A4 and Table A5 give the four statistics of Table 2 for every camera model, lens and calibration target, with the difference between the radiometric refinement and its geometric start and the 95 % interval of this difference.

ModelMedian [px] Geom.Median [px] Radiom.Median [px] Δ\Delta [95 % interval]95th percentile [px] Geom.95th percentile [px] Radiom.95th percentile [px] Δ\Delta [95 % interval]
Tamron 20 mm, AprilGrid (142 test images, 40,999 dots)
Brown–Conrady0.1190.067−0.052 [−0.062, −0.043]0.3560.173−0.183 [−0.208, −0.161]
OpenCV-140.1070.060−0.048 [−0.059, −0.037]0.3730.155−0.217 [−0.270, −0.180]
Kannala–Brandt0.1170.106−0.011 [−0.020, −0.001]0.4460.285−0.162 [−0.220, −0.102]
Double Sphere0.2610.286+0.025 [+0.000, +0.046]1.701.16−0.545 [−0.773, −0.294]
Central spline0.0400.048+0.008 [+0.006, +0.010]0.1310.119−0.012 [−0.027, −0.002]
Tamron 20 mm, Siemens stars (112 test images, 32,170 dots)
Brown–Conrady0.2880.135−0.154 [−0.179, −0.132]0.8550.321−0.534 [−0.589, −0.480]
OpenCV-140.3080.131−0.177 [−0.203, −0.154]0.9690.337−0.633 [−0.704, −0.566]
Kannala–Brandt0.1830.176−0.007 [−0.022, +0.005]0.7300.515−0.215 [−0.264, −0.164]
Double Sphere0.2190.268+0.049 [+0.036, +0.062]0.7170.625−0.092 [−0.141, −0.040]
Central spline0.1610.136−0.026 [−0.034, −0.017]0.4360.331−0.105 [−0.128, −0.084]
Sigma 14 mm, AprilGrid (141 test images, 40,744 dots)
Brown–Conrady0.4990.377−0.122 [−0.144, −0.099]2.071.78−0.289 [−0.360, −0.211]
OpenCV-140.4760.359−0.117 [−0.146, −0.092]2.161.74−0.419 [−0.543, −0.290]
Kannala–Brandt0.4560.351−0.105 [−0.125, −0.084]1.991.79−0.202 [−0.308, −0.122]
Double Sphere1.421.34−0.081 [−0.170, +0.000]5.134.42−0.707 [−1.171, −0.334]
Central spline0.4790.331−0.148 [−0.189, −0.114]2.451.76−0.691 [−0.895, −0.539]
Sigma 14 mm, Siemens stars (141 test images, 40,744 dots)
Brown–Conrady0.6870.359−0.328 [−0.375, −0.284]2.731.72−1.009 [−1.253, −0.790]
OpenCV-140.6000.384−0.217 [−0.270, −0.170]2.871.93−0.942 [−1.200, −0.703]
Kannala–Brandt0.5670.329−0.238 [−0.277, −0.199]2.371.75−0.620 [−0.813, −0.392]
Double Sphere0.7340.461−0.273 [−0.315, −0.232]2.421.94−0.484 [−0.708, −0.323]
Central spline0.5040.366−0.137 [−0.174, −0.104]2.351.97−0.375 [−0.560, −0.229]
Sigma 8 mm fisheye, AprilGrid (153 test images, 40,928 dots)
OpenCV-141.981.70−0.285 [−0.406, −0.177]9.155.68−3.472 [−3.825, −3.029]
Kannala–Brandt2.001.52−0.479 [−0.560, −0.395]6.805.43−1.371 [−1.564, −1.207]
Double Sphere2.091.49−0.600 [−0.671, −0.538]7.415.45−1.965 [−2.126, −1.842]
Central spline1.991.45−0.543 [−0.654, −0.433]7.585.51−2.076 [−2.491, −1.702]
Sigma 8 mm fisheye, Siemens stars (82 test images, 22,973 dots)
OpenCV-140.1230.079−0.044 [−0.065, −0.025]0.8180.440−0.378 [−0.584, −0.224]
Kannala–Brandt0.1130.063−0.050 [−0.066, −0.037]0.5900.254−0.336 [−0.437, −0.237]
Double Sphere0.1090.067−0.042 [−0.059, −0.029]0.5910.289−0.302 [−0.391, −0.238]
Central spline0.1210.100−0.020 [−0.039, −0.002]0.9960.538−0.458 [−0.717, −0.309]

Table A4. Median and 95th percentile of the reprojection error on the held-out target at the geometric start and after the radiometric refinement, with their difference Δ\Delta and its 95 % bootstrap interval. Bold: significantly lower than the start; italic: significantly higher.

ModelMean [px] Geom.Mean [px] Radiom.Mean [px] Δ\Delta [95 % interval]RMS [px] Geom.RMS [px] Radiom.RMS [px] Δ\Delta [95 % interval]
Tamron 20 mm, AprilGrid (142 test images, 40,999 dots)
Brown–Conrady0.1470.077−0.069-0.069 [−0.080-0.080, −0.059-0.059]0.1850.092−0.093-0.093 [−0.110-0.110, −0.081-0.081]
OpenCV-140.1440.070−0.075-0.075 [−0.090-0.090, −0.063-0.063]0.2010.083−0.118-0.118 [−0.145-0.145, −0.098-0.098]
Kannala–Brandt0.1590.124−0.034-0.034 [−0.052-0.052, −0.020-0.020]0.2140.149−0.065-0.065 [−0.092-0.092, −0.043-0.043]
Double Sphere0.4730.429−0.044-0.044 [−0.085-0.085, −0.007-0.007]0.8750.696−0.179-0.179 [−0.228-0.228, −0.128-0.128]
Central spline0.0510.055+0.003+0.003 [+0.001+0.001, +0.006+0.006]0.0670.065−0.002-0.002 [−0.007-0.007, +0.001+0.001]
Tamron 20 mm, Siemens stars (112 test images, 32,170 dots)
Brown–Conrady0.3500.151−0.199-0.199 [−0.225-0.225, −0.177-0.177]0.4300.176−0.253-0.253 [−0.282-0.282, −0.228-0.228]
OpenCV-140.3860.152−0.234-0.234 [−0.261-0.261, −0.209-0.209]0.4830.181−0.302-0.302 [−0.333-0.333, −0.273-0.273]
Kannala–Brandt0.2570.213−0.044-0.044 [−0.061-0.061, −0.028-0.028]0.3420.261−0.081-0.081 [−0.103-0.103, −0.060-0.060]
Double Sphere0.2790.296+0.017+0.017 [−0.001-0.001, +0.033+0.033]0.3580.344−0.013-0.013 [−0.036-0.036, +0.008+0.008]
Central spline0.1900.153−0.037-0.037 [−0.045-0.045, −0.029-0.029]0.2300.180−0.050-0.050 [−0.060-0.060, −0.041-0.041]
Sigma 14 mm, AprilGrid (141 test images, 40,744 dots)
Brown–Conrady0.7160.568−0.148-0.148 [−0.168-0.168, −0.128-0.128]0.9970.825−0.172-0.172 [−0.201-0.201, −0.146-0.146]
OpenCV-140.7120.544−0.168-0.168 [−0.198-0.198, −0.142-0.142]1.020.791−0.233-0.233 [−0.284-0.284, −0.191-0.191]
Kannala–Brandt0.6710.542−0.128-0.128 [−0.147-0.147, −0.110-0.110]0.9560.802−0.154-0.154 [−0.185-0.185, −0.126-0.126]
Double Sphere1.951.80−0.145-0.145 [−0.237-0.237, −0.061-0.061]2.882.59−0.298-0.298 [−0.387-0.387, −0.210-0.210]
Central spline0.7700.530−0.240-0.240 [−0.288-0.288, −0.199-0.199]1.220.797−0.428-0.428 [−0.525-0.525, −0.343-0.343]
Sigma 14 mm, Siemens stars (141 test images, 40,744 dots)
Brown–Conrady0.9680.546−0.422-0.422 [−0.485-0.485, −0.367-0.367]1.420.796−0.625-0.625 [−0.761-0.761, −0.512-0.512]
OpenCV-140.9420.598−0.344-0.344 [−0.405-0.405, −0.288-0.288]1.500.884−0.611-0.611 [−0.736-0.736, −0.503-0.503]
Kannala–Brandt0.8250.515−0.310-0.310 [−0.360-0.360, −0.263-0.263]1.230.767−0.459-0.459 [−0.570-0.570, −0.361-0.361]
Double Sphere0.9260.650−0.276-0.276 [−0.324-0.324, −0.235-0.235]1.170.905−0.262-0.262 [−0.333-0.333, −0.206-0.206]
Central spline0.7800.594−0.186-0.186 [−0.235-0.235, −0.148-0.148]1.200.901−0.301-0.301 [−0.403-0.403, −0.226-0.226]
Sigma 8 mm fisheye, AprilGrid (153 test images, 40,928 dots)
OpenCV-142.982.18−0.801-0.801 [−0.963-0.963, −0.651-0.651]4.142.80−1.336-1.336 [−1.536-1.536, −1.144-1.144]
Kannala–Brandt2.592.01−0.578-0.578 [−0.649-0.649, −0.506-0.506]3.332.65−0.682-0.682 [−0.750-0.750, −0.614-0.614]
Double Sphere2.751.99−0.763-0.763 [−0.830-0.830, −0.698-0.698]3.592.64−0.949-0.949 [−1.023-1.023, −0.878-0.878]
Central spline2.701.96−0.746-0.746 [−0.868-0.868, −0.638-0.638]3.692.63−1.059-1.059 [−1.306-1.306, −0.897-0.897]
Sigma 8 mm fisheye, Siemens stars (82 test images, 22,973 dots)
OpenCV-140.2800.164−0.115-0.115 [−0.188-0.188, −0.077-0.077]2.621.09−1.533-1.533 [−2.953-2.953, −0.132-0.132]
Kannala–Brandt0.1820.089−0.093-0.093 [−0.122-0.122, −0.070-0.070]0.2650.123−0.141-0.141 [−0.181-0.181, −0.107-0.107]
Double Sphere0.1810.098−0.083-0.083 [−0.109-0.109, −0.064-0.064]0.2650.151−0.114-0.114 [−0.148-0.148, −0.086-0.086]
Central spline0.2560.182−0.074-0.074 [−0.113-0.113, −0.042-0.042]0.4720.502+0.029+0.029 [−0.153-0.153, +0.342+0.342]

Table A5. Mean and RMS of the reprojection error, as Table A4.

References

  1. [1]Peter-Pike Sloan, Jan Kautz, and John Snyder. Precomputed radiance transfer for real-time rendering in dynamic, low-frequency lighting environments. In ACM SIGGRAPH, pages 527–536. ACM, 2002. 5
  2. [2]Derya Akkaynak and Tali Treibitz. A revised underwater image formation model. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pages 6723–6732, 2018. 1DOI
  3. [3]Derya Akkaynak and Tali Treibitz. Sea-thru: A method for removing water from underwater images. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), 2019. 1
  4. [4]Derya Akkaynak, Tali Treibitz, Tom Shlesinger, Yossi Loya, Raz Tamir, and David Iluz. What is the space of attenuation coefficients in underwater computer vision? In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pages 4931–4940, 2017. 1DOI
  5. [5]Ronen Basri and D.W. Jacobs. Lambertian reflectance and linear subspaces. IEEE Transactions on Pattern Analysis and Machine Intelligence, 25:218–233, 2003. 5
  6. [6]Johannes Beck and Christoph Stiller. Generalized b-spline camera model. In 2018 IEEE Intelligent Vehicles Symposium (IV), pages 2137–2142, 2018. 1DOI
  7. [7]F.L. Bookstein. Principal warps: thin-plate splines and the decomposition of deformations. IEEE Transactions on Pattern Analysis and Machine Intelligence, 11(6):567–585, 1989. 3, 5DOI
  8. [8]Ronald N. Bracewell. The fourier transform and its applications. 1966. 1
  9. [9]G. Bradski. The OpenCV Library. Dr. Dobb’s Journal of Software Tools, 2000. 6, 2, 7
  10. [10]Dean P. Brown. Decentering distortion of lenses. 1966. 1, 2, 6
  11. [11]Matthew Brown and David G. Lowe. Automatic panoramic image stitching using invariant features. International Journal of Computer Vision, 74(1):59–73, 2007. 2
  12. [12]Mitch Bryson, Matthew Johnson-Roberson, Oscar Pizarro, and Stefan B. Williams. True color correction of autonomous underwater vehicle imagery. Journal of Field Robotics, 33 (6):853–874, 2016.DOI
  13. [13]James Casey. On the derivation of jump conditions in continuum mechanics. International Journal of Structural Changes in Solids – Mechanics and Applications, (2). Dedicated to Professor K. R. Rajagopal with Warmth and Admiration. 5
  14. [14]A. E. Conrady. Decentred lens-systems. Monthly Notices of the Royal Astronomical Society, 79:384–390, 1919. 2DOI
  15. [15]R. L. Cook and K. E. Torrance. A reflectance model for computer graphics. ACM Trans. Graph., 1(1):7–24, 1982. 5, 6
  16. [16]Donald G. Danserau, Glenn Schuster, Joseph Ford, and Gordon Wetzstein. A wide-field-of-view monocentric light field camera. In 2017 IEEE Conference on Computer Vision and Pattern Recognition (CVPR), pages 3757–3766, 2017. 3, 8
  17. [17]Maryam Mohammadzadeh Darrodi, Graham Finlayson, Teresa Goodman, and Michal Mackiewicz. Reference data set for camera spectral sensitivity estimation. J. Opt. Soc. Am. A, 32(3):381–391, 2015. 1DOI
  18. [18]Frédéric Deriche and Olivier Faugeras. Straight lines have to be straight. Machine Vision and Applications, 13(1):14–24, 2001. 6DOI
  19. [19]Jonathan Dupuy and Anis Benyoub. Sampling visible ggx normals with spherical caps, 2023. 5, 6arxiv.org/abs/2306.05044
  20. [20]Bradley Efron. Better bootstrap confidence intervals. Journal of the American Statistical Association, 82(397):171–185, 1987. 9
  21. [21]Paul H. C. Eilers and Brian D. Marx. Flexible smoothing with B-splines and penalties. Statistical Science, 11(2):89–121, 1996. 5
  22. [22]Jakob Engel, Vladlen Koltun, and Daniel Cremers. Direct sparse odometry. IEEE Transactions on Pattern Analysis and Machine Intelligence, 40(3):611–625, 2018. 2, 3, 4
  23. [23]Graham D. Finlayson, Roshanak Zakizadeh, and Arjan Gijsenij. The reproduction angular error for evaluating the performance of illuminant estimation algorithms. IEEE Trans. Pattern Anal. Mach. Intell., 39(7):1482–1488, 2017. 1DOI
  24. [24]Harley Flanders. Differentiation under the integral sign. The American Mathematical Monthly, 80(6):615–627, 1973. 5DOI
  25. [25]Wolfgang Förstner and Eberhard Gülch. A fast operator for detection and precise location of distinct points, corners and centres of circular features. In Proc. ISPRS Intercommission Conference on Fast Processing of Photogrammetric Data, pages 281–305, Interlaken, 1987. 7
  26. [26]Paul Furgale, Joern Rehder, and Roland Siegwart. Unified temporal and spatial calibration for multi-sensor systems. In Proc. IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS), pages 1280–1286, 2013. 6, 7DOI
  27. [27]Sergio Garrido-Jurado, Rafael Muñoz-Salinas, Francisco J. Madrid-Cuevas, and Manuel J. Marín-Jiménez. Automatic generation and detection of highly reliable fiducial markers under occlusion. Pattern Recognition, 47(6):2280–2292, 2014. 7
  28. [28]Thomas Goossens, Bert Geelen, Andy Lambrechts, and Chris Van Hoof. Vignetted-aperture correction for spectral cameras with integrated thin-film fabry–perot filters. Applied Optics, 58(7):1789, 2019. 4
  29. [29]Morten Hannemose, Jakob Wilm, and Jeppe R. Frisvad. Superaccurate camera calibration via inverse rendering. In Modeling Aspects in Optical Metrology VII, page 40. SPIE, 2019. 1, 2, 3DOI
  30. [30]Eugene Hecht. Optik. De Gruyter Oldenbourg, Berlin, Boston, 2023. 2, 3
  31. [31]Eric Heitz. Understanding the masking-shadowing function in microfacet-based brdfs. Journal of Computer Graphics Techniques (JCGT), 3(2):48–107, 2014. 5, 6
  32. [32]Harro Heuser. Lehrbuch der Analysis. Vieweg+Teubner Verlag, Wiesbaden, 13 edition, 2004. 1
  33. [33]Wenzel Jakob, Sébastien Speierer, Nicolas Roussel, Merlin Nimier-David, Delio Vicini, Tizian Zeltner, Baptiste Nicolet, Miguel Crespo, Vincent Leroy, and Ziyi Zhang. Mitsuba 3 renderer. https://mitsuba-renderer.org, 2022. Version 3.1.1. 2
  34. [34]Jun Jiang, Dengyu Liu, Jinwei Gu, and Sabine Süsstrunk. What is the space of spectral sensitivity functions for digital color cameras? In 2013 IEEE Workshop on Applications of Computer Vision (WACV), pages 168–179, 2013. 1DOI
  35. [35]Sing Bing Kang and Richard Weiss. Can we calibrate a camera using an image of a flat, textureless Lambertian surface? In Proceedings of the European Conference on Computer Vision (ECCV), pages 640–653, 2000. 2, 3DOI
  36. [36]Juho Kannala and Sami Brandt. A generic camera calibration method for fish-eye lenses. In Proceedings of the Pattern Recognition, 17th International Conference on (ICPR’04) Volume 1 - Volume 01, page 10–13, USA, 2004. IEEE Computer Society. 1, 2, 6
  37. [37]Seon Joo Kim and Marc Pollefeys. Robust radiometric calibration and vignetting correction. IEEE Transactions on Pattern Analysis and Machine Intelligence, 30:562–576, 2008. 1, 2DOI
  38. [38]Rudolf Kingslake and R. Barry Johnson. Lens Design Fundamentals. Academic Press, Burlington, MA, 2 edition, 2010. 2, 3, 8
  39. [39]Craig Kolb, Don Mitchell, and Pat Hanrahan. A realistic camera model for computer graphics. In Proceedings of SIGGRAPH, pages 317–324, 1995. 2DOI
  40. [40]Tzu-Mao Li, Miika Aittala, Frédo Durand, and Jaakko Lehtinen. Differentiable monte carlo ray tracing through edge sampling. ACM Trans. Graph. (Proc. SIGGRAPH Asia), 37 (6):222:1–222:11, 2018. 4, 5DOI
  41. [41]Esther Y. H. Lin, Zhecheng Wang, Rebecca Lin, Daniel Miau, Florian Kainz, Jiawen Chen, Xuaner Zhang, David B. Lindell, and Kiriăkos N. Kutulakos. Learning lens blur fields. IEEE Transactions on Pattern Analysis and Machine Intelligence, 2025. 2, 3DOI
  42. [42]Li Ma, Xiaoyu Li, Jing Liao, Qi Zhang, Xuan Wang, Jue Wang, and Pedro V. Sander. Deblur-NeRF: Neural radiance fields from blurry images. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), 2022. 2arxiv.org/abs/2111.14292
  43. [43]Donald W. Marquardt. An algorithm for least-squares estimation of nonlinear parameters. Journal of the Society for Industrial and Applied Mathematics, 11(2):431–441, 1963. 5DOI
  44. [44]Ricardo Martin-Brualla, Noha Radwan, Mehdi S. M. Sajjadi, Jonathan T. Barron, Alexey Dosovitskiy, and Daniel Duckworth. NeRF in the wild: Neural radiance fields for unconstrained photo collections. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), 2021. 2
  45. [45]J. Montiel, Javier Civera, and Andrew Davison. Unified inverse depth parametrization for monocular slam. 2006. 3, 4DOI
  46. [46]David Nakath, Mengkun She, Yifan Song, and Kevin Köser. In-situ joint light and medium estimation for underwater color restoration. In Proceedings of the IEEE/CVF International Conference on Computer Vision Workshops (ICCVW), pages 3731–3740, 2021. 1DOI
  47. [48]Edwin Olson. AprilTag: A robust and flexible visual fiducial system. In Proc. IEEE International Conference on Robotics and Automation (ICRA), pages 3400–3407, 2011. 6DOI
  48. [49]Jaesik Park, Sudipta N. Sinha, Yasuyuki Matsushita, Yung-Tai, and In So Kweon. Calibrating a non-isotropic near point light source using a plane. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR), 2014. 1DOI
  49. [50]Matt Pharr, Wenzel Jakob, and Greg Humphreys. Physically based rendering: From theory to implementation. MIT Press, 2023. 2, 3, 5, 1, 4, 6
  50. [51]Les Piegl and Wayne Tiller. The NURBS Book. Springer Berlin Heidelberg, Berlin, Heidelberg, 2 edition, 1997. Published 14 November 1996; eBook published 06 December 2012. 4, 3
  51. [52]Ravi Ramamoorthi. Modeling Illumination Variation with Spherical Harmonics. 2006. 5
  52. [53]Ravi Ramamoorthi and Pat Hanrahan. An efficient representation for irradiance environment maps. In Proceedings of the 28th Annual Conference on Computer Graphics and Interactive Techniques, page 497–500, New York, NY, USA, 2001. Association for Computing Machinery. 5DOI
  53. [54]Joern Rehder, Janosch Nikolic, Thomas Schneider, and Roland Siegwart. A direct formulation for camera calibration. In IEEE International Conference on Robotics and Automation (ICRA), pages 6479–6486, 2017. 1, 2, 3DOI
  54. [55]Sandra Rosalen and Johannes Backhaus. Comparing quality attributes of coated cardboards for inkjet printing by using different methods. Journal of Print and Media Technology Research, 8(4):211–226, 2019. Professional communication. 4, 5
  55. [56]Hiroaki Santo, Michael Waechter, Masaki Samejima, Yusuke Sugano, and Yasuyuki Matsushita. Light structure from pin motion: Simple and accurate point light calibration for physics-based modeling. In Proceedings of the European Conference on Computer Vision (ECCV), 2018. 1DOI
  56. [57]Thomas Schoeps, Viktor Larsson, Marc Pollefeys, and Torsten Sattler. Why having 10,000 parameters in your camera model is better than twelve, 2019. 1, 6, 7, 3
  57. [58]Johannes L. Schönberger and Jan-Michael Frahm. Structure-from-motion revisited. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR), pages 4104–4113, 2016. 1DOI
  58. [59]Katherine A. Skinner, Eduardo Iscar, and Matthew Johnson-Roberson. Automatic color correction for 3d reconstruction of underwater scenes. In IEEE International Conference on Robotics and Automation (ICRA), pages 5140–5147, 2017. 1DOI
  59. [60]Joan Solà, Jeremie Deray, and Dinesh Atchuthan. A microlie theory for state estimation in robotics, 2021. 6
  60. [61]Huixuan Tang and Kiriakos N. Kutulakos. What does an aberrated photo tell us about the lens and the scene? In IEEE International Conference on Computational Photography (ICCP), pages 1–10, 2013. 2DOI
  61. [62]Thorlabs. R3L3S7N1 negative grid distortion target, 90 mm x 90 mm, 5000 μm spacing. https://www.thorlabs. com/thorproduct.cfm?partnumber=R3L3S7N1. Manufacturer’s drawing R3L3S7N1, 15 Nov 2024. 6, 7
  62. [63]Mikko E Toivonen and Arto Klami. Practical camera sensor spectral response and uncertainty estimation. Journal of Imaging, 6(8):79, 2020. 1DOI
  63. [64]Vladyslav Usenko, Nikolaus Demmel, and Daniel Cremers. The double sphere camera model. In 2018 International Conference on 3D Vision (3DV), page 552–560. IEEE, 2018. 1, 2, 6DOI
  64. [65]Eric Veach. Robust Monte Carlo Methods for Light Transport Simulation. PhD thesis, Stanford University, Stanford, CA, USA, 1997. Ph.D. dissertation, Department of Computer Science. 1
  65. [66]Marco Visentini-Scarzanella and Hiroshi Kawasaki. Simultaneous camera, light position and radiant intensity distribution calibration. In Pacific-Rim Symposium on Image and Video Technology (PSIVT), 2015. 1
  66. [67]Bruce Walter, Stephen Marschner, Hongsong Li, and Kenneth Torrance. Microfacet models for refraction through rough surfaces. pages 195–206, 2007. 5DOI
  67. [68]Greg Ward and Elena Eydelberg-Vilshin. Picture perfect rgb rendering using spectral prefiltering and sharp color primaries. In Proceedings of the 13th Eurographics Workshop on Rendering, page 117–124, Goslar, DEU, 2002. Eurographics Association. 1DOI
  68. [69]Martin Weber and Roberto Cipolla. A practical method for estimation of point light-sources. In Proceedings of the British Machine Vision Conference (BMVC), pages 49.1–49.10, 2001. 1
  69. [70]Wenqi Xian, Aljaž Božić, Noah Snavely, and Christoph Lassner. Neural lens modeling. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), 2023. 2arxiv.org/abs/2304.04848
  70. [71]Cheng Zhang, Bailey Miller, Kai Yan, Ioannis Gkioulekas, and Shuang Zhao. Path-space differentiable rendering. ACM Trans. Graph., 39(4):143:1–143:19, 2020. 2, 4, 5DOI
  71. [72]Zhengyou Zhang. A flexible technique for camera calibration. IEEE Transactions on Pattern Analysis and Machine Intelligence, 22(11):1330–1334, 2000. 7
  72. [73]Ziyi Zhang, Nicolas Roussel, and Wenzel Jakob. Projective view sampling for differentiable rendering of geometry. ACM Trans. Graph., 42(6), 2023. 4, 5DOI
  73. [74]Yuanjie Zheng, S. Lin, C. Kambhamettu, Jingyi Yu, and Sing Bing Kang. Single-image vignetting correction. IEEE Transactions on Pattern Analysis and Machine Intelligence, 31:2243–2256, 2009. 2

Paper details

vlnc:W_wug9u7p8
Published
Fresh — added to the Hub within the last 30 days
Added
License
CC BY 4.0
Usage

views · 0

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

  • Computer Science

Not recorded for this paper

View statement
Looking for related papers…
Contents