Translator Disclaimer
1 January 2010 Application of optical coherence tomography to automated contact lens metrology
Author Affiliations +
Optical coherence tomography (OCT) is a nondestructive imaging modality with the potential to make quantitative spatial measurements. OCT's noncontact nature, sensitivity to small refractive index mismatches, and micron-scale resolution make it attractive for contact lens metrology, specifically, measuring prism. Prism is defined as the maximum difference in thickness of the contact lens, measured over a full 360 deg of rotation, at a fixed distance from the contact lens edge. We develop and test a novel algorithm that automatically analyzes OCT images and calculates prism. Images are obtained using a Thorlabs OCT930SR OCT system. The OCT probe is fastened to an automated rotation stage that rotates 360 deg in small increments (typically 10 deg) to acquire OCT images of the edge of the contact lens around the entire circumference. The images are 1.6 mm in optical depth (512 pixels) and 2 mm wide (1000 pixels). Several sets of images are successfully analyzed. The prism measured for a toric lens is 42 µm, which is in line with design parameters. Thickness measurements are repeatable with a standard deviation of 0.5 μm and maximum range of 1.8 μm over ten image sets. This work demonstrates the possibility of using OCT to perform nondestructive contact lens metrology.



Optical coherence tomography (OCT) is an imaging modality that uses reflected near-infrared light to obtain micron-scale, depth-resolved images of tissue. It can be used to capture a cross sectional or 3-D volume image. When properly calibrated, OCT can be used for quantitative measurements. Because OCT is nondestructive and highly sensitive, it is ideal for in-situ measurements of low contrast and/or highly scattering objects. Because OCT instruments can be rapid-scanning, small, robust, and relatively low cost, they are adaptable to the laboratory, clinical, or industrial environment.

OCT has been used for a variety of biomedical metrology applications including measuring the thickness of cartilage around joints,1 the thickness of the retinal nerve fiber layer,2 and thickness of the cornea.3, 4, 5, 6 OCT has also been used to evaluate the results of corneal refractive therapy, in which the patient wears rigid contact lenses overnight to reshape the cornea.7 Dynamic information can also be obtained, such as evaluating contact lens movement caused by blinking.8

OCT can also be used as a quality control tool to evaluate biological and nonbiological materials. For example, the cellular integrity of a tissue-engineered vascular graft could be ascertained prior to implantation.9 While OCT is ideally suited to imaging biological tissues, it is also appropriate for other translucent materials. Examples include imaging the fiber architecture of glass-reinforced polymer composites,10 analyzing dentures,11 and imaging ceramic glazes.12 Negrutiu 11 used OCT to noninvasively examine dentures made with different molding techniques for defects. OCT was used by Yang 12 to acquire images of the glaze subsurface that can provide insight into the technology used to manufacture the ceramic piece. In all of these applications, OCT was able to nondestructively assess the quality of a sample by providing images of subsurface structures.

We are interested in the development of OCT as a metrology tool for development and quality control of contact lenses. Deviation from design parameters and manufacturing variance could potentially be determined with OCT. There are several unique difficulties to overcome when measuring contact lenses. A majority of the contact lens market is in soft lenses, and soft lenses deform when exposed to air long enough to dry out. Therefore, the lenses must be imaged while submerged in a bacteria-resistant saline solution so that they retain their shape. Once submerged, the contact lens is difficult to keep stationary for consecutive measurements. The saline submersion also makes imaging difficult because the refractive indices of contact lenses and saline solution are similar. The current standard technique for measuring the thickness of a contact lens at a single arbitrary point is to use a low-force dial gauge.13 The final thickness measurement requires five repeated dial gauge measurements in air with the contact lens returned to saline solution in between each measurement. The drawback to this method is the length of time required for a single thickness measurement. Another widely used thickness measurement technique involves physically taking a cross sectional slice of the contact lens and placing the slice under a microscope for manual measurement. This technique has several drawbacks. First, the number of cross sectional slices that can be taken from a single lens is limited, which limits the number of measurements possible. Second, the method is destructive, so a contact lens must be sacrificed to perform the measurement. Third, the method is slow and requires a skilled technician to perform the measurements manually.

