Open Access
1 March 2005 Refractive correction method for digital charge-coupled device-recorded Scheimpflug photographs by means of ray tracing
Author Affiliations +
Abstract
Our purpose is to correct digital CCD-recorded Scheimpflug photographs, imaging both the anterior and posterior corneal surface, the anterior chamber, and the anterior eye lens surface for optical distortions. In a ray-tracing algorithm the imaging of the posterior corneal surface in a given Scheimpflug photograph is corrected by applying Snell's law on parallel incident rays entering through the anterior corneal surface. Once the posterior corneal surface is corrected, the procedure is repeated, again with parallel incident rays entering through both the anterior and now corrected posterior corneal surface, to correct the imaging of the anterior eye lens surface. The refractive indices necessary for Snell's law are taken from Gullstrand's exact schematic eye model. Due to the optical/refractive correction, the digital Scheimpflug photograph decreases in size perpendicular to the direction of the optical axis. As a consequence the curvature radii of both the posterior corneal surface and the anterior lens surface are reduced significantly, as compared to the original digital Scheimpflug photograph. Furthermore, the corneal thickness and the anterior chamber depth are increased. The presented refractive correction method enables us to extract from Scheimpflug photographs the following quantities rather realistically: structure coordinates and curvature radii of both the posterior corneal surface and the anterior lens surface, corneal thickness, and anterior chamber depth. This method can readily be applied to other imaged quantities, such as the posterior eye lens surface, the lens thickness, and the pupillary opening.

1.

Introduction

Images taken by a camera based on the Scheimpflug principle1 (see Fig. 1 and Fig. 2 in Sec. 2) can already provide valuable information without considering distortions. However, for a quantitative evaluation, for which especially digital Scheimpflug photographs are suitable, optical/refractive distortions must be taken into account. Such distortions arise not only from the anterior corneal surface (ACS) alone; images of deeper structures of the eye such as the posterior corneal surface, the pupil, and the anterior lens surface are also distorted2 3 4 5 due to the differences in refractive indices and the various radii of curvature of the refractive surfaces.

Figure 1

Digital-CCD-recorded Scheimpflug photograph (512×512 pixels, inverted gray scale for enhanced picture quality, taken from Fink et al.2).

502502j.1.jpg

Figure 2

Principle of Scheimpflug imaging (after Richards et al.4).

502502j.2.jpg

Quantitative information that can be retrieved after performing optical/refractive corrections includes realistic estimates of the following biometric quantities within the eye:

  1. (1) structure coordinates of the posterior corneal surface

  2. (2) curvature radius of the posterior corneal surface (see also Dubbelman et al.6)

  3. (3) corneal thickness

  4. (4) pupillary diameter

  5. (5) structure coordinates of the anterior lens surface

  6. (6) curvature radius of the anterior lens surface (see also Dubbelman and van der Heijde7)

  7. (7) anterior chamber depth

and, if the quality and structural depth of the Scheimpflug image permits,

  1. (1) structure coordinates of the posterior lens surface

  2. (2) curvature radius of the posterior lens surface (see also Dubbelman and van der Heijde7)

  3. (3) thickness of the lens (see also Dubbelman et al.8)

Of special interest among those quantities is the estimation of the curvature radius of the anterior lens surface since it is possible now to monitor its change under various stages of accommodation, thus exhibiting the changes in shape and location of the crystalline lens (see also Dubbelman et al.9).

In earlier work, e.g., by Richards et al.4 and Kampfer et al.,5 optical corrections have been applied to scanned Scheimpflug photographs. In their work, the authors had to overcome problems such as photo/camera distortion and distortions resulting from projection of Scheimpflug negatives for digitization in addition to the natural refractive distortion of the eye.

Progress has now been made on the experimental side by providing digital-CCD-recorded Scheimpflug photographs2 3 10 (see Fig. 1), thus eliminating the additional problems already mentioned, of course, with the exception of the natural refractive distortion of the eye.* An algorithm developed by Huebscher et al.,3 Huebscher and Schmidt,10 and Hachicha et al.11 determines the seeming structure coordinates of the various refractive surfaces in the digital Scheimpflug record by means of a gray-scale-threshold-filter method, taking the camera distortion into account. In this paper, a ray-tracing algorithm is presented2 12 13 14 15 that starts from this preprocessed data file and performs the optical/refractive corrections to obtain the “true” locations of both the posterior corneal surface denoted as PCS and the anterior lens surface denoted as ALS.

