Vous êtes sur la page 1sur 6

ARTICLE IN PRESS

Biosystems Engineering (2003) 85 (4), 449–454 Available online at www.sciencedirect.com


doi:10.1016/S1537-5110(03)00098-9
PA}Precision Agriculture

Fall Armyworm Damaged Maize Plant Identification using Digital Images


D.G. Sena Jr1; F.A.C. Pinto1; D.M. Queiroz1; P.A. Viana2
1
Department of Agricultural Engineering, Universidade Federal de Vi-cosa, Vi-cosa, MG 36571-000, Brazil; e-mail of corresponding author:
facpinto@ufv.br
2
Embrapa Milho e Sorgo, Sete Lagoas, MG 35701-970, Brazil; e-mail: paviana@cnpms.embrapa.br

(Received 15 August 2002; accepted in revised form 15 May 2003; published online 21 June 2003)

The objectives of precision agriculture are profit maximisation, agricultural input rationalisation and
environmental damage reduction, by adjusting the agricultural practices to the site demands. The fall
armyworm (Spodoptera frugiperda) is one of the most important maize pests in Brazil and the use of insecticide
is the main control method. It is believed that site-specific control can be implemented by using a machine
vision system. The objective of this work was to develop and evaluate an algorithm at simplified lighting
conditions for identifying damaged maize plants by the fall armyworm using digital colour images. Images of
damaged and non-damaged maize plants were taken in eight different stages and in three different light
intensities. The proposed algorithm had two stages: the processing and the image analysis. During the first
stage, the images were processed to create binary images where the leaves were segmented from the other
pixels. At the second stage, the images were subdivided into blocks and classified as ‘damaged’ or ‘non-
damaged’ depending on the number of objects found in each block. The algorithm correctly classified 9472%
of 720 images.
# 2003 Silsoe Research Institute. All rights reserved
Published by Elsevier Science Ltd

1. Introduction of damaged plants, visually identified by experts.


Feeding in the whorl of maize, the fall armyworm
Visual diagnoses are widely used in agriculture fields. produces characteristic holes in the leaves, whereas
Thus, machine vision systems have been proposed for other insect damage usually appears at the edges of the
site-specific management of weed (Steward & Tian; leaves since it is eaten from the edge to the leaf centre.
1998), plant nutrition (Borhan & Panigrahi, 1999), plant One of the biggest concerns is pest resistance to the
disease (V!ızh!anyo! & Felfoldi, 2000) and water stress chemicals. This results in a greater number of applica-
(Kacira et al., 1999). In agriculture, the challenges for tions being required; increased product dosage; or the
developing a machine vision system are greater than in use of an alternative product that is often more toxic
the industry. The main problems are the great variation and expensive. Consequently, this is likely to increase
in light intensity and the shadows on the images costs and the environmentally damaging effects (e.g.
(Steward & Tian, 1998), the variability in shape, causing a reduction in natural predators). Omoto et al.
dimensions and colour of the agricultural product and (2000) accomplished a study about the susceptibility of
the work environment for the equipments (Pinto et al., S. frugiperda populations to the most used insecticides in
2001). Brazil and the results showed that it is necessary to
The fall armyworm (Spodoptera frugiperda) is one of implement a resistance management programme for this
the most significant maize pests in Brazil (Cruz, 1995; pest.
Fancelli & Dourado Neto, 2000). The main control The maintenance of refuges within the crop fields,
system is the use of insecticides that frequently damage without chemical application, has been suggested as a
the natural enemies population (Cruz et al., 2000). The way of responsibly managing the use of toxic chemicals
techniques of integrated pest management (IPM) to preserve an environmental balance. The site-specific
recommend the use of chemicals based on the number IPM could theoretically create these refuges (Midgarden

1537-5110/03/$30.00 449 # 2003 Silsoe Research Institute. All rights reserved


Published by Elsevier Science Ltd
ARTICLE IN PRESS
450 D.G. SENA JR. ET AL.

et al., 1997) where it would be possible to preserve the Table 1


