<?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">OPJ</journal-id><journal-title-group><journal-title>Optics and Photonics Journal</journal-title></journal-title-group><issn pub-type="epub">2160-8881</issn><publisher><publisher-name>Scientific Research Publishing</publisher-name></publisher></journal-meta><article-meta><article-id pub-id-type="doi">10.4236/opj.2019.98B002</article-id><article-id pub-id-type="publisher-id">OPJ-94191</article-id><article-categories><subj-group subj-group-type="heading"><subject>Articles</subject></subj-group><subj-group subj-group-type="Discipline-v2"><subject>Chemistry&amp;Materials Science</subject><subject> Engineering</subject><subject> Physics&amp;Mathematics</subject></subj-group></article-categories><title-group><article-title>
 
 
  An Improved Algorithm for 3D Reconstruction Integration Based on Stripe Reflection Method
 
</article-title></title-group><contrib-group><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Xu</surname><given-names>Gao</given-names></name><xref ref-type="aff" rid="aff1"><sup>1</sup></xref></contrib><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Peiji</surname><given-names>Guo</given-names></name><xref ref-type="aff" rid="aff1"><sup>1</sup></xref></contrib></contrib-group><aff id="aff1"><addr-line>School of Optoelectronic Science and Engineering, Key Lab of Advanced Optical Manufacturing Technologies of Jiangsu Province and Key Lab of Modern Optical Technologies of Education Ministry of China, Soochow University, Suzhou, China</addr-line></aff><pub-date pub-type="epub"><day>09</day><month>08</month><year>2019</year></pub-date><volume>09</volume><issue>08</issue><fpage>11</fpage><lpage>19</lpage><history><date date-type="received"><day>19,</day>	<month>July</month>	<year>2019</year></date><date date-type="rev-recd"><day>6,</day>	<month>August</month>	<year>2019</year>	</date><date date-type="accepted"><day>9,</day>	<month>August</month>	<year>2019</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>
 
 
  
    This paper introduces the basic principle of stripe reflection method and proposes an improved algorithm on the traditional Southwell gradient iterative integration algorithm. The algorithm adds a coefficient value with an attenuation factor to the compensation height value and the value of the attenuation factor is changed by the determination of the compensation height threshold. Through computer simulation, the fitting error of the reconstructed surface show that the RMS of the new method is one order of magnitude better than the traditional algorithm and the PV value of the high frequency part is about 1/15 of the traditional algorithm. It is proved that the improved algorithm can effectively improve the convergence and noise resistance of the iterative algorithm. 
  
 
