Support Vector Machine Based Classification of Leaf Diseases
Support Vector Machine Based Classification of Leaf Diseases
Support Vector Machine Based Classification of Leaf Diseases
Abstract: Myanmar is well known for agricultural country; wherein about 65% of the labor force depends on agriculture. Since the
leaf diseases are microscopic organism, cannot be detected normal human eyes. Leaves are special indicator to distinguish the diseases
because the image information of the leaf are changed when the leaf surf the diseases. So, the image processing techniques can be used
in agricultural sector. The research work presents a support vector machine classifier algorithm by using MATLAB R2017a for the
classification of leaf diseases such as Alternaria Alternata, Cercospora leaf spot, Bacterial Blight and so on. In this research work,
RGB color space is converted into HSI (Hue Saturation Intensity) color space. In segmentation step, k-means clustering is used to
select the defected area, and it is extracted the features by using GLCM (Gray Level Co-occurrence Matrix). Prior to the features
extraction, the median filter is used for getting noise free feature results. Finally, the leaf disease is classified by using support vector
machine (SVM) and computes the accuracy. From the obtained results, the maximum accuracy of the system is 83%.
Keywords: leaf diseases; median filter; k-means clustering; gray level co-occurrence matrix; support vector machine
www.ijsea.com 143
International Journal of Science and Engineering Applications
Volume 7–Issue 08,143-147, 2018, ISSN:-2319–7560
End
www.ijsea.com 144
International Journal of Science and Engineering Applications
Volume 7–Issue 08,143-147, 2018, ISSN:-2319–7560
(a)
(b)
Figure 5. Histogram Equalization Image (a) before contrast
enhancement, (b) after contrast enhancement
www.ijsea.com 145
International Journal of Science and Engineering Applications
Volume 7–Issue 08,143-147, 2018, ISSN:-2319–7560
chromaticity-layer 'a*' and 'b*'). The HSI color space is higher In the feature extraction, the segmented image is converted
peak signal to noise ratio than L*a*b color space. The results into gray scale image, then filter by using median filter and
are shown in Figure 6. GLCM is used to extract the feature [9]. The segmented
image is as shown in Figure 8. The gray scale image and
median filter image are shown in Figure 9 and Figure 10.
After that, the affected area of leaf can be calculated. The
affected area of leaf is shown in Figure 11. Finally, the leaf
diseases can be classified by using multiclass support vector
machine. The disease type is shown in Figure 12. The
accuracy is shown in Figure 13.
(a)
(b)
(c)
Figure 6. Color Space (a) HIS Color Space, (b) L*a*b Color Space,
and (c) Peak Signal to Noise Ratio (PSNR) of Color Space
The image is segmented into three sub-features by using k- Figure 10. Median Filter Image
mean clustering. And then, select the disease affected area.
The results are shown in Figure 7.
www.ijsea.com 146
International Journal of Science and Engineering Applications
Volume 7–Issue 08,143-147, 2018, ISSN:-2319–7560
7. REFERENCES
[1] Ko Ko Zaw, Zin Ma Ma Myo, and Wah Wah Hlaing.
2018. “Multiclass Support Vector Machine Based
Detection and Classification of Leaf Diseases”, 11th
National Conference on Science and Engineering, YTU,
Yangon, Myanmar
Figure 12. Disease Type of Leaf [2] A. Miyatra, S. Solanki. 2014. “Disease and Nutrient
Deficiency Detection in Cotton Plant,” International
Journal of Engineering Development and Research, vol.
This system elaborates the evaluated results with proper 2, no 2, pp. 2801-2804.
discussion. Windows 10 based system 4GB DDR4 Memory,
1TB of HDD, Core i5 is used for conduction the experiments. [3] V. A. Gulhane, A. A. Gurjar. 2011. “Detection of disease
And then, MATLAB R2017a is used for the simulation of on cotton Leaves and Its Possible Diagnosis”,
work. The total program execution time is shown in Figure International Journal of Image Processing (IJIP), vol. 5 :
14. no 5 : pp. 590-598.
[4] S. S. Panchal, R. Sonar. 2016. “Pomegranate Leaf Disease
Detection Using Support Vector Machine,” International
Journal of Engineering and Computer Science, vol. 5, no
6, pp. 16815-16818.
[5] V. M. Tiwari, T. Gupta. 2017. “Plant Leaf Disease
Analysis using Image Processing Technique with
Figure 14. The Total Program Execution Time Modified SVM-CS Classifier,” International Journal of
Engineering and Management Technology, vol. 5, no. 1,
pp. 11-17.
Accuracy is defined as the ratio of the number of correctly
recognized samples to the total number of test samples [10]. [6] A. N. Rathod , B. A. Tanawala, V. H. Shah. 2014. “Leaf
The percentage values of accuracy of each disease are shown disease detection using image processing and neural
in Table 2. network”, IJAERD vol. 1, no. 6, June, pp. 1-10.
[7] S. Jayaraman, S. Esakkirajan , and T. Veerakumar. 2009.
Digital Image Processing. U.S.A.: McGraw Hill Co,.
Table 2. The percentage values of accuracy of each disease
[8] Myo Myo Han. 2017. “Analysis on Detection
Percentage of Improvement of Textile Fabric Defects using Gray Level
Sr. No Disease Type
Accuracy Co-occurrence Matrix for automatic system,” M.E. thesis,
1. Alternaria Alternata 80.6452 % Dept. Electronic Eng., Yangon Technological
University., Yangon, Myanmar.
2. Anthracnose 82.2581 %
[9] D. Gadkari. 2004. “Image Quality Analysis Using
3. Bacterial Blight 80.6452 % GLCM,” M.E. thesis, University of Central Florida,
4. Cercosporal Leaf Spot 82.2581 % Orlando, Florida.
[10] S. S. Patki, G. S. Sable. 2016. “Cotton Leaf Disease Detection &
5. Healthy Leaf 83.8710 %
Classification using Multi SVM,” International Journal of
Advanced Research in Computer and Communication
Engineering, vol. 5, no. 10, pp. 165-168.
5. CONCLUSION
From the results shown in above, the total program execution
time takes 0.24045 minute and the maximum accuracy is
83.8710%. Furthermore, this system can be applied for the
other leaf diseases to get the peak signal to noise ratio. When
the total program execution time is less, the system can be
assigned the higher performance.
6. ACKNOWLEDGEMENTS
Firstly, the author would like to acknowledge Dr. Thein Gi,
Rector of Technological University (Thanlyin), for her kind
permission to carry out this research work. The authors would
www.ijsea.com 147