<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE article  PUBLIC "-//NLM//DTD Journal Publishing DTD v3.0 20080202//EN" "http://dtd.nlm.nih.gov/publishing/3.0/journalpublishing3.dtd"><article xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" dtd-version="3.0" xml:lang="en" article-type="research article"><front><journal-meta><journal-id journal-id-type="publisher-id">JAMP</journal-id><journal-title-group><journal-title>Journal of Applied Mathematics and Physics</journal-title></journal-title-group><issn pub-type="epub">2327-4352</issn><publisher><publisher-name>Scientific Research Publishing</publisher-name></publisher></journal-meta><article-meta><article-id pub-id-type="doi">10.4236/jamp.2017.58125</article-id><article-id pub-id-type="publisher-id">JAMP-78161</article-id><article-categories><subj-group subj-group-type="heading"><subject>Articles</subject></subj-group><subj-group subj-group-type="Discipline-v2"><subject>Physics&amp;Mathematics</subject></subj-group></article-categories><title-group><article-title>
 
 
  Application of Complementary Error Function to the Transition Zone of Myopic Ablation Shapes in Refractive Surgery
 
</article-title></title-group><contrib-group><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Guang-Ming</surname><given-names>Dai</given-names></name><xref ref-type="aff" rid="aff1"><sub>1</sub></xref></contrib></contrib-group><aff id="aff1"><label>1</label><addr-line>Research and Development, Johnson and Johnson Vision, Milpitas, CA, USA</addr-line></aff><author-notes><corresp id="cor1">* E-mail:</corresp></author-notes><pub-date pub-type="epub"><day>03</day><month>08</month><year>2017</year></pub-date><volume>05</volume><issue>08</issue><fpage>1521</fpage><lpage>1528</lpage><history><date date-type="received"><day>March</day>	<month>16,</month>	<year>2017</year></date><date date-type="rev-recd"><day>Accepted:</day>	<month>July</month>	<year>31,</year>	</date><date date-type="accepted"><day>August</day>	<month>4,</month>	<year>2017</year></date></history><permissions><copyright-statement>&#169; Copyright  2014 by authors and Scientific Research Publishing Inc. </copyright-statement><copyright-year>2014</copyright-year><license><license-p>This work is licensed under the Creative Commons Attribution International License (CC BY). http://creativecommons.org/licenses/by/4.0/</license-p></license></permissions><abstract><p>
 
 
  In refractive surgery, the cubic spline fit for the transition zone breaks down for myopia and myopic meridians in mixed astigmatism as in many cases the cubic spline function runs into negative values. In this paper, the complementary error function is proposed instead of the cubic spline function as the transition zone function, due to the availability of analytical expression of its derivatives and the nonnegativity fact. It is shown that with the use of the complementary error function, transition zones for all refractive types work correctly.
 
