<!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>DETECTION OF FERTILE SOILS BASED ON SATELLITE IMAGERY PROCESSING</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>V. Grishkin</string-name>
          <email>valery-grishkin@yandex.ru</email>
          <xref ref-type="aff" rid="aff0">0</xref>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>E. Zhivulin</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>A. Khokhriakova</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>S. Karimov</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>Saint Petersburg State University</institution>
          ,
          <addr-line>7-9 Universitetskaya nab., Saint Petersburg, 199034</addr-line>
          ,
          <country country="RU">Russia</country>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>Valery Grishkin</institution>
          ,
          <addr-line>Evgeniy Zhivulin, Anastasiia Khokhriakova, Sardor Karimov</addr-line>
        </aff>
      </contrib-group>
      <pub-date>
        <year>2021</year>
      </pub-date>
      <fpage>5</fpage>
      <lpage>9</lpage>
      <abstract>
        <p>The paper proposes a method for detecting fertile soils based on the processing of satellite images. As a result of its application, a map of the location of fertile and infertile soils for a given region of the earth's surface is formed and the corresponding areas are calculated. The method for detecting fertile soils is based on the fact that fertile soil includes areas covered with vegetation in the spring-summer period. Therefore, by measuring the spectral characteristics of these areas in the late autumn period, when there is no vegetation on them, it is possible to obtain objective parameters of fertile soils. For detection, a number of classifiers are being built that recognize two classes - fertile soil and sand, which is especially important when monitoring areas prone to desertification. The feature vector used for classification is a set of indices similar to the well-known NDVI index. This set of indices is calculated for each pixel of the image by its values in different spectral channels. Classifiers are implemented using CUDA parallel computing technology on a GPU. Based on the results of the experimental study, a classifier is selected that has shown the best characteristics of the recognition quality.</p>
      </abstract>
      <kwd-group>
        <kwd>satellite image segmentation</kwd>
        <kwd>multispectral images</kwd>
        <kwd>cene classification</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>1. Introduction</title>
      <p>Currently, there is a problem - land desertification. To effectively combat this, it is necessary
to know the situation in a particular region at the current moment in time, as well as to be able to track
the dynamics of desertification. One way to do this is to monitor the area using satellites. This method
allows you to cover the entire territory, while providing sufficient accuracy for such a scale. In
addition, it does not require large financial costs and allows you to collect and process information
about the state of the soil over a long period of time.</p>
      <p>
        When monitoring the state of land, it is necessary to distinguish between fertile and barren
soil. Since land desertification occurs mainly due to the onset of sand, this paper considers a method
that detects areas occupied by fertile soils and sandy areas on satellite images. We propose a method
for detecting fertile soils in specified regions based on processing multispectral satellite images. These
images from various satellites are publicly available on their respective websites. In this work, we use
open data obtained by the Sentinel satellites within the European Copernicus program [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ].
      </p>
    </sec>
    <sec id="sec-2">
      <title>2. Data acquisition and preprocessing</title>
      <p>
        Data of multispectral imagery from Sentinel-2 satellites and the results of their preprocessing
are used as input images. These data are freely available on the Copernicus Open Access Hub [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ].
Images of the earth's surface for the region of interest are taken at intervals of 5 days. The surface
survey from satellites is carried out in various spectral ranges with a resolution of at least 20 by 20
meters in one image pixel. Table 1 shows a list of spectral and additional channels used to detect
fertile and sandy soils.
      </p>
      <p>Additional channels contain the results of preprocessing images captured in the Sentinel data
center. It should be noted that for the detection of fertile and sandy soils, we use only 13 channels out
of 23 available.</p>
      <p>Channels B02, B03, B04 represent reflected light in the optical range. Channels B05, B06, and