One specific quality control issue is a consequence of mechanical variations in the contact lens manufacturing process called prism. The prism referred to here is mechanical prism, which is not the same as optical prism. For this application, prism is defined as the difference between the largest and smallest thickness measurements, taken at a given distance from the contact lens edge, over a complete 360deg rotation. Toric contact lenses are designed intentionally with a nonrotationally symmetric shape for patients with astigmatism. Prism can be used intentionally as a ballast to keep toric contact lenses from rotating while on the eye.14 Prism caused by mechanical variations, however, is unintentional and must be characterized to minimize it. On a spherical lens, the prism by design should be zero. In reality, however, the prism of a spherical lens is random, as is the angle of maximum thickness differential.

As a coherent imaging technique, OCT images suffer from speckle and may be low contrast and/or noisy. Therefore, care must be taken in the development of automated measurement algorithms. The semiautomatic algorithm for locating cartilage boundaries described in Ref. 1 used the rotational kernel transformation (RKT) technique for removing noise from the image, followed by Sobel edge detection and user-aided edge linking. Attempts to measure retinal nerve fiber layer thickness using OCT have produced many different segmentation techniques specialized for OCT images. Blumenthal 2 measured retinal nerve fiber thickness using a commercially available OCT system that automatically segmented the OCT image using a thresholding technique. The boundaries of the retinal nerve fiber layer were found by smoothing each axial scan and locating the first points in the scan above a chosen threshold. Another example of automatic retinal nerve fiber location is Ref. 15. Bagci, Ansari, and Shahidi used an algorithm that first aligned the A-scans based on feature points found using a modified version of the Canny algorithm. Next, they applied a directional smoothing filter to the aligned image to smooth in the lateral direction while preserving edge transitions in the axial direction. Edge detection was then applied to the resulting smoothed image to locate six layers within the retina. Yet another approach to finding retinal nerve fiber layer boundaries is the use of a Markov boundary model.16 Koozekanani, Boyer, and Roberts used a 1-D second derivative of Gaussian to locate initial boundary locations for each A-scan. The Markov boundary model is used to improve the initial boundary locations by making physical assumptions about the relative location of adjacent boundary pixels. These approaches are appropriate for their applications, but images of contact lenses have unique properties different from cartilage or retina, so a new automated image analysis method needed to be developed.

The ability to nondestructively measure the prism of contact lenses can lead to more information about the manufacturing process, which in turn may lead to improvements to the final product. OCT appears to be well suited for this task. An algorithm has been developed that automatically analyzes a dataset containing OCT cross sectional images taken 360deg around the contact lens. A custom contact lens imaging fixture was built, and a commercially available OCT system was used to develop and test the algorithm.


Materials and Methods


Optical Coherence Tomography Setup

A commercially available spectral domain OCT system (Thorlabs OCT930SR, Thorlabs, Newton, New Jersey) was used throughout this study. The system used a light source with a center wavelength of 930nm and a bandwidth of 100nm . The axial and transverse optical resolutions were 6.2 and 9.2μm , respectively. Image depth was fixed at 1.6-mm optical depth with 512pixels . The image width and number of pixels was adjustable but set to a width of 2mm and 1000pixels for the duration of the study. Therefore, the pixel size was smaller than the optical resolution. This system acquired cross sectional images only, so external movement of the sample or the imaging probe was required to obtain volumetric data.

A stable fixture was designed to position the contact lens and enable rotation of the probe to take multiple images of the contact lenses. The cuvette was fitted with a v-shaped rubber wedge to hold the contact lens in place. Since deformation can occur if the contact lens is resting on its apex, the contact lens rested on its circumference with the apex pointing up.

Measuring prism requires measuring the thickness all the way around the contact lens at a fixed distance from the edge. The distance used for this experiment was 0.3mm from the lens edge. Since the contact lens rested on its edges in the cuvette, the imaging probe was placed underneath the cuvette, pointing upward. The optical axis was placed at an angle of about 20deg from the surface normal of the cuvette glass, as shown in Fig. 1 . The angle was used both to minimize reflection from the cuvette glass and to maximize the signal from the contact lens surfaces.

Fig. 1

Diagram of imaging fixture. The imaging probe was mounted to a rotation stage at an angle of 20deg from vertical. The center of rotation of the rotation stage was aligned to match the center of the contact lens.


