Fig 3 - uploaded by Andrew B Metha
Content may be subject to copyright.
Example wavefront from the set of 1000 randomly generated wavefronts. This wavefront was generated with the maximum amplitude considered here. Large circles indicate spots that were correctly located according to the internal error checking of each algorithm. We can see that in this specific example, the spiral algorithm was able to correctly sort the spots; the other algorithms show varying amounts of error. 

Example wavefront from the set of 1000 randomly generated wavefronts. This wavefront was generated with the maximum amplitude considered here. Large circles indicate spots that were correctly located according to the internal error checking of each algorithm. We can see that in this specific example, the spiral algorithm was able to correctly sort the spots; the other algorithms show varying amounts of error. 

Source publication
Article
Full-text available
Recently many software-based approaches have been suggested for improving the range and accuracy of Hartmann-Shack aberrometry. We compare the performance of four representative algorithms, with a focus on aberrometry for the human eye. Algorithms vary in complexity from the simplistic traditional approach to iterative spline extrapolation based on...

Contexts in source publication

Context 1
... The range for the B-spline algorithm increased by 22 to 42%, depending on the aberration type, confirming that for the isolated aberrations considered here this algorithm surpassed the practical limit set by the overlap- ping of spots. We can therefore confidently state that any future algorithm would not provide a greater range. For reference, the Zernike algorithm showed minimal improvement in range under the same conditions, and the spiral algorithm showed an improvement only for defocus. This means that as far as a pure sorting task is concerned the B-spline algorithm is superior to the other two algorithms, but that this advantage is diminished under practical conditions due to spot overlap. It is also important to consider the range results in the con- text of the maximum levels of each type of aberration that the algorithm must be able to measure. For ocular aberrometry it is desirable to be able to measure as many eyes in the population as possible, both on- and off-axis. For astigmatism, the ranges given here are equivalent to ∼ 30 D for the improved algorithms (the conversion factor between Zernike coefficient and ophthalmic prescription is ∼ 0.77 for defocus and ∼ 1.09 for astigmatism at a pupil size of 6.0 mm). This is far in ex- cess of any case of astigmatism ever reported to our knowledge, even in eyes with severe corneal distortion 17 or far away from the optical axis. 18 The defocus results for the improved algorithms correspond to ∼ 13.3 to 16.6 D of refractive error. Even allowing for a 2-D variation over the central 40 deg of the visual field, 18 this is still sufficient to account for > 99.9% of the normal human eye population. Since we have already shown that the improved algorithms operate at or close to the hard limit set by the physical overlap of spots, a larger range would require a lenslet array with a shorter focal length (or some other hardware alteration as discussed in Sec. 1). The range for defocus for each algorithm can be adjusted as a linear function of the focal length of the lenslet array used. For example, if a lenslet array with half the focal length were used instead, a roughly equivalent spot pattern would result only when twice as much defocus is present. This is because the wavefront slope, and therefore the spot displacement, for pure defocus varies linearly in x and y across the pupil. Spherical aberration is very rarely greater than ∼ 0.4 μ m over a 6.0-mm pupil in the normal population, 19 and changes little off-axis, 18 although it may reach ∼ 1.0 μ m in eyes suffering from corneal pathology. 17 This is well within range of the 2.4 to 2.9 μ m shown for the improved algorithms here. Coma is very rarely greater than ∼ 0.5 μ m in the normal population 19 and can change by as much as ∼ 0.6 μ m over the central 40 deg of the visual field, 18 which is similarly well within the improved ranges seen here of ∼ 4.6 to 4.8 μ m. However, keratoconic eyes have been reported to feature up to ∼ 3.6 μ m of vertical coma, 17 which may give any of the algorithms considered here difficulty when combined with other aberration types, due to potential spot overlap. If it were desirable to accommodate a keratoconic population of eyes, a lenslet array with a shorter focal length may be desirable. The preceding results quantify the performance of each algorithm for particular aberration types in isolation. We next used a real adaptive optics system with a model eye to simulate a worse-case scenario—randomized, irregular wavefronts com- posed of many different types of aberration. The amplitude of the random wavefronts was varied systematically by altering the allowed amplitude of the commands applied to the deformable mirror, with 100 different wavefronts generated for each of the 10 amplitude conditions. Figure 3 shows an example Hartmann-Shack image that was generated using the maximum amplitude, and illustrates the attempts of each algorithm to an- alyze it. Closed symbols denote spot positions located by the image processing routine. Circles indicate spots that a given algorithm judged were unambiguously assigned to a lenslet. In this particular example, the spiral algorithm did not make any errors, the B-spline made a small number of errors, and the conventional and Zernike algorithms made a large number of errors. Figure 4 plots the average rate of failure for each algorithm as a function of the maximum allowed actuator amplitude. The failure criterion was met if 5 or more spots (of the ∼ 280 in the pupil) were missed. The error bars indicate standard error of the mean. The spiral and B-spline algorithms achieved similar results over much of the amplitude range tested; the spiral algorithm was superior at the highest end of the scale. This is probably because the spiral algorithm is far more local in nature and so is somewhat better suited to handle large wavefront deviations that are not well correlated with deviations in other parts of the pupil (the wavefront measured in Fig. 3 is a good example of this). There is a large difference evident between the Zernike algorithm and the spiral and B-spline algorithms. This is likely because the randomly generated mirror shapes would not of- ten have been well represented by the Zernike expansion. Note that this algorithm still performed significantly better than the conventional algorithm, and that the high-amplitude, irregular aberrations produced here are unlikely to be seen in eyes without significant disease affecting the ocular media. Finally, we report on the processing time for each algorithm. Absolute processing times, of course, depend highly on the computer hardware used. However, even the relative processing times given here should be taken as a rough approximation, since the MATLAB code for each algorithm has not necessarily been optimized for speed. With that in mind, with 10 trials for the well-centered case on an Intel Core i7 2.66 GHz processor with 2 GB RAM and using a 17 × 17 lenslet array (i.e., detector size of 6.8 mm), we obtained processing times of 2.3, 4.2, 28, and 41 ms for the conventional, spiral, Zernike, and B-spline algorithms, respectively. This excluded components of each algorithm that involved the initialization of variables, which would optimally be performed only once in a session. The spiral algorithm was faster than the other improved algorithms, as predicted due to the maximally simplistic calculations involved in predicting each spot location. However, the magnitude of temporal variations in ocular aberrations for a given retinal point are generally small and well within the range of the conventional algorithm. A fast frame rate could therefore be achieved by employing a single iteration of any improved algorithm and feeding these results into the conventional algorithm to guide its search. This approach offers a clear benefit to frame rate because of the unique ability of the conventional algorithm to take advantage of parallel processing and so achieve even greater speed than reported here. The range of aberrometry was similar for the improved algorithms considered here, despite the differences in processing complexity. These algorithms approached the physical limits to the achievable range imposed by the overlap of Hartmann-Shack spots. The results presented here show that each algorithm is more than sufficient to accurately characterize the vast majority of human eye aberration, both on- and off-axis, with our chosen lenslet array parameters. The B-spline algorithm produced a high range and was highly robust to error, but was an order of magnitude slower than simpler algorithms. The Zernike algorithm was somewhat faster, but care must be taken to accurately estimate decentration of the pupil and of the input beam, and performance is noticeably reduced for wavefronts that are not well approximated by the Zernike expansion. The spiral algorithm was highly robust to error and to irregular aberration types. It was also 7 to 10 times faster than the other improved algorithms, affording the potential for real-time analysis. Real-time analysis for ocular aberrometry could alternatively be achieved by employing only a single initial iteration of any improved algorithm to inform subsequent iterations of the conventional algorithm, since the vast majority of human eye aberration is static. This work was supported by the Australian Research Council (Discovery Project Grant DP0984649), and the Rowden White Benevolent ...
Context 2
... errors for poorly sensed spots. This is by virtue of the large number of spots considered when making each prediction for the B-spline and Zernike algorithms, and by the use of the “dummy” grid for the spiral algorithm. In fact, the B-spline and spiral algorithms were also highly robust in the presence of the other error types considered; range decrease was no more than 6 to 10% across all of the error conditions for these two algorithms. The Zernike algorithm was not robust against decentrations in the estimated position of either the pupil or the input beam, making it advisable when using this method to use a calibrated scale when decentering the input beam, 10 and possibly a separate pupil monitor if maximal range is desired. It is of interest to know whether the range limits shown here could be improved on with some other as yet undiscov- ered sorting algorithm, or whether the obtained limits were a result of physical spot overlap (i.e., limited by image processing difficulties rather than the sorting algorithm). To test this, we repeated the range measurements by using the predicted spot locations from geometric optics rather than relying on the MATLAB centroiding functions. The range for the B-spline algorithm increased by 22 to 42%, depending on the aberration type, confirming that for the isolated aberrations considered here this algorithm surpassed the practical limit set by the overlap- ping of spots. We can therefore confidently state that any future algorithm would not provide a greater range. For reference, the Zernike algorithm showed minimal improvement in range under the same conditions, and the spiral algorithm showed an improvement only for defocus. This means that as far as a pure sorting task is concerned the B-spline algorithm is superior to the other two algorithms, but that this advantage is diminished under practical conditions due to spot overlap. It is also important to consider the range results in the con- text of the maximum levels of each type of aberration that the algorithm must be able to measure. For ocular aberrometry it is desirable to be able to measure as many eyes in the population as possible, both on- and off-axis. For astigmatism, the ranges given here are equivalent to ∼ 30 D for the improved algorithms (the conversion factor between Zernike coefficient and ophthalmic prescription is ∼ 0.77 for defocus and ∼ 1.09 for astigmatism at a pupil size of 6.0 mm). This is far in ex- cess of any case of astigmatism ever reported to our knowledge, even in eyes with severe corneal distortion 17 or far away from the optical axis. 18 The defocus results for the improved algorithms correspond to ∼ 13.3 to 16.6 D of refractive error. Even allowing for a 2-D variation over the central 40 deg of the visual field, 18 this is still sufficient to account for > 99.9% of the normal human eye population. Since we have already shown that the improved algorithms operate at or close to the hard limit set by the physical overlap of spots, a larger range would require a lenslet array with a shorter focal length (or some other hardware alteration as discussed in Sec. 1). The range for defocus for each algorithm can be adjusted as a linear function of the focal length of the lenslet array used. For example, if a lenslet array with half the focal length were used instead, a roughly equivalent spot pattern would result only when twice as much defocus is present. This is because the wavefront slope, and therefore the spot displacement, for pure defocus varies linearly in x and y across the pupil. Spherical aberration is very rarely greater than ∼ 0.4 μ m over a 6.0-mm pupil in the normal population, 19 and changes little off-axis, 18 although it may reach ∼ 1.0 μ m in eyes suffering from corneal pathology. 17 This is well within range of the 2.4 to 2.9 μ m shown for the improved algorithms here. Coma is very rarely greater than ∼ 0.5 μ m in the normal population 19 and can change by as much as ∼ 0.6 μ m over the central 40 deg of the visual field, 18 which is similarly well within the improved ranges seen here of ∼ 4.6 to 4.8 μ m. However, keratoconic eyes have been reported to feature up to ∼ 3.6 μ m of vertical coma, 17 which may give any of the algorithms considered here difficulty when combined with other aberration types, due to potential spot overlap. If it were desirable to accommodate a keratoconic population of eyes, a lenslet array with a shorter focal length may be desirable. The preceding results quantify the performance of each algorithm for particular aberration types in isolation. We next used a real adaptive optics system with a model eye to simulate a worse-case scenario—randomized, irregular wavefronts com- posed of many different types of aberration. The amplitude of the random wavefronts was varied systematically by altering the allowed amplitude of the commands applied to the deformable mirror, with 100 different wavefronts generated for each of the 10 amplitude conditions. Figure 3 shows an example Hartmann-Shack image that was generated using the maximum amplitude, and illustrates the attempts of each algorithm to an- alyze it. Closed symbols denote spot positions located by the image processing routine. Circles indicate spots that a given algorithm judged were unambiguously assigned to a lenslet. In this particular example, the spiral algorithm did not make any errors, the B-spline made a small number of errors, and the conventional and Zernike algorithms made a large number of errors. Figure 4 plots the average rate of failure for each algorithm as a function of the maximum allowed actuator amplitude. The failure criterion was met if 5 or more spots (of the ∼ 280 in the pupil) were missed. The error bars indicate standard error of the mean. The spiral and B-spline algorithms achieved similar results over much of the amplitude range tested; the spiral algorithm was superior at the highest end of the scale. This is probably because the spiral algorithm is far more local in nature and so is somewhat better suited to handle large wavefront deviations that are not well correlated with deviations in other parts of the pupil (the wavefront measured in Fig. 3 is a good example of this). There is a large difference evident between the Zernike algorithm and the spiral and B-spline algorithms. This is likely because the randomly generated mirror shapes would not of- ten have been well represented by the Zernike expansion. Note that this algorithm still performed significantly better than the conventional algorithm, and that the high-amplitude, irregular aberrations produced here are unlikely to be seen in eyes without significant disease affecting the ocular media. Finally, we report on the processing time for each algorithm. Absolute processing times, of course, depend highly on the computer hardware used. However, even the relative processing times given here should be taken as a rough approximation, since the MATLAB code for each algorithm has not necessarily been optimized for speed. With that in mind, with 10 trials for the well-centered case on an Intel Core i7 2.66 GHz processor with 2 GB RAM and using a 17 × 17 lenslet array (i.e., detector size of 6.8 mm), we obtained processing times of 2.3, 4.2, 28, and 41 ms for the conventional, spiral, Zernike, and B-spline algorithms, respectively. This excluded components of each algorithm that involved the initialization of variables, which would optimally be performed only once in a session. The spiral algorithm was faster than the other improved algorithms, as predicted due to the maximally simplistic calculations involved in predicting each spot location. However, the magnitude of temporal variations in ocular aberrations for a given retinal point are generally small and well within the range of the conventional algorithm. A fast frame rate could therefore be achieved by employing a single iteration of any improved algorithm and feeding these results into the conventional algorithm to guide its search. This approach offers a clear benefit to frame rate because of the unique ability of the conventional algorithm to take advantage of parallel processing and so achieve even greater speed than reported here. The range of aberrometry was similar for the improved algorithms considered here, despite the differences in processing complexity. These algorithms approached the physical limits to the achievable range imposed by the overlap of Hartmann-Shack spots. The results presented here show that each algorithm is more than sufficient to accurately characterize the vast majority of human eye aberration, both on- and off-axis, with our chosen lenslet array parameters. The B-spline algorithm produced a high range and was highly robust to error, but was an order of magnitude slower than simpler algorithms. The Zernike algorithm was somewhat faster, but care must be taken to accurately estimate decentration of the pupil and of the input beam, and performance is noticeably reduced for wavefronts that are not well approximated by the Zernike expansion. The spiral algorithm was highly robust to error and to irregular aberration types. It was also 7 to 10 times faster than the other improved algorithms, affording the potential for real-time analysis. Real-time analysis for ocular aberrometry could alternatively be achieved by employing only a single initial iteration of any improved algorithm to inform subsequent iterations of the conventional algorithm, since the vast majority of human eye aberration is static. This work was supported by the Australian Research Council (Discovery Project Grant DP0984649), and the Rowden White Benevolent ...