This investigation was initiated by discussions with Huebscher and Seiler. Numerical results were presented in part in Fink et al.2 The underlying method/algorithm, which is presented in detail in this paper, is tested with the same experimental data that were already used in Fink et al.2

2.

Methods

To receive more realistic coordinates of the posterior corneal surface, the refraction that takes place at the anterior corneal surface must be taken into account. Therefore, the seeming structure coordinates of the posterior corneal surface, which are derived from the original digital Scheimpflug record via the already mentioned gray-scale-threshold-filter method,3 10 11 must be corrected. In the following, this preprocessed data file will be simply referred to as the Scheimpflug record.

Since the Scheimpflug camera faces the eye under examination in an angle of 45 deg with respect to the optical axis, the pathway of incident rays is always 3-D. Figure 2 illustrates the principle of Scheimpflug imaging. Figure 3 shows the proposed refractive correction procedure in a simplified 2-D depiction. Figures 2 and 4 schematically introduce some of the variables used in the following mathematical derivation of the refractive correction method.

Figure 3

Principle of refractive correction of the posterior corneal surface taking refraction at the anterior corneal surface into account and refractive correction of the anterior lens surface taking refraction at both the anterior corneal surface and the corrected posterior corneal surface into account.

502502j.3.jpg

Figure 4

Upper left: detailed X/Z object plane view (see Fig. 2) with depiction of light rays for the anterior corneal surface (ACS) and uncorrected posterior corneal surface (PCS) originating from the (CCD) image plane; and lower right: detailed X/Y object plane view (see Fig. 2) with further introduction of some of the variables used in the mathematical derivation of the refractive correction method.

502502j.4.jpg

We assume in the following that the ACS structure coordinates can be directly obtained from the Scheimpflug record without any further refractive correction since the imaging light rays for the ACS are directly reflected and not undergoing refraction, i.e., we ignore, for simplicity, the refraction taking place at the transition from the ACS to the tear film. First, according to Figs. 2 to 4, the intersection points of the parallel light rays, which image the PCS, with the ACS have to be calculated. Assuming that the borderline of the ACS is located in the (z=0) plane, the equation for the image rays that form the image of the PCS in an angle of 45 deg to the (x/y) plane, is given by

gPCS(μ)=(HSP)+μgPCS
where
gPCS=12(101) 
is the unit vector in the (x/z) plane which forms an angle of 45 deg with the (x/y) plane (see Fig. 4); S is the uncorrected distance of each parallel light ray from the optical axis in the Scheimpflug record; P is the uncorrected distance between ACS and PCS in the same image row; and H is given by the equation H=(R ACS 2−S2)1/2.

Considering only the central part of the cornea (up to 4 mm diameter), a spherical approximation is reasonable.16 Thus, any point of the anterior corneal surface is given by spherical coordinates

CACS=(RACScosϕsinθRACSsinϕsinθRACScosθ),
where the curvature radius R ACS of the anterior corneal surface is derived from a circle fit routine,17 which is applied to the surface data of the ACS in the Scheimpflug record. The intersection of the image ray g PCS with the ACS can now be found numerically by solving the equation
gPCS(μ)=CACS,
for μ by means of, e.g., a 3-D Newton-Raphson root-finding routine.18 Since there are two possible intersection points between a line and a sphere (apart from the tangential case) one must take the intersection point g PCS *) that marks the entry to the ACS.

Going one step further, the surface normal to the ACS in that intersection point must be calculated. Defining the center of the ACS sphere as the origin of the coordinate system the surface normal reads

FACS(μ*)=NgPCS(μ*),
with the normalization constant
N=1[(H+μ*/2)2+S2+(P+μ*/2)2]1/2.

To apply Snell’s law to the image ray gpcs, the angle α between the image ray and the surface normal F ACS *) before refraction has to be determined. A brief geometrical calculation yields

α=arccos[FACS(μ*)12(101)].
With Snell’s law the resulting angle β after refraction is
β=arcsin(sin(α)ncornea)
where n cornea denotes the refraction index within the cornea that is assumed to be constant in our model. The refraction index for the ambient air is set to 1.

To determine the new direction vector g PCS new for the image ray g PCS after refraction at the ACS three conditions must be taken into account:

Eq. (1)

FACS(μ*)gPCSnew=cos(β),

Eq. (2)

