Theory of Eye Refraction Simulator

1. Overview

This paper describes the theory by which the Eye Refraction Simulator calculates and displays the retinal image of an image viewed by an eye with myopia, hyperopia, astigmatism or presbyopia. It explains in order how the focus error on the retina is obtained from the refractive power and accommodation (§2 to §4), the size of the blur and the pupil (§5), how images with depth are drawn (§6), the point spread function (PSF) and longitudinal chromatic aberration (§7), the handling of camera video (§8), and the handling of depth and exposure in photos (§9). The sources of the values and constants of the equations are shown one by one in the tables of §11, distinguishing those confirmed in papers or standards from those set as rough guides because no literature was found.

This app cannot be used for diagnosis, treatment or vision tests (§10).

Key point: it defines the equations for computing, on an image, the retinal image of an eye with the refractive values the user specifies, looking at a given distance.

1-1. Premises

The following premises apply throughout this paper.

  1. 1. Eye optics: the PSF of the pupil, diffraction, aberrations and longitudinal chromatic aberration uses the same calculation as the theory of the Eye Age Simulator [12]. This paper describes the part of it in which the refractive error (focus error) and astigmatism are set from the user's values.
  1. 2. What is not included: yellowing of the lens and light scattering (including cataract) are not included.
  1. 3. Refractive values: the notation of ophthalmology (myopia is negative, hyperopia is positive, cylinder in minus form) (§2-2).
  1. 4. Color and wavelength: the PSF is calculated for each of three representative wavelengths of R, G and B (610610, 550550 and 465465 nm) (§7).
  1. 5. Images: an image with a depth map is drawn split into distance layers (§6). An image without depth is treated as if the whole screen were objects at the viewing distance.
  1. 6. The viewer's eye: the values the user specifies are taken as the values of the eye viewing the image on the screen. The amplitude of accommodation starts from the mean for the age, and the user can change it (§3-3).

1-2. Notation

Table 1: symbols used in this paper, and how they appear on the screen of the app. "In the app" gives the name on the screen (the wording of shared/strings/refractionsimulator.tsv; for the research settings, the wording of the item table in shared) and where it is. A value that is not on the screen is written as "internal value".

SymbolMeaningIn the appSection
dd, VVDistance of an object (m), its vergence 1/d1/d (D, diopters)"Distance" (the ruler in the lower row; the value is shown in cm and m; the vergence is an internal value)§2
VfixV_{\mathrm{fix}}, VfV_fVergence of the viewing distance, vergence at which the eye actually focusesThe two handles of the "Distance" ruler (the ruler is VfixV_{\mathrm{fix}}, the eye handle is VfV_f)§3
SSPrescription sphere"Sphere" (1st of the four in the lower row; balloon title "Sphere (PWR)")§2
CCPrescription cylinder"Cylinder" (2nd of the four; balloon title "Cylinder (CYL)")§2
AxA_xPrescription axis (°)"Axis" (3rd of the four; balloon title "Axis (AXIS)")§2
MM, J0J_0, J45J_{45}Spherical equivalent, the two astigmatism components (power vector)Internal value§2
F(θ)F(\theta)Refractive power of the meridian θ\thetaInternal value§2, §4
δ\deltaDistance to the spectacle plane (m)"Distance to spectacle plane" (Settings; only when "Refraction reference position" is "Spectacle plane")§2
aaAmount of accommodation (D)Internal value§3
AAAmplitude of accommodation (the range from no accommodation (00 D) to the thickest lens; D)"Accom." (4th of the four in the lower row)§3
AgeAge (years)"Age" (Research settings)§3, §5
ReffR_{\mathrm{eff}}Remaining refractive error (focus error on the retina, D)Internal value§3
pp, DDPupil diameter (m, mm)"Pupil diameter (0 = from brightness)" (Research settings), "Dark pupil" (Settings); "Pupil {0} mm" in the name of a panel§5
β\betaAngular diameter of the blur circle (rad)Internal value§5
LLBrightness of the image (cd/m²)An internal value decided from "White luminance of the image" (Research settings) and the mean brightness of the image§5
Ω\OmegaArea of the field (deg²)An internal value decided from "Horizontal field of view" (Research settings)§5
VkV_k, mkm_k, AkA_k, CkC_kVergence of layer kk, weight of a pixel in the layer, coverage of the layer, color of the layerInternal value§6
WW, c0c_0, c1c_1, c2c_2Optical path difference (OPD) on the pupil, its coefficientsInternal value§7
λ\lambdaWavelength (nm)"Chromatic aberration" (Research settings; on/off) decides the calculation for the three wavelengths. The wavelength is an internal value§7
DcD_c, VcamV_{\mathrm{cam}}Entrance pupil diameter of the camera, vergence of the camera focusInternal value (obtained from the EXIF of the photo)§8, §9
σe\sigma_e, σc\sigma_c, kkEye blur, blur from the shot, scale factor of the HDR brightnessInternal value§9

Key point: the following equations express distance in m, refractive power and vergence in D, and angle in rad (degrees and arcminutes in the figures).

1-3. Flow of the processing

Figure 1: the flow of the processing
Figure 1: the flow of the processing. The left column is the flow of the eye's values (user values → refraction → accommodation → remaining error → pupil and PSF), and the right column is the flow of the image (depth map → distance layers → blur each layer and composite). The remaining error Reff(V)R_{\mathrm{eff}}(V) connects the two flows.
  1. 1. From the user's values (sphere, cylinder, axis, amplitude of accommodation, viewing distance), the refraction of the eye and the accommodation are determined (§2, §3).
  1. 2. For each distance of the objects in the image (the depth map; if there is none, the viewing distance for the whole screen), the remaining refractive error is obtained (§3).
  1. 3. From the remaining error, astigmatism, pupil and longitudinal chromatic aberration, the point spread function (PSF) is made (§5, §7).
  1. 4. An image with depth is blurred with the PSF for each distance layer and composited (§6). The handling of depth and exposure in photos is described in §9.
  1. 5. The result is converted back to screen color and displayed (the same as the Eye Age Simulator [12]; the transfer function of sRGB is [23]).

Key point: the eye's values are collected into "the focus error per distance", and a PSF is made for each error to blur the image.

1-4. Structure of the eye and the parts the parameters correspond to

Figure 2: horizontal section of the eyeball (schematic; the dimensions are rough guides based on a model eye [15][16], the same as the figure in the theory of the Eye Age Simulator [12])
Figure 2: horizontal section of the eyeball (schematic; the dimensions are rough guides based on a model eye [15][16], the same as the figure in the theory of the Eye Age Simulator [12]). It shows the cornea, iris and pupil, lens, ciliary body, retina and fovea, and the names of the parameters of this app that correspond to each part are shown with leader lines. Sphere SS, cylinder CC and axis AxA_x correspond to the refractive power of the cornea and lens, the pupil diameter DD to the opening of the iris, accommodation aa and amplitude AA to the lens and ciliary body, and the remaining error ReffR_{\mathrm{eff}} to the amount by which the image falls in front of or behind the retina.

The values of this app correspond to three parts: the refractive power of the eye (sphere, cylinder, axis; §2, Figure 3, Figure 4, Figure 5), the accommodation of the lens (amplitude; §3, Figure 6) and the pupil (§5, Figure 7). The remaining error ReffR_{\mathrm{eff}} expresses the result as the focus error of the image on the retina.

