<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD v1.0 20120330//EN" "JATS-archivearticle1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink">
  <front>
    <journal-meta />
    <article-meta>
      <title-group>
        <article-title>Tatiana Ts. Damdinova, Liubov D. Zhimbueva, Innokentii T. Bubeev and Nasak N. Dampilov</article-title>
      </title-group>
      <contrib-group>
        <aff id="aff0">
          <label>0</label>
          <institution>Engineering and Computer Graphics Department East-Siberia State University of Technology and Management Ulan-Ude</institution>
          ,
          <addr-line>Russian Federation</addr-line>
        </aff>
      </contrib-group>
      <fpage>45</fpage>
      <lpage>48</lpage>
      <abstract>
        <p>-The problem of digital images distortion is considered in the article. Authors investigated the factors that influence on digital image aberrations. These appear mainly due to the optical system errors. The image acquisition conditions were investigated as well. To determine values of distortion as a test object square grid is used. The focus distance of camera affects on distortion value. To determine the value of distortion the program has been developed. Using this program it was found out that for every camera the optimal focus distance with minimal distortion can be determined. The distortions correction techniques are developed on base of well-known image processing methods and on methods worked out by the authors. To find coordinates of grid nodes authors worked out the technique using information of the central part of test object's image. The common case of mutual position of camera lens and object plane is solved using method of projective geometry based on the harmonic properties of the full quadrangle. When they are parallel to each other, coordinates of nodes are determined using method of line detection developed by authors.</p>
      </abstract>
      <kwd-group>
        <kwd>digital image processing</kwd>
        <kwd>distortion of digital images</kwd>
        <kwd>optical aberrations</kwd>
        <kwd>camera calibration</kwd>
        <kwd>line detection</kwd>
        <kwd>edges detection</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>-</title>
      <p>INTRODUCTION</p>
      <p>
        Processing of digital images is the basis of many tasks of
modern complexes equipped with technical vision. The
relevance of image processing techniques, development of
methods improving their accuracy is continued with new way
to obtain visual information. Increasing speed of data
processing and expanding of digital images usage affects also.
In information security biometric identification and
authentication systems are based on human physiological
characteristics and used as protection of unauthorized access
[
        <xref ref-type="bibr" rid="ref1">1, 2</xref>
        ].
      </p>
      <p>
        Appearance and possibility to use inexpensive photo and
video systems as a part of security access systems [
        <xref ref-type="bibr" rid="ref3 ref4 ref5">3-5</xref>
        ]
increase the demand for them. This is one of factors for
accumulation of visual information for further analysis. A new
source of visual information is unmanned aerial vehicles
which are actively used and developed. All of them are based
on obtaining information on the basis of optical systems,
which, as a rule, have hardware errors .
      </p>
      <p>
        The resulting images may have a radial or tangential
distortion. Methods and algorithms for images improving are
relevant and continue to develop actively [
        <xref ref-type="bibr" rid="ref7">6</xref>
        ]. Algorithm to
automatically correct wide-angle lens distortion is described in
article [
        <xref ref-type="bibr" rid="ref8">7</xref>
        ], in article [8] image quality improved using contour
stencils.
      </p>
      <p>II.</p>
      <p>DEFINITION AND CORRECTION OF DISTORTION OF</p>
      <p>DIGITAL IMAGES.</p>
      <p>
        As a rule, to determine the distortion of optical systems,
specially created objects of known shape are used, analyzing
that images values of distortion are determined [
        <xref ref-type="bibr" rid="ref10 ref11">9, 10</xref>
        ]. As the
object to determine the distortion, we chose a square grid, the
image of which was obtained by means of different input
devices and processed by developed software [
        <xref ref-type="bibr" rid="ref12">11</xref>
        ].
      </p>
      <p>
        The main difficulty of processing the grid image was to
determine the points of the grid nodes. There are many
wellknown techniques and algorithms of edges detection [
        <xref ref-type="bibr" rid="ref13">12</xref>
        ]. This
problem continues developing and improving [
        <xref ref-type="bibr" rid="ref14 ref15 ref16">13-15</xref>
        ].
      </p>
      <p>After stage of computational experiments, an algorithm
has been developed. The main advantage of this algorithm is
that user can obtain ordered set of points. The results of this
algorithm are the determined values of total distortion and new
coordinates of nodes after correction (Fig. 1). To determine
nodes of grid we consider two variants. The first variant when
optical axis of lens is perpendicular to image plane (Fig.2A).
Another one is when there is some angle between lens axis
and object plane (Fig.2B). For both of them methods to
compute coordinates of grid nodes have been worked out.</p>
      <p>The central part of the image has minimal distortion.