B07 represent infrared radiation. Two channels B08 and B08A belong to the near infrared range. The
next spectral range B09 is associated with reflections from water vapor. Then three channels follow,
reflecting the results of data processing by the Sentinel-hub service itself. The first one (SNW) is the
probability that a given pixel in the image is part of a snow-covered area, and the second one (CLD) is
the probability that it belongs to a cloud cover. The last of these channels (SCL) is an image mask
describing the belonging of each pixel to one of the 12 classes. Among these classes are the following:
vegetation, bare soil, water, clouds, cloud shadows, snow.</p>
      <p>Interaction with the Copernicus Open Access Hub website is carried out using requests that
are supported by the corresponding Sentinel-hub service. The request specifies the date range (the
service provides the latest snapshot from the specified range), the coordinates of the area of interest,
the size of the resulting image in pixels, the list of channels from which the data is requested, and the
view in which it will be loaded. The size of the requested area is chosen equal to 10 x 10 km, which
corresponds to the dimensions of the resulting image equaling to 512 x 512 pixels when using a
channel resolution of 20 meters.</p>
      <p>Before loading data, it is possible to pre-process it directly on the site by performing
arithmetic operations on it. These operations allow for normalizing the values in
different channels. Data from channels is requested in the form of standard PNG images. Each image
includes 3 channels of data displayed as red, green and blue.</p>
      <p>
        Downloading the data required for exploring large areas also requires a large number of
downloads. Therefore, a specially developed script is used to load data. This script generates a request
for satellite data for a specified location within a specified date period. When requesting data from the
service, the access key is transmitted which has been obtained earlier. This key is updated hourly and
can be obtained as a result of another request to the service. Therefore, when exchanging with the hub,
the size of uploaded images is checked, and if it is too small, this indicates that the service did not
provide data, therefore, you need to request a new key is to be requested, and the script takes care of
that. For interaction with the site, the standard cURL utility [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ] is used, which is part of almost all
operating systems. After the request is generated, the script is passed to this utility as a parameter.
      </p>
    </sec>
    <sec id="sec-3">
      <title>3. Fertile soil detection</title>
      <p>The algorithm for detecting fertile soils is based on a fairly simple idea of comparing images
of a region in the spring-summer and late autumn periods. The first period was chosen because it is in
this period that the vegetation cover is the strongest and is well determined from satellite images using
standard methods. The second period is characterized by almost no vegetation, and in these images,
the surface that was covered with vegetation looks like soil. Thus, comparing these images, one can
draw conclusions about the location and presence of productive soils in the observed area, since the
soil on which nothing grows is either degraded or unsuitable for agricultural purposes.</p>
      <p>
        The input data contains, in addition to spectral images, the results of preliminary classification
of images of the region, obtained by processing the data of the Copernicus Open Access Hub [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ]. This
classification results are tied to each requested area of the earth's surface and are represented as a pixel
mask Mscl of the image of this area. The values of each pixel in this mask correspond to specific types
of ground surface or types of clouds. This classification mask is used to segment areas containing
agricultural soils. These areas are covered with vegetation in spring and summer. Therefore,
segmenting such areas in the images of the late autumn period, we will obtain data on the distribution
of fertile soils. Thus, it is necessary to form two new masks from the original summer mask. The
Msummer_veg mask represents the vegetation cover only, while the Msummer_soil mask represents the soil.
Two similar masks are also formed out of the autumn classification mask. The first Mautumn_soil mask
represents the soil cover, and the second Mautumn_veg mask represents the vegetation cover. The Mgoodsoil
fertile soil mask is calculated by applying a bitwise AND to the summer vegetation mask and the
autumn soil distribution mask.
      </p>
      <p>The second mask contains additional information about the location of the fertile soil hidden under the
vegetation. This mask can be used to obtain a complete mask of fertile soil Mf goodsoil.</p>
      <p>Mgoodsoil = Msummer_veg &amp; Mautumn_soil
Mf_goodsoil = Mgoodsoil | (Msummer_soil &amp; Mautumn veg)</p>
    </sec>
    <sec id="sec-4">
      <title>4. Experimental results</title>
      <p>For training and testing the classifiers for recognition fertile soils, a set of multispectral images