Figure 3: where the image of a far point forms in myopia, emmetropia and hyperopia (with no accommodation)
Figure 3: where the image of a far point forms in myopia, emmetropia and hyperopia (with no accommodation). In myopia (sphere S<0S<0) the image forms in front of the retina, and spreads into a circle (the blur circle) on the retina. In hyperopia (S>0S>0) the image forms behind the retina, and is again a circle on the retina. In emmetropia (S=0S=0) it forms on the retina. The sign of the spherical equivalent M=S+C/2M = S + C/2 (equation (2)) decides whether the image forms in front or behind.
Figure 4: what the astigmatism parameters show on the eye (the right eye seen from the front, as seen by the examiner)
Figure 4: what the astigmatism parameters show on the eye (the right eye seen from the front, as seen by the examiner). The surface of the cornea curves differently by direction, like the surface of a rugby ball. The meridian in the steeply curved direction is the strong meridian (power S+CS + C) and the meridian in the flat direction is the weak meridian (power SS); these two are the principal meridians. The axis AxA_x is the angle of the direction of the weak meridian, read on the TABO scale (0∘0^\circ at the right, counterclockwise, 0∘0^\circ to 180∘180^\circ). The cylinder CC is the difference (S+C)−S(S + C) - S between the powers of the two meridians. The example is S −2.00-2.00, C −2.00-2.00, axis 45∘45^\circ, giving −2.00-2.00 D for the weak meridian and −4.00-4.00 D for the strong meridian.
Figure 5: the two focal lines of astigmatism and the axis
Figure 5: the two focal lines of astigmatism and the axis. The two meridians (the meridian along the axis AxA_x has the sphere power SS, the perpendicular one S+CS+C) have different refractive power, so the image does not form at one point but at two focal lines (focal line 1 and focal line 2), with a circle of least confusion between them. The right shows cross-sections in order from the plane nearest the lens, with the shapes of focal line 1, the circle of least confusion and focal line 2. The cylinder CC determines the spacing of the two focal lines and the axis AxA_x their direction; J0J_0 and J45J_{45} are the components of CC and AxA_x (equation (2)).
Figure 6: accommodation
Figure 6: accommodation. The left is looking far (amount of accommodation a=0a=0): the ciliary muscle is relaxed, the zonules are taut, the lens is thin, and parallel light is focused on the retina. The middle is a young eye looking near: the ciliary muscle contracts, the zonules slacken, the lens gets thicker and its power increases, and the image of the near object forms on the retina (needed a≤Aa \le A). The right is a presbyopic eye looking near: for the same near object the lens cannot thicken and stays thin, the image forms behind the retina, and on the retina it is a blur circle (needed a>Aa > A). The bar under each panel uses the same scale (00 to 1010 D) for all three, and shows the needed aa (the mark above) and the amplitude AA (the range from the thin lens at 00 D to the thickest lens; the double arrow). In the presbyopic eye this range is short. The amount of accommodation aa is determined within the range from 00 to the amplitude AA (equation (5)).
Figure 7: pupil diameter D and the size of the blur circle
Figure 7: pupil diameter DD and the size of the blur circle. The image of an out-of-focus point forms behind the retina, so it is a circle on the retina. The diameter β\beta of the blur circle is proportional to the pupil diameter pp (equation (9)), and the larger the pupil, the larger the blur.

Key point: the values of this app correspond to the refractive power of the eye, the accommodation of the lens and the pupil, and their error becomes the size of the blur circle on the retina.

2. Refraction and Diopters

2-1. Diopters

If the distance of an object is dd (m), the spread of the light (vergence) entering the eye from it is

V=1d(1)V = \frac{1}{d} \tag{1}

Far (infinity) is 00 D, 11 m is 11 D, 5050 cm is 22 D, and 2525 cm is 44 D. Differences in distance, expressed as differences in D, are proportional to the size of the blur (§5). The vergence is the standard definition of geometrical optics, an equation that does not depend on the literature.

Figure 8: correspondence between the distance d and the vergence V
Figure 8: correspondence between the distance dd and the vergence VV. Far distances crowd into the left end of the D scale, and the nearer the distance, the farther apart they are on the D scale.

Key point: the blur is calculated not in distance but in vergence (D).

2-2. Notation of refraction

The values inside the app use the ophthalmic notation of refraction. From the prescription sphere SS ("Sphere" on the screen), cylinder CC ("Cylinder") and axis AxA_x ("Axis"), they are converted into a power vector (Thibos et al. [1]).

M=S+C2,J0=−C2cos⁡2Ax,J45=−C2sin⁡2Ax(2)M = S + \frac{C}{2},\qquad J_0 = -\frac{C}{2}\cos 2A_x,\qquad J_{45} = -\frac{C}{2}\sin 2A_x \tag{2}

The refractive power of the meridian θ\theta is [1]

F(θ)=M+J0cos⁡2θ+J45sin⁡2θ(3)F(\theta) = M + J_0\cos 2\theta + J_{45}\sin 2\theta \tag{3}

A value written with a plus cylinder gives the same eye when rewritten as S′=S+CS' = S + C, C′=−CC' = -C, Ax′=Ax+90∘A_x' = A_x + 90^\circ.

Key point: the three values of sphere, cylinder and axis are converted into the spherical equivalent MM and the two astigmatism components J0J_0 and J45J_{45} for the calculation.

2-3. Spectacle plane and eye surface

Spectacles are at a distance from the eye (default 1212 mm), so for the same eye the power of the spectacles differs from the power of a contact lens (at the eye surface). When "Spectacle plane" is selected for "Refraction reference position" in the Settings, the two principal meridians F1=SF_1 = S and F2=S+CF_2 = S + C are converted into the power at the eye surface by the following equation and used for the calculation (the vertex-distance correction of a thin lens; a general optical equation [20]).

Feye=F1−δF(4)F_{\mathrm{eye}} = \frac{F}{1 - \delta F} \tag{4}

δ\delta is the distance to the spectacle plane (m; "Distance to spectacle plane" in the Settings). The stronger the power, the larger the difference (spectacles of −10.00-10.00 D are about −8.93-8.93 D at the eye surface).

Key point: when the spectacle plane is selected, the power is converted into the value at the eye surface.

3. Accommodation and Presbyopia

3-1. Accommodation

A young eye changes the shape of the lens to focus on near objects (accommodation; Figure 6). The amplitude of accommodation AA (D; "Accom." on the screen) is the range over which the eye can accommodate, from no accommodation (00 D, the lens is thinnest) to the thickest lens. The amount of accommodation aa (D) tries to match the viewing distance VfixV_{\mathrm{fix}} (the "Distance" ruler in the lower row of the screen) and is determined within the range that does not exceed the amplitude of accommodation AA.

a=min⁡(max⁡(M+Vfix, 0), A)(5)a = \min\bigl(\max(M + V_{\mathrm{fix}},\,0),\,A\bigr) \tag{5}
  • A hyperopic eye (M>0M > 0) accommodates by MM even when looking far.
  • A myopic eye (M<0M < 0) does not accommodate beyond its far point (vergence −M-M) (accommodating does not bring far objects into focus).

The vergence VfV_f at which the eye actually focuses is

Vf=a−M(6)V_f = a - M \tag{6}

