<!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>
      <journal-title-group>
        <journal-title>ITNT-2015), CEUR Workshop Proceedings</journal-title>
      </journal-title-group>
    </journal-meta>
    <article-meta>
      <article-id pub-id-type="doi">10.18287/1613-0073-2015-1490-290-297</article-id>
      <title-group>
        <article-title>Researching methods of reconstruction of three- dimensional crystal lattice from images of projections</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Shirokanev A.S.</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Kirsh D.V.</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Kupriyanov A.V.</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Samara State Aerospace University</institution>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>Samara State Aerospace University Image Processing Systems Institute, Russian Academy of Sciences</institution>
        </aff>
      </contrib-group>
      <pub-date>
        <year>2015</year>
      </pub-date>
      <volume>1490</volume>
      <fpage>290</fpage>
      <lpage>297</lpage>
      <abstract>
        <p>The paper presents the developed algorithms for the reconstruction of multiple crystal lattice sites. The study was conducted with a set of crystal lattices and the developed method of modeling a three-dimensional structure of ideal crystal lattice sites. The results of the reconstruction of three-dimensional structures of lattice sites are shown using different metrics comparison. Comparative characteristics of accuracy of the algorithms are given in the paper.</p>
      </abstract>
      <kwd-group>
        <kwd>crystal lattice</kwd>
        <kwd>Bravais lattice</kwd>
        <kwd>unit cell</kwd>
        <kwd>reconstruction algorithm</kwd>
        <kwd>comparison metric</kwd>
        <kwd>clustering algorithm</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>-</title>
      <p>coplanar translation vectors [9]. The main parameters adopted in crystallography, are
the length of the translation vectors: a, b, and c, and the angles between the vectors: α,
β, and γ. Additionally, we define the starting and ending indices:  0,  0,  0,  1,  1,
and K1 of sites on each axis as the input parameters for modeling a set of crystal
lattices.</p>
      <p>To construct a model of a crystal lattice, we need to know the translation vectors
[10]. The developed method allows us to compute the translation vectors by the
parameters adopted in crystallography. The method allows us to specify the range of
angles, in which the model of the lattice would be correct.</p>
      <p>Knowing the translation vectors, we can generate a set of points corresponding to
the crystal lattice. We can do that by specifying the range of variation of integers: I0 ,
J0 , K0 and I1 , J1 , K1 .</p>
      <p>From the geometry of a unit cell, the corners α, β, and  can take values from the
ranges:
  0,  ,   0,  ,
  : cos  cos(   ), cos(   )  0,  .</p>
      <p>
        The limitation on the angle  can be represented as (
        <xref ref-type="bibr" rid="ref1">1</xref>
        ).
  min a1, a2  , max a1, a2  ,
where a1  2           0,  ,
a2     .
      </p>
      <p>
        The condition (
        <xref ref-type="bibr" rid="ref1">1</xref>
        ) limits the angle  of the segment that allows us to generate a
random lattice on the set parameters adopted in crystallography.
      </p>
      <p>The developed method makes it possible to generate a three-dimensional set of
sites representing a Bravais lattice [9]. In practice, the method is useful for studying a
large set of crystal lattices. The set of sites is generated automatically. Lattices, which
the algorithm works poorly with, are also detected automatically.</p>
      <p>Algorithms of reconstruction of sets of sites of a crystal lattice.</p>
      <p>Back-projection algorithm – the reverse process to the algorithm for projecting a
three-dimensional image on a plane. The reconstruction algorithm receives image
projections and their position in the space as input parameters. The result of the
algorithm is a three-dimensional image, which is a set of points in the space or, to put
it mathematically, a finite set of points in a three-dimensional space [11].</p>
      <p>The main task of the reconstruction algorithms – to restore an image,
approximating the “total picture”.</p>
    </sec>
    <sec id="sec-2">
      <title>Reconstruction algorithm based on grid partitioning of a line</title>
      <p>
        The first back-projection algorithm based on grid partitioning of a straight line
