Acessibilidade / Reportar erro

Detection of foliar diseases using image processing techniques1 This work is part of the project investigation funded by Colciencias with code 511-3-024-15. 2.

ABSTRACT

This paper presents the development of a methodology to detect the percentage of affected area of Phytophthora infestans disease in tomato plants, using digital image processing techniques to extract the regions of interest with color analysis, where the YIQ and TSL models for the detection of the disease. The method consists of solving one of the most common problems in images that is segmentation, in this case the background and the disease with the Plant Village database, which was captured under uncontrolled lighting conditions. In the experiments conducted, it is observed that our method achieved a performance of 98.60% for the detection of healthy pixels and 98.17% in detection of sick pixels. This process was subjected to comparison against other alternatives of the state of the art like K-means with HSV and LAB, showing a referred error regarding the leaf size of 4.32 ± 5.44% in the detection of the disease and a computational time of 0.03 ± 0.01 [s] in comparison with the other procedures, in addition, this methodology was implemented to detect the foliar diseases black Sigatoka and yellow Sigatoka in banana leaves obtaining satisfactory results.

Keywords:
affected area; black Sigatoka; Phytophthora infestans; yellow Sigatoka.

INTRODUCTION

Fruit production is one of the most potential activities (Lasprilla, 2011Lasprilla DM (2011) Estado actual de fruticultura colombiana y perspectivas para su desarrollo. Revista Brasileira de Fruticultura, 33:199-205.; FAO, 2014FAO - Food and Agriculture Organization of the United Nations (2014) FAO Statistical Yearbook - Asia food and Agriculture. Accra, FAO. 112p.). However, agricultural production is limited by the development of different diseases which generate significant losses in the harvest production (Sankaran et al., 2010Sankaran S, Mishra A, Ehsani R & Davis C (2010) A review of advanced techniques for detecting plant diseases. Computers and Electronics in Agriculture , 72:01-13.). In the case of Solanum lycopersicum, commonly known as tomato, is susceptible to late blight that is caused by Phytophthora infestans, this disease is the most devastating and depending on the thermal floor, this disease develops faster, specifically when the temperature is between 15 °C and 22 °C with a relative humidity percentage greater than 80% (Juárez-Becerra et al., 2010Juárez-Becerra GP, Sosa-Morales ME & López-Malo A (2010) Hongos fitopatógenos de alta importancia económica: descripción y métodos de control. Temas Selectos de Ingeniería de Alimentos, 4:14-23.; Intagri, 2015Intagri (2015) Enfermedades foliares en Tomate. Available at: Available at: https://www.intagri.com/articulos/fitosanidad/enfermedades-foliares-en-tomate . Accessed on: June, 28th, 2018.
https://www.intagri.com/articulos/fitosa...
).

Another important fruit is banana, which is affected by affected by the diseases black Sigatoka and yellow Sigatoka, which are caused by the fungi Mycosphaerella fijiensis and Mycosphaerella musicola respectively. These foliar diseases are developed mainly in plantain and banana crops Worldwide. In the case of black Sigatoka, this affects the leaf area of the plant, therefore lowers the quality of the product and is very common in warmer environments and altitudes below 1600 meters above sea level. In addition to his, infections caused by this disease cause premature ripening of the fruit (Juárez-Becerra et al., 2010Juárez-Becerra GP, Sosa-Morales ME & López-Malo A (2010) Hongos fitopatógenos de alta importancia económica: descripción y métodos de control. Temas Selectos de Ingeniería de Alimentos, 4:14-23.). Therefore, detecting these symptoms in plants in an efficient manner, has become an important factor in the maintenance of crops, allowing the farmer to reduce the risk of diseases and sustain production and quality in their crops (Finagro, 2014Finagro (2014) Perspectiva del sector agropecuario colombiano. Bogotá, Finagro. 28p. ).

The traditional methods used to diagnose diseases are based mainly on direct observation by a professional in this area, generating slow and wasteful processes that are subject to multiple human errors (Guzmán et al., 2009Guzmán O, Zapata J & Villegas-Estrada B (2009) Diagnóstico de enfermedades de plantas de origen biótico. Agronomía, 17:07-24.; Caracol Radio, 2018Caracol Radio (2018) Colombia es capaz de ser despensa del mundo y potencia agropecuaria: Santos. Available at: <Available at: http://caracol.com.co/emisora/2018/02/09/tunja/1518213178_343387.html >. Accessed on: June 28th, 2018.
http://caracol.com.co/emisora/2018/02/09...
). In addition, the difficult access to many of the crops means that there is not always adequate supervision. Other alternatives are molecular techniques (fluorescent in situ hybridization, polymerase chain reaction, DNA strands), but these are delayed and expensive processes requiring specialized equipment and trained personnel.