Similar publications

Article
Full-text available
Purpose To investigate the changes in higher-order aberrations (HOAs) induced by the implantation of implantable collamer lenses (ICLs) and Toric ICL (TICL) in eyes with high myopia and high myopic astigmatism. Methods We investigated 33 eyes of 18 consecutive patients (in a prospective, interventional case series study), with spherical equivalent...
Article
Full-text available
Purpose To evaluate the correlation between refractive, corneal, and residual astigmatism and higher order aberrations (HOA) in refractive surgery candidates. Methods Three hundred and seventy-five eyes of 188 patients aged 28.2 ± 6.24 years with a predominance of females (62.7%) were enrolled in this study. Refraction, topography (Orbscan IIz, Ba...

Citations

... Therefore, an improved algorithm is required to assign the acquired spots out of the subapertures. There have been several algorithms of Shack-Hartmann spot assignment proposed by other researchers to increase the dynamic range of the measurement [15][16][17][18][19]. For the advantages that it offers, similar approach will be adopted to our spot assignment algorithm. ...
Article
Full-text available
Compared with the industry standard MTF consequential testing result, the full field transmitted wavefront testing is more analytical for field aberration analysis. A novel wavefront measuring device specialized for the miniature lens testing application is developed to measure the full field aberration in a high resolution of 35x36 radial-azimuthal fields. The device adapts the high dynamic range Shack-Hartman wavefront sensor to minimize the alignment uncertainty induced from collimator under high field angle. The plane symmetrical aberration due to elements misalignment is identified and quantified throughout the measured field. The field constant coma and field linear astigmatism contributes most aberration errors to the edge of the field as expected. Through the field dependent aberration analysis. This device proves that the miniature lens image quality near the edge of the field is practically limited by the misalignment of the optical elements.
... * Author for correspondence, phone: +49 (0) 1511 2352355 Various software approaches for evaluating SHWFS data have been presented in the course of time, but almost all publications live on the assumption that locating the position of each spot is trivial, e.g. see [9], or suffer from the fact that they are not real-time capable, i.e. the algorithms demand too much time until the spot ordering is finished. Whenever latency and/or memory is critical or limited, the determination of the centroids may also become very challenging. ...
... The spiral algorithm that we advocate here helps increase the range while preserving the low-latency with respect to our previous manuscript. Targeting on aberrometry for the human eye, sorting algorithms have been compared in [9]. However, its main results also transfer to other applications that are predicated on wavefront sensing, such as adaptive optics for atmospheric disturbance compensation. ...
... However, its main results also transfer to other applications that are predicated on wavefront sensing, such as adaptive optics for atmospheric disturbance compensation. The comparison in [9] covers four different software-based approaches: conventional, B-spline, Zernike, and spiral algorithm. A 17×17 lenslet array is used for the comparison and the code has been implemented in Matlab, but the Matlab implementations have not yet been optimized for speed. ...
Article
A real-time implementation of the spiral algorithm is proposed for sorting the spot patterns of a Shack-Hartmann Wavefront Sensor with an FPGA. The standard spiral algorithm is adapted to the end of rendering the algorithm real-time capable, deterministic, and efficient such that it finally be highly suited for implementation on an FPGA. Preserving the primary characteristics of the original spiral algorithm, i.e. high-range and accuracy, the modified algorithm additionally shows low-latency and high-throughput concerning the ordering and calculation of the centroids. Simulation and experimental results underscore that the algorithm yields excellent performance in view of run-time and robustness requirements while remaining relatively simple in its implementation.
... Therefore, a centroid displacement of a spot cannot be correctly calculated if the spot is beyond the detection area in an SHWFS. In this case, the wavefront cannot be correctly measured, which means that the dynamic range is restricted by the diameter of each microlens [12]. Although the dynamic range can be expanded by increasing the diameter of each microlens, the spatial resolution decreases. ...
Article
Full-text available
A Shack–Hartmann wavefront sensor (SHWFS) that consists of a microlens array and an image sensor has been used to measure the wavefront aberrations of human eyes. However, a conventional SHWFS has finite dynamic range depending on the diameter of the each microlens. The dynamic range cannot be easily expanded without a decrease of the spatial resolution. In this study, an adaptive spot search method to expand the dynamic range of an SHWFS is proposed. In the proposed method, spots are searched with the help of their approximate displacements measured with low spatial resolution and large dynamic range. By the proposed method, a wavefront can be correctly measured even if the spot is beyond the detection area. The adaptive spot search method is realized by using the special microlens array that generates both spots and discriminable patterns. The proposed method enables expanding the dynamic range of an SHWFS with a single shot and short processing time. The performance of the proposed method is compared with that of a conventional SHWFS by optical experiments. Furthermore, the dynamic range of the proposed method is quantitatively evaluated by numerical simulations.
... An overview over different ordering algorithms has been published recently. 5 However, these algorithms are not real-time capable, computationally intensive and in addition, most of them even are not even deterministic. In view of its characteristics and performance, we selected the spiral algorithm and developed a modified spiral algorithm that is real-time capable and deterministic in its run-time behavior. ...
Conference Paper
Full-text available
We present progressive work that is based on our recently developed rapid control prototyping system (RCP), designed for the implementation of high-performance adaptive optical control algorithms using a continuous de-formable mirror (DM). The RCP system, presented in 2014, is resorting to a Xilinx Kintex-7 Field Programmable Gate Array (FPGA), placed on a self-developed PCIe card, and installed on a high-performance computer that runs a hard real-time Linux operating system. For this purpose, algorithms for the efficient evaluation of data from a Shack-Hartmann wavefront sensor (SHWFS) on an FPGA have been developed. The corresponding analog input and output cards are designed for exploiting the maximum possible performance while not being constrained to a specific DM and control algorithm due to the RCP approach. In this second part of our contribution, we focus on recent results that we achieved with this novel experimental setup. By presenting results which are far superior to the former ones, we further justify the deployment of the RCP system and its required time and resources. We conducted various experiments for revealing the effective performance, i.e. the maximum manageable complexity in the controller design that may be achieved in real-time without performance losses. A detailed analysis of the hidden latencies is carried out, showing that these latencies have been drastically reduced. In addition, a series of concepts relating the evaluation of the wavefront as well as designing and synthesizing a wavefront are thoroughly investigated with the goal to overcome some of the prevalent limitations. Furthermore, principal results regarding the closed-loop performance of the low-speed dynamics of the integrated heater in a DM concept are illustrated in detail; to be combined with the piezo-electric high-speed actuators in the next step.
Preprint
A typical SHWS has a limited dynamic range, which is determined by the f-number of the micro-lens. This causes the spot corresponding to the sub-aperture of the micro-lens to shift out of the corresponding range of the sub-aperture. In this paper, we propose a simple and robust method based on biplanar image acquisition and segmentation for expanding the SHWS dynamic range to a dynamic range based on avoiding the overlap of lenslet images and sufficient sampling accuracy for measurement. This also resolves the issue of mandating the determination of centroid exclusively within the corresponding detection area. We perform a comparative analysis between our proposed method and a conventional method for measuring large wavefronts, utilizing both numerical simulations and experiments. Additionally, we conducted a statistical analysis of the dynamic range of our method, and the results indicate that the dynamic range using this method has improved 2.7 to 9 times compared to the dynamic range of conventional algorithms
Conference Paper
A Shack-Hartmann wavefront sensor (SHWFS) which consists of a microlens array and an image sensor has been used to measure the wavefront aberrations in various fields owing to its advantages such as simple configuration. However, a conventional SHWFS has the finite dynamic range. The dynamic range cannot be expanded without sacrificing the spatial resolution and the sensitivity in a conventional SHWFS. In this study, the SHWFS using a dual microlens array to solve the problem is proposed. In the proposed method, an astigmatic microlens is arranged at the center of a group of 2 x 2 spherical microlenses. A pattern image including spots and linear patterns is obtained at the focal plane by the dual microlens array. The pattern image can be separated into two images as if two microlens array with different diameter were used by discriminating spots from linear patterns with the pattern matching technique. The proposed method enables to expand the dynamic range of an SHWFS by using the separated two images. The performance of the proposed method is confirmed by the numerical simulation for measuring a spherical wave.
Article
Full-text available
In Shack–Hartmann aberrometry, it is assumed that a wave front emerges from a single point focused on a retina. However, the retina is a multi-layered structure and reflections may occur from several layers. This may result in several overlapping spot patterns on the CCD due to different vergences of the outgoing wave fronts. The amount by which these spot patterns are displaced may contain information about the retinal thickness. In this study, we perform simulations of formation of double spots in a living eye and also apply this method to measure the thickness of an artificial retina with a simple structure. We also compare the results obtained with artificial eye and compare them to the simulated data. We evaluate the recommended range of the lenslet parameters for analyzing the retinal thickness. We conclude that this method could be used in a living eye for estimating the total retinal thickness and to confirm retinal pathologies associated with significant increase in the retinal thickness like glaucoma, macular edema, etc.
Article
Wavefront sensing or aberration measurement in the eye is a key problem in refractive surgery and vision correction with laser. The accuracy of these measurements is critical for the outcome of the surgery. Practically all clinical methods use laser as a source of light. To better understand the background, we analyze the pre-laser techniques developed over centuries. They allowed new discoveries of the nature of the optical system of the eye, and many served as prototypes for laser-based wavefront sensing technologies. Hartmann's test was strengthened by Platt's lenslet matrix and the CCD two-dimensional photodetector acquired a new life as a Hartmann-Shack sensor in Heidelberg. Tscherning's aberroscope, invented in France, was transformed into a laser device known as a Dresden aberrometer, having seen its reincarnation in Germany with Seiler's help. The clinical ray tracing technique was brought to life by Molebny in Ukraine, and skiascopy was created by Fujieda in Japan. With the maturation of these technologies, new demands now arise for their wider implementation in optometry and vision correction with customized contact and intraocular lenses.