means that each line recoverable from a non-zero point of a preselected projection, is
split into a grid. Grid points are projected onto the plane of the other projections. Then
the number of projections, which the site falls in, are counted [11].
(
        <xref ref-type="bibr" rid="ref1">1</xref>
        )
      </p>
      <p>
        If a three-dimensional point is projected onto a plane (by ignoring one component
of the radius vector), then it can be reconstructed ambiguously (along the line). In
other words, the inverse operator of the projection should be replaced by a functional
of the following form (
        <xref ref-type="bibr" rid="ref2">2</xref>
        ).
      </p>
      <p>
         1 0   0 
 1  x  A  0 0  x   C  ,C   . (
        <xref ref-type="bibr" rid="ref2">2</xref>
        )
 0 1   0 
      </p>
      <p>
        The basic logic of the algorithm can be described in the form of the equation (
        <xref ref-type="bibr" rid="ref3">3</xref>
        ).
S  x  k : Rk k x  0  k  1,...,i 1,i 1,..., n ,
(
        <xref ref-type="bibr" rid="ref3">3</xref>
        )
where  k – projection operator, Rk – two-dimensional function (ray transform).
      </p>
      <p>
        We get a lot of points on the line for each point with non-zero intensity, which lies
on the main projection, using the inverse operator (
        <xref ref-type="bibr" rid="ref2">2</xref>
        ). The continuous line is limited
to the grid. This means that the varied variable belongs to the multitude of Dhn  hn
      </p>
      <p>
        Then the corresponding points are projected onto the planes of the other
projections. In other words, the points of the line are substituted in the right side of
formula (
        <xref ref-type="bibr" rid="ref3">3</xref>
        ).
      </p>
      <p>The algorithm has a number of drawbacks. The sampling of the line leads directly
to the non-accuracy of the algorithm, and decreasing the sampling step affects the
speed of the algorithm.</p>
    </sec>
    <sec id="sec-3">
      <title>Reconstruction algorithm based on minimizing distance</title>
      <p>The second algorithm eliminates these disadvantages. The construction of the
algorithm is based on solving the problem of minimizing the distance between the
point with non-zero intensity that lies on some projection and the line projected on the
plane of the projection from the line recoverable from a non-zero point of some main
projection [11].</p>
      <p>This algorithm works with three-dimensional geometry. That means that all points
on the projections should be previously converted into three-dimensional space, and
all normal of the projections for them must be found.</p>
      <p>
        To find a recoverable point, one should carry out the following procedure:
1. Find the parameter using the formula (
        <xref ref-type="bibr" rid="ref4">4</xref>
        ).
t 
n, zоп  n, nоп    zоп  z, nоп  ,
      </p>
      <p>
         nоп 2  n, nоп 2 
where nоп – normal to the plane of the main projection,
zоп – point on the main projection,
n – plane normal to the projection of interest,
z – point on the projection of interest.
(
        <xref ref-type="bibr" rid="ref4">4</xref>
        )
2. Find point x using the formula (
        <xref ref-type="bibr" rid="ref5">5</xref>
        ).
x  nопt  zоп ,
where nоп – normal to the plane of the support projections,
zоп – point on the main projection,
t – found by the formula (
        <xref ref-type="bibr" rid="ref4">4</xref>
        ).
(
        <xref ref-type="bibr" rid="ref5">5</xref>
        )
(
        <xref ref-type="bibr" rid="ref8">8</xref>
        )
3. Determine whether the point is recoverable. To do this, we use the condition (
        <xref ref-type="bibr" rid="ref6">6</xref>
        ).
d 2  D 2  D2   x  z, x  z   n, x2   2 h , (
        <xref ref-type="bibr" rid="ref6">6</xref>
        )
where x – recoverable point,
z – point lying on the projection of interest,
n – plane normal to the projection of interest.
      </p>
      <p>The result of the algorithm is a set of three-dimensional points of a recoverable set
of the crystal lattice.</p>
      <p>The algorithm works with the points of non-zero intensity; that allows speeding up
the recovery of the crystal lattice. Due to use of analytical computation of recoverable
points, the algorithm has a higher accuracy than the first one.</p>
      <p>The recovered set represents a certain distribution of probabilities. Thus the set can