gPCSnew[FACS(μ*)×gPCS]=0,

Eq. (3)

(gPCSnew)x2+(gPCSnew)y2+(gPCSnew)z2=1.
The first condition is a consequence of Snell’s law. The second condition mathematically describes the fact that the direction vector before (g PCS ) and after (g PCS new ) refraction as well as the surface normal F ACS *) are located in the same plane. The third condition expresses the normalization of the new direction vector g PCS new .

The new direction vector g PCS new can be numerically obtained by solving the system of three equations [Eqs. (1) to (3)] by means of, e.g., a 3-D Newton-Raphson root-finding routine.18 Thus, the equation for the image ray after refraction at the ACS is as follows:

gPCSnew(γ)=gPCS(μ*)+γgPCSnew.
Finally, to determine the corrected structure coordinate for the PCS the intersection of the new image ray with the (z=0) plane must be calculated. Therefore, it is sufficient to solve the equation
(gPCSnew)z(γ)=0
for γ. The straightforward solution
γ*=gPCS(μ*)z(gPCSnew)z
gives the new corrected structure coordinate g PCS new *) for the PCS (see Fig. 5 in Sec. 3).

Figure 5

Results of the refractive correction of a digital Scheimpflug photograph (Fig. 1).

502502j.5.jpg

The procedure described so far must be applied to each one of the parallel light rays that image the PCS in the digital Scheimpflug record. As a result, we obtain a refractive correction of the PCS in the digital Scheimpflug record that enables realistic estimations of corneal thickness and curvature radius R PCS of the posterior corneal surface (see Fig. 5 in Sec. 3). The latter can be derived from a circle fit routine,17 which is applied to the now corrected surface data of the PCS.

Having corrected the structure coordinates for the posterior corneal surface as a first step, the same procedure as already described is repeated as a second step with parallel light rays that image the anterior lens surface. Now two refractions occur; one at the ACS and the other at the PCS taking into account the shape and refractive power of the anterior corneal surface and the corrected posterior corneal surface (see Fig. 3).

The calculation of the refraction that takes place at the ACS is identical to the procedure already described. The result is a new image ray that intersects the corrected posterior corneal surface at some point.

After determination of the intersection point with the corrected posterior corneal surface, the new direction vector for the image ray that underwent refraction at the PCS must be calculated. Then the new corrected structure coordinate for the ALS can be obtained from the intersection of the new image ray with the (z=0) plane in a manner similar to that described for the PCS.

Note that the refraction index n anterior chamber =1.336 currently used with Snell’s law is assumed to be constant within the entire anterior chamber. Also assumed to be constant is the refraction index n cornea =1.376 of the cornea. Both are taken from Gullstrand’s exact schematic eye model19 but can easily be adjusted to experimental data, when available.

We interpolate the posterior corneal surface data by a mathematical function and choose for simplicity a spherical approximation; since we are dealing with a correction, small deviations from the spherical approximation would influence the final results only in second order. Thus, any point of the PCS is given by the following spherical coordinates:

CPCS=(RPCScosϕsinθ+CxPCSRPCSsinϕsinθ+CyPCSRPCScosθ+CzPCS),
where the curvature radius R PCS of the posterior corneal surface as well as the center of the sphere
(CxPCSCyPCSCzPCS )
are derived from a circle fit routine,17 which is applied to the corrected surface data of the PCS.

Note that two digital Scheimpflug photographs in perpendicular planes of the same eye are required to determine the 3-D location of the center of the sphere that approximates the PCS. The reason for this is that due to its nature, the circle fit routine17 operates in two dimensions only. First, both Scheimpflug records must be corrected for the PCS only. Once the center of the sphere approximating the PCS has been determined, one can proceed with the refractive correction of the structure coordinates of the anterior lens surfaces in both Scheimpflug records, as described.

3.

Results

As a numerical example, the described algorithm is applied to the data set used in Fink et al.2 The following results are obtained: Due to the optical/refractive correction by means of ray tracing the digital image taken by the Scheimpflug camera decreases in size perpendicular to the direction of the optical axis (see Fig. 5). As a consequence, the curvature radii of both the posterior corneal surface and the anterior lens surface are reduced as compared to the original Scheimpflug record (see Fig. 5 and Table 1). These results are consistent with Dubbelman et al.6 The corneal thickness and the anterior chamber depth are increased (see Fig. 5). Table 2 shows in particular the results for the central corneal thickness and the central anterior chamber depth.