The rubber wedge in the cuvette prevented lateral motion, but not rotational motion. Therefore, the cuvette was held stationary while the probe rotated 360deg to acquire all of the images in a set. An automated motorized rotation stage was used for maximum accuracy and repeatability. As shown in Fig. 2 , the contact lens was always oriented in the same way relative to the cuvette. This provided a consistent reference point for the rotation angle.

Fig. 2

There are markings on the contact lens at the angles shown, along with some text identifying the contact lens. These markings are used to obtain a consistent orientation inside the cuvette.




We performed three experiments to evaluate the performance of the automated thickness measurement technique. The thickness was measured at 0.3mm from the contact lens edge. The first and second experiments were both performed to test the repeatability of the algorithm. In the first experiment, ten images were taken at each angle on a single contact lens before rotating the probe to the next angle. This tested the repeatability of the OCT image acquisition and the algorithm without any variability due to contact lens movement or probe movement. In the second experiment, images were taken along a full rotation on a single contact lens, and the rotation was repeated ten times. This tested the repeatability of the entire thickness measurement system as a whole. The third experiment compared the OCT thickness results with the thickness measured using another technique. The other technique involved physically cutting a slice out of the contact lens and examining the slice under a microscope, where the thickness was measured manually. Six lenses were analyzed by taking an image every 10deg for three repeated rotations for a total of 108 images per lens, which adds up to 648 images. The slicing technique only produced four data points per lens, whose measurements were compared with the corresponding average OCT thickness measurements.


Image Analysis

A Matlab program (Matlab, Natick, Massachusetts) was written to automatically analyze a single OCT image and measure the thickness of a contact lens 0.3mm from the edge. The four main steps performed to make a thickness measurement include: 1. defining the contact lens, cuvette glass, and saline regions; 2. correcting refraction; 3. finding the measurement point and calculating the thickness; and 4. determining if the measurement was valid.



The first major step of the algorithm was to accurately break the image into regions corresponding to the contact lens, the cuvette glass, and the saline solution, as defined in Fig. 3 . The regions can be clearly defined by boundary lines corresponding to the glass-saline interface and the contact lens-saline interfaces. Therefore, defining these lines was sufficient to completely segment the image into the required regions. Prior to searching for the cuvette glass boundary, the program performed three image preparation tasks.

Fig. 3

Region of interest for the final segmentation results are: cuvette glass, saline solution, and contact lens.



Presegmentation image processing

First, the image was scaled for square pixels so that the error would not be magnified in one dimension over the other. The settings used to acquire the images in this work produced pixels that are 3.1μm tall by 1.8μm wide, as determined by taking images of a calibration target. The image was up-sampled using bilinear interpolation, so that each pixel measured 2.0×2.0μm .

Second, the image was automatically cropped around the contact lens. Cropping was necessary for removing unwanted complications such as the rubber wedge or image artifacts. Cropping also reduced computation time, because all subsequent calculations had fewer pixels to process. The cropping algorithm located the approximate location of the contact lens in the image by estimating the derivative of a smoothed plot of the average intensity of each image column. The left-most local maximum of a sufficiently smoothed brightness plot corresponded with the location of the contact lens. Then everything outside of a 1000-pixel -wide window centered on the contact lens was removed. The resulting cropped image needed to be wide enough to safely encompass the contact lens and tall enough so that the 0.3-mm measurement point was guaranteed to be in view.

The third and final image preparation task was the application of a median filter with a 5×5 kernel. This removed most of the salt and pepper noise from the image, providing a much cleaner result for the following steps.


Cuvette glass location

Next, the algorithm found the edge of the cuvette glass, which was assumed to be a straight line. The search required the following steps: 1. thresholding, 2. morphology, and 3. Hough transform. A threshold was used to create a bilevel image from the grayscale image. The threshold was determined using Otsu’s method.17 The resulting bilevel image was processed using binary closing with a 1×15pixel structuring element to make sure the glass line was continuous, which resulted in the image shown in Fig. 4 . This image was then skeletonized, which reduced all of the shapes down to one pixel wide. Then the Hough transform was used to locate the cuvette glass edge.18 The skeletonization ensured that the line found by the Hough transform was in the center of the cuvette glass boundary. The final result for the cuvette glass search is shown in Fig. 4, where the line representing the cuvette glass edge is shown in black.

Fig. 4

(a) Processed bilevel image. (b) The cuvette glass surface search result is shown, with the black line indicating the location and angle of the modeled surface, as computed by the segmentation algorithm.


