<!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>Pine Crown Density Determination Using Local Binary Patterns</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Alexey Pyataev</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Anna Pyataeva</string-name>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Ruslan Brezhnev</string-name>
          <email>rbrezhnev@sfu-kras.ru</email>
          <xref ref-type="aff" rid="aff2">2</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Reshetnev Siberian State University of, Science and Technology;, Brunch of FBI “Russian Centre of, Forest Health” - “Centre of Forest, Health of Krasnoyarsk Krai”</institution>
          ,
          <addr-line>Krasnoyarsk, Russia, ORCID: 0000-0001-5489-8555</addr-line>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>Reshetnev Siberian State University of, Science and Technology;, Siberian Federal University</institution>
          ,
          <addr-line>Krasnoyarsk, Russia, ORCID: 0000-0002-0140-263X</addr-line>
        </aff>
        <aff id="aff2">
          <label>2</label>
          <institution>Siberian Federal University</institution>
          ,
          <addr-line>Krasnoyarsk</addr-line>
          ,
          <country country="RU">Russia</country>
        </aff>
      </contrib-group>
      <pub-date>
        <year>2020</year>
      </pub-date>
      <fpage>41</fpage>
      <lpage>43</lpage>
      <abstract>
        <p>-Competent assessment of the plantation sanitary condition allows you to plan various forest health protection measures. Automation of the tree state category assessment process could be implemented by fuzzy logic. The key role in this process plays such characteristic as the crown density degree. The paper proposes an algorithm for automatic estimating of the crown density degree using local binary patterns. Histograms of crown fragments of various densities are built on the basis of uniform patterns; the KullbackLeibler distance is used as a measure of the difference between the two histograms. Experimental studies conducted on 1636 images of crown fragments confirm the effectiveness of applying local binary patterns to the task of the crown density degree estimation.</p>
      </abstract>
      <kwd-group>
        <kwd>classification</kwd>
        <kwd>image processinggenius</kwd>
        <kwd>texture analysis</kwd>
        <kwd>forest health</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>-</title>
      <p>INTRODUCTION</p>
      <p>The sanitary condition assessment of forest plantations
allows you to plan an economically and environmentally
efficient action system of forest protection, which includes
various sanitary actions. In the studied forest area, such an
assessment is performed on the basis of individual trees
status category determination. The category of tree health
condition can vary from the first (healthy tree) to the sixth
(old dead wood):</p>
      <p>Categories of tree status can take values:
 healthy (without signs of weakening);
</p>
      <p>weakened;
 severely weakened;
 drying out;
 fresh dead wood;
 old dead wood.</p>
      <p>Currently, the tree state category is determined by a
specialist during a personal examination of each tree, that
requires significant human and economic resources. The
quality of the tree sanitary condition estimation directly
depends on the qualification of the forest health engineer.
Sometimes, the different specialists estimation given can be
different, because of the subjective characteristics that are
used to make a decision about the state category of a
particular tree. The following situation could be used as an
example: the second tree state category must satisfy several
requirements as sparse crown; light green needles; growth
reduced, but not more than half; individual branches
withered. In papers [1, 2] an approach based on fuzzy logic is
proposed for automatic assessment of the tree state category
that allows taking into account the subjectivity of judgments
of forest health specialists. The input of the fuzzy logic
controller receives such characteristics as the degree of
crown density, growth, the degree of drying of branches, the
fall of the bark, and the color of needles. Automatic
evaluation the degree of growth, bark loss, and color of
needles, because image quality can distort the true color is
not always possible, making it difficult to evaluate the tree's
characteristics based on color characteristics. Thereby the
main characteristic of the pine state category estimation
using computer vision technologies is the assessment of the
degree of crown density. The degree of the crown density
can take values:
 rich,
 sparse,
 openwork,
 very openwork,
 is absent.</p>
      <p>Generally, the transition between crown density degrees