susceptible genotypes and natural predators whilst Each charged couple device (CCD) gain and time of exposure in
reducing the use of insecticides (Weisz et al., 1996). the red, near-infrared and green-blue camera channels
Precision agriculture can also help the rational use of Channel Gain, dB Exposure, ms
chemicals by applying them at the right time and
Red 150 123000
amount on pre-selected targets (Concei-ca* o, 2000) since Near infrared 129 122625
the pests usually show a grouped spatial distribution Green-blue 102 122625
(Viana, 2000). Weisz et al. (1996) showed this potential *
The NIR channel was not used in this work.
on the site-specific management of potato pests, redu-
cing the use of insecticides between 40 and 70%.
Midgarden et al. (1997) showed the advantage of site- green, blue (RGB) digital camera, MS3100 (Duncan
specific management over traditional IPM for maintain- Technologies, Inc., CA, USA), connected to a frame
ing low resistance levels of Colorado potato beetle grabber, PCI 1424 (National Instruments Corp, TX,
(Leptinotarsa decemlineata) and greater natural enemy USA). A 17 mm focal length lens was used with a fixed
populations in commercial potato fields. f-stop of 35. The camera was set at 10 m from the
It is believed that the fall armyworm shows char- highest plant leaves. The spatial resolution was,
acteristics that could allow the site-specific control with approximately 03 mm pixel1. The gain and time
a machine vision system; the most useful is that at the exposure of each charged couple device (CCD) is shown
larval stage there is no movement from one plant to in Table 1.
another. Although the pest damage is typical, some A metal structure covered with a white canvas was
difficulties are expected, such as early detection due to built to control the light conditions. The illumination
the reduced size of the holes and possible confusion with system comprised ten halogen lights: four of 150 W and
image segmentation errors. The identification of the six of 50 W. The lights were set to a diffused illumina-
damaged maize plants could generate data for applica- tion. Three levels of illumination were produced by
tion maps or real-time spraying. Both methods show keeping the four 150 W bulbs on and adding two, four
potential for reducing the use of insecticides, environ- or six 50 W bulbs, respectively. Although the intensity of
mental damage, mortality of natural predators, and the the lighting system was not measured, the halogen light
development of pest resistance. was used because of its spectral distribution all over the
The main focus of this work was on vision develop- visible and near-infrared range.
ment. Thus, the objective of this work was to develop The images were processed using Image Processing
and evaluate an algorithm at simplified light conditions, MATLAB1 (MathWorks Inc., MA, USA) toolbox.
to enable maize damaged plants by the fall armyworm Since the images presented pixels with null values on
to be identified using digital colour images. The their edges, they were resized to 1372 pixels horizontally
algorithm was developed in modules that can be by 1019 pixels vertically. The algorithm was developed
improved independently to adapt for different field in two steps: the processing and the image analysis. The
conditions. objective of the image processing was to obtain a binary
image where the plant leaves were segmented from the
rest of the image (soil, pot edges and damage done by
2. Material and methods the fall armyworm). The objective of the image analysis
was to classify the images as damaged or non-damaged
The images used for this work were of 30 plants plants.
cultivated on pots in a greenhouse at Embrapa Corn & First, the original RGB images were transformed to
Sorghum, Sete Lagoas, MG, Brazil. Three HT971011 256 grey level images by applying the excess green index
hybrid seeds were sown into each of 30 pots to increase and rescaling the pixel values. Then, the monochrome
chances of at least one germinating. Then once seedlings images were thresholded by the iterative method (Yang
emerged, these were twined down, leaving one plant per et al., 2001). This method assumes that the optimal
pot. Fifteen days after emergence, 15 plants were threshold is the average of the mean values for the
randomly chosen and infested with ten fall armyworms foreground and background pixels that is searched
(S. frugiperda) hatched 1day before and 15 left healthy. iteratively on the image histogram. The pixels represent-
Images of the damaged and healthy plants were taken ing leaves received a value of zero and the others a value
under three light intensities and at eight different dates of one. Finally, a 3 by 3 median filter was applied to
after infestation, ending in a final number of 720 images. reduce the binary image noises due to segmentation
The images, 1392 pixels horizontally by 1039 pixels errors. Thus, it was assumed that group of four or less
vertically with 24-bit depth, were captured using a red, connected pixels was noise (Fig. 1).
ARTICLE IN PRESS
MAIZE PLANT IDENTIFICATION 451

Original image Binary image

Excess green index


Image subdivision into
12 blocks

Grey level image


Subdivided image
Iterative threshold
method
Blocks with more than
5% of leaf selection
Binary image

Median filter 3 by 3 Selected blocks

Object identification
Binary filtered image and counting

Fig. 1. Steps of the image processing algorithm