Before searching for the contact lens inner and outer edges, the image was rotated and shifted so that the cuvette glass was horizontal and located directly at the top of the view. The rotated image was then cropped further to a height of 800pixels , where the signal from the contact lens is too low to be visible. The rotation simplified the refraction correction calculations and improved the visual qualities of the final result.


Contact lens boundary locations

Next, the four steps performed by the algorithm to locate the inner and outer edges of the contact lens were: 1. applying the threshold to create a mask, 2. processing the mask using binary morphology, 3. searching along the edges of the mask for edge points, and 4. fitting a polynomial to the inner edge and applying smoothing to the outer edge data points. A novel method for locating the edges of the contact lens was chosen rather than traditional edge detection such as Sobel or Canny. The reason for this choice was the speckle pattern of the contact lens in the OCT image. The contact lens did not appear as a solid structure; it showed up instead as a collection of large speckles with visible gaps between them, which can be seen in Fig. 3. It was assumed that the true contact lens edge existed along the centers of the outermost speckles. Based on this assumption, standard edge detection or threshold approaches could not locate the true contact lens edge as accurately as the algorithm we used.

The threshold step for identifying the contact lens edges was not as straightforward as the thresholding described previously for locating the cuvette glass. Locating and applying a threshold using the gray-level image was too sensitive to variations in signal-to-noise ratio (SNR) between images and other image artifacts. Instead, prior to finding a threshold, a texture analysis approach was used to improve the robustness of the search. This approach worked well, because the texture of the contact lens was clearly different from the texture of the saline solution, and that difference was independent of any variations in brightness, contrast, or SNR. One standard method of characterizing texture in an image is entropy.18 At every pixel in the rotated, cropped, gray-level image, the local entropy was calculated using a disk-shaped structuring element with a radius of five pixels. Each pixel in the image was replaced with its local entropy value, creating an entropy map. Again, using Otsu’s method, an ideal threshold was found and applied to the entropy map to create a bilevel image, which was used as a mask [see Fig. 5 ]. The resulting mask was refined using binary morphology operations, resulting in the final mask shown in Fig. 5.

Fig. 5

(a) Mask after threshold is applied to an entropy mask. (b) Mask in (a) processed using binary morphology to remove unwanted artifacts and leave only the contact lens visible.


Once the mask was complete, the algorithm began searching for data points along the inner and outer edges of the contact lens. The mask was applied to the cropped, rotated, gray-level image using element-by-element multiplication. As stated previously, it was assumed that the true edge of the contact lens existed in the center of the outermost speckles in the contact lens region. The algorithm searched along the inner and outer edges of the mask for the brightest pixel in a 7×7pixel region. The 7×7pixel area corresponded roughly with the size of the speckles, where it was assumed the brightest pixel corresponded with the centroid of the speckle.

After the inner and outer edge data points were collected, the algorithm fitted a third order polynomial to the inner surface using least squares regression. A polynomial was used for the inner surface so that the refraction correction algorithm described next could accurately calculate the surface normals. The outer edge points were smoothed instead of having a polynomial fit to them, because there was no need for a closed form representation of the outer surface. Also, the outer surface was often shaped in a way that would not allow for a simple functional representation of the surface. Robust Loess smoothing was used to smooth the outer surface data points, using a span of 30% of the data points as described in Ref. 19. The resulting segmentation result is shown in Fig. 6 , where the contact lens edges are shown in black.

Fig. 6

Final segmentation result with black lines indicating modeled inner and outer contact lens surfaces as computed by the segmentation algorithm.



Refraction Correction

For consistency, the “inner” contact lens surface refers to the surface that sits against the eye, while the “outer” contact lens surface refers to the surface that is exposed to the air. The three regions in the image—contact lens, saline, and cuvette—each had a different refractive index. There were three surfaces that refracted light: the interface between air and the angled cuvette glass, the interface between the cuvette glass and the saline solution, and the inner contact lens surface. The outer contact lens surface refracted light as well, but there was nothing of interest beyond the outer surface, so no correction was necessary. The purpose of the algorithm was to locate precisely where the contact lens surfaces were and describe their shape in physical space. Since the cuvette glass was removed from the image during the location and image rotation step, the only surfaces that had to be corrected were the inner and outer contact lens surfaces. The refraction caused by the cuvette glass was taken into account during the calculation to determine the angle of the incoming rays from the top of the image. Westphal performed refraction correction on entire OCT images using a method based on Fermat’s principle of least time.20 They used Fermat’s principle because their images had multiple curved surfaces, and the path of the beam through the sample could not be determined a priori.

