<?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.2017.78B017</article-id><article-id pub-id-type="publisher-id">OPJ-78313</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>
 
 
  Improvement Detecting Method of Optical Axes Parallelism of Shipboard Photoelectrical Theodolite Based on Image Processing
 
</article-title></title-group><contrib-group><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Huihui</surname><given-names>Zou</given-names></name><xref ref-type="aff" rid="aff1"><sub>1</sub></xref></contrib></contrib-group><aff id="aff1"><label>1</label><addr-line>China Satellite Maritime Tracking &amp;amp; Control Department, Jiangyin, China</addr-line></aff><author-notes><corresp id="cor1">* E-mail:</corresp></author-notes><pub-date pub-type="epub"><day>10</day><month>08</month><year>2017</year></pub-date><volume>07</volume><issue>08</issue><fpage>127</fpage><lpage>133</lpage><history><date date-type="received"><day>May</day>	<month>13,</month>	<year>2017</year></date><date date-type="rev-recd"><day>Accepted:</day>	<month>August</month>	<year>7,</year>	</date><date date-type="accepted"><day>August</day>	<month>10,</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>
 
 
  
    An improvement detecting method was proposed according to the disadvantages of testing method of optical axes parallelism of shipboard photoelectrical theodolite (short for theodolite) based on image processing. Pointolite replaced 0.2'' collimator to reduce the errors of crosshair images processing and improve the quality of image. What’s more, the high quality images could help to optimize the image processing method and the testing accuracy. The errors between the trial results interpreted by software and the results tested in dock were less than 10'', which indicated the improve method had some actual application values. 
  
 
