Segmentation of Agricultural Images using Vegetation Indices
Jean Fabr
´
ıcio Batista Santos, Jocival Dantas Dias Junior, Andr
´
e Ricardo Backes
and Maur
´
ıcio Cunha Escarpinati
School of Computer Science, Federal University of Uberl
ˆ
andia, Brazil
Keywords:
Precision Agriculture, Plant Segmentation, Vegetation Indices.
Abstract:
Identifying and segmenting plants from the background in agricultural images is of great importance for pre-
cision agriculture. It serves as a basis for several tasks such as identification of planting lines, identification
of weed plants, agricultural automation, among others. Given this importance, in this paper, we evaluated
the application of five vegetation indices for RGB images together with two binarization techniques for the
plant/background segmentation process. The results showed promising performance in all evaluated indices.
It was also possible to identify a relationship between the performance obtained in each index and the capture
conditions in each dataset.
1 INTRODUCTION
The diversity of land areas, types of soils and plants,
products, and machinery makes the management of
a simple planting area a complex task. To facilitate
this task, in the last few decades Precision Agricul-
ture (PA) has emerged as a new way to manage agri-
cultural resources. Literature defines PA as the use of
different technologies (such as artificial intelligence,
internet of things, data analysis, and image process-
ing) with the main objective of optimizing results, re-
ducing costs, and creating a more sustainable produc-
tion chain.
A simple example of PA applied to a plantation
is the use of an Unmanned Aerial Vehicle (UAV) to
acquire images of the plantation. Depending on the
sensors present in the UAV, it is possible to obtain a
map of the area with many types of information, such
as land topology and vegetation distribution. There is
a wide range of sensors that can be used with a UAV.
The most common are cameras that capture color pat-
terns in RGB format. However, other bands, such as
infrared and ultraviolet, can be also used. RGB cam-
eras are widely used in image processing because they
are the standard that most devices use, such as smart-
phones, allowing image processing algorithms to run
even in mobile applications (Riehle et al., 2020). By
using specific algorithms, it is possible to extract from
these maps high-level information from the area, such
as the location of crop lines, plant count, and the pres-
ence of sowing failures. These informations enable
the farm to improve the use of the resources and al-
lows the use of other operations such as robots, trac-
tors, and autonomous pruning (Bargoti and Under-
wood, 2016).
Identifying and separating plants from the soil is
an important task because it allows the monitoring of
plant growth, health, and the identification of pests
and weeds. Mathematical equations applied to the
RGB channels of the images result in different in-
dices that highlight certain wavelengths, such as the
green levels of the image, thus facilitating the sep-
aration of the plant from background pixels (Riehle
et al., 2020). However, an index that highlights green
pixels is not enough to separate weed crops, and other
types of vegetation index may be needed for this prob-
lem. The use of vegetation indices has some advan-
tages such as low computational cost in comparison
with other segmentation techniques or machine learn-
ing approaches, easy implementation, and handling.
Nevertheless, they are sensitive to brightness varia-
tion, presence of shadows, and manual definition of
the threshold (Riehle et al., 2020).
In literature, there are a wide variety of RGB in-
dices that can be used for image segmentation pur-
poses. In the present work, we aimed to evaluate some
of these vegetation indices in a plant/soil segmenta-
tion task when combined with a clustering algorithm
and a simple threshold method to obtain the differ-
ent regions of interest. We compared the performance
of each vegetation index in the dataset presented in
(Riehle et al., 2020), which presents images with pre-
defined masks of the plant/soil regions.
The remaining of the paper is structured as fol-
506
Santos, J., Dias Junior, J., Backes, A. and Escarpinati, M.
Segmentation of Agricultural Images using Vegetation Indices.
DOI: 10.5220/0010325005060511
In Proceedings of the 16th International Joint Conference on Computer Vision, Imaging and Computer Graphics Theory and Applications (VISIGRAPP 2021) - Volume 4: VISAPP, pages
506-511
ISBN: 978-989-758-488-6
Copyright
c
2021 by SCITEPRESS – Science and Technology Publications, Lda. All rights reserved