In our application, the only refracting curved surface of interest was the inner contact lens surface, so the path of the beam could be computed for each surface using a ray-tracing model and Snell’s law. Also, there was no need in this application to correct the entire image. First, the inner contact lens surface was corrected followed by the outer contact lens surface. For each point along the surface of interest, the incoming ray was modeled as a group of line segments. The number of line segments corresponded to the number of refracting surfaces the light traveled through. Another line segment must be added to the model to account for the change in angle and the change in path length caused by each interface between materials with different refractive indices. Thus, the model for the incoming rays for the inner surface contained one line segment, and the model for the incoming rays for the outer surface contained two line segments. Each line segment was corrected for angle and length. The angle was computed using Snell’s law, and the length was computed by dividing the length of the line segment by the index of refraction of the material.

Once complete, the refraction correction algorithm produced a set of discrete data points for the inner and outer surfaces of the contact lens. The set of data points corresponding to the inner surface was modeled by a polynomial using least squares regression, and the outer surface data points were smoothed using robust Loess smoothing. The refraction corrected surfaces are shown in Fig. 7 as the solid white lines closest to the top of the image.

Fig. 7

Final measurement result, with white solid lines indicating refraction corrected contact lens surface models, and dashed white line indicating where the thickness measurement was taken.




The thickness measurement was taken at a distance of 0.3mm from the contact lens tip. To find the measurement point, the algorithm traversed the inner contact lens boundary starting at the tip of the contact lens. When the algorithm traveled 0.3mm , the angle of the line normal to the inner surface was computed. Then a line was drawn at that angle and the distance was calculated between the intersection of this line with the outer contact lens surface and the measurement point on the inner contact lens surface. The dashed line in Fig. 7 represents the measurement line.

The prism for a lens is computed using a complete set of thickness measurements. A thickness profile is constructed by plotting the thickness versus the angle at which the thickness was measured. Once the thickness profile was smoothed, the minimum and maximum points along the profile were located, and the difference between them was used as the prism measurement.


Error Detection

Since calculating prism involves subtracting the minimum thickness measurement from the maximum thickness measurement, it was important that erroneous thickness measurements were not included in the calculation. If there was a measurement error caused by erroneous segmentation or by an unusable OCT image, the algorithm output NaN (not a number). In this case, missing a data point was preferable to including a bad data point. The method used by the algorithm for determining if a measurement was valid involved comparing the slope of both contact lens surfaces at the measurement point. It was assumed that the inner and outer slope would be close to the same value if the segmentation was performed correctly. Therefore, any measurement taken in which the inner and outer slopes differed by more than 35% was deemed incorrect and set to NaN. Four data points out of 648 were rejected based on this criterion alone for a rejection rate of 0.62%.





The repeatability of the algorithm was tested in two ways: stationary and consecutive. In the first experiment (the stationary rotation test) ten images in a row were taken at four different angles evenly spaced around the contact lens. This tested the robustness of the algorithm to minor variations during the image acquisition process such as noise. The results of this test are shown in Table 1 . The worst case deviation occurred at 90deg , where the difference between the minimum and maximum thickness measurements was 1.6μm . This is a good result, because the size of the upsampled pixels was 2×2μm .

Table 1

Stationary repeatability results.

Angle (deg)090180270
RotationThickness (μm)
Mean STD0.46
Max STD0.53
Mean Range1.5
Max Range1.6

The second repeatability experiment, the consecutive rotation test, examined the robustness of the algorithm to probe movement in addition to image acquisition. In this experiment, one image was taken at each of four angles and the full rotation was repeated ten times. Any error in the automated rotation stage resulted in the image from one rotation being taken at a slightly different location than the previous image. Other variations introduced in this experiment include signal strength variances caused by movement of the probe’s optical fiber during rotation, as well as small movements of the contact lens due to vibrations caused by the rotation. The results from the second experiment are shown in Table 2 . The results suggest that the rotation stage has very little effect on the repeatability of the thickness measurements. The worst case range occurred at 180deg , with a range of 1.8μm . Out of the 80 images taken between the two repeatability tests, the algorithm segmented all 80 properly without returning an error.