and calculated masks of fertile soils were used. This dataset was formed from 379 pairs of sets of
combined spectral images of subregions. Each pair of sets for the same subregion consists of four
combined images taken in August and four combined ones taken at the end of October. For these pairs
of images, masks of fertile soils were calculated, which were also included in the dataset.</p>
      <p>
        We investigated the following classifiers – Bayesian classifier, Random forest, and SVM
classifier [
        <xref ref-type="bibr" rid="ref4 ref5 ref6">4-6</xref>
        ]. All these classifiers are based on heuristic features. We used a vector of normalized
differential indices as a feature vector. Each index is calculated based on the values of two different
spectral channels. The calculation of the corresponding index Vij was carried out similarly to the
procedure for calculating the known vegetation index NDVI.
      </p>
      <p>Vij = (Bi - Bj ) / (Bi + Bj )
(3)</p>
      <p>As a result of the experiments, the best accuracy was achieved with the dimension of the
feature vector equal to 8. In this case, the following indices were used: V47; V46; V89; V38; V92; V01,V48;
V57. These indices are calculated using the following channel pairs: (B06 B8A), (B06 B08), (B09
B11), (B05 B09), (B8A B04), (B02 B03), (B06 B09), (B07 B8A). The results of soil type recognition
for the studied classifiers are shown in Table 2.</p>
    </sec>
    <sec id="sec-5">
      <title>4. Conclusion</title>
      <p>We propose a method for detecting fertile soils in specified regions based on processing
multispectral satellite images. The data required for detection is requested during interaction with the
hub service for accessing remote database. In addition to spectral images, we also use the results of
their preprocessing, which are also requested from this database. The feature vector used for
classification is a set of indices similar to the well-known NDVI index. The paper presents
experimental estimates of the recognition quality for the classifiers under study, which are used to
detect fertile soils. Based on the analysis of the estimates obtained, the choice of the type of classifier
for the detection of fertile soils is made.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <given-names>ESA</given-names>
            <surname>Earth Observation Portal</surname>
          </string-name>
          . Available at: https://directory.eoportal.org/web/eoportal/ satellitemissions/c-missions/copernicus-sentinel-2
          <source>/ (accessed 30. 06</source>
          .
          <year>2021</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <given-names>Copernicus</given-names>
            <surname>Open Access Hub</surname>
          </string-name>
          . Available at: https://scihub.copernicus.eu/dhus/ (accessed 02. 07.
          <year>2021</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          <article-title>[3] Command line tool and library for transferring data with URLs</article-title>
          . Available at: https://curl.se
          <source>/ (accessed 14.05</source>
          .
          <year>2021</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [4]
          <string-name>
            <surname>Cutler</surname>
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Cutler</surname>
            <given-names>D.R.</given-names>
          </string-name>
          and
          <string-name>
            <given-names>Stevens J.R.</given-names>
            <surname>Random</surname>
          </string-name>
          Forests // Ensemble Machine Learning:
          <source>Methods and Applications</source>
          , pp.
          <fpage>157</fpage>
          -
          <lpage>176</lpage>
          ,
          <issue>Chapter5</issue>
          , Springer,
          <year>2011</year>
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [5]
          <string-name>
            <surname>Cristianini</surname>
            <given-names>N</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Shawe</surname>
            <given-names>T. J.</given-names>
          </string-name>
          <article-title>An Introduction to Support Vector Machines and other kernel-based learning methods</article-title>
          . Cambridge University Press, UK: Cambridge,
          <year>2000</year>
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          [6]
          <string-name>
            <surname>Domingos</surname>
            <given-names>P.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Pazzani</surname>
            <given-names>M. On</given-names>
          </string-name>
          <article-title>the optimality of the simple Bayesian classifier under zero-one loss // Machine Learning</article-title>
          , V.
          <volume>29</volume>
          (
          <issue>2</issue>
          /3), pp.
          <fpage>103</fpage>
          -
          <lpage>137</lpage>
          ,
          <year>1997</year>
          . - DOI:10.1023/A:
          <fpage>1007413511361</fpage>
          .
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>