undergo further filtration to obtain the final estimate of the original set. In this work,
the filter based on the clustering algorithm distinguishing a “cloud” of points was
used.</p>
    </sec>
    <sec id="sec-4">
      <title>Metrics of comparison of sets of spatial points</title>
      <p>
        The metric called Hausdorff distance (or Hausdorff metric) is well-known among
many comparison metrics of sets [12]. Let E and F – non-empty compact subsets of
Rn . Hausdorff distance between E and F will be determined by the formula (
        <xref ref-type="bibr" rid="ref7">7</xref>
        ).
H  E, F   maxd  E, F , d  F, E  , (
        <xref ref-type="bibr" rid="ref7">7</xref>
        )
where d  E, F   sup inf d  x, y  .
      </p>
      <p>xX yY</p>
      <p>
        To compute the Hausdorff metric for finite sets, it is sufficient to run a
computation by the formula (
        <xref ref-type="bibr" rid="ref8">8</xref>
        ).
      </p>
      <p>H  E, F   maxd  E, F , d  F, E  ,
where d  E, F   max min d  xi , y j  .</p>
      <p>i:xiE j:y jF</p>
      <p>Metric quaternion signals have been analyzed in addition to the Hausdorff metric
[13]. The metric is based on finding polynomial coefficients, which are polynomial
function of a hyper variable.</p>
      <p>The coefficients of the polynomial am can be found by using the least squares
method. By solving the problem of minimizing the total error of the approximation,
we obtain a system of linear quaternion equations, which can be solved directly using
the Gauss method or reduced to solving a system of equations with real coefficients
[13].
m0</p>
      <p>
        A value that characterizes the measure of similarity between objects can be the
result of a scalar multiplication of the coefficients of the polynomial of the reference
and processed objects. It can be defined by the formula (
        <xref ref-type="bibr" rid="ref9">9</xref>
        ).
      </p>
      <p>
        M 1
   amam*(э) . (
        <xref ref-type="bibr" rid="ref9">9</xref>
        )
      </p>
    </sec>
    <sec id="sec-5">
      <title>Researching reconstruction algorithms</title>
      <p>For the experiment, the set is projected onto the projection plane. Then the
reconstruction algorithm is executed. The result set is compared to the reference using
the metrics of comparison. By the results of the experiment, we can draw conclusions
on the quality of the algorithm.</p>
      <p>Let’s define the “pseudo image” as the result of the back-projection algorithm.
Each site of the recovered lattice has a pseudocolor, that is, a color corresponding to
the number of projections, in which the site can be projected. [11]</p>
      <p>Figure 1 shows the results of the reconstruction using the first and the second
algorithms by the example of the triclinic lattice. The blue color indicates a site that
enters the two projections of the three, and red – all three projections. The result
recovered with the first algorithm contains errors related to splitting the line. The
second algorithm recovers the lattice sites much better.</p>
      <p>Clustering-based filter applied to the result demonstrates good performance in
examples with grids with frequent congestions (clouds) of sites. Figure 2 shows the
result of the clustering algorithm by the example of the triclinic lattice.</p>
      <p>The analysis of the first two algorithms on all crystal system arrays using both
metrics discussed in this paper is presented in the form of quantitative results of
recovering the structure of lattice sites by each algorithm (Table 1).
Crystal system Hausdorff metric Metric quaternion signals
primitive lattice The algorithm The algorithm is The algorithm The algorithm is
based on grid based on finding based on grid based on finding
partition the minimum partition the minimum</p>
      <p>distance distance
Cubic 0.100 0.000 0.0007 0.0000
Tetragonal 0.100 0.000 0.0008 0.0000
Hexagonal 1.001 1.001 0.0008 0.0003
Trigonal 0.480 0.480 0.0007 0.0002
Orthorhombic 0.100 0.000 0.0010 0.0001
Monoclinic 1.870 0.751 0.0007 0.0003
Triclinic 0.110 0.107 0.0005 0.0002</p>
      <p>Comparing the results of the first and second columns with the Hausdorff metric