Table 1

Curvature radii for various refractive surfaces before and after refractive correction.
Refractive Surface Curvature Radius
Before
Correction
(mm)
After
Correction
(mm)
Change
(%)
Anterior corneal surface 7.94
Posterior corneal surface 6.84 6.07 −11.3
Anterior lens surface 9.19 7.82 −14.9

Table 2

Biometrical data before and after refractive correction.
Observable Before
Correction
(mm)
After
Correction
(mm)
Change
(%)
Central corneal thickness 0.36 0.57 +58.3
Central anterior chamber depth 1.84 2.32 +26.1

4.

Discussion

The main focus of this paper is the description of the theoretical underpinning of the refractive correction method. Thus, further testing of the algorithm in collaboration with clinicians and possible resulting modifications to the theory put forward in this paper are certainly necessary but beyond the scope of this paper. Further, the method presented here must be counterchecked by other measurement techniques such as A scan ultrasonography of the eye. However, both techniques, A scan ultrasonography and slitlamp Scheimpflug photography, have their respective drawbacks: ultrasonography requires the velocity of sound in the lens, which may be age-dependent, whereas Scheimpflug photography requires knowing the refractive index of the cornea, the anterior chamber, and the eye lens to enable correction of the photographs for the distortion due to the refraction of the cornea and lens (after Dubbelman et al.8).

One of the major advantages of the algorithm described in this paper is the fact that it is based on digital-CCD-recorded Scheimpflug photographs instead of digitally scanned Scheimpflug photographs (see Richards et al.4 and Kampfer et al.5). Thus, additional errors are avoided in the analysis of the original Scheimpflug photographs, namely inaccuracies that occur by processing and scanning of the original Scheimpflug photograph. Since photorefractive keratectomy (PRK) has become a fashionable method to correct for myopia and hyperopia, the technique presented in this paper enables a good estimate of the corneal thickness, which is crucial in the consideration of refractive surgery.

As the development of CCD chips rapidly moves on, CCD-chip-based cameras (digital cameras) with much higher optical resolution are becoming available, thus enabling an increasing refinement in the estimation of biometric quantities within the eye.

Access to the posterior eye lens surface in addition to the anterior eye lens surface via digital Scheimpflug photography may elucidate the accommodation process of the crystalline lens. The estimation of the curvature radii of both the anterior and posterior eye lens surfaces by means of the algorithm presented in this paper may enable monitoring the change of the eye lens shape as well as a possible dislocation of the eye lens. Therefore, questions may be answered concerning whether only the change in shape and location of the eye lens accounts for the necessary amount of accommodation, or whether some additional internal changes within the crystalline lens play a role, e.g., changes in refractive index (see also Dubbelman et al.9).

A more realistic extension of the correction algorithm could be achieved by using, e.g., 3-D B-splines (for a good introduction see Rogers and Adams20 and references given there) instead of spherical approximations for fitting both the anterior and the posterior corneal surfaces. This would enable us to investigate astigmatism and would produce even more accurate biometrical data from digital Scheimpflug photographs. However, for the application of 3-D B-splines, many Scheimpflug photographs of the same eye are required to cover the topology of the entire eye because 3-D B-splines operate on 3-D data sets and cannot be restricted to the 2-D Scheimpflug record plane under consideration.

Acknowledgments

I would like to thank H. J. Huebscher and T. Seiler for valuable discussions and advice. I am also grateful for reviewer A’s annotation.

REFERENCES

1. 

T. Scheimpflug , “Der Photoperspektograph und Seine Anwendung,” Photogr. Korresp., 43 516 (1906). Google Scholar

2. 

W. Fink, H. J. Huebscher, and T. Seiler, “Correction of biometric data derived from digital Scheimpflug records,” Invest. Ophthalmol. Vis. Sci. 39(4), S1033, (1998) (ARVO abstract no. 4771).

3. 

H. J. Huebscher , W. Fink , D. Steinbru¨ck , and T. Seiler , “Scheimpflug records without distortion—a mythos?,” Ophthalmic Res. , 31 (2), 134 –139 (1998). Google Scholar

4. 

D. W. Richards , S. R. Russell , and D. R. Anderson , “A method for improved biometry of the anterior chamber with a Scheimpflug technique,” Invest. Ophthalmol. Visual Sci. , 29 (12), 1826 –1835 (1998). Google Scholar

5. 