When the eye can match the viewing distance, Vf=VfixV_f = V_{\mathrm{fix}}. When the amplitude is insufficient (presbyopia, hyperopia), VfV_f is farther than VfixV_{\mathrm{fix}}, and when a myopic eye looks beyond its far point, VfV_f is the far point −M-M. In the two-handled distance slider, the ruler handle is VfixV_{\mathrm{fix}}, the eye handle is VfV_f, and the band between them is the difference.

Key point: accommodation tries to match the viewing distance but stops within the amplitude.

3-2. Remaining refractive error

The focus error on the retina (remaining refractive power) of an object at vergence VV is

Reff(V)=M+V−a(7)R_{\mathrm{eff}}(V) = M + V - a \tag{7}

Negative is blur on the myopic side (focus in front of the retina; Figure 3), and positive is blur on the hyperopic side (behind the retina). The object being looked at (V=VfixV = V_{\mathrm{fix}}) is 00 if the accommodation is sufficient.

Figure 9: the left graph shows the amount of accommodation a against the viewing distance V_{\mathrm{fix}} (equation (5)) for an emmetrope (amplitude 9.5 D), myopia -2.00 D, hyperopia +2.00 D and presbyopia (amplitude 0 D)
Figure 9: the left graph shows the amount of accommodation aa against the viewing distance VfixV_{\mathrm{fix}} (equation (5)) for an emmetrope (amplitude 9.59.5 D), myopia −2.00-2.00 D, hyperopia +2.00+2.00 D and presbyopia (amplitude 00 D). The right graph shows the remaining error ReffR_{\mathrm{eff}} against the object vergence VV (equation (7)). A −2.00-2.00 D myope looking far has the far (0 D) off by −2.00-2.00 D and blurred, while an object at hand (22 D) is sharp at 00. An emmetrope with amplitude 00 looking at a book (2.52.5 D) has the book off by +2.5+2.5 D and blurred, while the far is sharp at 00.

Key point: the remaining error Reff(V)R_{\mathrm{eff}}(V) of each object becomes the focus error of the PSF as it is.

3-3. Amplitude of accommodation and age

The mean amplitude of accommodation decreases with age. This app uses Hofstetter's mean formula [3][21].

A=max⁡(0,  18.5−0.3×age)(8)A = \max\bigl(0,\; 18.5 - 0.3\times\text{age}\bigr) \tag{8}

The initial value of 9.59.5 D is the mean at age 3030 (the age is "Age" in the Research settings). The user can change the amplitude within 00 to 1515 D.

Figure 10: relation between age and amplitude of accommodation (equation (8)): 9.5 D at age 30 and 0 D from 61.7 onward
Figure 10: relation between age and amplitude of accommodation (equation (8)): 9.59.5 D at age 3030 and 00 D from 61.761.7 onward. An eye whose amplitude has become smaller than the needed amount of accommodation is a presbyopic eye, and cannot focus on near objects (the right of Figure 6).

Key point: the amplitude starts from the mean determined by age, and the user can change it freely.

3-4. When all four are off

With sphere and cylinder off, they are calculated as 00 D, and with amplitude off, as the maximum of the range (1515 D). All four off is an emmetropic young eye with sufficient accommodation. The object at the viewing distance is always sharp, and in images with depth only objects away from the viewing distance are blurred by their difference in D.

Key point: all four off is the reference eye (emmetropic, sufficient accommodation).

4. Astigmatism

4-1. Cylinder and axis

Astigmatism is an eye whose refractive power differs with the meridian (direction). The meridian along the axis AxA_x of a minus cylinder has the sphere power, and the perpendicular meridian has sphere + cylinder (equation (3)). The surface of the cornea curves differently by direction (Figure 4), the blur has a direction, and a point spreads into a line (or an ellipse) (Figure 5).

Figure 11: the left graph shows the refractive power F(\theta) per meridian (equation (3)) of an eye with S -2.00, C -2.00, axis 45^\circ
Figure 11: the left graph shows the refractive power F(θ)F(\theta) per meridian (equation (3)) of an eye with S −2.00-2.00, C −2.00-2.00, axis 45∘45^\circ. The meridian of the axis (θ=45∘\theta = 45^\circ) is −2.00-2.00 D (the sphere power) and the perpendicular meridian is −4.00-4.00 D (sphere + cylinder). The right shows the direction of the axis 45∘45^\circ (falling to the right on the screen) and the blurred line.

Key point: astigmatism is expressed by the difference in refractive power between meridians, and that difference spreads a point into a line.

4-2. Direction of the axis

The angle of the axis is in the TABO notation (ISO 8429 [2]). The examiner faces the patient, 0∘0^\circ is to the right, counterclockwise, and the scale is the same for the right and left eyes. The direction the patient looks outward is reversed left and right, so on the screen the angle is "0∘0^\circ at the right, clockwise". A minus cylinder blurs lines parallel to the axis, so the axis 45∘45^\circ blurs lines falling to the right "\", the axis 135∘135^\circ lines rising to the right "/", the axis 180∘180^\circ horizontal lines, and the axis 90∘90^\circ vertical lines.

Key point: the direction of the axis is in TABO notation, and the rotation of the scale is reversed on the screen.

4-3. Double image of astigmatism (not reproduced)

People with astigmatism sometimes say that "things look double". The point image of a focus error with regular astigmatism alone only spreads into a line and does not split into two. Seeing double occurs when higher-order aberrations such as spherical aberration are combined with the focus error (Woods et al. [7]; the mean spherical aberration of normal eyes is positive [18]), when an ordinary refractive error is induced (Coffeen and Guyton [19]), or with irregular astigmatism (keratoconus), disturbance of the tear film, and so on. This app does not show this appearance (§10).

Key point: seeing double is caused by higher-order aberrations and the like, and this app does not handle it.

5. Size of the Blur

5-1. Pupil and focus error in D

In geometrical optics, the angular diameter β\beta of the blur circle is the product of the pupil diameter pp (m) and the focus error ΔD\Delta D (D).

β=p ∣ΔD∣(rad)(9)\beta = p\,\lvert\Delta D\rvert\quad(\mathrm{rad}) \tag{9}