and the third and the fourth columns with the metric of quaternion signals of Table 1,
we can be convinced that the second algorithm recovers the image more accurately
than the first one. Both metrics generally show a lower value for the case of the
second algorithm. This means that the image recovered by the second algorithm is
more similar to the reference image.</p>
    </sec>
    <sec id="sec-6">
      <title>The results of the research</title>
      <p>The studies have shown that the algorithm based on the minimization of the
distance more accurately reconstructs the lattice structure than the algorithm based on
the partitioning grid line. The reconstruction algorithms can be used for recovering
three-dimensional models of crystal lattices. Modifications in the recovery procedures
in some cases can increase the accuracy of the reconstruction of the object. Thus, the
algorithms that operate with sets of sites work better than the algorithms that resort to
approximations.</p>
    </sec>
    <sec id="sec-7">
      <title>Acknowledgements</title>
      <p>This work was partially supported by the Ministry of education and science of the
Russian Federation in the framework of the implementation of the Program of
increasing the competitiveness of SSAU among the world’s leading scientific and
educational centers for 2013-2020 years; by the Russian Foundation for Basic
Research grants (# 14-01-00369-a, # 14-07-97040-p_ povolzh'e_a, # 15-29-03823,
# 15-29-07077); by the ONIT RAS program # 6 “Bioinformatics, modern information
technologies and mathematical methods in medicine” 2015.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          1.
          <string-name>
            <surname>Kharitonov</surname>
            <given-names>SI</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Volotovskiy</surname>
            <given-names>SG</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Khonina</surname>
            <given-names>SN</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Kazanskiy</surname>
            <given-names>NL</given-names>
          </string-name>
          .
          <article-title>A differential method for calculating x-ray diffraction by crystals: scalar theory</article-title>
          .
          <source>Computer Optics</source>
          ,
          <year>2015</year>
          ;
          <volume>39</volume>
          (
          <issue>4</issue>
          ):
          <fpage>469</fpage>
          -
          <lpage>479</lpage>
          . [in Russian]
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          2.
          <string-name>
            <surname>Kotov</surname>
            <given-names>AP</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Fursov</surname>
            <given-names>VA</given-names>
          </string-name>
          ,
          <article-title>Goshin YeV</article-title>
          .
          <article-title>Technology for fast 3d-scene reconstruction from stereo images</article-title>
          .
          <source>Computer Optics</source>
          ,
          <year>2015</year>
          ;
          <volume>39</volume>
          (
          <issue>4</issue>
          ):
          <fpage>600</fpage>
          -
          <lpage>605</lpage>
          . [in Russian]
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          3.
          <string-name>
            <surname>Fursov</surname>
            <given-names>VA</given-names>
          </string-name>
          ,
          <article-title>Goshin YeV</article-title>
          .
          <article-title>Information technology for digital terrain model reconstruction from stereo images</article-title>
          .
          <source>Computer Optics</source>
          ,
          <year>2014</year>
          ;
          <volume>38</volume>
          (
          <issue>2</issue>
          ):
          <fpage>335</fpage>
          -
          <lpage>342</lpage>
          . [in Russian]
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          4.
          <string-name>
            <surname>Bessmeltsev</surname>
            <given-names>VP</given-names>
          </string-name>
          , Bulushev ED.
          <article-title>Fast image registration algorithm for automated inspection of laser micromachining</article-title>
          .
          <source>Computer Optics</source>
          ,
          <year>2014</year>
          ;
          <volume>38</volume>
          (
          <issue>2</issue>
          ):
          <fpage>343</fpage>
          -
          <lpage>350</lpage>
          . [in Russian]
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          5.
          <string-name>
            <surname>Kudinov</surname>
            <given-names>IA</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Pavlov</surname>
            <given-names>OV</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Kholopov</surname>
            <given-names>IS</given-names>
          </string-name>
          .
          <article-title>Implementation of an algorithm for determining the spatial coordinates and the angular orientation of an object based on reference marks, using information from a single camera</article-title>
          .
          <source>Computer Optics</source>
          ,
          <year>2015</year>
          ;
          <volume>39</volume>
          (
          <issue>3</issue>
          ):
          <fpage>413</fpage>
          -
          <lpage>419</lpage>
          . [in Russian]
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          6.
          <string-name>
            <surname>Rad</surname>
            <given-names>LB</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Feng</surname>
            <given-names>H</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Ye</surname>
            <given-names>J</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Pease</surname>
            <given-names>RFW</given-names>
          </string-name>
          .
          <article-title>Computational scanning electron microscopy</article-title>
          .
          <source>Proceedings of the 2013 international conference on frontiers of characterization and metrology for nanoelectronics</source>
          ,
          <year>2007</year>
          ;
          <fpage>512</fpage>
          -
          <lpage>517</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          7.
          <string-name>
            <surname>Frank</surname>
            <given-names>J</given-names>
          </string-name>
          .
          <article-title>Electron tomography</article-title>
          .
          <source>Albany: Springer Science+Business Media</source>
          ,
          <year>2006</year>
          ; 455 p.
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          8.
          <string-name>
            <surname>Kupriyanov</surname>
            <given-names>AV</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Soifer</surname>
            <given-names>VA</given-names>
          </string-name>
          .
          <article-title>On the observability of the crystal lattice with the images of their projections</article-title>
          .
          <source>Computer Optics</source>
          ,
          <year>2012</year>
          ;
          <volume>36</volume>
          (
          <issue>2</issue>
          ):
          <fpage>249</fpage>
          -
          <lpage>256</lpage>
          . [in Russian]
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          9.
          <string-name>
            <surname>Egorov-Tismenko YuK</surname>
          </string-name>
          .
          <article-title>Crystallography and crystal chemistry</article-title>
          . Moscow: KDU,
          <year>2005</year>
          ; 592 p. [in Russian]
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          10.
          <string-name>
            <surname>Kupriyanov</surname>
            <given-names>AV</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Kirsh</surname>
            <given-names>DV</given-names>
          </string-name>
          .
          <article-title>Estimating the similarity measure of crystal lattices by coordinates of their nodes in three-dimensional space</article-title>
          .
          <source>Computer Optics</source>
          ,
          <year>2012</year>
          ;
          <volume>36</volume>
          (
          <issue>4</issue>
          ):
          <fpage>590</fpage>
          -
          <lpage>595</lpage>
          . [in Russian]
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          11.
          <string-name>
            <surname>Shirokanev</surname>
            <given-names>AS</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Kupriyanov</surname>
            <given-names>AV</given-names>
          </string-name>
          .
          <article-title>Development methods of reconstruction of threedimensional crystal lattice from images of projections</article-title>
          .
          <source>Advanced Information Technologies and Scientific Computing (PIT</source>
          <year>2015</year>
          ),
          <source>Proceedings of the International Scientific Conference. Samara Scientific Center of RAS</source>
          ,
          <year>2015</year>
          ;
          <volume>2</volume>
          :
          <fpage>334</fpage>
          -
          <lpage>337</lpage>
          . [in Russian]
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          12.
          <string-name>
            <surname>Kronover</surname>
            <given-names>RM</given-names>
          </string-name>
          .
          <article-title>Fractals and chaos in dynamical systems. Fundamentals of the theory</article-title>
          . Moscow: Postmarket,
          <year>2000</year>
          ;
          <fpage>92</fpage>
          -
          <lpage>94</lpage>
          . [in Russian]
        </mixed-citation>
      </ref>
      <ref id="ref13">
        <mixed-citation>
          13.
          <string-name>
            <surname>Rozhentsov</surname>
            <given-names>AA</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Bayev</surname>
            <given-names>AA</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Naumov</surname>
            <given-names>AS</given-names>
          </string-name>
          .
          <article-title>Estimation of parameters and recognition of images of three-dimensional objects with disordered readouts</article-title>
          .
          <source>Journal of Mari State Technical University. Radio engineering and information and communication systems</source>
          ,
          <year>2010</year>
          ;
          <volume>2</volume>
          (
          <issue>1</issue>
          ):
          <fpage>57</fpage>
          -
          <lpage>69</lpage>
          . [in Russian]
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>