Classification as
The original RGB images were transformed into damaged or non-
index monochromatic images using the normalised damaged block
excess green index:
2G  R  B Fig. 2. Image analysis steps for the proposed algorithm
EG ¼ ð1Þ
RþGþB
where: EG is the normalised excess green index; G is the It was assumed that some segmentation errors always
pixel value on the green band; R is the pixel value on the exist. Therefore, the threshold for the number of objects
red band; and B is the pixel value on the blue band. necessary to classify the block is crucial to the algorithm
Since the EG value ranged from –1 to 2, the pixel performance. Four threshold values were pre-selected by
values of index images were re-scaled to 256 grey levels using a training set with 90 images. The training set
by consisted of images from three groups of ten plants (five
p0  pmin damaged and five undamaged) taken at three dates, each
p¼ 255 ð2Þ
pmax  pmin group using a different light intensity. Images were
recorded at 17, 20 and 23 days after seedling emergence,
where: p is the pixel value of enhanced image; p0 is the corresponding to 2, 5 and 8 days after infestation by the
pixel value of indexed image; pmax is the maximum pixel fall armyworm.
value of indexed image; and pmin is the minimum pixel The algorithm accuracy was assessed by classifying
value of indexed image. the whole set of 720 images for each threshold value for
Figure 2 shows the steps of image analysis. The binary the object number.
images were subdivided automatically into 12 blocks of
300 pixels by 300 pixels each. These blocks were located
in the centre region of the image with 1200 pixels
horizontally by 900 pixels vertically. Therefore, this 3. Results and discussion
region presented three rows of blocks with four blocks
on each row. The blocks that presented more than 5% Figure 3 shows a sample of the image processing step
of leaves were selected. A search for connected groups of and the selected blocks for image analysis. The excess
pixels with value one, here called objects, was done in green image was efficient to enhance the healthy leaves
the selected blocks. Then, the number of the objects on [Fig. 3(b)], allowing its segmentation from the back-
each selected block were counted. Finally, the selected ground [Fig. 3(c)].
blocks were classified as a damaged or non-damaged The four pre-selected threshold values for object
leaf based on its total number of objects. The image was numbers were 8, 9, 10 and 11 objects in the block.
assumed to represent a damaged plant when it had at Table 2 shows the classification errors for each group
least one block classified as damaged. of damaged and non-damaged plants. The higher
ARTICLE IN PRESS
452 D.G. SENA JR. ET AL.

(a) (b)

(c) (d)

Fig. 3. (a) Original image (changed to its greyscale representation for typographical reasons); (b) image processed with the
normalised excess green index; (c) binary image created with the iterative method; and (d) the selected blocks

Table 2
Classification errors using 8, 9, 10 and 11 objects as a threshold to classify the plants as damaged or non-damaged from a total
sample of 720 images
Damage threshold Misclassification of damaged plants Misclassification of undamaged plants Total plant misclassification
No. % No. % No. %
8 7 194 73 2028 80 1111
9 9 250 46 1278 55 764
10 12 333 26 722 38 528
11 37 1028 17 472 54 750

classification errors occurred for the non-damaged plants number of plants. The algorithm classified damaged
with the values of 8, 9 and 10 objects. Applying chemicals plants as non-damaged only at the first two growth
to a healthy plant is a less critical error than an application stages, when the damagesites were few and small. The
being missed. The lower is the threshold value, the lower is greatest errors occurred in the first stage (17 days after
the classification error in the damaged plants and the seedling emergence and 2 days after infestation) with
greater the classification error in the non-damaged plants. 22% error. On the other hand, on the group of non-
The best algorithm for overall performance was presented damaged plants, the greatest errors occurred in the last
when using ten objects as threshold value. stages, when the leaf veins were developed and presented
Table 3 shows the number of plants incorrectly a bright colour. For this group, the greatest error
classified using ten objects as the threshold and the per occurred at 24 days after seedling emergence with an
cent of error for damaged, non-damaged and total error of 389%.
ARTICLE IN PRESS
MAIZE PLANT IDENTIFICATION 453

Table 3
Number of plants incorrectly classified in a total sample of 720 images, per cent of error for damaged, not damaged and total number
of plants using ten objects as threshold, for different stages after seedling emergence and after insect infestation
Stage Misclassification of damaged Misclassification of undamaged Total mean
plants plants error, %
Time after seed- Time after insect No. % No. %
ling emergence, infestation, day
day
17 2 8 1778 2 444 1111
18 3 4 889 2 444 667
19 4 0 0 1 222 111
20 5 0 0 1 222 111
21 6 0 0 0 0 0
22 7 0 0 2 444 222
23 8 0 0 4 889 444
24 9 0 0 14 3111 1556
Total 12 3.33 26 722 528

(a) (b) (c) (d)


Fig. 4. Incorrectly classified blocks (a) and (b) of fall armyworm damaged leaves; and (c) and (d) undamaged leaves

(a) (b) (c) (d)

Fig. 5. Correctly classified blocks (a) and (b) of fall armyworm damaged leaves and (c) and (d) undamaged leaves