The larger the pupil diameter, the larger the blur circle (Figure 7). This equation is the geometrical-optics approximation, for small errors, that the angular size of the blur circle is about the product of the pupil diameter and the defocus [22]. With a 33 mm pupil, a 11 D error gives 33 mrad (about 10′10'), and a 66 mm pupil gives twice that. Even for the same refractive error, the blur is larger in the dark (larger pupil) and smaller in bright light.

5-2. Pupil

The pupil diameter is determined from the brightness of the image (white luminance of the scene × mean brightness of the image) LL (cd/m²), the area of the field Ω\Omega (deg²) and the age, by the unified formula of Watson and Yellott [4] (the white luminance is "White luminance of the image" in the Research settings and the field is "Horizontal field of view"; the pupil can be fixed with "Pupil diameter (0 = from brightness)" in the Research settings) (the same as the Eye Age Simulator [12]). With adaptation of both eyes, Fph=L ΩF_{\mathrm{ph}} = L\,\Omega.

DSD=7.75−5.75 ff+2,f=(Fph846)0.41(10)D_{\mathrm{SD}} = 7.75 - 5.75\,\frac{f}{f+2},\qquad f = \Bigl(\frac{F_{\mathrm{ph}}}{846}\Bigr)^{0.41} \tag{10}
D=clamp[2, 8](DSD+(age−28.58) (0.02132−0.009562 DSD)) mm(11)D = \mathrm{clamp}_{[2,\,8]}\Bigl(D_{\mathrm{SD}} + (\text{age} - 28.58)\,(0.02132 - 0.009562\,D_{\mathrm{SD}})\Bigr)\ \mathrm{mm} \tag{11}

The pupil diameter is limited to the range of 22 to 88 mm [12][16]. The brightness is taken as the mean over the whole image, so the width of the field is also taken as the angle of view of the whole image. Turning on "Dark pupil" in the Settings fixes the pupil at its size in the dark (77 mm). This 77 mm is a rough guide set by this app (§11).

Figure 12: the left graph shows the pupil diameter against the brightness of the image (equation (11); field of 50^\circ, aspect ratio 0.6) for ages 20, 45 and 65
Figure 12: the left graph shows the pupil diameter against the brightness of the image (equation (11); field of 50∘50^\circ, aspect ratio 0.60.6) for ages 2020, 4545 and 6565. The right graph shows the angular diameter β\beta of the blur (equation (9)) against the focus error ΔD\Delta D for pupils of 22, 33 and 66 mm.

Key point: the darker it is, the larger the pupil, and the larger the blur for the same focus error.

5-3. Visible angle of view

The size of the blur on the screen (pixels) is the angle of the blur divided by "the angle subtended by one pixel of the screen". The angle of one pixel is obtained by dividing the angle subtended by the range of the image actually visible in the screen (tile) by the width of the tile in pixels. When the image is laid out to fill the tile and the left and right are cut off (such as viewing a landscape photo on a portrait phone), the visible angle is narrower than the full width of the image. The angle is obtained with the same projection as a camera lens (tan⁡\tan from the center direction), and includes zoom, pan and rotation. Zooming in makes the angle of one pixel smaller, so the blur becomes larger on the screen.

Key point: the angle of the blur is converted by the angle of one screen pixel into a size in pixels.

6. Drawing the Depth Layers

6-1. Layers

An image with depth has a map of the vergence VV (D) for each pixel. VV is divided into intervals of 0.250.25 D, and intervals containing 0.1 %0.1\,\% or more of the pixels become layers (these two values are rough guides; §11). Each pixel is distributed linearly between the two adjacent layers according to the position of VV. If the center of layer kk is VkV_k and the center of the next nearer layer is Vk+1V_{k+1}, the weight of a pixel with Vk≤V≤Vk+1V_k \le V \le V_{k+1} in layer kk is

mk=1−V−VkVk+1−Vk(12)m_k = 1 - \frac{V - V_k}{V_{k+1} - V_k} \tag{12}

No steps appear at the boundaries of the layers.

Figure 13: the weight m_k of each layer (equation (12)) with the layer centers at 0.5, 1.0, 1.5 and 2.0 D
Figure 13: the weight mkm_k of each layer (equation (12)) with the layer centers at 0.50.5, 1.01.0, 1.51.5 and 2.02.0 D. A pixel is distributed linearly between the two adjacent layers according to its VV.

Key point: pixels are distributed linearly between two layers, so no steps of blur appear at layer boundaries.

6-2. PSF per layer and compositing

For each layer, a PSF is made with the remaining error Reff(Vk)R_{\mathrm{eff}}(V_k) at the layer's VkV_k, and the pixels of the layer (color and coverage) are blurred. From the back layer to the front layer, they are composited by the following equation, hiding the back with the coverage of the front layer.

outk=Ck+(1−Ak) outk−1(13)\mathrm{out}_k = C_k + (1 - A_k)\,\mathrm{out}_{k-1} \tag{13}

CkC_k is the blurred color of layer kk, and AkA_k is the blurred coverage of layer kk (how far a nearer object exists). The coverage is also blurred with the PSF of each color, so the back can be seen through the edge of a blurred front object. The back parts hidden by front objects are filled with nearby back colors (because a single image has no information about hidden parts).

Key point: compositing back to front by coverage lets the back show through the edge of a blurred front object.

6-3. Viewing distance

Pressing an object on the screen makes the median of VV around that point (a window of 1.5 %1.5\,\% of the short side) the viewing distance (even pressing the edge of an object does not give the mean of front and back). The near end of the viewing-distance slider is determined by the type of the image. For images without depth and "photo" images it is 1010 cm; for images with depth, the distance of the nearest object in that image; for the camera, the nearest distance that camera can focus on (the OS value). The window size and 1010 cm are rough guides set by this app (§11).

Key point: the viewing distance is determined by the median of the depth around the pressed point.

7. PSF and Chromatic Aberration

7-1. PSF

The optical path difference (OPD) W(x,y)W(x,y) on the pupil is made from the focus error (ReffR_{\mathrm{eff}}), astigmatism (J0J_0, J45J_{45}), spherical aberration and longitudinal chromatic aberration [12]. The terms for focus error and astigmatism are as follows (xx and yy are coordinates on the pupil (m), and cc is in D).

W(x,y)=c0 (x2+y2)+c1 (x2−y2)+c2 (2xy),c0=−Reff2, c1=−J02, c2=−J452(14)W(x,y) = c_0\,(x^2 + y^2) + c_1\,(x^2 - y^2) + c_2\,(2xy),\quad c_0 = -\frac{R_{\mathrm{eff}}}{2},\ c_1 = -\frac{J_0}{2},\ c_2 = -\frac{J_{45}}{2} \tag{14}

The PSF is obtained as the intensity of the Fourier transform of the pupil function a(x,y) e i 2πW/λa(x,y)\,e^{\,i\,2\pi W/\lambda} (including diffraction). The amplitude a(x,y)a(x,y) includes the Stiles–Crawford effect (light through the center of the pupil is perceived more strongly; ρ=0.05\rho = 0.05 mm⁻² [17]). When the blur is large, the calculation grid is made coarser to keep the same shape.

PSF(u,v)=∣ F[a(x,y) e i 2πW(x,y)/λ]∣2(15)\mathrm{PSF}(u,v) = \Bigl|\,\mathcal{F}\bigl[a(x,y)\,e^{\,i\,2\pi W(x,y)/\lambda}\bigr]\Bigr|^2 \tag{15}
Figure 14: the PSF of an emmetropic eye (pupil 3 mm)
Figure 14: the PSF of an emmetropic eye (pupil 33 mm). The four panels with remaining error Reff=0R_{\mathrm{eff}} = 0, 0.50.5, 11 and 22 D are shown, composited from the three wavelengths R, G and B (window width ±20′\pm 20', each panel normalized to its maximum). At Reff=0R_{\mathrm{eff}} = 0 it is a small diffraction spot; the larger the error, the wider the disc, and diffraction rings can be seen. The color fringes come from longitudinal chromatic aberration (§7-2).
Figure 15: the PSF of astigmatism (C -1.50, axis 180^\circ, eye with no accommodation, pupil 3 mm; c_1 of equation (14) acts)
Figure 15: the PSF of astigmatism (C −1.50-1.50, axis 180∘180^\circ, eye with no accommodation, pupil 33 mm; c1c_1 of equation (14) acts). The point becomes a vertically elongated line. Because it is elongated vertically, horizontal lines are blurred (§4-2).

Key point: the larger the focus error, the wider the disc of the PSF, and astigmatism stretches the PSF into a line.

7-2. Longitudinal chromatic aberration

The eye focuses at different positions for different colors (longitudinal chromatic aberration; it can be switched on and off with "Chromatic aberration" in the Research settings). Blue light focuses in front of red light, with a difference of about 2.12.1 D over the visible range (400400 to 700700 nm). The equation has the form of Thibos et al. [5], and its coefficients were confirmed in the text of Marimont and Wandell [6]. The reference wavelength is 550550 nm, and only the difference is used.

ΔD(λ)=633.46λ−214.10−633.46550−214.10(D, λ in nm)(16)\Delta D(\lambda) = \frac{633.46}{\lambda - 214.10} - \frac{633.46}{550 - 214.10}\quad(\mathrm{D},\ \lambda\ \text{in nm}) \tag{16}

This app makes a PSF for each of three wavelengths, red, green and blue (610610, 550550 and 465465 nm). Because of this, color fringes are shown at the edges of out-of-focus objects.

Figure 16: longitudinal chromatic aberration \Delta D(\lambda) (equation (16))
Figure 16: longitudinal chromatic aberration ΔD(λ)\Delta D(\lambda) (equation (16)). With 550550 nm as the reference (00), blue (465465 nm) is +0.64+0.64 D and red (610610 nm) is −0.29-0.29 D. Shorter wavelengths are on the myopic side, and the PSF is calculated with the focus shifted by this amount for each wavelength.

Key point: the focus error differs among the three wavelengths, so color fringes appear at blurred edges.

8. Camera Video

8-1. How the viewing distance is obtained

The camera video is treated as if the whole screen were objects at the viewing distance VfixV_{\mathrm{fix}} (because there is no depth data).

  • When the camera is pointed elsewhere, the screen is pressed, or the ruler is moved: first the camera focuses on that distance, and it becomes VfixV_{\mathrm{fix}}. When the eye cannot focus on that distance (VfV_f differs from VfixV_{\mathrm{fix}}, §3-1), after a short delay the eye handle and the camera focus are moved to the eye's focus VfV_f.
  • Android: the calibrated focus distance that the camera reports (LENS_FOCUS_DISTANCE, in D [30]) is used as it is. Values from devices without calibration are not used.
  • iPhone and iPad with LiDAR: the distance is measured with LiDAR only [29]. There is no switching to the ultra-wide camera at close range.
  • The near end of the slider is the nearest distance that camera can focus on (the value the OS reports: minimumFocusDistance of AVCaptureDevice on iOS [27], LENS_INFO_MINIMUM_FOCUS_DISTANCE on Android [30]).

Key point: the camera video is treated as one distance for the whole screen, and the distance follows the camera focus.

8-2. Overlap with the camera blur

The camera video already contains the blur of the camera lens. The angular diameter of the camera blur is the product of the entrance pupil diameter DcD_c and the error in D from the camera focus (the same formula as equation (9); DcD_c is about 44 mm for the main camera of a smartphone, a value obtained from the focal length and F-number in the EXIF of real devices [13]; the comparison of the size of the camera blur and the eye blur is in the internal studies [28]).

βc=Dc ∣V−Vcam∣(17)\beta_c = D_c\,\lvert V - V_{\mathrm{cam}}\rvert \tag{17}
  • Objects at the viewing distance (where the camera is focused) have no camera blur, so only the app's blur (for the remaining refractive error ReffR_{\mathrm{eff}}) is shown, correctly.
  • For objects at other distances, the camera blur (equation (17)) and the app's blur overlap. The two blurs do not cancel each other (the squares of their spreads roughly add), so where they would cancel in a real eye (such as objects at hand for a myope looking far), the view looks blurrier than a real eye would see.
  • Blur cannot be removed from the video, so where the camera blur is larger than the eye's (in bright light, when the pupil is smaller than DcD_c), the view cannot be shown correctly.

To see how depth looks correctly, check with images with depth data (§6).

Key point: the camera blur stays overlapped in the camera video.

9. Handling of Depth and Exposure in Photos

The theory proper is §2 to §7. This section briefly describes how photos are read as they are. The measurements and details of the implementation are in the internal documents [13][14].

  • Photos with depth: a per-pixel vergence map VV (D) is built from the Apple auxiliary image (disparity, 1/m1/\mathrm{m}) [9][26] or a Dynamic Depth 1.0 JPEG (Pixel and others) [8], and drawn by the same path as the samples (§6). On iPhone 15 and later, ordinary photos also carry depth [13]. Depth is either absolute (LiDAR, TrueDepth, unit m) or relative (dual wide camera, Pixel Portrait mode (the camera mode that blurs the background)); the scale of relative depth is not fixed, so distance differences are reference values. For Portrait mode, the picture before the background blur is used when it exists, and otherwise the edited picture.
  • Subtracting the blur from the shot: a photo already contains the blur from when it was shot, on objects outside the camera's focus. Laying the eye's blur on top would add the two in squares, so for each layer the eye blur σe=p ∣Reff∣\sigma_e = p\,\lvert R_{\mathrm{eff}}\rvert is compared with the blur from the shot σc=Dc ∣V−Vcam∣\sigma_c = D_c\,\lvert V - V_{\mathrm{cam}}\rvert (DcD_c is the entrance pupil = focal length ÷ F-number, VcamV_{\mathrm{cam}} is the focus distance in D). A layer with σe>σc\sigma_e > \sigma_c gets only σe2−σc2\sqrt{\sigma_e^2 - \sigma_c^2} of blur; a layer with σe≤σc\sigma_e \le \sigma_c gets none. For Portrait mode photos, the entrance pupil of the blur (35 mm equivalent focal length ÷ SimulatedAperture) is added to the lens entrance pupil in squares. This equation is an estimate from measurements on one photo, a rough guide [13]. Where the blur from the shot is larger than the eye's, it cannot be removed.
  • HDR brightness: in photos with a gain map, the HDR midtones can be brighter than the SDR (about 2 times in Apple photos) [13]. The format of the gain map follows Ultra HDR [24] and ISO 21496-1 [25]. The median of HDR ÷ SDR over pixels where the base SDR is 0.050.05 to 0.50.5 is taken as kk, and the whole HDR is divided by kk (1/161/16 to 1616; not divided when there are too few midtone pixels). Light above white remains after dividing by kk. Camera HLG treats the reference white (203203 cd/m² of BT.2408 [10]) as the SDR white 11.
  • Samples: each sample with depth is one Dynamic Depth 1.0 JPEG per scene [8], and the CG scenes were made from publicly available assets (sources and licenses in [31]). The depth is a 16-bit PNG (RangeInverse, Meters) [14].
  • Scattering is not included (§1-1): light above white is only fitted into white, with no scattering or bloom.

Key point: the depth and exposure of photos are adjusted on the input side, without changing the equations of the theory.

10. Limits

  • This app cannot be used for diagnosis, treatment or vision tests. It differs from an individual's actual vision. If you are concerned about eye symptoms, see an ophthalmologist.
  • Many of the numerical values are rough guides (the tables in §11 show the values that have no source).
  • The brightness and color of the screen look different on different screens.
  • Double image of astigmatism: seeing double with one eye (§4-3) is not shown. With the current PSF grid, the separation of the double image (a few minutes of arc) falls within 1 to 2 cells of the grid, and it looks like a single peak.
  • Pupil: the pupil is one size set from the brightness of the image. A real pupil also changes with the brightness of the scene, the distance (it constricts when looking near) and emotion. For photos without depth, the true brightness of the scene is unknown, so it is set from the brightness of the image.
  • Images without depth data: the whole screen is shown as objects at the viewing distance. The blur of objects at other distances is not correct.
  • Hidden parts: even in images with depth data, the parts of the back hidden behind near objects are not in the image, so they are guesses filled with nearby colors.
  • Relative depth: the depth of the iPhone rear camera and the Pixel Portrait mode has no fixed scale, so distance differences are reference values (§9).
  • Blur from the shot: the part of the blur in a photo that is larger than the eye's blur cannot be removed (§9).
  • Speed while moving: moving a value remakes the PSF (for each layer in images with depth data). While it is being remade, the previous picture is shown and replaced when the new one is ready, so with images with depth data the motion may not be smooth while a slider or value is being moved. When the finger is released the picture becomes correct. Large blurs (strong power, large pupil) take longer to remake.
  • Individual differences: higher-order aberrations, speed of accommodation, the tear film and so on use general values or are not included.

Key point: this app is a tool for experiencing the blur of refractive error, and many of its numerical values are rough guides.

10-1. Remaining issues

  • Scale of relative depth: the method of having the user match the distance at one place for relative depth (design document [14] §6-3) is undecided, and for now it is used the same as absolute depth.
  • The pupil equation for Portrait mode: the entrance pupil of the blur = 35 mm equivalent focal length ÷ SimulatedAperture is an estimate from the measurement of one photo (9.4 mm against a measured mean of 10.3 mm), and has not been checked on other photos [13].
  • Difference from the real distance: a table of the difference between the distance obtained from depth and the real distance (measured with a tape measure) has not yet been made [13].
  • Overall verification: the individual equations were matched to values in the literature, but the composited images have not been checked against how people with refractive errors actually see.

11. Table of Parameters and Sources

The values, sources and levels of confirmation are shown for the parameters and constants of this app. The levels are the following four. The levels for the calculation of the eye's optics (pupil, diffraction, chromatic aberration) follow the confirmation in the theory of the Eye Age Simulator [12].

  • A: confirmed by reading the body of the original (table, equation, section)
  • B: only the abstract or summary was read
  • C: confirmed in a secondary source (review, textbook, citation in another paper)
  • D: no literature found (an assumption of this app; the reason is written in the remarks)

The breakdown of levels is: A is 6, B is 0, C is 7 and D is 15 (28 items in total). For items of level D, the reason for the choice is written in one line in the remarks.

11-1. Eye and accommodation

Table 2: values of the eye (specified by the user).

ItemSymbol, default, unit, rangeSourceLevelRemarks
SphereSS, −2.00, D, −10.00 to +10.00 (steps of 0.25)—DNo literature (assumption of this app). Reason: a range that lets users experience strong myopia and hyperopia (decision of 2026-11-20).
CylinderCC, 0.00, D, −8.00 to 0.00 (steps of 0.25)—DNo literature (assumption of this app). Reason: in minus-cylinder form, a value covering the practical range.
AxisAxA_x, 180, °, 1 to 180 (steps of 1)[2]CDefinition of the TABO direction (the text of the standard was not read; secondary source).
Power vectorMM, J0J_0, J45J_{45} (equation (2))[1]CThe equation is the definition of Thibos et al. (original not read; secondary source).
Amplitude of accommodationAA, 9.5, D, 0 to 15 (steps of 0.5). The mean for age is equation (8)[3]CHofstetter's mean formula 18.5−0.3×18.5-0.3\timesage (original not read; a widely cited formula). The initial 9.5 D is the mean at age 30. The upper limit of 15 D is a rough guide set by this app.
Viewing distanceVfixV_{\mathrm{fix}}, 0 (far), D, 0 to 10 (steps of 0.05). Below 0.2 D is displayed as "far"—DNo literature (assumption of this app). Reason: 10 D (10 cm) was taken as a guide for the nearest distance viewed at hand.
Distance to the spectacle planeδ\delta, 12, mm, 0 to 30—DNo literature (assumption of this app). Reason: set as a general value for how far spectacles are from the eye. Equation (4) is a general optical equation.

11-2. Pupil, chromatic aberration, image

Table 3: values for the pupil, chromatic aberration and image.

ItemSymbol, default, unit, rangeSourceLevelRemarks
Pupil diameterDD, automatic, mm, 2 to 8 (equation (11))[4][12]AEquations 10, 17 and 21 of Watson and Yellott (constants 846, 0.41, 7.75, 5.75, 28.58, 0.02132, 0.009562). Confirmed in [12].
Dark mydriasis7, mm (fixed)[12]DNo literature (assumption of this app). Reason: a size generally used for the dark-adapted pupil of young people (the same as [12]).
Horizontal field of view of the screen50, °, 10 to 120—DNo literature (assumption of this app). Reason: an input that depends on viewing conditions; it determines the field area Ω\Omega of the pupil equation and the angle of a pixel.
White luminance of the image200, cd/m², 1 to 3000—DNo literature (assumption of this app). Reason: set as a guide for the white luminance of an ordinary screen.
Stiles–Crawford effectρ\rho, 0.05, mm⁻²[17][12]CA value quoted by secondary sources (ρ = 0.047 ± 0.013 mm⁻², horizontal direction; confirmed in [12]). The 0.05 of this app is a rough guide.
Longitudinal chromatic aberrationΔD(λ)\Delta D(\lambda) (equation (16)). Coefficients 633.46, 214.10[5][6]CMatches the coefficients q=0.63346q=0.63346, c=0.21410c=0.21410 of Thibos (text of [6]). The original [5] was read only as an abstract. The reference wavelength is 550 nm.
Representative wavelengths of the PSF for R, G, B610, 550, 465, nm[12]CThe difference from the dominant wavelengths of the sRGB primaries is at most 1.4 nm (calculation in [12]). The representative wavelengths are rough guides.

11-3. Depth, layers, camera

Table 4: values for images with depth and for the camera.

ItemSymbol, default, unit, rangeSourceLevelRemarks
Layer interval0.25, D—DNo literature (assumption of this app). Reason: the step decided in the design document [14] §2-5 (with a 3 mm pupil, a difference of 0.25 D is about 0.75 mrad in the angular diameter of the blur circle).
Fraction of pixels that makes a layer0.1, % or more—DNo literature (assumption of this app). Reason: so that no layer is made of outlier pixels only.
Window for the viewing distance1.5, % of the short side—DNo literature (assumption of this app). Reason: a size such that pressing the edge of an object does not give the mean of front and back.
Near end (images without depth, photos)10, cm—DNo literature (assumption of this app). Reason: a guide for the nearest distance viewed at hand.
Entrance pupil of the cameraDcD_c, about 4 (main camera), mm. Focal length ÷ F-number[13]ACalculated from the EXIF of real devices (main camera of iPhone 15: 5.96 mm ÷ F1.6 = 3.7 mm).
Focus distance of the cameraVcamV_{\mathrm{cam}}. For iPhone, the depth at the center of SubjectArea; for Pixel, the reciprocal of SubjectDistance[11][13]CThe definitions of the EXIF items are from a secondary source [11]. The choice was confirmed on an iPhone 15 photo (IMG_7600) by measuring the sharpness per depth band [13].
Focus distance on AndroidLENS_FOCUS_DISTANCE, D[30]AThe Camera2 documentation was read. The unit is D, and it is used only on devices whose calibration type is CALIBRATED (values of APPROXIMATE and UNCALIBRATED are not used).

11-4. Photos (depth and exposure)

Table 5: values for the depth and exposure of photos.

ItemSymbol, default, unit, rangeSourceLevelRemarks
Depth of Dynamic DepthFormat (RangeInverse, RangeLinear), Units (Meters, Diopters), Near, Far[8]AThe body of the specification (PDF) was read. The equations of RangeLinear and RangeInverse are in figures and could not be extracted from the text.
Apple auxiliary imagesDisparity (1/m), Depth (m), accuracy (relative, absolute)[9]AApple's developer documentation was read. On real iPhone 15 photos, the rear camera was relative and the front TrueDepth absolute [13].
Pupil of the Portrait mode blur35 mm equivalent focal length ÷ SimulatedAperture, mm[13]DNo literature (assumption of this app). Reason: an estimate from the measurement of one photo (measured mean 10.3 mm, equation value 9.4 mm).
Scale factor of the HDR brightnesskk. Median of HDR ÷ SDR over pixels with SDR 0.05 to 0.5. Range 1/16 to 16. 1 when there are fewer than 50 midtone pixels[13]DNo literature (assumption of this app). Reason: for the same measurement for all images, matched to the measurements that Apple photos have midtones about 2 times brighter (k = 2.1 to 2.2) and Ultra HDR about 1 (0.94 to 1.00) [13].
Reference white of HLG203, cd/m² (signal 0.75)[10][12]AReference white of ITU-R BT.2408-8 (the text was read; confirmed in [12]).
Resolution of the samplesBased on a long side of 2560 px. As it is when the original is smaller[14]DNo literature (assumption of this app). Reason: the same size as the long side of a smartphone screen (design document [14]).
PNG depth of the samples16 bits, RangeInverse, Meters[8][14]DNo literature (assumption of this app). Reason: a choice to keep the quantization error to at most 2.4e-5 D in 1/m (design document [14]).

References

[1] L. N. Thibos, W. Wheeler, and D. Horner, "Power vectors: an application of Fourier analysis to the description and statistical analysis of refractive error", Optometry and Vision Science, vol. 74, no. 6, pp. 367–375, 1997 — Confirmation: original not read. The equations are from secondary sources (C).

[2] ISO 8429:1986, Optics and optical instruments — Ophthalmology — Graduated dial scale — Confirmation: the text of the standard was not read. The direction of the TABO notation is from secondary sources (C).

[3] H. W. Hofstetter, "Useful age-amplitude formula", Optometry World, vol. 38, pp. 42–45, 1950 — Confirmation: original not read. The mean formula 18.5−0.3×18.5-0.3\timesage is a widely cited formula (C).

[4] A. B. Watson and J. I. Yellott, "A unified formula for light-adapted pupil size", Journal of Vision, vol. 12, no. 10, article 12, 2012. doi:10.1167/12.10.12 — Confirmation: equations 10, 17 and 21 confirmed in the text (by the confirmation in the theory of the Eye Age Simulator [12]).

[5] L. N. Thibos, M. Ye, X. Zhang, and A. Bradley, "The chromatic eye: a new reduced-eye model of ocular chromatic aberration in humans", Applied Optics, vol. 31, no. 19, pp. 3594–3600, 1992. doi:10.1364/ao.31.003594 — Confirmation: only the abstract of the original. The coefficients were confirmed in [6] (secondary).

[6] D. H. Marimont and B. A. Wandell, "Matching color images: the effects of axial chromatic aberration", Journal of the Optical Society of America A, vol. 11, pp. 3113–3122, 1994 — Confirmation: the text was read (Thibos's coefficients 0.63346 and 0.21410). Confirmed by the theory of the Eye Age Simulator [12].

[7] R. L. Woods, A. Bradley, and D. A. Atchison, "Monocular diplopia caused by ocular aberrations and hyperopic defocus", Vision Research, vol. 36, no. 22, pp. 3597–3606, 1996 — Confirmation: only the abstract was read (B). Content: the eyes with accommodation paralyzed all had positive spherical aberration, and combined with hyperopic defocus the image looks double. doi:10.1016/0042-6989(96)00092-2

[8] Google, Dynamic Depth 1.0 (Android Dynamic Depth specification), Depth Photo profile — Confirmation: the text of the specification PDF was read (definitions of the fields). The equations of RangeLinear and RangeInverse are in figures and could not be extracted from the text.

[9] Apple Inc., developer documentation on auxiliary data (auxiliary data, AVDepthData) of Image I/O and AVFoundation — Confirmation: the documentation was read. The forms of depth (disparity, depth; relative, absolute) were confirmed.

[10] ITU-R BT.2408, Guidance for operational practices in HDR television production — Confirmation: the text of BT.2408-8 was read (reference white 203 cd/m²; confirmed in the theory of the Eye Age Simulator [12]).

[11] CIPA DC-008, Exchangeable image file format for digital still cameras: Exif Version 2.3 — Confirmation: the text of the standard was not read. The definitions of SubjectArea, SubjectDistance and others are from secondary sources (C).

[12] Theory of the Eye Age Simulator (version 0.9), internal document docs/eyeagesimulator/theory/theory_eas_0.9.md — the calculation of the pupil, PSF and chromatic aberration, and the levels of confirmation of [4][5][6], follow this document.

[13] Internal document (measurements): docs/refractionsimulator/study/depth_photo_standard_camera_2026-11-23.md — Confirmation: numbers measured on real photos from iPhone 15 and Pixel 8 (k, blur already in the photo, Portrait mode pupil, EXIF values). The photos are not in the repository.

[14] Internal documents (design): docs/refractionsimulator/design/dynamic_depth_samples_2026-11-23.md and docs/refractionsimulator/design/implementation_notes_2026-11-24.md — form of the samples, design of the layers, details of the implementation of depth and exposure in photos.

[15] Gullstrand–Le Grand schematic eye (relaxed), as tabulated in the lecture notes "Class02_08" of the Visual Optics Lab, University of Arizona. https://wp.optics.arizona.edu/visualopticslab/wp-content/uploads/sites/52/2016/08/Class02_08.pdf — Confirmation: the table (cornea 0.55, anterior chamber 3.05, lens 4, vitreous 16.597 mm) was read (by the confirmation in the theory of the Eye Age Simulator [12]). The originals of Gullstrand and Le Grand were not read.

[16] H. Gross (ed.), Handbook of Optical Systems, vol. 4, chapter 36 "Human eye", Wiley-VCH, 2008 — Confirmation: the text was read (pupil diameter 2 to 8 mm, entrance pupil magnification 1.13 and so on; confirmed in [12]). A textbook.

[17] R. A. Applegate and V. Lakshminarayanan, "Parametric representation of Stiles–Crawford functions: normal variation of peak location and directionality", Journal of the Optical Society of America A, vol. 10, no. 7, pp. 1611–1623, 1993. doi:10.1364/JOSAA.10.001611; W. S. Stiles, Proceedings of the Royal Society B, vol. 123, pp. 90–118, 1937 — Confirmation: confirmed with values quoted in secondary sources (ρ = 0.047 ± 0.013 mm⁻²). The originals themselves were not read (confirmed in [12]).

[18] L. N. Thibos, X. Hong, A. Bradley, and X. Cheng, "Statistical variation of aberration structure and image quality in a normal population of healthy eyes", Journal of the Optical Society of America A, vol. 19, no. 12, pp. 2329–2348, 2002 — Confirmation: read within the abstract and book reviews (in 200 eyes the mean of the higher-order aberrations is about 0, with spherical aberration the only positive exception). The numbers in the text were not checked (B).

[19] P. Coffeen and D. L. Guyton, "Monocular diplopia accompanying ordinary refractive errors", American Journal of Ophthalmology, vol. 105, pp. 451–459, 1988. doi:10.1016/0002-9394(88)90234-6 — Confirmation: read within a book review (ordinary refractive errors cause monocular diplopia, which disappears with a pinhole). The text was not read (C).

[20] R. B. Rabbetts, Bennett & Rabbetts' Clinical Visual Optics, 4th ed., Butterworth-Heinemann (Elsevier), 2007 — Confirmation: the book was not read (not even its table of contents or preview). The vertex-distance equation Fc=Fo/(1−dFo)F_c = F_o/(1-dF_o) (d in m) was confirmed in clinical-optics explanations and in the derivation in a patent specification (secondary sources). The confirmation of the equation is secondary (C).

[21] A. Duane, "Normal values of the accommodation at all ages", Journal of the American Medical Association, vol. 59, pp. 1010–1013, 1912 — Confirmation: the original was not read. That Hofstetter [3] compared the surveys of Duane, Donders and Kaufman and made three straight lines (minimum 15−0.25×15-0.25\timesage, mean 18.5−0.30×18.5-0.30\timesage, maximum 25−0.40×25-0.40\timesage) was confirmed in the description in a 2016 paper on the amplitude of accommodation in schoolchildren and in a statement of the equations (secondary sources) (C). The same paper notes that the original data come from old surveys with methodological limitations (especially under 10 years of age).

[22] G. Smith, "Angular diameter of defocus blur discs", Optometry and Vision Science, vol. 68, no. 11, pp. 888–892, 1991; D. A. Atchison and G. Smith, Optics of the Human Eye, Butterworth-Heinemann, 2000 — Confirmation: neither was read. The equation that the angular size of the blur circle (rad) is the product of the pupil diameter (m) and the defocus (D) was confirmed in a 2016 paper that quotes it as Smith's (1991) definition and in an explanation that derives it (i-Perception 2018, PMC5946648) (C). The confirmation of the equation is secondary.

[23] IEC 61966-2-1:1999 / Amd 1:2003, Multimedia systems and equipment — Colour measurement and management — Part 2-1: Default RGB colour space — sRGB; International Color Consortium and W3C, "How to interpret the sRGB color space (specified in IEC 61966-2-1) for ICC profiles". https://www.w3.org/Graphics/Color/srgb — Confirmation: the standard itself was not read. The constants of the transfer function were read in the ICC and W3C explanation (confirmed in [12]; C).

[24] Android Developers, "Ultra HDR image format", version 1.1. https://developer.android.com/media/platform/hdr-image-format — Confirmation: the text was read (the equations of the gain map and the table of metadata; confirmed in [12]).

[25] ISO 21496-1:2025, Digital photography — Gain map metadata for image conversion — Part 1: Dynamic range conversion — Confirmation: only the title and its treatment in [24] were confirmed. The text was not read (C).

[26] Apple Inc., "Creating auxiliary depth data manually" and "Capturing photos with depth" (AVFoundation articles. https://developer.apple.com/documentation/avfoundation/creating-auxiliary-depth-data-manually) — Confirmation: the articles were read (the forms of the disparity and depth auxiliary images, and the procedure for writing them into an image file).

[27] Apple Inc., AVFoundation documentation: AVCaptureDevice (lensPosition, setFocusModeLocked(lensPosition:completionHandler:), minimumFocusDistance), AVCaptureDevice.DeviceType.builtInLiDARDepthCamera, AVDepthData.Accuracy (https://developer.apple.com/documentation/avfoundation/avcapturedevice and others) — Confirmation: the documentation pages were read (2026-11-19 to 22). lensPosition is a normalized value from 0 to 1, not a unit of distance (conversion to a distance was marked as needing confirmation in the plan [28]). The range of LiDAR and its accuracy at close range are not written in any of the pages [28].

[28] Internal documents (studies): docs/refractionsimulator/study/ camera_blur_vs_eye_2026-11-20 and 2026-11-22, camera_focus_drive_optics, impl and summary_2026-11-21, camera_capabilities_photo_video_2026-11-20, camera_drive_both_ways_2026-11-22, reff_range_2026-11-20, monocular_diplopia_astigmatism_2026-11-21, lidar_apple_docs_range_confidence_2026-11-22, depth_range_devices_2026-11-19, android_depth_options, apple_depth_formats and android_dynamic_depth_sources_2026-11-23 — Confirmation: see the sources section of each document. Comparison of the size of the camera blur and the eye blur, the optics of moving the focus, the range of the remaining error, and studies of the devices that can obtain depth.

[29] Apple Inc., ARKit documentation: ARDepthData, ARFrame.sceneDepth (https://developer.apple.com/documentation/arkit/ardepthdata and others) — Confirmation: the documentation pages were read. There are maps of LiDAR depth (meters) and confidence, but the measurable range and the accuracy at close range are not written [28]. 256×192 and 60 Hz are from developer forum posts, not official documentation (C).

[30] Android Developers, Camera2 documentation: CaptureRequest.LENS_FOCUS_DISTANCE, CameraCharacteristics.LENS_INFO_FOCUS_DISTANCE_CALIBRATION, LENS_INFO_MINIMUM_FOCUS_DISTANCE (https://developer.android.com/reference/android/hardware/camera2/CaptureRequest and others) — Confirmation: the documentation pages were read. The unit of LENS_FOCUS_DISTANCE is D (1/m), and the value is used as a distance only when the calibration type (CALIBRATED, APPROXIMATE, UNCALIBRATED) is CALIBRATED.

[31] Sources of the CG scenes of the samples: Classroom (Christophe Seux, CC0; Blender Demo Files), Barcelona Pavilion (eMirage; rendering and more by Hamza Cheggour, base model by Claudio Andres, CC BY; BlendSwap), Amazon Lumberyard Bistro (Amazon Lumberyard, Open Research Content Archive (ORCA), 2017, CC BY 4.0; https://developer.nvidia.com/orca/amazon-lumberyard-bistro), Poly Haven assets (Lantern 01, Tea Set 01 and the night-light HDRIs; CC0; https://polyhaven.com/license) — Confirmation: the ORCA page and the Poly Haven page and API were read directly (primary). For Classroom and Barcelona Pavilion the pages of blender.org could not be read (bot check); they were confirmed in search results and BlendSwap (secondary), and the version and so on need checking before distribution. Details: docs/refractionsimulator/study/depth_scenes_licenses_2026-11-22.md.