Based on the coordinates of the central quadrilateral of grid,
the coordinates of the ideal grid are calculated. For the first
case coordinates of nodes are determined as point of
intersection of approximated lines. In the second case the
coordinates of grid are determined on the basis of the
harmonic properties of the complete quadrangle located in the
central part of the image.</p>
    </sec>
    <sec id="sec-2">
      <title>Image acquisition</title>
    </sec>
    <sec id="sec-3">
      <title>Image preprocessing</title>
    </sec>
    <sec id="sec-4">
      <title>Determining of coordinates of central quadrangle node points</title>
    </sec>
    <sec id="sec-5">
      <title>Calculation of coordinates of</title>
      <p>“perfect” grid nodes</p>
      <p>Is optical axis
of lens perpendicular
to image plane?</p>
      <p>Calculation of grid
nodes by the methods of
projective geometry
Calculation grid nodes
using the difference on
neighboring pixels
Calculation of the value of
distortion (Δx, Δy)</p>
    </sec>
    <sec id="sec-6">
      <title>Calculation of error surface coefficients (approximation Δx, Δy)</title>
    </sec>
    <sec id="sec-7">
      <title>Correcting the nodes of the original image</title>
      <p>Vertexes of the central quadrangle are calculated, and the
points of intersection of the line KL and the diagonal BD is
the point F (Fig. 3).</p>
      <p>This method allows finding all intersection points of lines,
and then the program chooses points belonging to frame of
image which is shown as blue rectangle in Fig.3.</p>
      <p>Comparing the coordinates of the ideal and real grids,
distortion values are determined.</p>
      <p>Based on the obtained data on distortion values, a
mathematical model of the error surface is created, which
makes it possible to automate the correction and significantly
reduce the distortion in digital images (Fig. 4).</p>
      <p>
        As a result of the experiments [
        <xref ref-type="bibr" rid="ref17">16</xref>
        ], it was revealed that the
conditions for shooting to reduce the aberration should be
carefully selected.
      </p>
      <p>The fact that the focal length is significantly affected on of
optical aberrations is confirmed. In addition, the processing of
experimental data by the developed program made it possible
to reveal that for each input device it is possible to determine
the optimum value of the focal length at which the distortion is
minimal.</p>
      <p>This is due to the fact that the change of the focal length
affects on distortion: from the "barrel" shape at small values
the focal length distance to the "pincushion" shape with
increasing the value of the focal length.</p>
      <p>
        To solve the problem of determining the grid nodes, image
processing methods, methods of projective geometry and
approximation were used [
        <xref ref-type="bibr" rid="ref18 ref19">17, 18</xref>
        ].
      </p>
      <p>The proposed algorithm and methods for determining grid