</p></abstract><kwd-group><kwd>Improvement Detecting Method</kwd><kwd> Shipboard Photoelectrical Theodolite</kwd><kwd>  Optical Axes Parallelism</kwd><kwd> Image Processing</kwd></kwd-group></article-meta></front><body><sec id="s1"><title>1. Introduction</title><p>The optical axes parallelism is one of the vital indexes to evaluate the measurement precision of theodolite [<xref ref-type="bibr" rid="scirp.78313-ref1">1</xref>]. As the azimuth-zero set constant reference for the tracking &amp; control equipment, theodolite is a main calibration tool when the ship in dock.</p><p>A testing method of optical axes parallelism of shipboard photoelectrical theodolite was proposed in reference [<xref ref-type="bibr" rid="scirp.78313-ref2">2</xref>], which provided a new way under dynamic conditions. While the detection accuracy and efficiency of the method were limited by hardware and software in some way, it was necessary to apply an improvement detecting method to overcome those limitations.</p></sec><sec id="s2"><title>2. Error Analysis of Image Processing</title><p>In the former image processing method progress, CCDs were used to record the images or videos of the crosshair of 0.2'' collimator, and then the data stored in CCDs would be acquired by DAQ (Data Acquisition) cards and sent to computer, and the results would be calculated immediately. The whole progress was shown in <xref ref-type="fig" rid="fig1">Figure 1</xref>.</p><p>During the detecting processing, many factors such as hardware, experimental environment and the image processing calculation may affect the final result. According the analysis of factors mentioned above, some conclusion could come to as follows.</p><p>1) According to the imaging principle, the crosshair getting smaller when the axes of 0.2'' collimator further from the middle of Mid-Wave infrared visual field.</p><p>2) The CCD lens distortion was another crucial factor for the system precision.</p><p>3) The higher the resolution, the finer the detail that can be seen, error might be caused by resolution of image sensor in image acquisition system.</p><p>4) Noise source might cause noise during the images acquisition, which could not be denoise clearly.</p><p>5) In the process of image processing, many valid pixels might be lost, thus to improve the testing accuracy, optimized arithmetic should be applied.</p><fig id="fig1"  position="float"><label><xref ref-type="fig" rid="fig1">Figure 1</xref></label><caption><title> The former image processing method</title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/78313x2.png"/></fig><p>The resolution of theodolite system was 0.44'', while the Mid-Wave infrared system was 15.5'', so the main factor that affected the system precision was image processing of Mid-Wave infrared system. <xref ref-type="fig" rid="fig2">Figure 2</xref> demonstrated that the crosshair of 0.2'' collimator imaging in the theodolite system, which was not conducive to improve the accuracy of image processing.</p><p>Actually, during the experiment, the crosshair of 0.2'' collimator imaging in the Mid-Wave infrared was blurring. The analysis result indicated that when crosshair reflect through 0.2'' collimator and 90˚ refracted collimator, the illuminance and thermal radiation underwent great loss, consequently, images could not meet the accuracy requirement.</p></sec><sec id="s3"><title>3. Improvement Detecting Method of Optical Axes Parallelism</title><p>Since images with low quality and image processing with low accuracy, some steps were taken to improvement light source and image processing method.</p><sec id="s3_1"><title>3.1. Design of Detecting Method</title><p>After theoretical analysis and study, two methods were intended to apply to replace 0.2'' collimator, which were laser combine with frequency multiplier and halogen tungsten lamp match with lens that can converge light [<xref ref-type="bibr" rid="scirp.78313-ref3">3</xref>]. By analyzing the scale of efficiency and cost of the two methods, halogen tungsten lamp match with lens would be the best choice. The result showed that the halogen tungsten lamp could image a small point in the Mid-Wave infrared CCD, hence, the image could be processed simply and conveniently. The experimental site and image in the Mid-Wave infrared CCD shown in <xref ref-type="fig" rid="fig3">Figure 3</xref>.</p><fig id="fig2"  position="float"><label><xref ref-type="fig" rid="fig2">Figure 2</xref></label><caption><title> Image acquired by former image processing method</title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/78313x3.png"/></fig><fig-group id="fig3"><label><xref ref-type="fig" rid="fig3">Figure 3</xref></label><caption><title> Program improvement test and result.</title></caption><fig id ="fig3_1"><label></label><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/78313x4.png"/></fig><fig id ="fig3_2"><label></label><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/78313x5.png"/></fig></fig-group></sec><sec id="s3_2"><title>3.2. Optical Axes Parallelism Test</title><p>The experiment was carried on in the early morning, when tide and crew’ activities had minimum effect on ship movement. Firstly, setting the testing support on the transition section of theodolite, and fixing the halogen tungsten lamp and lens in the testing support. Secondly, adjusting position between the lens and theodolite, till the point light in the vision field of Mid-Wave infrared CCD. Thirdly, adjusting the 90˚ refracted collimator to support the point light into the vision field of theodolite CCD. And then, turning the computer power on, the camera link DAQ card and LVDS DAQ card started to acquire the images and store in the hardware. Finally, transmitting the point light imaged in the two systems to the software, where the middle of the point light would be calculated.</p><p>By compared many advanced methods on image processing, the adaptive gradient threshold anisotropic filtering algorithm was chosen to suppress the infrared complex back-ground [<xref ref-type="bibr" rid="scirp.78313-ref4">4</xref>], filter out the noise effectively and enhance the point light target, and the result was shown in <xref ref-type="fig" rid="fig4">Figure 4</xref>(a). After filtering, mouse was used to click the centre of point light target, and the program could build a fixed window with 12 pixels &#215; 12 pixels for feature extraction, which was shown in <xref ref-type="fig" rid="fig4">Figure 4</xref>(b). Finally, centrobaric arithmetic was used to calculate the point light target in the fixed window, and the result was shown in <xref ref-type="fig" rid="fig4">Figure 4</xref>(c).</p></sec><sec id="s3_3"><title>3.3. The Result of Optical Axes Parallelism Test</title><p>The optical axes parallelism could be expressed as follow formula according to principle of optical system [<xref ref-type="bibr" rid="scirp.78313-ref5">5</xref>].</p><disp-formula id="scirp.78313-formula87"><label>(1)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/78313x6.png"  xlink:type="simple"/></disp-formula><p>wherein, <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/78313x7.png" xlink:type="simple"/></inline-formula>and <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/78313x8.png" xlink:type="simple"/></inline-formula> were axes parallelism of azimuth axis and pitching axis of theodolite and Mid-Wave infrared optical systems, while <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/78313x9.png" xlink:type="simple"/></inline-formula> and <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/78313x10.png" xlink:type="simple"/></inline-formula> were angular resolution of the two optical systems, and x<sub>1</sub>, x<sub>2</sub> were azimuth pixels of the two optical systems, similarly, y<sub>1</sub>, y<sub>2</sub> were pitching pixels of the two optical systems, and n was data recording times.</p><p>The data in <xref ref-type="table" rid="table1">Table 1</xref> was brought into Formula (1), then the optical axes parallelism of theodolite and Mid-Wave infrared optical systems is (−18.89'', −24.43'').</p><fig-group id="fig4"><label><xref ref-type="fig" rid="fig4">Figure 4</xref></label><caption><title> Target extraction processing. (a) Image denoise; (b) Fixed window; (c) Result achieved.</title></caption><fig id ="fig4_1"><label> (b)</label><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/78313x11.png"/></fig><fig id ="fig4_2"><label> (c)</label><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/78313x12.png"/></fig><fig id ="fig4_3"><label></label><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/78313x13.png"/></fig></fig-group><table-wrap id="table1" ><label><xref ref-type="table" rid="table1">Table 1</xref></label><caption><title> Experimental results</title></caption><table><tbody><thead><tr><th align="center" valign="middle"  rowspan="2"  >Pixels record times</th><th align="center" valign="middle"  colspan="2"  >Theodolite</th><th align="center" valign="middle"  colspan="2"  >Mid-Wave infrared</th><th align="center" valign="middle"  colspan="2"  >Optical axes parallelism ('')</th></tr></thead><tr><td align="center" valign="middle" >x<sub>1</sub></td><td align="center" valign="middle" >y<sub>1</sub></td><td align="center" valign="middle" >x<sub>2</sub></td><td align="center" valign="middle" >y<sub>2</sub></td><td align="center" valign="middle" >ΔX</td><td align="center" valign="middle" >ΔY</td></tr><tr><td align="center" valign="middle" >1</td><td align="center" valign="middle" >254</td><td align="center" valign="middle" >116</td><td align="center" valign="middle" >8</td><td align="center" valign="middle" >5</td><td align="center" valign="middle" >−12.24</td><td align="center" valign="middle" >−26.46</td></tr><tr><td align="center" valign="middle" >2</td><td align="center" valign="middle" >264</td><td align="center" valign="middle" >121</td><td align="center" valign="middle" >9</td><td align="center" valign="middle" >5</td><td align="center" valign="middle" >−23.34</td><td align="center" valign="middle" >−24.26</td></tr><tr><td align="center" valign="middle" >3</td><td align="center" valign="middle" >248</td><td align="center" valign="middle" >90</td><td align="center" valign="middle" >8</td><td align="center" valign="middle" >4</td><td align="center" valign="middle" >−14.88</td><td align="center" valign="middle" >−22.4</td></tr><tr><td align="center" valign="middle" >4</td><td align="center" valign="middle" >260</td><td align="center" valign="middle" >85</td><td align="center" valign="middle" >9</td><td align="center" valign="middle" >4</td><td align="center" valign="middle" >−25.1</td><td align="center" valign="middle" >−24.6</td></tr></tbody></table></table-wrap></sec></sec><sec id="s4"><title>4. Error Analysis and Results Comparison</title><sec id="s4_1"><title>4.1. Relationship between Optical Axes Parallelism and Angle Measurement Error</title><p>Relationship between optical axes parallelism of the two optical systems and angle measurement error could be expressed as Formula (2) [<xref ref-type="bibr" rid="scirp.78313-ref6">6</xref>].</p><disp-formula id="scirp.78313-formula88"><label>(2)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/78313x14.png"  xlink:type="simple"/></disp-formula><p>wherein, <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/78313x15.png" xlink:type="simple"/></inline-formula>and <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/78313x16.png" xlink:type="simple"/></inline-formula> were the error caused by optical axes parallelism, while <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/78313x17.png" xlink:type="simple"/></inline-formula> was elevation angle of theodolite.</p></sec><sec id="s4_2"><title>4.2. Results Comparison of Image Processing</title><p>Image processing method was the key technology which had main effect on detection accuracy. A video and image processing software was used to detect the images which also processed by the improvement image processing method. The software could judge the change of miss distance of target by dealing with continuous frames images, which would help to eliminate the error caused by small displacement of target. The judgement of software had two methods, which were manual and automatic. Manual way was used to process fine and homogeneous target, which could achieve high image processing precision. The experiment was carried on under quasi-static condition, as a result, the ship swung periodically, similarly, the miss distance of target was periodic. The square root of the average of squares of miss distance could truly reflect the position of target. The real-time result was shown in <xref ref-type="fig" rid="fig5">Figure 5</xref>.</p><p>Series images were proceed by sending to the software as shown in <xref ref-type="fig" rid="fig6">Figure 6</xref> which recorded in 5 minutes. The processing results showed that the miss distance of Mid-Wave infrared target was (−14.21'', −17.02''), which within 10'' of</p><fig id="fig5"  position="float"><label><xref ref-type="fig" rid="fig5">Figure 5</xref></label><caption><title> Relation graph of optical axes parallelism and angle measurement error</title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/78313x18.png"/></fig><fig id="fig6"  position="float"><label><xref ref-type="fig" rid="fig6">Figure 6</xref></label><caption><title> Processing results of software</title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/78313x19.png"/></fig><p>the result of this experiment.</p></sec></sec><sec id="s5"><title>5. Application and Prospect</title><p>The experiment showed that the improvement detection method improved imaging quality and optimized the image processing steps, which ensured its high precision and real-time performance. The follow-up work was accuracy verification, which should be carried out in the four quadrants of CCD, and accuracy verification results determined according to the consistency of the error.</p></sec><sec id="s6"><title>Cite this paper</title><p>Zou, H.H. (2017) Improvement Detecting Method of Optical Axes Parallelism of Shipboard Photoelectrical Theodolite Based on Image Proces- sing. Optics and Photonics Journal, 7, 127- 133. https://doi.org/10.4236/opj.2017.78B017</p></sec></body><back><ref-list><title>References</title><ref id="scirp.78313-ref1"><label>1</label><mixed-citation publication-type="other" xlink:type="simple">Zhong, D.A. (2009) Calibration Technology of TT&amp;C Equipment of Space Tracking Ship. National Defense Industry Press, Beijing.</mixed-citation></ref><ref id="scirp.78313-ref2"><label>2</label><mixed-citation publication-type="other" xlink:type="simple">Zou, H.H., Wu, H.B. and Zhou, L.J. (2016) A Testing Method of Optical Axes Parallelism of Shipboard Photoe-lectrical Theodolite. Advanced Optical Manufacturing and Testing Technologies, Suzhou.</mixed-citation></ref><ref id="scirp.78313-ref3"><label>3</label><mixed-citation publication-type="other" xlink:type="simple">Zhang, T.M., Wu, Y.F. and Zhang, P. (2014) Investigation of Intensity Distribution by Laser Frequency Doubling Technology Based on Matlab. Experi-mental Technology and Management, 31, 53-54.</mixed-citation></ref><ref id="scirp.78313-ref4"><label>4</label><mixed-citation publication-type="other" xlink:type="simple">Sun, H.J., Wang, Y.J. and Chen, X.L. (2014) Suppression of Infrared Complex Background Based on Adaptive Gradient Threshold Anisotropic Filtering. Optics and Engineering, 22, 147-151.</mixed-citation></ref><ref id="scirp.78313-ref5"><label>5</label><mixed-citation publication-type="other" xlink:type="simple">Leng, J., Liu, B.Q. and Zhao, X.L. (2003) The Comparison and Discussion of Several Methods about Optical Axis Parallelism. Journal of Applied Optics, 24, 43-44.</mixed-citation></ref><ref id="scirp.78313-ref6"><label>6</label><mixed-citation publication-type="other" xlink:type="simple">Liu, L.S. (2000) The Process of Tracking Data. National Defense Industry Press, Beijing, 123-124.</mixed-citation></ref></ref-list></back></article>