determines the transition between tree state categories.</p>
      <p>II.</p>
    </sec>
    <sec id="sec-2">
      <title>THE CROWN DENSITY DEGREE ESTIMATION</title>
      <p>ALGORITHM</p>
      <p>To calculate the degree of crown density in this paper, we
propose a method for assessing the texture characteristics of
an image based on local binary patterns. The local binary
pattern (LBP) operator, first introduced by Ojala et al. [3], is
a fast, convenient, and often used texture analysis method.
The LBP operator is used as an integral part of many
classifiers [4–9]. Despite the great success of the LBP
application in many tasks, the usual LBP operator has
disadvantages, such as sensitivity to image rotation and
noise, loss of local texture information, and the inability to
detect large-scale texture structures [10]. In addition to these
disadvantages, the LBP histograms constructed in the
classical way are cumbersome, that can slow down the speed
of image processing. Currently there are many variations of
local binary patterns, which are devoid of these
disadvantages. As a solution extended binary patterns
Extended Local Binary Patterns (ELBP) [11] could be used,
due to the calculation of special binary strings (uniform
patterns) and the construction of histograms based on them.
Extended local binary patterns calculates according to the
expression:</p>
      <p>7
ELBP ( P )   s( I n  I c )  2 n
n 0
(1)
Copyright © 2020 for this paper by its authors.</p>
      <p>Use permitted under Creative Commons License Attribution 4.0 International (CC BY 4.0)
where s(x) = 1, if x  0, else s(x) = 0, In и Iс – brightness of
the current and central pixels, representing the value of the
Y component from the YUV color space. As can be seen
from expression (1), the calculation of the ELBP binary
code coincides with the calculation of the classical code of
local binary patterns. The difference between extended
binary templates and classical ones is in the way of
constructing histograms from the received binary strings.
Extended local binary patterns allow you to take into
account such features of the image as the end of lines,
edges, angles and spots, assigning a separate histogram
column for each of these features. Thus, each column of the
histogram describes one image feature defined by the
uniform ELBP code. Extended local binary patterns are
uniform when the number of transitions in a binary code
from zero to one is no more than three. Examples of uniform
ELBP codes are shown in Figure 1.</p>
      <p>a
b
c
d
e</p>
      <p>The total number of such codes, taking into account
cyclic shifts, is fifty eight. For all non-uniform patterns, a
separate column is allocated when constructing a histogram.</p>
    </sec>
    <sec id="sec-3">
      <title>III. EXPERIMENTAL RESEARCH</title>
      <p>For experimental studies, 228 images of pine of various
sizes were used. All images are expertly divided into
categories of sanitary conditions. The minimum image size
was 396 × 452 pixels. Examples of images used are shown
in Figure 2.</p>
      <p>А crown fragment samples of different densities was
prepared before testing. The examples of crown fragments
images are shown in Figure 3. The size of the samples is 50
× 50 pixels. At the first stage of analysis, background
objects in images are deleted by the threshold processing
method with a global threshold [12]. Then the image is
divided into parts of 50 × 50 pixels. Each such part is
compared with samples. The comparison is as follows: a
histogram is constructed from the fragment and this
histogram is compared with the histograms of the samples.
The fragment is assigned the nearest sample density degree.
As a measure of the difference between the histograms, the
Kullback-Leibler distance was used, that calculated as
follows:</p>
      <p>D K , L ( f , g )  P ( Pm11)  3 f m ln gf mm , (2)
where f and g – histograms of a fragment and a sample of
image; P – number of points in the ELBP neighborhood; m
– column number. The decision on the value of сrown
density degree of the investigated tree is carried out by
counting the number of fragments of the calculated density,
taking into account their location: bottom, top or middle of
the tree. To do this, each fragment is assigned a weight.
Weights are reduced from the middle to the edges and from
top to bottom, then the weights are grouped by degree of
density and summed. The results obtained are sorted from
maximum weight to minimum.</p>
      <p>a
b
c
d
e</p>
      <p>For a more accurate assignment of the studied image