Considering that the symptoms can be identified visually, computer vision methodologies generate an opportunity to develop automatic systems for disease detection without human intervention. In this way, the farmer has the opportunity to prevent the spread of different diseases in the crop (Sankaran et al., 2010Sankaran S, Mishra A, Ehsani R & Davis C (2010) A review of advanced techniques for detecting plant diseases. Computers and Electronics in Agriculture , 72:01-13.; Al-Hiary et al., 2011Al-Hiary H, Bani-Ahmad S, Reyalat M, Braik M & ALRahamneh Z (2011) Fast and accurate detection and classification of plant diseases. International Journal of Computer Applications, 17:31-38.). Therefore, in this work, it is proposed to use digital image processing techniques to detect the percentage of affected area of the disease Phytophthora infestans in tomato plants. The main contributions of the developed methodology are the following:

Manual labeling of tomato leaves with late blight disease from the Plant Village database.

Detection of percentage of affected area performing the analysis by color.

Compare the method proposed in this article with the developed in Sharma et al. (2017Sharma R, Singh A, Dutta MK, Riha K & Kriz P (2017) Image processing based automated identification of late blight disease from leaf images of potato crops. In: 40thTelecommunications and Signal Processing, Barcelona. Anais, IEEE. p. 758-762.).

black Sigatoka and yellow Sigatoka disease detection on banana leaves implementing the proposed methodology considering that this disease has characteristics similar to late blight in terms of color. The purpose of the above test is to check the overallity of the method to detect other types of diseases.

This article is divided into several sections where disease detection methods are related. The methodology describing each of the stages that compose the segmentation of the background and the disease together with the calculation of the percentage of affected area of ​​the leaf are introduced. Additionally, the experimental results are shown along with the evaluation of the results.

MATERIAL AND METHODS

State of the art

Among the methodologies that have been proposed for the detection of diseases using digital image processing techniques are two approaches. Firstly, we have the analysis of thresholding by color for the segmentation of the background and the disease. Secondly, machine learning techniques have been implemented where characteristics of color spaces are extracted, such as RGB, HSV and LAB to segment, train and classify the different types of diseases that occur in plants (Huang, 2007Huang K (2007) Application of artificial neural network for detecting Phalaenopsis seedling diseases using color and texture features. Computers and Electronics in Agriculture, 57:03-11. ; Meunkaewjinda et al., 2008Meunkaewjinda A, Kumsawat P, Attakitmongcol K & Srikaew A (2008) Grape leaf disease detection from color imagery using hybrid intelligent system. 5th International Conference on Electrical Engineering/Electronics, Computer, Telecommunications and Information Technology, 1:513-516. ; Wiwart et al., 2009Wiwart M, Fordoński G, Żuk-Gołaszewska K & Suchowilska E (2009) Early diagnostics of macronutrient deficiencies in three legume species by color image analysis. Computers and Electronics in Agriculture , 65:125-132; Baghel & Jain, 2016Baghel J & Jain P (2016) Disease detection in soya bean using k-means clustering segmentation technique. International Journal of Computer Applications , 145:15-18.; Patel & Dewangan, 2017Patel SP & Dewangan AK (2017) Automatic detection of plant leaf disease using k-means clustering and segmentation. International Journal of Scientific Research Engineering & Technology, 6:774-779.).

