Romuado 2014
Romuado 2014
Departamento de Física e Ciências Materiais - IFSC/FCM Artigos e Materiais de Revistas Científicas - IFSC/FCM
2014-06
Computers and Electronics in Agriculture, Amsterdam : Elsevier BV, v. 104, p. 63-70, June 2014
http://www.producao.usp.br/handle/BDPI/50229
Downloaded from: Biblioteca Digital da Produção Intelectual - BDPI, Universidade de São Paulo
Computers and Electronics in Agriculture 104 (2014) 63–70
a r t i c l e i n f o a b s t r a c t
Article history: The identification of the nutritional status of maize by foliar chemical analysis requires sampling of leaves
Received 7 June 2013 when the plant is in an advanced stage of development, hindering corrective action in ongoing cultiva-
Received in revised form 19 March 2014 tion, if deficiency detection of a specific nutrient occurs. An artificial vision system (AVS) is a set of meth-
Accepted 23 March 2014
ods used for analysis and interpretation of images. Therefore, an AVS is being developed to identify
nutrient deficiencies at different stages of plant development, especially in the early stages of growth,
which may contribute to early diagnosis and correction in the same cycle of growth. The objective was
Keywords:
to evaluate methods of digital image processing to develop the AVS to diagnose induced nitrogen defi-
Zea mays
Nutritional diagnosis
ciency in maize leaves. The experiment was done in greenhouse and the treatments were N doses
Macronutrient (0.0; 3.0; 6.0 e 15.0 mMol L1) combined with three growing stages (V4, V7 and R1). The images of maize
Computational vision leaves were digitized in 1200 dpi. After scanning, leaves were chemically analyzed for N content and was
determined the dry mass of plants. The studied methods in AVS were: Volumetric Fractal Dimension
(VFD), Gabor Wavelet (GW) and VFD with canonical analysis. The omission and reduction of nitrogen
in maize plants resulted in typical symptoms of N deficiency. The AVS was able to identify levels of nitro-
gen deficiency in the early stages of development of corn, with global percentage of right of 82.5% at V4
and 87.5% at V7. The GW technique with color images resulted in the better method for features
extraction.
Ó 2014 Elsevier B.V. All rights reserved.
http://dx.doi.org/10.1016/j.compag.2014.03.009
0168-1699/Ó 2014 Elsevier B.V. All rights reserved.
64 L.M. Romualdo et al. / Computers and Electronics in Agriculture 104 (2014) 63–70
In this context, computational models of artificial vision and math- (FZEA/USP) at the Pirassununga-SP campus. The crop tested was
ematical models can contribute to a more detailed analysis of foliar maize (Zea mays L.), hybrid DKB 390Ò, grown in a hydroponic sys-
structures through benchmark techniques and information extrac- tem in nutrient solution.
tion (Backes and Bruno, 2008). Experimental design was fully random, in a 4 3 factorial with
An artificial vision system or computational vision may be four replications. The factors established for the study consisted of
defined as a set of methods and techniques through computer sys- four levels of N concentration in nutrient solution: T1 = complete
tems, which are able to interpret an image automatically or semi- omission (0 mMol L1), T2 = 20% of full level (3.0 mMol L1),
automatically (Punam and Udupa, 2001). And are constituted in T3 = 40% of full level (6.0 mMol L1) and T4 = full level
the steps: acquisition, image segmentation, feature extraction (15 mMol L1), combined in three time sampling of collecting
and classification/identification (Bruno, 2000; Gonzales and leaves (phenological stage), when plants were with four fully
Woods, 1993). In literature there are several methods of taxono- expanded leaves (V4), seven leaves (V7) and silking (R1), totaling
mies for image segmentation. However, the most traditional is 48 experimental units (4 level of N 3 sampling stage 4 replica-
adopted by Gonzales and Woods (1993), which defines three cate- tions). The concentration of elements in nutritional solutions was
gories of segmentation: thresholding, based segmentation on determined after a previous trial having the Hoagland and Arnon
edges and based on regions. Other methods are based on colors (1950) solution as reference.
(Lim and Lee, 1990; Gonzalez et al., 1990; Moreira, 1999), the ones Seeding was done in plastic trays filled with washed sand until
using neural networks and fuzzy logic (Bezdek et al., 1999) and two weeks after emergence. After that, two plants were transferred
those based on genetic algorithms (Ankenbrandt et al., 1990). to 3.5 L pots (experimental units) and supported by a piece of foam
Chromatic analysis is considered the information concerning the and maintained there until stage V7, when they were transferred
color. Among the methods used in this category of segmentation, to 10 L pots until stage R1. After transplanting, plants were kept
can highlight the analysis of chromatic histograms (Cheng et al., in a 50% diluted nutrient solution for them to adapt, during 5 days.
2001), chromatic moments (Stricker and Orengo, 1995) and set Nutrient solutions were replaced 15 days after transplanting, and
of colors on mappings (Cheng et al., 2001). The segmentation pro- henceforward weekly. When needed, pot solution was leveled with
cess selects regions for images analysis. The feature extraction step deionized water and pH adjusted between 5.0 and 6.0 with HCl 1 N
consists of methods to assess the regions of the images for their and NaOH 1 N. Each pot had air bobbling during 10 s at each 30 s
characterization. This step, the texture analysis considers the dis- interval.
tribution and organization of pixels in a certain image region. In In each collecting times established, 16 pots (experimental
this context, methods that use measures like fractal dimension units) were sampled (sample destructive). Sampled material was
and lacunarity can measure the complexity of images, and gener- split in (a) above ground portion (shoot, Sh); (b) root (Rh); (c) index
ate digital signatures to characterize the image (Backes and leaf (IL) of the growing stage (V4 = leaf 4; V7 = leaf 7, and
Bruno, 2008). R1 = opposite leaf below the first ear) and (d) old leaf (OL). At all
The application and use of image analysis is utilized in agricul- sampling times (V4, V7 and R1), the OL collected in the corn plant
ture for some time now, mostly in precision agriculture. Yang et al. corresponded to older leaf that was not senescent.
(2000) applied artificial neural networks (ANN), trained with the The shoots, index leaves and old leaves after collection of
back-propagation algorithm, to the development of a model capa- images, were rinsed in deionized water. The roots were washed
ble of distinguishing young maize plants of weeds plants. Burks in running water and then were washed in the following order:
et al. (2005) used the same algorithm to study the recognition of water with a neutral detergent, deionized water, hydrochloric acid
weeds plants. Baesso et al. (2007) assessed the use of spectral indi- (HCl) diluted in deionized water and finally deionized water. Pos-
ces, taken from digital images, to discriminate different doses of teriorly, the plant parts were dried in an oven with forced air circu-
nitrogen in common bean. Sena Júnior et al. (2008) identified lation at a temperature of 65 °C, for approximately 72 h, to
through image analysis nutritional stages of wheat plants. Silva determine the dry mass and then grind with 2 mm screen and
et al. (2014) evaluated different methods for feature extraction in saved in plastic bags for further analyses of N determination
images of maize leaves in the V4 stage, grown in greenhouse under according to methodology described in Bataglia et al. (1983).
nutritional deficiency induced of magnesium. With the obtained
results, it was found global percentage of right 76% with reliable 2.2. Statistical analysis for dry mass and N concentration
Kappa index. Silva Júnior et al. (2012) determined the percentage
of vegetation cover of weeds plants in the crop beans, under the Statistical analysis model below was accomplished for the dry
no-tillage and conventional, using digital image processing and mass yield and accumulation of nitrogen in shoot and root of maize
geostatistics. Abrahão et al. (2013) conducted a study of classifiers plants, and N concentration in index leaves. Results were statisti-
based on different combinations of bands and spectral indices of cally processed using variance analysis. According to Steel et al.
original images to discriminate foliar nitrogen and chlorophyll, also (1997) the statistical model used was as follows
in the crop beans.
Yijk ¼ m þ Ei þ Nj þ ENij þ eijk ð1Þ
Being so, the use of image processing in agriculture can be an aux-
iliary important tool in the soil and plant management. The present In the model, Yijk is the observed value at parcel that received ij
research was focused in the development of an AVS for N diagnosis in treatment on repetition k; m is the average; Ei is the effect of the
maize plants, for further validation in field. The objective of this development stage of maize; Nj is the effect of nitrogen levels at
study is to present an evaluation of methods of image processing parcel; eijk is the effect of uncontrolled factors at parcel that
used to identify and evaluate induced N deficiency in maize. received ij on repetition k. When the F test was significant
(P 6 0.05) only for Nj, has been done only one polynomial regres-
sion analysis for all stages. When the F test was significant
2. Material and methods (P 6 0.05) for ENij, in the other words, when there was interaction
between the levels of N applied and the developmental stages,
2.1. Experiment in greenhouse the splitting aimed to study the levels within of the Ei for the N con-
tent in the index leaves. And for the accumulated N in different
The experiment was done in a greenhouse of the Animal Science plant parts were studied developmental stages within each level
Department of the College of Animal Science and Engineering Food of N (Nj) in the nutrient solution.
L.M. Romualdo et al. / Computers and Electronics in Agriculture 104 (2014) 63–70 65
2.3. Artificial visual system cultivated in each experimental unit, 8 IL and 8 OL were obtained
for each treatment.
In Fig. 1 presents a diagram of the proposed system, with steps In each leaf sampling event, three areas were considered to
steps of images analysis according Gonzales and Woods (1993). image crop in each leaf: bottom, medium third and tip, both for
The proposed system consists in four main parts: early processing, IL and OL (Fig. 2). The leave image is divided into three equal parts
texture sample generator, texture feature extraction and pattern and the 5% of the boundary region is not considered to avoid over-
recognition. Several leaves are scanned by the same time using a lap. At the end, 24 classes were created and 50 images were
scanner, providing a digital image. In the first step of the system, obtained for each of these classes. Therefore, each class had images
the early processing part consists in algorithms to remove the from one area of the leaf for each level o N supply of IL and OL. In
background and after that, the foreground leaves have to be split this way, there were 40 images for training and 10 for test for each
and oriented horizontally. For each leave, a texture window is class, and in total, 960 images for training and 240 for test. From
taken. In this task, a large number of small windows are extracted each of those scanned area, windows with 80 80 pixels were ori-
from the leave image. For each leave, a texture window is taken. In ented to the horizontal position (Fig. 3). From each image, win-
this task, a large number of small windows are extracted from the dows with 80 80 pixels from specific spots where the
leave image. The samples pass by statistical analysis and if they are deficiency symptoms are clearer were extracted. Such image win-
not representative taking into account the whole leave, it is disre- dows were saved without file compression.
garded. To check the samples are representative, it is compared as According to Zúñiga (2012), color and texture are the main
a mean of all windows obtained from the leave. These tasks (win- visual characteristics associated to maize nutrition. The following
dows extractions and selection) are performed automatically by methods proposed by Zúñiga (2012) for AVS were tested in the
the ‘‘Texture sample generator module’’. On the ‘‘texture feature present study for the texture analysis: Volumetric Fractal Dimen-
extraction’’ module, texture analysis methods are applied into each sion (VFD), Gabor Wavelet (GW) and VFD with canonical analysis
window and the feature vector is created by each one. On the last (VDFCA).
part of the system, the feature vectors can be used for training the The VDF works with binary images but was adapted here to
model or to yield a report, checking in which class it belongs. It is work with the images captured by the scan, as proposed by
done using a supervised classification model based on the naive Backes et al. (2009), in which the image signature is calculated to
Bayes method. work with all reE values, where E is the set of Euclidean distances
Leaves were scanned in a regular desktop scanner (HP Scanjet for a maximum radius rmax. In such method the radius ranged from
3800) at 1200 dpi resolution and saved in tiff format. In each sam- 1 to 20.
pling event (according to plant stage), IL and OL of 16 pots were pffiffiffi pffiffiffi
collected (4 treatments and 4 replications). Since two plants were E ¼ 1; 2; 3; . . . ; r max ð2Þ
Fig. 2. Separation of leaves for leaves for image analysis considering three parts: tip, middle and bottom.
a b
Fig. 4. Nitrogen deficiency symptoms in maize plants subjected to complete lack of N at 24 days after showing (a), and plants grown with 20% N at 35 days after emergency
(b).
Fig. 6. Dry mass yield in shoot (a) and root (b); nitrogen accumulation in shoot (c) and root (d) of maize plants submitted to nitrogen levels at different stages of development.
Table 1
Global Percentage of Rights (GPR) of color and gray scale images using the techniques Volumetric Fractal Dimension (VFD), VFD with canonical analysis (VDFCA) and Gabor
Wavelet (GW), and corresponding Kappa index (K), applied to tip, bottom and middle third (middle) of index leaves of maize plants at stages V4, V7 and R1 grown in different N
doses.
these levels of N are close to the full dose and therefore, the symp- actions to be taken to rescue the crop from future failure. Although
toms are less perceptible. Even in such cases, the percent rights the GW technique applied to color images of V4 had the best per-
were 76% for the 3.0 mMol L1 and 66% for the 6.0 mMol L1, for formance (bottom of leaves) (Table 1), similar percent of rights was
OL, which can be considered very promising. achieved from OL with the same technique (Table 2). These results
The results in Tables 3 suggest that the detection of N deficiency agree with the literature which describes the symptoms of defi-
in the early stages of maize development is possible, and also that a ciency appearing firstly in old leaves due to N mobility in plants.
good number of rights can be achieved for the levels T1 and T2, The R1 stage showed the Kappa considered ‘‘worthy trust’’ and
which are the severe and moderate levels of N deficiency. The typ- better GPR in all parts of plants. The percent of rights is also very
ical symptoms of N deficiency were obtained with the reduction of close between IL and OL, for the R1 stage (Tables 1 and 2). The
nitrogen in the nutrient solution, which allowed the recognition of AVS results pointing to the IL as having the greatest number of
the nutritional patterns of corn by AVS. rights can be related to the fact that, with the evolution of pheno-
The high number of rights in stage V4 is central to this study, logical stage, there was a better differentiation between classes,
since the early identification of deficiency is essential to allow which can be correlated with the results observed in deficiency
L.M. Romualdo et al. / Computers and Electronics in Agriculture 104 (2014) 63–70 69
Table 2
Global Percentage of Rights (GPR) of color and gray scale images using the techniques Volumetric Fractal Dimension (VFD), VFD with canonical analysis (VDFCA) and Gabor
Wavelet (GW), and corresponding Kappa index (K), applied to tip, bottom and middle third (middle) of old leaves of maize plants at stages V4, V7 and R1 grown in different N
doses.
Table 3
Confusion matrix of classification result from bottom of old leaves at stage V4 and V7, and index leaves at R1, of maize grown in different N doses.
Bold numbers mean percentage of rights within their respective classes corresponding to the N doses.
symptoms in plants, with reflections on the development and archip of FAPESP (State of São Paulo Research Foundation) (Grants
nutrition of corn at this stage. It is noteworthy that for maize, R1 2010/18233-3 and 2009/51835-0).
is the time that best reflects the nutritional status of the crop, so
that the index leaves this stage are drains for grain filling, and is
the standard leaf for analytical determinations for nutritional References
diagnosis.
The results presented here point to the AVS using the GW Abrahão, S.A., Pinto, F.A.C., Queiroz, D.M., Santos, N.T., Carneiros, J.E.S., 2013.
method on color images as being the best for the N status in maize Determination of nitrogen and chlorophyll levels in bean-plant leaves by using
spectral vegetation bands and indices. Rev. Ciênc. Agron. 44 (3), 464–4173.
plants, particularly the IL at V4 stage (82.5%) corresponding to Ankenbrandt, C.A., Buckles, B.P., Petry, F.E., 1990. Scene recognition using genetic
early development stage of corn, but still requiring field trials to algorithms with semantic nets. Pattern Recogn. Lett. 11, 285–293.
validate such result. Backes, A.R., Bruno, O.M., 2008. Fractal and multi-scale fractal dimension analysis: a
comparative study of bouligand-minkowski method. J. Comput. Sci. 7 (2), 74–
83.
4. Conclusion Backes, A.R., Casanova, D., Bruno, O.M., 2009. Plant leaf identification based on
volumetric fractal dimension. Int. J. Pattern Recog. Artific. Intell. 23 (6), 1145–
1160.
Maize plants replied to N levels with respect to symptomatol- Baesso, M.M., Pinto, F.A.C., Queiroz, D.M., Vieira, L.B., Alves, E.A., 2007.
ogy, N concentration in plant tissue and biomass production. Determinação do ‘‘status’’ nutricional de nitrogênio no feijoeiro utilizando
imagens digitais coloridas. Eng. Agríc. 27 (2), 520–528.
The best method for feature extraction in leaves of maize was Bataglia, O.C., Furlani, A.M.C., Teixeira, J.P.F., Furlani, P.R., Gallo, J.R., 1983. Método
Gabor Wavelets in color images. The AVS was able to identify the de análises química de plantas. Boletim Técnico, 78, Instituto Agronômico,
induced levels of nitrogen deficiency in the early stages of develop- Campinas, 48p.
Bezdek, J.C., Keller, J., Krisnapuram, R., Pal, N.K., 1999. Fuzzy Models and Algorithms
ment of corn, so that the bottom of index leaves showed of global for Pattern Recognition and Image Processing. The Handbooks of Fuzzy Sets, 4.
percentage of right (GPR) of 82.5% at V4 stage and 87.5% in the bot- Kluwer Academic Publishers, Boston.
tom of old leaves at V7. However, the middle section of the index Bruno, O.M., 2000. Paralelismo em visão natural e artificial. PhD Thesis. University
of Sao Paulo, Physics Institute of Sao Carlos, Brazil.
leave at the R1 stage was the best GPR (98%) to detect the symp- Büll, L.T., 1993. Nutrição mineral do milho. In: Cultura do milho: fatores que afetam a
toms of nitrogen deficiency by AVS. produtividade. Büll, L.T., Cantarella, H. (Eds.), POTAFOS, Piracicaba, pp. 63–145.
The main idea presented in this work could be adopted for oth- Burks, T.F., Shearer, S.A., Heath, J.R., Donohue, K.D., 2005. Evaluation of neural-
network classifiers for weed species discrimination. Biosyst. Eng. Kidlington 91
ers plants, but it should be pointed out that the performance of the
(3), 293–304.
system is valid for the conditions under which this experiment was Cheng, H.D., Jiang, X.H., Sun, Y., Wang, J., 2001. Color image segmentation: advances
conducted. and prospects. Pattern Recogn. 34, 2259–2281.
Coelho, A.M., 2007. Manejo da adubação nitrogenada na cultura do milho. Circular
Técnica, 96, Embrapa Milho e Sorgo, Sete Lagoas, 11p.
Acknowledgments Duarte, A.P., Kiehl, J.C., Camargo, M.A.F., Reco, P.C., 2003. Acúmulo de matéria seca e
nutrientes em cultivares de milho originárias de clima tropical e introduzidas
de clima temperado. Rev. Bras. de Milho e Sorgo 2 (3), 1–20.
Liliane Maria Romualdo and Pedro Henrique de Cerqueira Luz Everitt, B.S., Dunn, G., 2001. Applied Multivariate Data Analysis, second ed. London
gratefully acknowledges the financial research support and schol- Arnold, London.
70 L.M. Romualdo et al. / Computers and Electronics in Agriculture 104 (2014) 63–70
Ferreira, M.M.M., 2012. Sintomas de deficiência de macro e micronutrientes de Punam, K.S., Udupa, J.K., 2001. Optimum image thresholding via class
plantas de milho híbrido BRS 1010. Rev. Agro@mbiente 6 (1), 74–83. uncertainty and region homogeneity. IEEE Trans. Patt. Anal. Mach. Intell.
Gonzales, R.C., Woods, R.E., 1993. Digital Image Processing. Addison-Wesley 23 (7), 689–706.
Publishing Company, New York. Sena Júnior, D.G., Pinto, F.A.C., Queiroz, D.M., Santos, N.T., Khroury Júnior, J.K.,
Gonzalez, M., Benitez, D., Suarez, C.P., 1990. Segmentation and recognition in visual 2008. Discriminação entre estágios nutricionais na cultura do trigo com
chromatic spaces. Cybern. Syst. 21, 241–247. técnicas de visão artificial e medidor portátil de clorofila. Eng. Agríc. 28
Hoagland, D.R., Arnon, D.I., 1950. The Water Culture Method for Growing Plants (1), 187–195.
Without Soils. California Agricultural Experimental Station, Berkeley. Silva Júnior, M.C., Pinto, F.A.C., Queiroz, D.M., Gómez, J.G., Navas, L.M.G., 2012.
Lawlor, D.W., 2002. Carbono and niotrogen assimilation in relation to yield: Weed mapping using a machine vision system. Weeds Plants 30 (1), 217–
mechanisms are the key to understanding production systems. J. Exp. Botany. 227.
53, 773–787. Silva, F.F., Luz, P.H.C., Romualdo, L.M., Marin, M.A., Zúñiga, A.G., Herling, V.R., Bruno,
Lim, Y.W., Lee, S.U., 1990. On the color image segmentation algorithm based on the O.M., 2014. A diagnostic tool for magnesium nutrition in maize based on image
thresholding and the fuzzy c-means techniques. Pattern Recogn. 23 (9), 935– analysis of different leaf sections. Crop Sci. 54 (2014), 1–8.
952. Steel, R.G.D., Torrie, J.H., Dickey, D.A., 1997. Principles and procedures of statistics. A
Malavolta, E., 2006. Manual de nutrição de plantas. Agronômica Ceres, São Paulo. Biometrical Approach, third ed. McGraw Hill Co, New York, 666p.
Manjunath, B.S., Ma, W.Y., 1996. Texture features for browsing and retrieval of Stricker, M., Orengo, M., 1995. Similarity of color images. In: Process SPIE Storage
image data. IEEE Trans. Patt. Anal. Mach. Intell. 18 (8), 837–842. and Retrieva, for Image and Video Databases, pp. 381–392.
Marschner, P., 2012. Mineral Nutrition of Higher Plants, third ed. Academic Press, Taiz, L., Zeiger, E., 2006. Plant Physiology. Sinauer Associates, Sunderland.
London. Yang, C.C., Prasher, S.O., Landry, J.A., Ramaswamy, H.S., DiTommaso, A., 2000.
Moreira, J., 1999. Uma proposta de estruturação e integração de processamento de Application of artificial neural networks in image recognition and classification
cores em sistemas artificiais de visão. PhD Thesis. University of Sao Paulo, of crop and weeds. Can. Agr. Eng. 42 (3), 147–152.
Physics Institute of Sao Carlos, Brazil. Zúñiga, A.M.G., 2012. Sistema de visão artificial para identificação do estado
Pinho, R.A.V., Borges, I.D., Pereira, J.L.A.R., Reis, M.C., 2009. Marcha de absorção de nutricional de plantas. MSc. Dissertation. University of Sao Paulo, Mathematics
macronutrientes e acúmulo de matéria seca em milho. Rev. Bras. de Milho e and Computer Science Institute of Sao Carlos, Brazil.
Sorgo 8 (2), 157–173.