texture to a particular value of the crown density degree the
scale and size occupied by the pine in the image should be
taken into account. The histograms examples of various
crown fragments of various densities obtained using
extended local binary patterns are shown in Figure 4.</p>
      <p>In fig. 4, the legend “Hist 1” corresponds to the crown
fragment in Fig. 2-a, “Hist 2” corresponds to the crown
fragment in Fig. 2-b, etc. Each column of the histogram
from 1 to 9 corresponds to a rotation-invariant number of
the uniform code of the extended binary template. The zero
column is a collection of all non-uniform patterns for the
studied image fragment. As can be seen from Figure 3, with
a crown density decrease, increases a number of uniform
ELBP patterns, those patterns that are responsible for
reducing the number of edges in the image of the studied
texture. In the work 1636 fragments of the various density
crowns were used. The following indicators were used to
evaluate the quality of the algorithm: a correctly classified
crown sample – true recognition (TR), false negative
response – false rate rejection (FRR) and false positive
response – false alert rejection (FAR). The calculation
results of these indicators during experimental studies are
shown in table 1.
9.73
15.13
16.15
16.55
14.66
7.23
11.75
5.13
5.78
4.95
3.99
2.78</p>
      <p>The results of experimental studies show, that the
average accuracy of assigning crown fragments using local
binary patterns is 85.6%, while using extended local binary
patterns, the accuracy was 97.5%. Moreover, the number of
false positive and false negative responses is significantly
reduced.</p>
      <p>IV.</p>
      <p>CONCLUSION</p>
      <p>The paper considers the application of extended local