T. Kampfer , A. Wegener , V. Dragomirescu , and O. Hockwin , “Improved biometry of the anterior eye segment,” Ophthalmic Res. , 21 239 –248 (1989). Google Scholar

6. 

M. Dubbelman , H. A. Weeber , G. L. van der Heijde , and H. J. Vo¨lker-Dieben , “Radius and asphericity of the posterior corneal surface determined by corrected Scheimpflug photography,” Acta Ophthalmol. Scand. , 80 (4), 379 –383 (2002). Google Scholar

7. 

M. Dubbelman and G. L. van der Heijde , “The shape of the aging human lens: curvature equivalent refractive index and the lens paradoxon,” Vision Res. , 41 (14), 1867 –1877 (2001). Google Scholar

8. 

M. Dubbelman , G. L. van der Heijde , and H. A. Weeber , “The thickness of the aging human lens obtained from corrected Scheimpflug images,” Optom. Vision Sci. , 78 (6), 411 –416 (2001). Google Scholar

9. 

M. Dubbelman , G. L. van der Heijde , H. A. Weeber , and G. F. Vrensen , “Changes in the internal structure of the human crystalline lens with age and accommodation,” Vision Res. , 43 (22), 2363 –2375 (2003). Google Scholar

10. 

H. J. Huebscher and H. Schmidt , “Online Scheimpflug imaging and its potential for in-vivo examination of cornea and lens,” Ophthalmic Res. , 26 (1), 33 –38 (1994). Google Scholar

11. 

A. Hachicha , S. Simon , J. Samson , and K. Hanna , “The use of gray-level information and fitting techniques for precise measurement of corneal curvature and thickness,” Comput. Vis. Graph. Image Process. , 47 (2), 131 –164 (1989). Google Scholar

12. 

M. Born and E. Wolf, Principles of Optics, 5. ed., pp. 190–202, Pergamon Press, Oxford (1975).

13. 

W. Fink , A. Frohn , U. Schiefer , E. W. Schmid , and N. Wendelstein , “A ray tracer for ophthalmological applications,” Ger. J. Ophthalmol. , 5 118 –125 (1996). Google Scholar

14. 

W. Fink , A. Frohn , U. Schiefer , E. W. Schmid , N. Wendelstein , and E. Zrenner , “Visuelle Abbildung bei hohen Ametropien: Computergestu¨tzte Simulation mittels strahlen-optischer Rechnungen,” Klin. Mbl. Augenheilk., 208 472 –476 (1996). Google Scholar

15. 

T. Kashiwagi and P. M. Khu , “Ray tracing error correction in ophthalmic optics,” J. Cataract Refractive Surg. , 17 194 –198 (1991). Google Scholar

16. 

W. Trendelenburg, M. Monje´, I. Schmidt, and E. Schu¨tz, Der Gesichtssinn, 2nd ed., Springer, Berlin, Go¨ttingen, Heidelberg (1961).

17. 

S. M. Thomas and Y. T. Chan , “A simple approach for the estimation of circular arc center and its radius,” Comput. Vis. Graph. Image Process. , 45 362 –370 (1989). Google Scholar

18. 

W. H. Press, B. P. Flannery, S. A. Teukolsky, and W. T. Vetterling, Numerical Recipes in C: The Art of Scientific Computing, pp. 286–289, Cambridge University Press, Cambridge, NY (1991).

19. 

A. Gullstrand, Handbuch der Physiologischen Optik, 3rd ed., H. von Helmholtz, Vol. 1, p. 226, L. Voss, Hamburg, Leipzig (1909).

20. 

D. F. Rogers and J. A. Adams, Mathematical Elements for Computer Graphics, 2nd ed., McGraw-Hill, New York (1990).
©(2005) Society of Photo-Optical Instrumentation Engineers (SPIE)
Wolfgang Fink "Refractive correction method for digital charge-coupled device-recorded Scheimpflug photographs by means of ray tracing," Journal of Biomedical Optics 10(2), 024003 (1 March 2005). https://doi.org/10.1117/1.1899683
Published: 1 March 2005
Lens.org Logo
CITATIONS
Cited by 17 scholarly publications.
Advertisement
Advertisement
RIGHTS & PERMISSIONS
Get copyright permission  Get copyright permission on Copyright Marketplace
KEYWORDS
Photography

Digital photography

Eye

Refraction

Refractive index

Cornea

Optical spheres

Back to Top