For the background segmentation, the RGB color spaces (G channel and the difference of G and B channels) and HSI (S channel) were used; where the thresholds are established in a heuristic, adaptive or statistical way (Hlaing & Zaw, 2017Hlaing CS & Zaw SMM (2017) Model-based statistical features for mobile phone image of tomato plant disease classification. In: 18th International Conference on Parallel and Distributed Computing, Applications and Technologies , Taipei. Proceedings, IEEE. p223-229.; Sharma et al., 2017Sharma R, Singh A, Dutta MK, Riha K & Kriz P (2017) Image processing based automated identification of late blight disease from leaf images of potato crops. In: 40thTelecommunications and Signal Processing, Barcelona. Anais, IEEE. p. 758-762.; Singh & Misra, 2017Singh V & Misra A (2017) Detection of plant leaf diseases using image segmentation and soft computing techniques. Information Processing in Agriculture, 4:41-49.), however, no error metric is used to evaluate the segmentation result, since it is generally done qualitatively, in Camargo & Smith (2009Camargo A & Smith JS (2009) An image-processing based algorithm to automatically identify plant disease visual symptoms. Biosystems engineering, 102:09-21.) two metrics are proposed to measure segmentation results, however the focus of this work is to identify the type of disease that the plant has with an SVM and not its severity percentage. For the detection of the disease, we have worked with the H channel from HSI and HSV, and the I3 channel from I1I2I3, thresholding by means of an intensity histogram, the Otsu method or the channel average, obtaining an accuracy up to 96% compared to other channels such as CR and A from the YCbCr and LAB color spaces respectively, with a low computational cost (Chaudhary et al., 2012Chaudhary P, Chaudhari AK, Cheeran AN & Godara S (2012) Color transform-based approach for disease spot detection on plant leaf. International Journal of Computer Science and Telecommunications, 3:65-70.; Sharma et al., 2017Sharma R, Singh A, Dutta MK, Riha K & Kriz P (2017) Image processing based automated identification of late blight disease from leaf images of potato crops. In: 40thTelecommunications and Signal Processing, Barcelona. Anais, IEEE. p. 758-762.). However, these proposals only focus on the detection of the leaf and the type of disease but not on the affected area, besides they do not have statistical relevance, considering that a maximum of 25% of the images in the database are used for any of the processed fruits such as potato and tomato.

Other approaches implement machine learning algorithms to detect diseases in plants, where different procedures are carried out for the extraction of characteristics, among which are the Color Co-occurrence method for an ANNs and a multiclass SVM, the SIFT transformed, the normalization of the RGB color space, the color difference in the LAB for a multiclass SVM, with K-means it has been used between 3 and 4 clusters corresponding to the leaf, the disease and the background in the RGB color space (Chaudhary et al., 2012Chaudhary P, Chaudhari AK, Cheeran AN & Godara S (2012) Color transform-based approach for disease spot detection on plant leaf. International Journal of Computer Science and Telecommunications, 3:65-70.; Arakeri et al., 2015Arakeri MP, Arun M & Padmini RK (2015) Analysis of late blight disease in tomato leaf using image processing techniques. International Journal of Engineering and Manufacturing, 4:12-22.; Sharma et al., 2017Sharma R, Singh A, Dutta MK, Riha K & Kriz P (2017) Image processing based automated identification of late blight disease from leaf images of potato crops. In: 40thTelecommunications and Signal Processing, Barcelona. Anais, IEEE. p. 758-762.); obtaining efficiencies of up to 99.35% with a high computational cost and low statistical relevance due to the quantity of images evaluated. However, in Mohanty et al. (2016Mohanty SP, Hughes D & Salathé M (2016) Using deep learning for image-based plant disease detection. Frontiers in plant science, 7:1419.) they worked with 54306 images where a CNN was trained to identify 4 crop species and 26 diseases, however there are limitations due to the variation of the conditions of the images during the training phase, substantially reducing the accuracy of this model. Although it is important to identify the type of disease that plants have, for epidemiological studies it is necessary to study the progress of diseases over time in populations of plants by means of mathematical models that allow the farmer to take the most appropriate control measures according to the state of the leaf, among these models are the estimation of the affected area in the foliage that is given in percentage to determine the rate of development of the disease (Escalante & Farrera, 2004Escalante M & Farrera R (2004) Epidemiología del tizón tardío (Phytophthora infestans mont de Bary) de la papa en zonas productoras del estado Táchira Venezuela. Bioagro, 16:47-54.; Patil & Bodhe, 2011Patil SB & Bodhe SK (2011) Leaf disease severity measurement using image processing. International Journal of Engineering and Technology, 3:297-301.).

Methodology

The methodology proposed in this article can be described from the diagram shown in Figure 1, where it is divided into three sequential stages.

Figure 1:
General scheme for the detection of the affected area of Phytophthora infestans disease in tomato leaves.

First, the Plant Village database that has healthy and diseased tomato leaves is used. Secondly background and disease segmentation for its detection is performed. As a last stage, the percentage of affected area in the plant is determined. For the validation of the method, the referred error of the percentage of the area found is calculated and compared with one of the methods documented in the state of the art, in addition, this procedure is evaluated with another color space.

Database

For this work, we used the Plant Village database available in Mohanty (2016Mohanty SP (2016) Dataset of diseased plant leaf images and corresponding labels. Available at: <Available at: https://github.com/spMohanty/PlantVillage-Dataset >. Accessed on: June 28th, 2018.
https://github.com/spMohanty/PlantVillag...
), which has three versions of the images captured for the 14 fruits with different diseases:

In color.

In grayscale.

Segmented (elimination of the background).

Where the images have a high resolution, captured in uncontrolled conditions and labeled by plants pathologist’s experts; For more details about the database, consult Hughes & Salathe (2016Hughes DP & Salathe M (2016) An open access repository of images on plant health to enable the development of mobile disease diagnostics. arXiv:1511.08060.). For this case, we worked with the tomato, with healthy leaves (1592 images) and diseased by Phytophthora infestans (1909 images).

Regions of Interest

In the segmentation of both the background and the disease is necessary to carry out the validation of the methodology in each of these stages. For which, the area of ​​interest (leaf and disease) was manually selected by means of a digital image editor that will find the number of pixels. Figure 2 shows the process of selecting the regions of interest using the GIMP software tools.

Figure 2:
Selection and count of pixels of a) total area of the leaf b) diseased area of the leaf using the GIMP software.

In this case, 100 images from the database (50 healthy and 50 diseased) were randomly selected to determine the area of the leaf. In addition, 1909 images corresponding to diseased tomato leaves were selected to find the number of pixels corresponding to the diseased area of the leaf.

This procedure was necessary to obtain an error metric with respect to the algorithm proposed for the segmentation of the background and the disease as well as the detection of the percentage of affected area. Table 1 summarizes some of the selected images along with the number of pixels found.

Table 1:
Number of pixels of the healthy and diseased leaves of the tomato leaves of the Plant Village database

Segmentation of the disease

For the segmentation of the diseased it was necessary to develop an algorithm to detect and extract the background of the leaf. Therefore, a Gaussian filter that allows to smooth the abrupt changes that are present in the background due to variations of lighting and textures is applied. On the other hand, morphological operations of erosion and dilation are carried out to complete the regions of interest of the image and transformations to other color spaces to eliminate the background.

For the selection of the color space and channel, the color models that were mentioned in the state of the art were considered and a manual segmentation of the background of the 100 images selected from the database mentioned in Table 1, was carried out. The G and B channels from the RGB color space and the H and S from the HSV color space were tested for the background and the CR from YCbCr, A from LAB, I from YIQ and T from TSL for the diseased.

In Figure 3 it is observed that the H and S channel of the HSV color space allows the detection of a greater percentage of area (86% to 94%) for the different variations of lightning and texture that the background has. While, I and T channels exceed 95% of detection area.

Figure 3:
Ratio of the detection area percentage according to the channels of each color space.

Extraction of the background

The steps to extract the plant with respect to the background are shown in below

// Extraction of the background

Input: Image (I)

Output: Segmented image (I RGB ), Segmented binary image (Iseg)

Start

Ihsvrgb2hsv(I)IsIhsv(:,:,2) Apply Spacial Gaussian filter to Is (x, y), σ=2 [Ifg] Ax,y=1, Si Ifgx,y>0.230, In other case //Apply morphological operations B ← Diamond with distance ← 2 IeA B=ZBzAC0 B ← Diamond with distance ← 2 IdIe B=ZB^zIe0 Fhx,y= 1-Idx,y, If x,y is at the edge ofId 0, In other case IRGBx,y= return the pixel's color, If Fh(x,y)=1 R=0,G=0,B=0, If Fh(x,y)=0 Ihsvrgb2hsv(IRGB) IhIhsv(:,:,1) fx,y=1, If 0<Ih(x,y)<0.60, In other case Fhx,y= 1-fx,y, If x,y is at the edge ofof f 0, In other case IsegFhx,y IRGBx,y= return the pixel's color, If Fh(x,y)=1 R=0,G=0,B=0, If Fh(x,y)=0

End

To validate this method, the error referring to the size of the image was calculated using the data in Table 1 and the result of the algorithm by means of equation 1, Figure 4 shows the result of the algorithm. That is to say:

Refered error=SM-SATI*100% (1)

Where:

SM: Segmentation of the leaf manually (number of pixels).

SA: Segmentation of the leaf by the algorithm (number of pixels).

TI: Image size (number of pixels).

To calculate SAEquation 2 was implemented.

SA=i=1mjnIsegi,j==1(2)

Where:

Iseg: Segmented binary image.

m: Number of rows.

n: Number of columns.

Figure 4:
Background segmentation.

Detection of the disease

Once the background has been removed, it is necessary to identify the healthy and diseased part of the leaf, as indicated in the following algorithm:

// Removal of the healthy part of the leaf

Input: Image (I RGB )

Output: Image with only the diseased part of the leaf (I PS )

Start I y i q r g b 2 y i q ( I R G B ) I i I y i q ( : , : , 2 ) I s x , y = 1 , I f I i x , y > 0.028 0 , I n o t h e r c a s e I p s x , y = r e t u r n t h e p i x e l ' s c o l o r , I f I s ( x , y ) = 1 R = 0 , G = 0 , B = 0 , I f I s ( x , y ) = 0

End

In Figure 5b the disease is shown eliminating the healthy part of the leaf, however, the algorithm presents problems when the leaves have areas with a shade of white and some shadows caused by the variations of illumination with shades similar to the one of the illness. Therefore, it is necessary to develop the following algorithm to eliminate these areas as shown in Figure 5c.

// Detection of the disease

Input: Image with only the diseased part of the leaf (I PS )

Output: Image with the detection of the disease (I e ), Segmented image with the disease (Is) ()

StartItslrgb2tsl(Ips)ItIyiq(:,:,1) Apply Spacial Gaussian filter to It, σ=2 [ Ifg ] Isx,y=1, If Ifgx,y>0.30, In other case Iex,y=return the pixel's color, If Is(x,y)=1 R=0,G=0,B=0, If Is(x,y)=0

End

Figure 5:
Segmented image a) Leaf with the disease, b) Elimination of shadows and healthy parts of the leaf, c) Segmentation of the disease.

Percentage of Area affected by the disease

To determine the percentage of area affected by the disease, the following algorithm is implemented using the segmentation of the leaf and the disease.

// Percentage of area affected by the disease

Input: Quantity of pixels of the segmentation of the leaf by the algorithm (S A ), Segmented Image with the disease (Is)

Output: Percentage of area affected (Por), Quantity of pixels corresponding to the disease (areaf)

Start

Label connected components (L) with 8 neighbors of Is for i=1:1 steps:length(unique(L)) area length(find(L==i)) if area>30 countercounter+1; ind(counter)i;End if counter>0 then for i=1:1 steps:length(ind) areai length(find(L==ind(i))) areafsumarea; Por(areaf*100)/SA; End else then Por0;

End if

To validate this method, the error referred to the size of the image was calculated taking into account the manual segmentation of the area which corresponds to the disease, for which equation 3 was used.

Refered error=AE-areafTI*100%(3)

Where:

AE: Number of pixels corresponding to leaf disease obtained manually.

areaf: Number of pixels corresponding to the disease in the sheet obtained by the algorithm.

TI: Image size (number of pixels).

Evaluation and validation procedure

For the evaluation and validation process three stages are established, in the first stage the comparison is made with other approaches of the state of the art to quantify the efficiency of each in the segmentation of the background. In the second stage, the procedure presented in Arakeri et al. (2015Arakeri MP, Arun M & Padmini RK (2015) Analysis of late blight disease in tomato leaf using image processing techniques. International Journal of Engineering and Manufacturing, 4:12-22.) is implemented, along with a variant to this with respect to the color space used; these algorithms were implemented in the software of Matlab® in a computer with Intel CORE i7 processor with 16GB RAM to establish the computation time in the measurement of the percentage of affected area. In the third stage, this methodology is validated by detecting other diseases that have similar characteristics to Phytophthora infestans in terms of color.

Background segmentation

For this case, the comparison is made with three approaches of the state of the art where the background of the image is eliminated. For the first approach, shown in Figure 6a, the Plant Village database where the images with the segmented background for all tomato leaves, both healthy and diseased is used. These are available in Mohanty (2016Mohanty SP, Hughes D & Salathé M (2016) Using deep learning for image-based plant disease detection. Frontiers in plant science, 7:1419.). In the second approach, shown in Figure 6b, the background extraction is performed with the RGB’s G and B channels. This method was proposed by Hlaing & Zaw (2017Hlaing CS & Zaw SMM (2017) Model-based statistical features for mobile phone image of tomato plant disease classification. In: 18th International Conference on Parallel and Distributed Computing, Applications and Technologies , Taipei. Proceedings, IEEE. p223-229.). In the third approach, shown in Figure 6c, the RGB’s G and B and HSI’s S channels are used. This method was proposed by Sharma et al. (2017Sharma R, Singh A, Dutta MK, Riha K & Kriz P (2017) Image processing based automated identification of late blight disease from leaf images of potato crops. In: 40thTelecommunications and Signal Processing, Barcelona. Anais, IEEE. p. 758-762.).