binary patterns to the problem of recognizing the pine crown
density. With the help of this assessment, it is possible to
determine the sanitary condition of the plantation, which
will allow you to plan various measures of forest protection.
The crown density degree recognizing efficiency with
extended local binary patterns is increased by almost 12% to
conventional local binary patterns.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          <string-name>
            <given-names>A.S.</given-names>
            <surname>Pyataev</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.Y.</given-names>
            <surname>Redkin</surname>
          </string-name>
          and
          <string-name>
            <given-names>A.V.</given-names>
            <surname>Pyataeva</surname>
          </string-name>
          , “
          <article-title>Tree state category identification for boreal area conifers using global features estimation by fuzzy logic approach</article-title>
          ,
          <source>” CEUR Workshop Proceedings</source>
          , vol.
          <volume>2391</volume>
          , pp.
          <fpage>211</fpage>
          -
          <lpage>215</lpage>
          ,
          <year>2019</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          <string-name>
            <given-names>A.S.</given-names>
            <surname>Pyataev</surname>
          </string-name>
          , “
          <article-title>Pine-tree state category identification with fuzzy logic approach by visual data</article-title>
          ,
          <source>” Proc. Int</source>
          .
          <string-name>
            <surname>Conf</surname>
          </string-name>
          . V International Scientific Conference “Regional Problems of Earth Remote Sensing”,
          <source>Institute of Space and Information Technologies</source>
          , Krasnoyarsk, pp.
          <fpage>181</fpage>
          -
          <lpage>187</lpage>
          ,
          <year>2018</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          <string-name>
            <given-names>T.</given-names>
            <surname>Ojala</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Pietikäinen</surname>
          </string-name>
          and
          <string-name>
            <given-names>D.</given-names>
            <surname>Harwood</surname>
          </string-name>
          , “
          <article-title>A comparative study of texture measures with classification based on featured distributions,” Pattern Recognition</article-title>
          , vol.
          <volume>29</volume>
          , no.
          <issue>1</issue>
          , pp.
          <fpage>51</fpage>
          -
          <lpage>59</lpage>
          ,
          <year>1996</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          178, pp.
          <fpage>43</fpage>
          -
          <lpage>53</lpage>
          ,
          <year>2019</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          <string-name>
            <given-names>Z.</given-names>
            <surname>Xu</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Y.</given-names>
            <surname>Jiang</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Y.</given-names>
            <surname>Wang</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Y.</given-names>
            <surname>Zhou</surname>
          </string-name>
          ,
          <string-name>
            <given-names>W.</given-names>
            <surname>Li</surname>
          </string-name>
          and
          <string-name>
            <given-names>Q.</given-names>
            <surname>Liao</surname>
          </string-name>
          , “
          <article-title>Local polynomial contrast binary patterns for face recognition</article-title>
          ,
          <source>” Neurocomputing</source>
          , vol.
          <volume>355</volume>
          , pp.
          <fpage>1</fpage>
          -
          <lpage>12</lpage>
          ,
          <year>2019</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          <string-name>
            <given-names>M.</given-names>
            <surname>Hassaballah</surname>
          </string-name>
          ,
          <string-name>
            <given-names>H.A.</given-names>
            <surname>Alshazly</surname>
          </string-name>
          and
          <string-name>
            <given-names>A.A.</given-names>
            <surname>Ali</surname>
          </string-name>
          , “
          <article-title>Ear recognition using local binary patterns: A comparative experimental study</article-title>
          ,
          <source>” Expert Systems with Applications</source>
          , vol.
          <volume>118</volume>
          , pp.
          <fpage>182</fpage>
          -
          <lpage>200</lpage>
          ,
          <year>2019</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          <string-name>
            <given-names>M.</given-names>
            <surname>Turkoglu</surname>
          </string-name>
          and
          <string-name>
            <given-names>D.</given-names>
            <surname>Hanbay</surname>
          </string-name>
          , “
          <article-title>Leaf-based plant species recognition based on improved local binary pattern and extreme learning machine,”</article-title>
          <source>Physica A: Statistical Mechanics and its Applications</source>
          , vol.
          <volume>527</volume>
          ,
          <year>2019</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          <string-name>
            <given-names>Y.</given-names>
            <surname>Wang</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            <surname>Shi</surname>
          </string-name>
          , Ch. Wang and
          <string-name>
            <given-names>B.</given-names>
            <surname>Xiao</surname>
          </string-name>
          , “
          <article-title>Ground-based cloud classification by learning stable local binary patterns</article-title>
          ,
          <source>” Atmospheric Research</source>
          , vol.
          <volume>207</volume>
          , pp.
          <fpage>74</fpage>
          -
          <lpage>89</lpage>
          ,
          <year>2018</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          <string-name>
            <given-names>J.</given-names>
            <surname>Kaewchote</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Janyong</surname>
          </string-name>
          and
          <string-name>
            <given-names>W.</given-names>
            <surname>Limprasert</surname>
          </string-name>
          , “
          <article-title>Image recognition method using Local Binary Pattern and the Random forest classifier to count post larvae shrimp,” Agriculture and Natural Resources</article-title>
          , vol.
          <volume>52</volume>
          , no.
          <issue>4</issue>
          , pp.
          <fpage>371</fpage>
          -
          <lpage>376</lpage>
          ,
          <year>2018</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          <string-name>
            <given-names>M.</given-names>
            <surname>Favorskaya</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Pyataeva</surname>
          </string-name>
          and
          <string-name>
            <given-names>A.</given-names>
            <surname>Popov</surname>
          </string-name>
          , “
          <article-title>Texture analysis in watermarking paradigms,” Procedia Computer Science</article-title>
          , vol.
          <volume>112</volume>
          , pp.
          <fpage>1460</fpage>
          -
          <lpage>1469</lpage>
          ,
          <year>2017</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          178, no.
          <issue>22</issue>
          , pp.
          <fpage>4314</fpage>
          -
          <lpage>4325</lpage>
          ,
          <year>2008</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          <string-name>
            <given-names>A.S.</given-names>
            <surname>Pyataev</surname>
          </string-name>
          , “
          <article-title>Tree segmentation using image thresholding techniques on single image</article-title>
          ,
          <source>” Proc. Int. Conf. Reshetnev Readings</source>
          , Reshetnev Siberian State University of Science and Technology, Krasnoyarsk, vol.
          <volume>2</volume>
          , pp.
          <fpage>291</fpage>
          -
          <lpage>293</lpage>
          ,
          <year>2018</year>
          .
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>