</p></abstract><kwd-group><kwd>Stripe Reflection Method</kwd><kwd> Gradient Iterative Integration</kwd><kwd> Fitting Error</kwd></kwd-group></article-meta></front><body><sec id="s1"><title>1. Introduction</title><p>The fringe reflection method [<xref ref-type="bibr" rid="scirp.94191-ref1">1</xref>] is based on the simple principle of light reflection. The method has the advantages of simple structure, high sensitivity, large dynamic range, and is generally used for full-caliber testing of the aspherical surface shape during the rough polishing stage. Many experts and scholars have carried out many researches and practices on this technology. Su Peng et al. of the University of Arizona in the United States proposed a SCOTS testing method and successfully detected the 8.2 m GMT sub-mirror through high-precision calibration [<xref ref-type="bibr" rid="scirp.94191-ref2">2</xref>] [<xref ref-type="bibr" rid="scirp.94191-ref3">3</xref>]. The Sichuan University [<xref ref-type="bibr" rid="scirp.94191-ref4">4</xref>] [<xref ref-type="bibr" rid="scirp.94191-ref5">5</xref>] and the Chinese Academy of Sciences [<xref ref-type="bibr" rid="scirp.94191-ref6">6</xref>] have done a lot of research on the stripe reflection technology and have achieved certain results. This paper introduces the basic principle of the stripe reflection method and introduces an iterative algorithm based on the Southwell integration method. Then we propose a compensation algorithm with attenuation factor parameters based on the traditional iterative integration. The computer simulation results show that the new method has better convergence in a single iteration compared with the traditional method. The algorithm for changing the coefficient has a better fitting result than the algorithm without changing the coefficient, and verifies the superiority of the improved algorithm.</p></sec><sec id="s2"><title>2. The Basic Principle of the Stripe Reflection Method</title><p>The measurement model is shown in <xref ref-type="fig" rid="fig1">Figure 1</xref>. The computer produces a standard sinusoidal stripe that transmits the encoded fringe image onto the LCD screen. The stripe displayed on the screen is projected onto the reflective surface. The deformed fringe image is captured by a CCD camera, which records the gradient and height of each reflective point on the reflective surface.</p><p>The intensity of each point on the deformed fringe pattern after reflection by the mirror to be tested can usually be expressed as:</p><p>I n ( x , y ) = a ( x , y ) + b ( x , y ) cos [ φ ( x , y ) + σ n ] (1)</p><p>where I n ( x , y ) is the light intensity of each point of the stripe diagram, a ( x , y ) is the background light intensity, b ( x , y ) is amplitude modulation, and φ ( x , y ) is the phase modulation to be solved, and σ n is the additional phase, which is determined when the fringes are generated. The computer generated grating can accurately control the magnitude of the single phase shift. The calculation of the phase modulation φ ( x , y ) is shown in Equation (2)</p><p>φ ( x , y ) = − tan − 1 [ ∑ n − 1 N I n ( x , y ) sin σ n ∑ n − 1 N I n ( x , y ) cos σ n ] , n = 1 , 2 , ... , N (2)</p><p>The arctangent function obtains the truncated phase of [−π, π). In order to determine the one-to-one correspondence between the pixel of the screen and the pixel of the mirror, it is necessary to expand the phase to form a continuous phase. The method of phase unwrapping includes the spatial phase expansion method [<xref ref-type="bibr" rid="scirp.94191-ref7">7</xref>] [<xref ref-type="bibr" rid="scirp.94191-ref8">8</xref>] and time phase expansion method [<xref ref-type="bibr" rid="scirp.94191-ref9">9</xref>] [<xref ref-type="bibr" rid="scirp.94191-ref10">10</xref>]. The former mainly</p><p>includes branch cutting method, quality map guiding method, minimum norm method; the latter mainly includes binary encoding and multi-frequency heterodyne method.</p></sec><sec id="s3"><title>3. Gradient Integral Algorithm Analysis</title><p>Measuring the surface of the object by the stripe reflection system, we can obtain two gradient distributions in the mutually perpendicular direction. The gradient refers to the partial derivatives g x ( x , y ) and g y ( x , y ) obtained by the height z ( x , y ) of the surface in the directions of x and y. The calculation is as shown in Equation (3) and Equation (4):</p><p>g x ( x , y ) = ∂ z ( x , y ) ∂ x , (3)</p><p>g y ( x , y ) = ∂ z ( x , y ) ∂ y , (4)</p><p>In order to obtain the specular surface 3D height information, we need to integrate the derivative:</p><p>z ( x , y ) = ∫ g x d x + ∫ g y d y , (5)</p><p>In the actual testing process, the gradient field is not a conservative field due to the influence of system error and image noise. Southwell model based on regional wave front reconstruction method can not only effectively suppress noise but also deal with complex connected regions. Therefore, it has become the mainstream algorithm of gradient integral.</p><sec id="s3_1"><title>3.1. Southwell Model Algorithm</title><p>The Southwell grid model is shown in <xref ref-type="fig" rid="fig2">Figure 2</xref>. The matrix size is M &#215; N. The solid black dot in the graph represents the height point and the arrow represents the gradient direction of the point x, y. The average of two adjacent gradient values is equal to the ratio of the difference in height to the pixel width (h).</p><p>The gradient matrix is the same size as the height matrix. The relationship between the gradient data and the height data is only related to the same row or the same column. The above relationship is expressed as</p><p>{ 1 2 ( g i , j + 1 x + g i , j x ) = 1 h ( z i , j + 1 − z i , j ) i = 1 , 2 , ... , M ; j = 1 , 2 , ... , N − 1 1 2 ( g i + 1 , j y + g i , j y ) = 1 h ( z i + 1 , j − z i , j ) i = 1 , 2 , ... , M − 1 ; j = 1 , 2 , ... , N (6)</p><p>Z represents a height matrix, the size is MN &#215; 1; D represents a coefficient matrix, which is a sparse matrix size [(M − 1)N + M(N − 1)] &#215; MN; G represents a gradient matrix, and the size [(M − 1)N + M(N − 1)] &#215; 1. Equation (6) can be rewritten into:</p><p>D Z = G , (7)</p><p>Generally, the surface matrix is relatively large. In this case, the D matrix is a singular matrix. The augmented matrix D f needs to be replaced by the matrix</p><p>D, and the least norm solution of Z can be obtained by using the least square method:</p><p>Z = ( D f T D f ) − 1 D f T G . (8)</p></sec><sec id="s3_2"><title>3.2. Improved Iterative Algorithm Based on Southwell Model</title><p>The rate of convergence and the ability to suppress noise in the late iteration are two conditions for evaluating the merits of an iterative algorithm. Especially for large-caliber mirrors, the gradient data needs to be reprocessed for each iteration. The higher the convergence efficiency, the fewer the number of iterations. As the number of iterations increases, the ability to suppress gradient noise in the iteration ensures the accuracy of the final fitted shape.</p><p>The traditional iterative algorithm is showed as follows [<xref ref-type="bibr" rid="scirp.94191-ref11">11</xref>]</p><p>1) Using the traditional integration method to obtain the original surface height z 0 ( x , y ) as the initial value of the iteration;</p><p>2) Calculate the derivatives q ( x , y ) and p ( x , y ) of the current height z n ( x , y ) in the x and y directions, and make a difference with the original gradient to obtain gradient residuals d g x ( x , y ) and d g y ( x , y ) ;</p><p>3) Using traditional integration method to integrate d g x ( x , y ) and d g y ( x , y ) to obtain the compensation height value z c n ( x , y ) ;</p><p>4) The compensated height values z n ( x , y ) = z n − 1 ( x , y ) + z c n ( x , y ) / n k , n<sub>k</sub> = 3, 4.0909, 4.9476, 5.6768 (k = 1, 2, 3, 4);</p><p>5) Repeat the iterative process of 2-4 until the iterations of adjacent two iterations are less than the threshold, max | z n − z n − 1 | &lt; threshold.</p><p>This section presents an improved algorithm that includes two improvements. First, use the two variables of attenuation factor t and iteration number n to control the contribution value of the compensation height to participate in the iteration. Second, the threshold is set for the nth compensation height during iteration. The formula of the new iterative algorithm can be written as:</p><p>z n ( x , y ) = z n − 1 ( x , y ) + ω ⋅ z c n ( x , y ) , (9)</p><p>ω = 1 ( n − 1 ) t , (10)</p><p>The height of the nth compensation is related to the height threshold:</p><p>RMS ( z c n ) &lt; threshold n ⋅ m , (11)</p><p>The value of m is generally between [<xref ref-type="bibr" rid="scirp.94191-ref1">1</xref>] [<xref ref-type="bibr" rid="scirp.94191-ref5">5</xref>], Coefficient ω determines the weight of the compensation height value to participate in the iteration. In the initial stage of the iteration, a smaller t can increase the convergence rate. With the progress of iteration, in order to reduce excessive noise participation in the iteration, we set the RMS threshold of the nth compensation height. If it is larger than the threshold value, the value of attenuation factor t is increased to prevent excessive noise data in the compensation height from affecting the fitting results. Through computer simulation, the traditional algorithm and the improved algorithm iteratively integrate the gradient data obtained by the stripe reflection measurement system, and analyze the wavefront reconstruction accuracy.</p></sec></sec><sec id="s4"><title>4. Computer Simulation</title><p>The simulated face is divided into two parts: z 1 is the standard paraboloid:</p><p>z 1 = x 2 50 + y 2 50 , (12)</p><p>z 2 is set to a high-order shape in a certain area:</p><p>z 2 = 1 0.5 cos 2 ( x 6 + y 4 ) + ( 0.25 ( 0.5 x − 2 ) 4 + 2 ) 2 + 0.125 ( ( 0.5 y ) 5 + 2 ) 2 , (13)</p><p>The size of z 1 and z 2 is 501 &#215; 501 pixels, and the pixel size is 0.04 mm. In order to get closer to the actual testing conditions, we combined the gradient data of surface shape with the gaussian noise whose SNR = 100:1. Using the traditional Southwell integral z 0 as the initial shape, after four iterations we compare the high frequency partial fit results on the green lines in <xref ref-type="fig" rid="fig3">Figure 3</xref>. The simulation results are shown in <xref ref-type="fig" rid="fig4">Figure 4</xref>.</p><p>In order to compare the capability of the three iterative methods to iterative errors in the high-frequency part, we gather the high-frequency errors fitted by the three methods into the same figure, as shown in <xref ref-type="fig" rid="fig5">Figure 5</xref>, and list the RMS of the four iterations, as shown in <xref ref-type="table" rid="table1"><xref ref-type="table" rid="table">Table </xref>1</xref>.</p><p>In order to verify the effect of controlling the attenuation factor by setting compensation high threshold in the later iteration, we will perform 10 iterations without changing the initial attenuation coefficient t and controlling the attenuation coefficient, and compare the rms results of the last four fittings. The result is shown in <xref ref-type="fig" rid="fig6">Figure 6</xref>. The height average of the last four compensations is shown in <xref ref-type="table" rid="table2"><xref ref-type="table" rid="table">Table </xref>2</xref>.</p></sec><sec id="s5"><title>5. Summary and Discussion</title><p>This paper introduces the basic principle of the stripe reflection method, and proposes an improved algorithm based on traditional Southwell iterative</p><p>integration. The algorithm uses the attenuation coefficient to control the compensation value and the attenuation coefficient t is controlled by the compensation height threshold. Through computer simulation, it is verified that the algorithm has better convergence rate in the early iteration period and better fitting</p><table-wrap id="table1" ><label><xref ref-type="table" rid="table1"><xref ref-type="table" rid="table">Table </xref>1</xref></label><caption><title> The error size of single iteration reconstruction in iteration process</title></caption><table><tbody><thead><tr><th align="center" valign="middle"  rowspan="2"  ><xref ref-type="table" rid="table">Table </xref>Head</th><th align="center" valign="middle"  colspan="3"  >RMS(mm)</th></tr></thead><tr><td align="center" valign="middle" >Southwell integration method</td><td align="center" valign="middle" >Traditional iterative integration</td><td align="center" valign="middle" >Improved iterative integration</td></tr><tr><td align="center" valign="middle" >Initial value</td><td align="center" valign="middle" >1.2472 &#215; 10 − 5</td><td align="center" valign="middle" >1.2472 &#215; 10 − 5</td><td align="center" valign="middle" >1.2472 &#215; 10 − 5</td></tr><tr><td align="center" valign="middle" >1<sup>st</sup> iteration</td><td align="center" valign="middle" >-</td><td align="center" valign="middle" >6.2299 &#215; 10 − 6</td><td align="center" valign="middle" >1.9712 &#215; 10 − 6</td></tr><tr><td align="center" valign="middle" >2<sup>nd</sup> iteration</td><td align="center" valign="middle" >-</td><td align="center" valign="middle" >4.7936 &#215; 10 − 6</td><td align="center" valign="middle" >7.4142 &#215; 10 − 7</td></tr><tr><td align="center" valign="middle" >3<sup>rd</sup> iteration</td><td align="center" valign="middle" >-</td><td align="center" valign="middle" >3.8844 &#215; 10 − 6</td><td align="center" valign="middle" >3.6974 &#215; 10 − 7</td></tr><tr><td align="center" valign="middle" >4<sup>th</sup> iteration</td><td align="center" valign="middle" >-</td><td align="center" valign="middle" >3.2445 &#215; 10 − 6</td><td align="center" valign="middle" >2.2140 &#215; 10 − 7</td></tr></tbody></table></table-wrap><table-wrap id="table2" ><label><xref ref-type="table" rid="table2"><xref ref-type="table" rid="table">Table </xref>2</xref></label><caption><title> The average compensation height of the last four iterations (mm)</title></caption><table><tbody><thead><tr><th align="center" valign="middle" >Change the value of t</th><th align="center" valign="middle" >5.5637 &#215; 10 − 8</th><th align="center" valign="middle" >4.8215 &#215; 10 − 8</th><th align="center" valign="middle" >4.2415 &#215; 10 − 8</th><th align="center" valign="middle" >3.7773 &#215; 10 − 8</th></tr></thead><tr><td align="center" valign="middle" >Keep tunchanged</td><td align="center" valign="middle" >8.2965 &#215; 10 − 8</td><td align="center" valign="middle" >7.2555 &#215; 10 − 8</td><td align="center" valign="middle" >6.4581 &#215; 10 − 8</td><td align="center" valign="middle" >5.8273 &#215; 10 − 8</td></tr></tbody></table></table-wrap><p>of high frequency detail. In the latter part of the iteration, by changing the size of t, it can effectively prevent too many noise points from participating in the iteration and leading to poor surface performance. The simulation results show that the improved algorithm effectively suppresses the influence of noise and has better fitting accuracy than the traditional algorithm at low SNR.</p></sec><sec id="s6"><title>Funding</title><p>Supported by the NSFC (NO.61378055), Advantages of disciplines in colleges and universities in Jiangsu Province construction grant program.</p></sec><sec id="s7"><title>Conflicts of Interest</title><p>The authors declare no conflicts of interest regarding the publication of this paper.</p></sec><sec id="s8"><title>Cite this paper</title><p>Gao, X. and Guo, P.J. (2019) An Improved Algorithm for 3D Reconstruction Integration Based on Stripe Reflection Method. Optics and Photonics Journal, 9, 11-19. https://doi.org/10.4236/opj.2019.98B002</p></sec></body><back><ref-list><title>References</title><ref id="scirp.94191-ref1"><label>1</label><mixed-citation publication-type="other" xlink:type="simple">Hung, Y.Y., Lin, L., Shang, H.M., et al. (2000) Practical Three-Dimensional Computer Vision Techniques for Full-Field Surface Measurement. Opt. Eng., 39, 143-149. https://doi.org/10.1117/1.602345</mixed-citation></ref><ref id="scirp.94191-ref2"><label>2</label><mixed-citation publication-type="other" xlink:type="simple">Su, P., Parks, R.E., Wang, L.R., et al. (2010) Software Configurable Optical Test System: A Computerized Reverse Hartmann Test. Applied Optics, 49, 4404–4412.  
https://doi.org/10.1364/ao.49.004404</mixed-citation></ref><ref id="scirp.94191-ref3"><label>3</label><mixed-citation publication-type="other" xlink:type="simple">Huang, R., Su, P. and Burgea, J.H. (2015) Deflectometry Measurement of Daniel K. Inouye Solar Telescope Primary Mirror. Proceedings of the SPIE, 9575, Article ID: 957515.</mixed-citation></ref><ref id="scirp.94191-ref4"><label>4</label><mixed-citation publication-type="other" xlink:type="simple">Zhao, W.C., Fan, B., Wu, F., et al. (2013) Experimental Analysis of Reflector Test Based on Phase Measuring Deflectometry. Acta Optica Sinica, 33, Article ID: 0112002. https://doi.org/10.3788/aos201333.0112002</mixed-citation></ref><ref id="scirp.94191-ref5"><label>5</label><mixed-citation publication-type="other" xlink:type="simple">Liu, Y.K., Su, X.Y. and Wu, Q.Y. (2006) Three-Dimensional Shape Measurement for Specular Surface Based on Fringe Reflection. Acta Optica Sinica, 26, 1636-1640.</mixed-citation></ref><ref id="scirp.94191-ref6"><label>6</label><mixed-citation publication-type="other" xlink:type="simple">Wang, H.R., Li, B., Wang, Z.F., et al. (2013) Plane Measurement of Trough Parabolic Element Mirror Based on Stripe Reflection Method. Acta Optica Sinica, 33, Article ID: 0112007.</mixed-citation></ref><ref id="scirp.94191-ref7"><label>7</label><mixed-citation publication-type="other" xlink:type="simple">Strand, J., Taxt, T. and Jain, A.K. (1999) Two-Dimensional Phase Unwrapping Using a Block Least-Square Method. IEEE Tran. Image Process, 8, 375-386.  
https://doi.org/10.1109/83.748892</mixed-citation></ref><ref id="scirp.94191-ref8"><label>8</label><mixed-citation publication-type="other" xlink:type="simple">Goldstein, R.M., Zevker, H.A. and Werner, C.L. (1988) Statellite Radar Interferometry: Two-Dimensional Phase Unwrapping. Radio Science, 23, 713-720.  
https://doi.org/10.1029/rs023i004p00713</mixed-citation></ref><ref id="scirp.94191-ref9"><label>9</label><mixed-citation publication-type="other" xlink:type="simple">Strand, J., Taxt, T. and Jain. A.K. (1999) Two-Dimensional Phase Unwrapping Using a Block Least-Square Method. IEEE Tran. Image Process, 8: 375-386.  
https://doi.org/10.1109/83.748892</mixed-citation></ref><ref id="scirp.94191-ref10"><label>10</label><mixed-citation publication-type="other" xlink:type="simple">Huntley, J.M. and Saldner, H.O. (1993) Temporal Phase-Unwrapping Algorithm for Automated Interferogram Analysis. Applied Optics, 32, 3047-3052.  
https://doi.org/10.1364/ao.32.003047</mixed-citation></ref><ref id="scirp.94191-ref11"><label>11</label><mixed-citation publication-type="other" xlink:type="simple">Huang, L. and Asundi, A. (2012) Improvement of Least-Squares Integration Method with Iterative Compensations in Fringe Reflectometry. Applied Optics, 51, 7459-7465.  
https://doi.org/10.1364/ao.51.007459</mixed-citation></ref></ref-list></back></article>