Figure 6:
Segmentation of the disease using: a) Dataset Plant Village, b) Operations in RGB, c) Operations in RGB and HSI.

Detection of the disease

In order to validate the proposed methodology in the detection of the percentage of diseased area of the leaf, the work developed in Arakeri et al. (2015Arakeri MP, Arun M & Padmini RK (2015) Analysis of late blight disease in tomato leaf using image processing techniques. International Journal of Engineering and Manufacturing, 4:12-22.) was selected. In this approach, the K-means classifier is used with 3 clusters that represent the background, the healthy and diseased part of the leaf, respectively, with LAB’s A and B channels, and the Euclidean norm to calculate the distance between the centroids and the pixel. In addition, a variation of this method is proposed using HSV’s H and S channels, taking into account that this color model has been used to segment regions of interest obtaining good efficiency (Chen et al., 2008Chen TW, Chen YL & Chien SY (2008) Fast image segmentation based on k-means clustering with histograms in HSV color space. In: 10th Workshop on Multimedia Signal Processing, Cairns. Proceedings, IEEE. p. 322-325.).

Disease Segmentation

Finally, this methodology was tested on banana leaves with black Sigatoka and yellow Sigatoka. This disease initially manifests itself with vertical stripes of red - brown thin in 2-4 leaves, as the lesion progresses stripes change to a dark brown surrounded by a yellow halo; yellow Sigatoka, it is very common in cool environments and altitudes higher than 1600 meters above sea level. This disease manifests initially with vertical yellow stripes. As the lesion progresses, the color becomes more vivid, making it more visible and then changes to a brown color surrounded by a black border and a grey centre (Pérez, 2012Pérez L (2012) A holistic integrated management approach to control black sigatoka disease of banana caused by Mycosphaerella fijiensis. Available at: <Available at: http://www.fao.org/3/a-as177e.pdf >. Accessed on: June 18th, 2018.
http://www.fao.org/3/a-as177e.pdf...
). Considering that the tonality characteristics of these two diseases are similar to the Phytophthora infestans, it was decided to implement the method proposed in this work, for which it was necessary to build a database consisting of 465 images that were captured by visiting different plantain crops in the Risaralda region. In Figure 7, the organized database is observed according to the percentage of stage associated with the black Sigatoka and yellow Sigatoka severity scale, as shown below:

( Percentage of stages 1 and 2: Low Severity.

( Percentage of stages 3 and 4: Medium Severity.

( Percentage of stages 5 and 6: High Severity.

Figure 7:
Annotated database of banana leaves.

RESULTS AND DISCUSSION

This section shows the results of the methodology developed and the comparison with other state of the art approaches is carried out.

Background segmentation

Next, each of the methods described in methodology for the segmentation of the background is compared. Figure 8 relates the results obtained using the images selected from Table 1, where a correct segmentation is observed. However, these methodologies have certain limitations when there are dark shadows on the leaf or when the background has a shade similar to the disease, as shown in Figure 8. These problems appear when a high variability of illumination in the images of the database is present.

Figure 8:
Failures of background segmentation of sick leaf (a) with: (b and c) the proposed methodology, (d and e) Plant Village database, (f and g) Operations in RGB, (h and i) operations in RGB and HSI.

In Table 2, the error in the segmentation of the background for each of the methods evaluated is shown, where it is evident that 1 and 2 have a better performance. However, for the second case that corresponds to the database, the methodology developed in order to create a threshold is not evident. It is important to have in mind that these images, having a high resolution, any region that is not segmented will have a significant contribution in the error.

Table 2:
Relative error in the segmentation of the background

Detection of the percentage of affected area

The results of the implemented algorithm for the detection of the disease and the comparison of the K-means method with LAB and K-means with HSV are indicated. Note that Figure 9 shows the need to use the two-colour spaces (YIQ and TSL) to eliminate the parts that do not correspond to the disease.

Figure 9:
Results of the proposed methodology for the detection of the disease.

Table 3 shows the results of the algorithm implemented for the detection of the disease and the comparison of the method of K-means with LAB and K-means with HSV. A better K-means result is seen when LAB’s A and B channels are used compared to HSV’s H and S channels for the same leaves. The methods have an inconvenient when the background is carried out since they have disease-like shades (brown), so it is convenient to capture with a background other than grey, since this color can vary significantly depending on the illumination. However, it is observed that the proposed methodology has better results when discriminating this type of information compared to the K-means classifier. On the other hand, it is observed that K-means with the H and S channels presents a greater error in the segmentation of the disease. Table 4 shows the errors obtained by determining the percentage of affected area on the leaf. Note that all three strategies have good efficiency.

Table 3:
Methodology limitations in the detection of the disease with a) Proposed method, b) K-means with LAB, c) K-means with HSV