Table 2

Consecutive rotation repeatability results.

Angle (deg)090180270
RotationThickness (μm)
Mean STD0.46
Max STD0.53
Mean Range1.6
Max Range1.8



The nondestructive OCT thickness measurement technique presented here is meant to replace a destructive thickness measurement technique that requires the contact lens to be sliced. A thin slice of the contact lens was made by placing two blades close together and cutting across the center of the contact lens. This process could only be reliably performed once more after the first slice, producing a total of four measurement data points at the 0.3-mm position. The slices were placed under a microscope and the thickness was measured manually. We compared this process to the OCT technique by taking OCT images of six contact lenses and then performing the manual microscope measuring technique. The angles for the measurements were matched using the markings on the contact lens shown in Fig. 2. Each lens was imaged three times at increments of 10deg . This produced 108 images per lens. Once the OCT images were taken, the lenses were sliced and measured under a microscope. The slicing technique only produced four measurements per lens, so there are only four angles on each lens to compare the two methods. A histogram is given in Fig. 8 that shows the distribution of the difference between the two methods. A negative difference indicates that the OCT measurement was smaller than the microscope measurement. The mean difference is 1.3μm . The standard deviation of the difference is 1.7μm , and the range between the maximum and minimum difference is 9.0μm . Note that the three data points in the 6-μm bin all correspond to the same microscope measurement, because three OCT measurements were taken at each angle. Out of 648 images, 53 of them segmented incorrectly. Images taken at 45 and 135deg were not expected to segment correctly because the contact lens was touching the rubber wedge inside the cuvette in these images, preventing any possibility of an accurate segmentation. Of the 53 segmentation errors, 24 were located adjacent to (±5deg) the 45- and 135-deg points, 25 had data acquisition problems, and four were segmentation errors caused by the algorithm.

Fig. 8

Histogram of the difference between the OCT measurement and the microscope measurement. The bin values represent the difference between automated OCT measurements and manual microscope measurements of a specific lens at a specific angle. Computed using [OCT measurement]–[microscope measurement]=difference.


Figure 9 shows one example of a full thickness profile, including the microscope section results. The thickness profile has not been smoothed. The gaps in the profile occurred at angles of 45 and 135deg , where the contact lens was touching the rubber wedge inside the cuvette and the algorithm could not determine where the contact lens ended and the rubber wedge began. The data points are located at the average of the three thickness values, and the error bars show the minimum and maximum measurements at each angle.

Fig. 9

Thickness profile data for a single contact lens.




The thickness measurement algorithm was able to accurately measure the thickness of a contact lens at 0.3mm from the edge. The algorithm was able to process, crop, segment, correct refraction, and measure thickness without the need for user input.

The image preprocessing steps were simple to implement and left as much of the raw image data intact as possible. The image was up-sampled to achieve square pixels without any loss of data using bilinear interpolation, which was the best compromise between accuracy and speed.

One issue that can contribute error to quantitative OCT measurements is nontelecentric scanning. If the optics of the OCT system are not telecentric, then a sample with a straight edge will appear curved in the resulting OCT image. The refraction correction algorithm described by Westphal corrects for nontelecentric scanning in addition to refraction.20 Our software does not make any telecentricity corrections to the image, because the Thorlabs OCT system is designed to be telecentric up to a maximum software limited image width of 10mm . Our images were only 2mm wide, and at this width the Thorlabs OCT system shows no detectable curvature caused by lack of telecentricity. Therefore, the assumption that the cuvette glass edge is a straight line in the image is valid, as shown in Fig. 4.

Accurately locating the contact lens surfaces was a key requirement for measuring thickness. The texture-based thresholding technique used for segmentation proved to be a reliable way of initially locating the contact lens in the image. None of the errors were caused by an incorrect or inadequate initial segmentation. Based on the assumptions that the contact lens surfaces are smooth and lie along the centers of the outermost speckles, the algorithm estimated the location of the contact lens surfaces with subpixel precision. Visual inspection revealed that the lines drawn by the software to mark the locations of the contact lens surfaces were in fact located directly on the centers of the outer speckles.