Figures 4 and 5 show blocks of damaged and non- the image block of Fig. 4(d), causing the classification
damaged plants incorrectly and correctly classified, error.
respectively. The image block of Fig. 4(a) shows an
atypical injury, at the edge of the leaf, which is mixed
up with the background. Figure 4(b) shows a plant 4. Conclusions
presenting too early damage with few visible injuries.
The leaf veins show in Fig. 4(c) were not segmented as An algorithm for identifying damaged maize plants
one object, causing the classification error. The centre by the fall armyworm (Spodoptera frugiperda) using
of the plant was segmented as more than one object in digital colour images was developed and tested. The
ARTICLE IN PRESS
454 D.G. SENA JR. ET AL.

algorithm was tested using damaged and non-damaged Fancelli A L; Dourado Neto D (2000). Produ-ca* o de milho.
maize plant images that were taken under different [Maize Production]. Livraria e Editora Agropecu!aria
lighting conditions and stages of maturity. The pro- Gua!ıba
Kacira M; Ling P P; Short T H (1999). Non-contact sensing of
posed algorithm performed well, correctly classifying plant water stress by ir thermometry and image processing.
9472% of the images. ASAE Paper No. 99 5004
Midgarden D; Fleischer S J; Weisz R; Smilowitz Z (1997). Site-
specific integrated pest management impact on development
Acknowledgements of esfenvalerate resistance in Colorado potato beetle
(Coleoptera:Chrysomelidae) and on densities of natural
enemies. Journal of Economic Entomology, 4(90), 855–867
This research was sponsored by the World Bank and Omoto C; Schmidt F B; Diez-Rodriguez G I; Silva R B (2000).
Embrapa through the project PRODETAB 030-01/99. Resist#encia de Spodoptera frugiperda a inseticidas no Brasil:
The authors have been sponsored by the Brazilian situa-ca* o atual e perspectivas. [Spodoptera frugiperda chemi-
Agencies CNPq and FAPEMIG. All the mentioned cal resistance in Brazil: actual situation and prospection]. In:
XXIII congresso nacional de milho e sorgo, resumos
supports are gratefully acknowledged.
expandidos, Uberl#andia, Associa-ca* o Brasileira de Milho e
Sorgo
Pinto F A C; Sena Jr D G; Queiroz D M; Gomide R L
References (2001).Vis*ao artificial na agricultura de precis*ao. [Machine
Vision on precision agriculture]. In: Avan-cos na agricultura
Borhan M S; Panigrahi S (1999). Multi-spectral imaging de precis*ao no Brasil no per!ıodo 1999–2001 (Balastreire L A,
techniques for nitrogen determination in potato leaf. ASAE ed). ESALQ/USF, Piracicaba
Paper No. 99 5005 Steward B L; Tian L F (1998). Real-time machine vision weed-
Concei-ca* o M Z (2000). Manejo integrado em defesa vegetal. sensing. ASAE Paper No. 98–3033
[Integrated management plant protection] In: Manejo Viana P A (2000). Manejo de pragas na cultura do milho. [Pest
integrado } doen-cas, pragas e plantas daninhas (Zambolim management on maize crop]. In: XXIII congresso nacional
L, ed), pp 1–80, DFP/UFV, Vi-cosa de milho e sorgo, resumos expandidos, Uberl#andia,
Cruz I (1995). A lagarta do cartucho na cultura do milho. Associa-ca* o Brasileira de Milho e Sorgo
[The fall armyworm on maize production]. Sete Lagoas: V!ızh!any!o T; Felfoldi J (2000). Enhancing colour differences in
EMBRAPA-CNPMS, (EMBRAPA-CNPMS. Circular images of diseased mushrooms. Computers and Electronics
T!ecnica, 21) in Agriculture, 26, 187–198
Cruz I; Figueiredo M L C; Alberton M (2000). Efici#encia de Weisz R; Fleischer S; Smilowitz Z (1996). Site-specific
novos piretro! ides no controle da Spodoptera frugiperda em integrated pest management for high-value crops: impact
milho e seletividade ao predador Doru luteipes [New on potato pest management. Journal of Economic Ento-
pyrethroid efficiency for Spodoptera frugiperda controlling mology, 2(89), 501–509
in maize and Doru luteipes selectivity]. In: XXIII congresso Yang X; Beyenal H; Gary H; Lewandowski Z (2001).
nacional de milho e sorgo, resumos expandidos, Uberl#andia, Evaluation of biofilm image thresholding methods. Water
Associa-ca* o Brasileira de Milho e Sorgo. Research, 35(5), 1149–1158

Vous aimerez peut-être aussi