Table 4:
Measurement error of the affected area percentage of the leaf

However, in computation time the method proposed in this article has a low computational cost compared to the other strategies implemented, as evidenced in Table 5.

Table 5:
Computation times of evaluated methodologies

Detection of black Sigatoka and yellow Sigatoka

Table 6 shows the results in the detection of diseases for each of the severities, where it is observed that for each of the stages it is possible to detect these stripes with their respective color variation at the site of the lesion.

Table 6:
Results of the methodology for each severity

CONCLUSIONS

A methodology was presented that allows the detection of Phytophthora Infestans, black Sigatoka and yellow Sigatoka diseases in tomato and banana leaves respectively, determined the percentage of area affected by the lesion, obtaining reliable results for the development of this task with an error of less than 5% using the Plant Village database. With regard to the tests done on banana leaves in an exploratory way with the proposed algorithm, it was possible to detect satisfactorily the variations of the disease, evidencing the versatility of the method to achieve different detections with visual information of the leaf. With this information it is possible to determine the percentage of severity that the plant has, since the leaf area and percentage of affected area are known, to apply preventive, corrective or curative measures according to this percentage. In many of the works developed for the detection of diseases, LAB’s A and B channels the HSV’s channel H color spaces are usually used, in this case it was decided to use other color spaces such as YIQ and TSL obtaining reliable results in the detection of the disease at a low computational cost compared to the other proposed methods of the state of the art.

On the other hand, this methodology was evaluated in another disease that has similar characteristics in terms of color, obtaining satisfactory results in the detection of the affected areas. It is important to note that although the proposal has its limitations, a thorough test of the algorithm was performed, so it was essential to label the disease to verify the efficiency of the developed algorithm. This method is a diagnostic support tool that allows the user to automatically know the evolution of the disease. This is of great importance, since with the current technological proliferation allows farmers to use this type of tools that allow them to improve the productivity of their crops.

NOMENCLATURE
The nomenclature used in the document is provided here for quick reference.

ACKNOWLEDGEMENTS, FINANCIAL SUPPORT AND FULL DISCLOSURE

This work was funded by Colciencias and corresponds to the project called "Sistema experto para la detección automática de la sigatoka negra producida por el hongo Mycosphaerella fijiensis" with code 511-3-024-15. The authors declare that have no conflicts of interests in carrying the research and publishing the manuscript.