nodes, correcting distortions developed by the authors allow
improving the quality of digital images, accuracy of
determining lines and other characteristics for more efficient
use in recognition systems and geometric modeling.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <surname>Vacca</surname>
            <given-names>J.R. Biometric</given-names>
          </string-name>
          <string-name>
            <surname>Technologies</surname>
            and
            <given-names>Verification</given-names>
          </string-name>
          <string-name>
            <surname>Systems</surname>
          </string-name>
          . Butterworth-Heinemann,
          <year>2007</year>
          , 656 p.
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          CRC Press,
          <year>2010</year>
          , 307 p.
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <surname>Newman</surname>
            <given-names>R.</given-names>
          </string-name>
          <string-name>
            <surname>Security</surname>
          </string-name>
          and
          <article-title>Access Control Using Biometric Technologies</article-title>
          .
          <source>Course Technology</source>
          ,
          <year>2009</year>
          , 456 p.
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [4]
          <string-name>
            <surname>Dorofeev</surname>
            <given-names>A.V.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Markov</surname>
            <given-names>A.S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Tsirlov</surname>
            <given-names>V.L. Social</given-names>
          </string-name>
          <article-title>Media in Identifying Threats to Ensure Safe Life in a Modern City</article-title>
          ,
          <source>Communications in Computer and Information Science</source>
          ,
          <year>2016</year>
          , vol.
          <volume>674</volume>
          , pp.
          <fpage>441</fpage>
          -
          <lpage>449</lpage>
          . DOI:
          <volume>10</volume>
          .1007/978-3-
          <fpage>319</fpage>
          -49700-6_
          <fpage>44</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [5]
          <string-name>
            <surname>Wen</surname>
            <given-names>D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Han</surname>
            <given-names>H.</given-names>
          </string-name>
          ,
          <article-title>Jain A.K. Face Spoof Detection With Image Distortion Analysis</article-title>
          .
          <source>IEEE Transactions on Information Forensics and Security.</source>
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          <year>2015</year>
          , v.
          <volume>10</volume>
          , No.
          <issue>4</issue>
          , pp.
          <fpage>746</fpage>
          -
          <lpage>761</lpage>
          . DOI:
          <volume>10</volume>
          .1109 / TIFS.
          <year>2015</year>
          .
          <volume>2400395</volume>
          .
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          [6]
          <string-name>
            <surname>Telore</surname>
            <given-names>A.V.</given-names>
          </string-name>
          <article-title>Study of the distortion detection and enhancement methods for fingerprint images</article-title>
          .
          <source>In Proc of the IEEE International Conference on Computational Intelligence and Computing Research (ICCIC)</source>
          , IEEE, Chennai, India,
          <year>2016</year>
          , pp.
          <fpage>1</fpage>
          -
          <lpage>5</lpage>
          . DOI:
          <volume>10</volume>
          .1109 / ICCIC.
          <year>2016</year>
          .
          <volume>7919653</volume>
          .
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          [7]
          <string-name>
            <surname>Aleman-Flores</surname>
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Alvarez</surname>
            <given-names>L.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Gomez</surname>
            <given-names>L.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Santana-Cedres D. Automatic Lens Distortion Correction Using One-Parameter Division Models. Image</surname>
          </string-name>
          Processing On Line,
          <year>2014</year>
          , N 4, pp.
          <fpage>327</fpage>
          -
          <lpage>343</lpage>
          . DOI:
          <volume>10</volume>
          .5201/ipol.
          <year>2014</year>
          .
          <volume>106</volume>
          .
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          <string-name>
            <surname>Getreuer P. Image</surname>
          </string-name>
          <article-title>Interpolation with Geometric Contour Stencils</article-title>
          , Image Processing On Line,
          <year>2011</year>
          , N 1, pp.
          <fpage>98</fpage>
          -
          <lpage>116</lpage>
          . DOI:
          <volume>10</volume>
          .5201/ipol.
          <year>2011</year>
          .g_igcs.
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          [9]
          <string-name>
            <surname>Bernd</surname>
            <given-names>J.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Horst</surname>
            <given-names>H</given-names>
          </string-name>
          .
          <article-title>Computer Vision and Applications. A Guide for Students</article-title>
          and Practitioners - Academic Press,
          <year>2000</year>
          . 702 p.
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          [10]
          <string-name>
            <surname>Gonzalez</surname>
            <given-names>R.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Woods</surname>
            <given-names>R</given-names>
          </string-name>
          .
          <article-title>Digital image processing</article-title>
          . 3rd Ed. Pearson,
          <year>2007</year>
          , 976 p.
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          [11]
          <string-name>
            <surname>Damdinova</surname>
            <given-names>T.</given-names>
          </string-name>
          <article-title>Methods of digital images creation and analysis of their aberrations</article-title>
          .
          <source>Voprosy kiberbezopasnosti [Cybersecurity issues]</source>
          .
          <year>2014</year>
          , N
          <volume>5</volume>
          (
          <issue>8</issue>
          ), pp.
          <fpage>43</fpage>
          -
          <lpage>46</lpage>
          . DOI:
          <volume>10</volume>
          .21681/
          <fpage>2311</fpage>
          -3456-2014-5-
          <fpage>43</fpage>
          -46.
        </mixed-citation>
      </ref>
      <ref id="ref13">
        <mixed-citation>
          [12]
          <string-name>
            <surname>Spontón</surname>
            <given-names>H.</given-names>
          </string-name>
          and
          <string-name>
            <surname>Cardelino J. A</surname>
          </string-name>
          <article-title>Review of Classic Edge Detectors</article-title>
          . Image Processing On Line,
          <year>2015</year>
          , N 5, pp.
          <fpage>90</fpage>
          -
          <lpage>123</lpage>
          . DOI:
          <volume>10</volume>
          .5201/ipol.
          <year>2015</year>
          .
          <volume>35</volume>
          .
        </mixed-citation>
      </ref>
      <ref id="ref14">
        <mixed-citation>
          [13]
          <string-name>
            <surname>Von Gioi R.G</surname>
          </string-name>
          . and
          <string-name>
            <surname>Randall</surname>
            <given-names>G.</given-names>
          </string-name>
          , Unsupervised Smooth Contour Detection, Image Processing On Line,
          <year>2016</year>
          , N 6, pp.
          <fpage>233</fpage>
          -
          <lpage>267</lpage>
          . DOI:
          <volume>10</volume>
          .5201/ipol.
          <year>2016</year>
          .
          <volume>175</volume>
          .
        </mixed-citation>
      </ref>
      <ref id="ref15">
        <mixed-citation>
          [14]
          <string-name>
            <surname>Bruno</surname>
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Carminetti</surname>
            <given-names>P.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Gentile</surname>
            <given-names>V.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Cascia</surname>
            <given-names>M.L.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Mancino</surname>
            <given-names>E.</given-names>
          </string-name>
          <article-title>Palmprint principal lines extraction</article-title>
          .
          <source>In Proceedings of the IEEE Workshop on Biometric Measurements and Systems for Security and Medical Applications (BIOMS)</source>
          ,
          <year>2014</year>
          . p:
          <fpage>50</fpage>
          -
          <lpage>56</lpage>
          . DOI:
          <volume>10</volume>
          .1109/BIOMS.
          <year>2014</year>
          .
          <volume>6951535</volume>
          .
        </mixed-citation>
      </ref>
      <ref id="ref16">
        <mixed-citation>
          [15]
          <string-name>
            <surname>Gabriel</surname>
            <given-names>E.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Hahmann</surname>
            <given-names>F.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Böer</surname>
            <given-names>G.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Schramm H</surname>
          </string-name>
          . and Meyer C.
          <article-title>Structured Edge Detection for Improved Object Localization using the Discriminative Generalized Hough Transform</article-title>
          .
          <source>In Proceedings of the 11th Joint Conference on Computer Vision</source>
          , Imaging and
          <source>Computer Graphics Theory and Applications (VISIGRAPP</source>
          <year>2016</year>
          ),
          <year>2016</year>
          , pp.
          <fpage>393</fpage>
          -
          <lpage>402</lpage>
          . DOI:
          <volume>10</volume>
          .5220/0005722803930402.
        </mixed-citation>
      </ref>
      <ref id="ref17">
        <mixed-citation>
          [16]
          <string-name>
            <surname>Zhibuyeva L.D.</surname>
          </string-name>
          ,
          <string-name>
            <surname>Damdinova</surname>
            <given-names>Т</given-names>
          </string-name>
          .Ts.
          <article-title>Investigation of factors affecting the distortion of optical systems of digital cameras</article-title>
          .
          <source>East Siberia State University of Technology and Management [ESSUTM Bulletin]</source>
          .
          <source>2015. N 2</source>
          , pp.
          <fpage>38</fpage>
          -
          <lpage>42</lpage>
          . URL: https://elibrary.ru/item.asp?id=
          <fpage>23563327</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref18">
        <mixed-citation>
          [17]
          <string-name>
            <surname>Damdinova</surname>
            <given-names>T.</given-names>
          </string-name>
          <string-name>
            <surname>Ts</surname>
          </string-name>
          ,. Zhibuyeva L.D.
          <article-title>Creating an ideal image of an object based on the harmonic properties of a complete quadrilateral</article-title>
          .
          <source>East Siberia State University of Technology and Management [ESSUTM Bulletin]</source>
          .
          <year>2014</year>
          . No.
          <volume>6</volume>
          (
          <issue>51</issue>
          ), pp.
          <fpage>22</fpage>
          -
          <lpage>27</lpage>
          . URL: https://elibrary.ru/item.asp?id=
          <fpage>22822485</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref19">
        <mixed-citation>
          [18]
          <string-name>
            <surname>Damdinova</surname>
            <given-names>T. T.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Zhibuyeva L</surname>
          </string-name>
          .D.
          <article-title>Identification of errors and correction of digital images Vestnik komp'iuternykh i informatsionnykh tekhnologii [Herald of computer</article-title>
          and information technologies].
          <year>2015</year>
          , N
          <volume>9</volume>
          (
          <issue>135</issue>
          ), pp.
          <fpage>16</fpage>
          -
          <lpage>20</lpage>
          . DOI:
          <volume>10</volume>
          .14489/ vkit.
          <year>2015</year>
          .
          <volume>09</volume>
          . pp.
          <fpage>016</fpage>
          -
          <lpage>020</lpage>
          .
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>