The refraction correction algorithm was verified indirectly by comparing the results of the OCT thickness measurement with the microscope thickness measurement. The similarity between the microscope results and the OCT results suggests that the refraction correction was performing correctly. No extra calibration factors were used to adjust the refraction correction calculations. Instead, calibration was performed by scaling the original acquired image in the horizontal and vertical directions by an amount determined by taking images of a calibration target. Also, the refractive indices of the materials visible in the OCT image were all measured separately, without using OCT. The fact that the largest difference between the OCT and microscope measurements was about the same as the optical resolution of the OCT system suggests that the refraction correction method is accurate to at least the resolution of the OCT system.

Since prism is a differential measurement between the extremes of the thickness profile, we could not afford to include bad data points in the dataset. Instead of removing data points based on whether the thickness measurement was inside expected boundaries, bad data points were identified based on the segmentation results. The shape of contact lenses dictates that the inner and outer surfaces will have almost the same slope at any particular point through the lens. Therefore, if the slopes of the inner and outer surfaces are not within 35% of each other at the measurement point, then the thickness is not included in the final dataset. Any gaps that this leaves in the thickness profile can be filled in by interpolating the thickness profile data.

A known issue with our setup is the inability to measure the contact lens thickness at angles within about 5deg of 45 and 135deg , where the contact lens touches the rubber wedge. If the maximum or minimum thickness lay at one of these angles, then the accuracy of the prism measurement depends on the extrapolation method for filling in these portions of the thickness profile. Another drawback to this technique is the requirement that the contact lens be placed in a glass cuvette filled with saline solution. While this technique is nondestructive, the lens must still be taken out of its mold or packaging to be measured.

Future applications for OCT as a contact lens metrology device include further development toward implementing OCT in the manufacturing line. The first step has already been completed by automating both image acquisition and image analysis. However, as mentioned before, the current technique requires the contact lens to be placed into a glass cuvette prior to measurement. In the future, it would be desirable for the OCT measurements to be made on a lens in the mold or in its final packaging.



The results show that OCT can be used to accurately measure the thickness of contact lenses. The benefits of using OCT and our automated algorithm include nondestructive imaging, high sensitivity, speed, and no need for user input. The thickness measurement algorithm is able to accurately measure the thickness of a contact lens 0.3mm from the edge. The algorithm is able to process, crop, segment, correct refraction, and measure thickness without the need for user input. The entire process takes 6min and 55sec to produce a report for 36 measurements. The acquisition alone takes 1min 35sec , so the majority of the time is spent on image analysis. The algorithm is implemented in Matlab. The analysis time could be decreased by translating the code to a compiled programming language such as C.

The OCT thickness measurements are very close to manually sectioned microscope thickness measurements. The OCT technique is nondestructive and allows for a much finer angular resolution for the resulting thickness profile. Assuming an accurate thickness measurement, a finer angular resolution will provide a more accurate prism measurement. Unlike the manual sectioning technique and other contact lens thickness measurement techniques, it may be possible to employ OCT instruments in the manufacturing line to automatically determine prism without sacrificing any contact lens samples. Two possible approaches could be used for imaging contact lenses on the manufacturing line. One approach is to image the contact lenses inside the mold. This approach would require greater imaging depth and more complicated image processing algorithms than we used. Another approach would involve imaging the contact lenses while they are submerged in saline solution, after they are removed from the mold. This approach would require the fastest possible imaging speed and less reliance on perfect alignment of the contact lens with the imaging probe. Other scanning topologies and packaging materials could be investigated to achieve the highest possible accuracy and shortest possible measurement time.



J. Rogowska, C. M. Bryant, and M. E. Brezinski, “Cartilage thickness measurements from optical coherence tomography,” J. Opt. Soc. Am. A Opt. Image Sci. Vis, 20 357 –367 (2003). 1084-7529 Google Scholar


E. Z. Blumenthal, J. M. Williams, R. N. Weinreb, C. A. Girkin, C. C. Berry, and L. M. Zangwill, “Reproducibility of nerve fiber layer thickness measurements by use of optical coherence tomography,” Ophthalmology, 107 2278 –2282 (2000). 0161-6420 Google Scholar


M. Bechmann, M. Thiel, A. Neubauer, S. Ullrich, K. Ludwig, K. Kenyon, and M. Ulbig, “Central corneal thickness measurement with a retinal optical coherence tomography device versus standard ultrasonic pachymetry,” Cornea, 20 50 –54 (2001). 0277-3740 Google Scholar