REFERENCES

  • Al-Hiary H, Bani-Ahmad S, Reyalat M, Braik M & ALRahamneh Z (2011) Fast and accurate detection and classification of plant diseases. International Journal of Computer Applications, 17:31-38.
  • Arakeri MP, Arun M & Padmini RK (2015) Analysis of late blight disease in tomato leaf using image processing techniques. International Journal of Engineering and Manufacturing, 4:12-22.
  • Baghel J & Jain P (2016) Disease detection in soya bean using k-means clustering segmentation technique. International Journal of Computer Applications , 145:15-18.
  • Camargo A & Smith JS (2009) An image-processing based algorithm to automatically identify plant disease visual symptoms. Biosystems engineering, 102:09-21.
  • Caracol Radio (2018) Colombia es capaz de ser despensa del mundo y potencia agropecuaria: Santos. Available at: <Available at: http://caracol.com.co/emisora/2018/02/09/tunja/1518213178_343387.html >. Accessed on: June 28th, 2018.
    » http://caracol.com.co/emisora/2018/02/09/tunja/1518213178_343387.html
  • Chaudhary P, Chaudhari AK, Cheeran AN & Godara S (2012) Color transform-based approach for disease spot detection on plant leaf. International Journal of Computer Science and Telecommunications, 3:65-70.
  • Chen TW, Chen YL & Chien SY (2008) Fast image segmentation based on k-means clustering with histograms in HSV color space. In: 10th Workshop on Multimedia Signal Processing, Cairns. Proceedings, IEEE. p. 322-325.
  • Escalante M & Farrera R (2004) Epidemiología del tizón tardío (Phytophthora infestans mont de Bary) de la papa en zonas productoras del estado Táchira Venezuela. Bioagro, 16:47-54.
  • FAO - Food and Agriculture Organization of the United Nations (2014) FAO Statistical Yearbook - Asia food and Agriculture. Accra, FAO. 112p.
  • Finagro (2014) Perspectiva del sector agropecuario colombiano. Bogotá, Finagro. 28p.
  • Gonzalez RC, Woods RE & Eddins SL (2009) Digital Image Processing Using MATLAB. 2nd ed. Upper Saddle River, Prentice Hall. 609p.
  • Guzmán O, Zapata J & Villegas-Estrada B (2009) Diagnóstico de enfermedades de plantas de origen biótico. Agronomía, 17:07-24.
  • Hlaing CS & Zaw SMM (2017) Model-based statistical features for mobile phone image of tomato plant disease classification. In: 18th International Conference on Parallel and Distributed Computing, Applications and Technologies , Taipei. Proceedings, IEEE. p223-229.
  • Huang K (2007) Application of artificial neural network for detecting Phalaenopsis seedling diseases using color and texture features. Computers and Electronics in Agriculture, 57:03-11.
  • Hughes DP & Salathe M (2016) An open access repository of images on plant health to enable the development of mobile disease diagnostics. arXiv:1511.08060.
  • Intagri (2015) Enfermedades foliares en Tomate. Available at: Available at: https://www.intagri.com/articulos/fitosanidad/enfermedades-foliares-en-tomate Accessed on: June, 28th, 2018.
    » https://www.intagri.com/articulos/fitosanidad/enfermedades-foliares-en-tomate
  • Juárez-Becerra GP, Sosa-Morales ME & López-Malo A (2010) Hongos fitopatógenos de alta importancia económica: descripción y métodos de control. Temas Selectos de Ingeniería de Alimentos, 4:14-23.
  • Lasprilla DM (2011) Estado actual de fruticultura colombiana y perspectivas para su desarrollo. Revista Brasileira de Fruticultura, 33:199-205.
  • Meunkaewjinda A, Kumsawat P, Attakitmongcol K & Srikaew A (2008) Grape leaf disease detection from color imagery using hybrid intelligent system. 5th International Conference on Electrical Engineering/Electronics, Computer, Telecommunications and Information Technology, 1:513-516.
  • Mohanty SP (2016) Dataset of diseased plant leaf images and corresponding labels. Available at: <Available at: https://github.com/spMohanty/PlantVillage-Dataset >. Accessed on: June 28th, 2018.
    » https://github.com/spMohanty/PlantVillage-Dataset
  • Mohanty SP, Hughes D & Salathé M (2016) Using deep learning for image-based plant disease detection. Frontiers in plant science, 7:1419.
  • Patel SP & Dewangan AK (2017) Automatic detection of plant leaf disease using k-means clustering and segmentation. International Journal of Scientific Research Engineering & Technology, 6:774-779.
  • Patil SB & Bodhe SK (2011) Leaf disease severity measurement using image processing. International Journal of Engineering and Technology, 3:297-301.
  • Pérez L (2012) A holistic integrated management approach to control black sigatoka disease of banana caused by Mycosphaerella fijiensis. Available at: <Available at: http://www.fao.org/3/a-as177e.pdf >. Accessed on: June 18th, 2018.
    » http://www.fao.org/3/a-as177e.pdf
  • Sankaran S, Mishra A, Ehsani R & Davis C (2010) A review of advanced techniques for detecting plant diseases. Computers and Electronics in Agriculture , 72:01-13.
  • Sharma R, Singh A, Dutta MK, Riha K & Kriz P (2017) Image processing based automated identification of late blight disease from leaf images of potato crops. In: 40thTelecommunications and Signal Processing, Barcelona. Anais, IEEE. p. 758-762.
  • Singh V & Misra A (2017) Detection of plant leaf diseases using image segmentation and soft computing techniques. Information Processing in Agriculture, 4:41-49.
  • Wiwart M, Fordoński G, Żuk-Gołaszewska K & Suchowilska E (2009) Early diagnostics of macronutrient deficiencies in three legume species by color image analysis. Computers and Electronics in Agriculture , 65:125-132

  • This work is part of the project investigation funded by Colciencias with code 511-3-024-15. 2.

Publication Dates

  • Publication in this collection
    08 May 2020
  • Date of issue
    Mar-Apr 2020

History

  • Received
    09 Sept 2019
  • Accepted
    14 Jan 2020
Universidade Federal de Viçosa Av. Peter Henry Rolfs, s/n, 36570-000 Viçosa, Minas Gerais Brasil, Tel./Fax: (55 31) 3612-2078 - Viçosa - MG - Brazil
E-mail: ceres@ufv.br