</p></abstract><kwd-group><kwd>Error Function</kwd><kwd> Complementary Error Function</kwd><kwd> Vision Correction</kwd><kwd> Refractive Surgery</kwd><kwd> Treatment Algorithm</kwd></kwd-group></article-meta></front><body><sec id="s1"><title>1. Introduction</title><p>In refractive surgery [<xref ref-type="bibr" rid="scirp.78161-ref1">1</xref>] , where human tissue is ablated to correct for vision, a central area called the optical zone (OZ) is designed such that the optics within the zone is optimal for vision. However, the surrounding area, which is called the transition zone (TZ), needs serious consideration; or there might be associated vision problems such as glares, star bursts, halos, to name a few, due to abrupt curvature changes. Traditionally, cubic spline functions are used to perform the task for transitioning the ablation area to the unablated corneal surface.</p><p>The spline functions have been widely used for applications in various fields, such as for smoothing [<xref ref-type="bibr" rid="scirp.78161-ref2">2</xref>] [<xref ref-type="bibr" rid="scirp.78161-ref3">3</xref>] , data analysis [<xref ref-type="bibr" rid="scirp.78161-ref4">4</xref>] , curve fitting [<xref ref-type="bibr" rid="scirp.78161-ref5">5</xref>] [<xref ref-type="bibr" rid="scirp.78161-ref6">6</xref>] , image mosaic [<xref ref-type="bibr" rid="scirp.78161-ref7">7</xref>] , and in vision [<xref ref-type="bibr" rid="scirp.78161-ref8">8</xref>] [<xref ref-type="bibr" rid="scirp.78161-ref9">9</xref>] . When two surface zones need to be connected, discontinuity between the two zones is a major concern [<xref ref-type="bibr" rid="scirp.78161-ref10">10</xref>] . For our application, where a nonzero area is to be transitioned to zero, geometric continuity and parametric continuity are considered. For geometric continuity, a nonzero value needs to be transitioned to zero; for parametric continuity, surface slope (first derivative) must be smoothly connected.</p><p>The cubic spline functions work correctly for refractive surgical types such as hyperopia and hyperopic astigmatism. However, for myopia, myopic astigmatism and mixed astigmatism, the transition zone runs into negative values when the edge of the optical zone is too steep (slope smaller than −2). Since no negative tissue can be ablated, negative values are usually ignored, causing incorrect ablation shapes.</p><p>In this paper, complementary error function is used as the transition zone function for cases when the slope of the optical zone edge is lower than −2. The geometric continuity and the parametric continuity for the complementary error function are discussed. Simulation of the real-life ablation shapes with the use of both cubic spline function and complementary error function is given to show the effectiveness for the use of the complementary error function.</p></sec><sec id="s2"><title>2. Review of Cubic Spline Fit Mathematics</title><p>For simplicity, assume that the transition zone starts from u = 0 to u = 1 along any radial meridian for a two-dimensional surface. Further, assume that the transition zone function has values between 0 and 1, shown in <xref ref-type="fig" rid="fig1">Figure 1</xref>, as it is easy to be multiplied to scale the transition zone values.</p><p>The general form for a cubic function can be given by</p><disp-formula id="scirp.78161-formula55"><label>(1)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/2-1720837x2.png"  xlink:type="simple"/></disp-formula><p>where a, b, c, and d are the unknowns. We further assume that the slope at the outer edge of the optical zone is s. With these four unknowns, it is necessary to use four equations to solve them. Generally speaking, these are the four conditions that form the four equations:</p><fig id="fig1"  position="float"><label><xref ref-type="fig" rid="fig1">Figure 1</xref></label><caption><title> Schematic of the optical zone (OZ), transition zone (TZ) and ablation zone (AZ). Each radial line is considered as a cross section for a given meridian</title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/2-1720837x3.png"/></fig><p>・ When u = 0, S(u) = 1 for geometric continuity at the inner edge;</p><p>・ When u = 1, S(u) = 0 for geometric continuity at the outer edge;</p><p>・ When u = 0, S'(u) = s for parametric (slope) continuity at the inner edge;</p><p>・ When u = 1, S'(u) = 0 for parametric (slope) continuity at the outer edge.</p><p>Using the four equations obtained from these conditions yields the solution as</p><disp-formula id="scirp.78161-formula56"><label>(2)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/2-1720837x4.png"  xlink:type="simple"/></disp-formula><p>This solution works correctly when the slope at the outer edge of the optical zone (s) is greater than −2. However, when s &lt; −2, Equation (2) has the potential to result in a negative value, since the first derivative of S(u) in Equation (2) is quadratic and it has two roots. If the first one occurs at u = 1, the other one may occur at u &lt; 1. When this happens, the transition zone contains negative values. Since no negative ablations can be allowed, they must be zeroed out, resulting in the implemented transition zone much smaller, as illustrated in <xref ref-type="fig" rid="fig2">Figure 2</xref>.</p><p>To prevent negative values to occur, we can force S(u) to be always positive, thus</p><disp-formula id="scirp.78161-formula57"><label>(3)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/2-1720837x5.png"  xlink:type="simple"/></disp-formula><p>yielding</p><disp-formula id="scirp.78161-formula58"><label>(4)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/2-1720837x6.png"  xlink:type="simple"/></disp-formula><fig id="fig2"  position="float"><label><xref ref-type="fig" rid="fig2">Figure 2</xref></label><caption><title> Cross sections of ablation profile for a −4 D with a 6 mm OZ and 9 mm AZ. The theoretical value of the transition zone at u = 1 is 0 and the slope at u = 1 is also 0. But since the transition zone has negative values, they were zeroed out, resulting in an effective ablation zone of 6.5 mm</title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/2-1720837x7.png"/></fig><p>It is easy to show that the asymptotic value of s is −2:</p><disp-formula id="scirp.78161-formula59"><label>(5)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/2-1720837x8.png"  xlink:type="simple"/></disp-formula><p>Based on the above analysis, it is necessary to use a different transition function for situations when the slope is smaller than −2, to prevent running into negative transition zone values.</p></sec><sec id="s3"><title>3. Complementary Error Function as a Transition Zone Function</title><p>From the fact that the ideal transition zone function spans from 1 to 0 without resulting in negative values, it is easy to think about the complementary error function, which runs from 1 to 0 asymptotically. It will never run into negative values. The complementary error function is given by</p><disp-formula id="scirp.78161-formula60"><label>(6)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/2-1720837x9.png"  xlink:type="simple"/></disp-formula><p>It is an important property that the complementary error function has an analytical form of its derivative, which is critical for laser vision correction application. Its derivative is given by</p><disp-formula id="scirp.78161-formula61"><label>(7)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/2-1720837x10.png"  xlink:type="simple"/></disp-formula><p><xref ref-type="fig" rid="fig3">Figure 3</xref> shows both the complementary error function and its derivative. If we normalize the derivative by the complementary error function, we get the normalized derivative of the complementary error function as</p><disp-formula id="scirp.78161-formula62"><label>(8)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/2-1720837x11.png"  xlink:type="simple"/></disp-formula><p>An approximation of Equation (8) may be obtained [<xref ref-type="bibr" rid="scirp.78161-ref11">11</xref>] as</p><disp-formula id="scirp.78161-formula63"><label>(9)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/2-1720837x12.png"  xlink:type="simple"/></disp-formula><p>Note the normalized derivative of the complementary error function is very close to a straight line, as shown in <xref ref-type="fig" rid="fig4">Figure 4</xref>. If we take only one term in the denominator in Equation (9), we obtain a very simple approximation: D(u) = −2u. Equation (8) can be used to calculate where to start the normalized complementary error function, defined as</p><disp-formula id="scirp.78161-formula64"><label>(10)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/2-1720837x13.png"  xlink:type="simple"/></disp-formula><p>Here, u<sub>0</sub> can be calculated by using D(u) = s. This property is very useful for the implementation of S(u) as the transition zone function. Therefore, at u<sub>0</sub>, the derivative of S(u) equals to s when u = 0. When u = 1, S(u) gets close to zero. Indeed, S(u) can be used as a transition zone function.</p><fig id="fig3"  position="float"><label><xref ref-type="fig" rid="fig3">Figure 3</xref></label><caption><title> Complementary error function and its derivative</title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/2-1720837x14.png"/></fig><fig id="fig4"  position="float"><label><xref ref-type="fig" rid="fig4">Figure 4</xref></label><caption><title> Normalized and unnormalized derivatives of the complementary error function</title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/2-1720837x15.png"/></fig><p>Sometimes, the normalized complementary error function S(u) has an ending value (u = 1) too large when multiplied by a large transition zone height. Therefore, it is necessary to introduce an expanding factor</p><disp-formula id="scirp.78161-formula65"><label>(11)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/2-1720837x16.png"  xlink:type="simple"/></disp-formula><p>where h is the ablation depth (in microns) at the transition zone edge <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1720837x17.png" xlink:type="simple"/></inline-formula> and h<sub>0</sub> (also in microns) is a constant determined by experiments. Without the use of the expanding factor, the transition curve may have unsmoothed transition. It was found that h<sub>0</sub> = 55 works well for all cases. The final transition zone function is then given by</p><disp-formula id="scirp.78161-formula66"><label>(12)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/2-1720837x18.png"  xlink:type="simple"/></disp-formula><p>It is easy to show that</p><disp-formula id="scirp.78161-formula67"><label>(13)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/2-1720837x19.png"  xlink:type="simple"/></disp-formula><p>Hence, when the expanding factor is needed, finding u<sub>0</sub> should be done by equating</p><disp-formula id="scirp.78161-formula68"><label>(14)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/2-1720837x20.png"  xlink:type="simple"/></disp-formula><p>With the above-mentioned properties, the transition zone algorithm can be given as</p><p>1) For each meridian, calculate the slope at the end of the optical zone;</p><p>2) If the slope is greater than or equal to −2, use the cubic spline function;</p><p>3) If the slope is less than −2, use the new algorithm by</p><p>a) Calculate the expanding constant c = exp(h<sup>2</sup>/3025) where h is the ablation depth at the end of the optical zone;</p><p>b) Match the slope to the normalized derivative function D(u) = s/c to find u<sub>0</sub>. An easy approximation is u<sub>0</sub> = −s/(2c) (based on <xref ref-type="fig" rid="fig4">Figure 4</xref>);</p><p>c) Calculate the transition zone function <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-1720837x21.png" xlink:type="simple"/></inline-formula> for u = 0 to 1;</p><p>d) The value of S(cu) replace the original spline function in areas the slope is less than −2.</p></sec><sec id="s4"><title>4. Simulation Results</title><p>To test the new algorithm, we have chosen six most typical refractive cases: spherical myopia of −4 D, myopic astigmatism of −4 DS/−2 DC, spherical hyperopia of +3 D, hyperopic astigmatism of +3 DS/+1 DC, mixed astigmatism of +2 DS/−3 DC, and a wavefront-based high myopic case with high order aberrations. Both the x- and y-cross sections are examined. All cases use a 6 mm optical zone (OZ) and a 9 mm ablation zone (AZ) for easy comparison. The results are shown in <xref ref-type="fig" rid="fig5">Figure 5</xref>.</p><fig id="fig5"  position="float"><label><xref ref-type="fig" rid="fig5">Figure 5</xref></label><caption><title> Cross sections of six refractive cases: myopia, myopic astigmatism, hyperopia, hyperopic astigmatism, mixed astigmatism, and wavefront based, with 6 mm optical zone and 9 mm ablation zone</title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/2-1720837x22.png"/></fig><p>It is clear that for both hyperopia and hyperopic astigmatism, the original (cubic spline function) and the new (complementary error function) algorithms give the same result because the new algorithm uses the original cubic spline function. It is also true for the hyperopic meridian in the mixed astigmatism case. For the other cases, the new algorithm has the transition zone reached out to the 9 mm area while the original algorithm has the transition zone cut off early.</p></sec><sec id="s5"><title>5. Conclusion</title><p>Using cubic spline function for the purpose of transition zone for refractive surgery raises issues of running into negative values for myopic meridians when the edge of the optical zone is too steep. With the complementary error function, a normalized version appears to work very well for cases where cubic spline function does not work. Simulation shows the new algorithm is appropriate for myopic meridians where the edge of the optical zone is too steep. The result presented is useful for practical implementation of treatment algorithms in refractive surgery.</p></sec><sec id="s6"><title>Cite this paper</title><p>Dai, G.-M. (2017) Application of Complementary Error Func- tion to the Transition Zone of Myopic Ablation Shapes in Refractive Surgery. Journal of Applied Mathematics and Physics, 5, 1521-1528. https://doi.org/10.4236/jamp.2017.58125</p></sec></body><back><ref-list><title>References</title><ref id="scirp.78161-ref1"><label>1</label><mixed-citation publication-type="other" xlink:type="simple">Dai, G. (2008) Wavefront Optics for Vision Correction. SPIE Press, Bellingham, WA. https://doi.org/10.1117/3.769212</mixed-citation></ref><ref id="scirp.78161-ref2"><label>2</label><mixed-citation publication-type="other" xlink:type="simple">Reinsch, C.H. (1967) Smoothing by Spline Functions. Numerische Mathematik, 10, 177-183. https://doi.org/10.1007/BF02162161</mixed-citation></ref><ref id="scirp.78161-ref3"><label>3</label><mixed-citation publication-type="other" xlink:type="simple">Cook, E.R. and Peters, K. (1981) The Smoothing Spline: A New Approach to Standardizing Forest Interior Tree-Ring Width Series for Dendroclimatic Studies. Tree-Ring Bulletin, 41, 45-53.</mixed-citation></ref><ref id="scirp.78161-ref4"><label>4</label><mixed-citation publication-type="other" xlink:type="simple">Wold, S. (1974) Spline Functions in Data Analysis. Technometrics, 16, 1-11. https://doi.org/10.1080/00401706.1974.10489142</mixed-citation></ref><ref id="scirp.78161-ref5"><label>5</label><mixed-citation publication-type="other" xlink:type="simple">Fowler, A.H. (1966) Cubic Spline, a Curve Fitting Routine. Corp. Rep. Y-1400 (Rev. 1), Union Car-bide.</mixed-citation></ref><ref id="scirp.78161-ref6"><label>6</label><mixed-citation publication-type="other" xlink:type="simple">Dierckx, P. (1995) Curve and Surface Fitting with Splines. Oxford Science Publications, Oxford.</mixed-citation></ref><ref id="scirp.78161-ref7"><label>7</label><mixed-citation publication-type="other" xlink:type="simple">Burt, P.J. and Adelson, E.H. (1983) A Multiresolution Spline with Application to Image Mosaics.</mixed-citation></ref><ref id="scirp.78161-ref8"><label>8</label><mixed-citation publication-type="other" xlink:type="simple">Klein, S.A. and Barsky, B.A. (1995) Method for Generating the Anterior Surface of an Aberration-Free Contact Lens for an Arbitrary Posterior Surface. Optometry &amp; Vision Science, 72, 816-820. https://doi.org/10.1097/00006324-199511000-00007</mixed-citation></ref><ref id="scirp.78161-ref9"><label>9</label><mixed-citation publication-type="other" xlink:type="simple">Barsky, B.A. (2001) Computer Aided Contact Lens Design and Fabrication Using Spline Surfaces. US Patent 6,241,355, 5 June 2001.</mixed-citation></ref><ref id="scirp.78161-ref10"><label>10</label><mixed-citation publication-type="other" xlink:type="simple">Hohmeyer, M.E. and Barsky, B.A. (1989) Rational Continuity: Parametric, Geometric, and Frenet Frame Continuity of Rational Curves. ACM Transactions on Graphics, 8, 335-359. https://doi.org/10.1145/77269.77274</mixed-citation></ref><ref id="scirp.78161-ref11"><label>11</label><mixed-citation publication-type="other" xlink:type="simple">Abramowitz, M. and Stegun, I.A. (1972) Handbook of Mathematical Functions with Formulas, Graphs, and Mathematical Tables, 9th Printing. Dover, New York.</mixed-citation></ref></ref-list></back></article>