G. R. Fishman, M. E. Pons, J. A. Seedor, J. M. Liebmann, and R. Ritch, “Assessment of central corneal thickness using optical coherence tomography,” J. Cataract Refractive Surg., 31 707 –711 (2005). 0886-3350 Google Scholar


K. Hirano, Y. Ito, T. Suzuki, T. Kojima, S. Kachi, and Y. Miyake, “Optical coherence tomography for the noninvasive evaluation of the cornea,” Cornea, 20 281 –289 (2001). 0277-3740 Google Scholar


S. Sin and T. Simpson, “The repeatability of corneal and corneal epithelial thickness measurements using optical coherence tomography,” Optom. Vision Sci., 83 360 –365 (2006). 1040-5488 Google Scholar


S. Haque, D. Fonn, T. Simpson, and L. Jones, “Corneal refractive therapy with different lens materials, part 1: corneal, stromal, and epithelial thickness changes,” Optom. Vision Sci., 84 343 –348 (2007). 1040-5488 Google Scholar


B. J. Kaluzny, W. Fojt, A. Szkulmowska, T. Bajraszewski, M. Wojtkowski, and A. Kowalczyk, “Spectral optical coherence tomography in video-rate and 3D imaging of contact lens wear,” Optom. Vision Sci., 84 1104 –1109 (2007). 1040-5488 Google Scholar


G. T. Bonnema, K. O. Cardinal, J. B. McNally, S. K. Williams, and J. K. Barton, “Assessment of blood vessel mimics with optical coherence tomography,” J. Biomed. Opt., 12 (2), 024018 (2007). 1083-3668 Google Scholar


J. P. Dunkers, R. S. Parnas, G. C. Zimba, R. C. Peterson, K. M. Flynn, J. G. Fujimoto, and B. E. Bouma, “Optical coherence tomography of glass reinforced polymer composites,” Composites, Part A, 30 139 –145 (1999). 1359-835X Google Scholar


M. L. Negrutiu, C. Sinescu, C. Todea, and A. G. Podoleanu, “Complete denture analyzed by optical coherence tomography,” Proc. SPIE, 6843 68430R (2008). 0277-786X Google Scholar


M. Yang, A. M. Winkler, J. K. Barton, and P. Vandiver, “Using optical coherence tomography for monitoring the subsurface morphology of Chinese glazes,” Archaeometry, 51 808 –821 (2009). 0003-813X Google Scholar


“Ophthalmic optics—contact lenses part 3: measurement methods,” (2006). Google Scholar


A. Tomlinson, W. H. Ridder, and R. Watanabe, “Blink-induced variations in visual performance with toric soft contact lenses,” Optom. Vision Sci., 71 545 –549 (1994). 1040-5488 Google Scholar


A. M. Bagci, R. Ansari, and M. Shahidi, “A method for detection of retinal layers by optical coherence tomography image segmentation,” 144 –147 (2007). Google Scholar


D. Koozekanani, K. Boyer, and C. Roberts, “Retinal thickness measurements from optical coherence tomography using a Markov boundary model,” IEEE Trans. Med. Imaging, 20 900 –916 (2001). 0278-0062 Google Scholar


N. Otsu, “A threshold selection method from gray-level histograms,” IEEE Trans. Syst. Man Cybern., 9 62 –66 (1979). 0018-9472 Google Scholar


M. Sonka, V. Hlavac, and R. Boyle, Image Processing, Analysis, and Machine Vision, 3rd ed.Thomson Learning, New York (2008). Google Scholar


W. S. Cleveland, “Robust locally weighted regression and smoothing scatterplots,” J. Am. Stat. Assoc., 74 829 –836 (1979). 0162-1459 Google Scholar


V. Westphal, A. Rollins, S. Radhakrishnan, and J. Izatt, “Correction of geometric and refractive image distortions in optical coherence tomography applying Fermat’s principle,” Opt. Express, 10 397 –404 (2002). 1094-4087 Google Scholar
©(2010) Society of Photo-Optical Instrumentation Engineers (SPIE)
Bryan R. Davidson and Jennifer K. Barton "Application of optical coherence tomography to automated contact lens metrology," Journal of Biomedical Optics 15(1), 016009 (1 January 2010).
Published: 1 January 2010

Back to Top