Skip to main content
Log in

Automatic segmentation of plant leaves disease using min-max hue histogram and k-mean clustering

  • Published:
Multimedia Tools and Applications Aims and scope Submit manuscript

Abstract

Automatic segmentation of plant image’s leaf diseases has recently become a popular area of study worldwide. The suggested approach automatically segments various areas of leaf disease from images of the plant, which can then be combined with machine learning or deep learning techniques to improve system accuracy. Our suggested method consists of three stages: Preprocessing is applied in the first stage where a rank order fuzzy (ROF) filter is proposed that reduces the background noise from the plant picture. In the next stage, disease spot detection is performed using proposed min-max hue histogram based techniques. Disease spot identification prior to segmentation helps in proper segmentation of k-mean clustering. The K-means clustering is then performed in the next stage to segment the leaf pictures into uniform regions. These segments are transformed into HSI color spaces and the segment with the largest hue value is extracted as the disease segment. The proposed methodology is implemented in Matlab 18a and studies are carried out on various plant images. The proposed ROF filter demonstrates superior results to the other state-of-the-art filters. The filter is also resistant to very large noise levels, and shows meaningful details at noise levels of 95%. Besides, our hue-based spot detection is compared with the existing method and it can be shown by the suggested approach, the diseases have been found mostly correctly. The segmentation accuracy of the proposed method is calculated using the Jaccard coefficient, Sensitivity and Positive Prediction Rate. Our proposed system achieved high Jaccard coefficient value of 0.7747.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Fig. 1
Fig. 2
Fig. 3
Fig. 4
Fig. 5
Fig. 6
Fig. 7
Fig. 8
Fig. 9
Fig. 10
Fig. 11
Fig. 12
Fig. 13

Similar content being viewed by others

Abbreviations

F ij :

2D Index matrix value at ith row and jth coloum. The value is either 0 or 1

ρ :

The percentage of impulse noise prediction

P ij :

Pixel value at location (i, j)

M :

The total of rows in image

N :

The total of columns in image

D :

First order absolute differences

W ij :

Window of size (2M × 1) (2M × 1) Centered at (i,j)

μ ij :

Fuzzy membership value

y ij :

Restoration term at location (i, j)

α :

A non-negative integer constant

H :

Hue component ranging from 0 to 360 degree

S :

Saturation component ranging from 0 to1

I :

Intensity component ranging from 0 to 1

θ :

Hue degree

H ij :

Unmodified hue value of the image at coordinate (i,j)

\( {H}_{ij}^{\prime } \) :

Modified hue value of the image at coordinate (i,j)

η :

Threshold to increase the hue value in the picture

τ1 and τ2 :

Threshold values in the hue histogram between 0 and 60 degree

C k :

Centroid of cluster k

d i, k :

the Euclidean distance between the center k and each data point i of an image

E(x):

The mean of the image x

References

  1. Al D, Bashish BM, Bani-Ahmad S (2010) A framework for detection and classification of plant leaf and stem diseases. In: 2010 International Conference on Signal and Image Processing, pp 113–118

    Google Scholar 

  2. Archana KS, Sahayadhas A (2018) Automatic rice leaf disease segmentation using image processing techniques. Int J Eng Technol 7:182–185

    Article  Google Scholar 

  3. Badnakhe MR, Deshmukh P (2012) Infected leaf analysis and comparison by Otsu threshold and k-Means clustering. International Journal of Advanced Research in Computer Science and Software Enginéering 2(3)

  4. Barbedo JGA (2019) Plant disease identification from individual lesions and spots using deep learning. Biosyst Eng 180:96–107

    Article  Google Scholar 

  5. Bashir S (2012) Remote area plant disease detection using image processing. IOSR Journal of Electronics and Communication Engineering vol 2:31–34. https://doi.org/10.9790/2834-0263134

    Article  Google Scholar 

  6. Bock CH, Nutter FW Jr (2012) Detection and measurement of plant disease symptoms using visible-wavelength photography and image analysis. Plant Sci Rev 2011:73

    Google Scholar 

  7. Bock C et al (2010) Plant disease severity estimated visually, by digital photography and image analysis, and by hyperspectral imaging. Crit Rev Plant Sci 29(2):59–107

    Article  Google Scholar 

  8. Bora DJ, Gupta AK, Khan FA (2015) Comparing the Performance of L*A*B* and HSV Color Spaceswith Respect to Color Image Segmentation. International Journal of Emerging Technology and Advanced Engineering 5(2) IET Digital Library, https://digital-library.theiet.org/content/conferences/10.1049/icp.2021.0953

  9. Camargo A, Smith JS (2009) An image-processing based algorithm to automatically identify plant disease visual symptoms. Biosyst Eng 102(1):9–21

    Article  Google Scholar 

  10. Chalana V, Kim Y (1997) A methodology for evaluation of boundary detection algorithms on medical images. IEEE Trans Med Imaging 16:642–652

    Article  Google Scholar 

  11. Chitade, Anil & Katiyar, Sunil. (2010). Color based image segmentation using K-means clustering. International Journal of Engineering Science and Technology.

    Google Scholar 

  12. Deví R, Sujatha P Enhancement of fingerprint image using wíener filter. Internátional Journal of Engineering & Technology 7:206–212. https://doi.org/10.14419/ijet.v7i1.1.9456

  13. Dhaware CG, Wanjale KH (2017) A modern approach for plant leaf disease classification which depends on leaf image processing. In: 2017 International Conference on Computer Communication and Informatics, ICCCI 2017, pp 1–11

    Google Scholar 

  14. El Sghair M, Jovanovic R, Tuba M (2017) An algorithm for plant diseases detection based on color features. Int J Agric Sci 2:1–6

    Google Scholar 

  15. Ferentinos KP (2018) Deep learning models for plant disease detection and diagnosis. Comput Electron Agric 145:311–318

    Article  Google Scholar 

  16. Goncharov P et al (2018) Architecture and basic principles of the multifunctional platform for plant disease detection

  17. Gonzalez RC, Woods RE (2007) Digital Image Processing, 3rd edn. Pearson Prentice Hall

    Google Scholar 

  18. Hwang H, Haddad RA (1995) Adaptive median filters: new algorithms and results. IEEE Trans Image Process 4(4):499–502

    Article  Google Scholar 

  19. Inbarani HH, Azar AT, G J (2020) Leukemia image segmentation using a hybrid histogram-based soft covering rough K-means clustering algorithm. Electronics 9(1):188. https://doi.org/10.3390/electronics9010188

    Article  Google Scholar 

  20. Jaccard P (1912) The distribution of the FLORA in the alpine ZONE.1. New Phytol 11(2):37–50. https://doi.org/10.1111/j.1469-8137.1912.tb05611.x ISSN 0028-646X

    Article  Google Scholar 

  21. Jayanthi M, Shashikumar D (2017) Leaf disease segmentation from agricultural images via hybridization of active contour model and OFA. J Intell Syst 29:35–52. https://doi.org/10.1515/jisys-2017-0415

    Article  Google Scholar 

  22. Khandelwal I, Raman S (2019) Analysis of Transfer and Residual Learning for Detecting Plant Diseases Using Images of Leaves. In: Computational Intelligence: Theories, Applications and Future Directions-Volume II. Springer, pp 295–306

    Google Scholar 

  23. Li J, Jia J, Xu D (2018) Unsupervised representation learning of image-based plant disease with deep convolutional generative adversarial networks. In: 2018 37th Chinese control conference (CCC). IEEE

    Google Scholar 

  24. Mahlein A-K (2016) Plant disease detection by imaging sensors–parallels and specific demands for precision agriculture and plant phenotyping. Plant Dis 100(2):241–251

    Article  Google Scholar 

  25. Mohanty SP, Hughes DP, Salathé M (2016) Using deep learning for image-based plant disease detection. Front Plant Sci 7:1419

    Article  Google Scholar 

  26. Mokhtar N, Harun N, Mashor M, Roseline H, Mustafa N, Adollah R, Hashim A, Mohd Nasir N (2009) Image enhancement techniques using local, global, bright, Dark and Partial Contrast Stretching For Acute Leukemia Images. Lecture Notes in Engineering and Computer Science 2176

  27. Naik SK, Murthy CA (2003) Hue-preserving color image enhancement without gamut problem. IEEE Trans Image Process 12:1591–1598

    Article  Google Scholar 

  28. Nayagam A, Sundaresan N (2018) Noise Reduction in Leaf Image by Fuzzy Based Filtering Technique. IJARCCE 7:87–93. https://doi.org/10.17148/IJARCCE.2018.71118

    Article  Google Scholar 

  29. Nikam SD, Yawale RU (2015) Color Image Enhancement Using Daubechies Wavelet Transform And HIS Color Model. In: International Conference on Industrial Instrumentation and Control (ICIC)

    Google Scholar 

  30. Pathak SS, Dahiwale P, Padole G (2015) A Combined Effect of Local and Global Method for Contrast Image Enhancement. In: IEEE International Conference on Engineering and Technology (ICETECH)

    Google Scholar 

  31. Pertot I, Kuflik T, Gordon I, Freeman S, Elad Y (2012) Identificator: a web-based tool for visual plant disease identification, a proof of concept with a case study on strawberry. Comput Electron Agric 84:144–154

    Article  Google Scholar 

  32. Piyush C et al (2012) Color transform based approach for disease spot detection on plant leaf. Int Comput Sci Telecommun 3(6)

  33. Purushothaman J, Kamiyama M, Taguchi A (2016) Color Image Enhancement Based on Hue Differential Histogram Equalization. In: IEEE Conference

    Google Scholar 

  34. Rundo L, Militello C, Russo G, D’Urso D, Valastro LM, Garufi A, Gilardi MC (2017) Fully automatic Multispectral MR Image Segmentation of Prostate Gland Based on the Fuzzy C-Means Clustering Algorithm. In: Esposito A, Faudez-Zanuy M (eds) Multidisciplinary Approaches to Neural Computing. Smart Innovation, Systems and Technologies, vol 69. Springer, Cham, Switzerland, pp 23–37

    Chapter  Google Scholar 

  35. Saravanan G, Yamuna G, Nandhini S (2016) Real time implementation of RGB to HSV/HSI/HSL and its reverse color space models. In: 2016 International Conference on Communication and Signal Processing (ICCSP), pp 0462–0466. https://doi.org/10.1109/ICCSP.2016.7754179

    Chapter  Google Scholar 

  36. Savary S, Teng PS, Willocquet L, Nutter FW Jr (2006) Quantification and modeling of crop losses: a review of purposes. Annu Rev Phytopathol 44:89–112

    Article  Google Scholar 

  37. Shrivastava S, Singh SK, Hooda DS (2016) Soybean plant foliar disease detection using image retrieval approaches. Multimed Tools Appl

  38. Singh V, Misra AK (2017) Detection of plant leaf diseases using image segmentation and soft computing techniques. Inf Process Agric

  39. Taha A, Abdel (2015) Metrics for evaluating 3D medical image segmentation: analysis, selection, and tool. BMC Med Imaging 15(29):1–28. https://doi.org/10.1186/s12880-015-0068-x

    Article  Google Scholar 

  40. Thangaraj V, Esakkirajan S, Vennila I (2012) Combined Fuzzy Logic and Unsymmetric Trimmed Median Filter Approach for the Removal of High Density Impulse Noise. WSEAS Transactions on Signal Processing:8

  41. Tian K, Li J, Zeng J, Evans A, Zhang L (2019) Segmentation of tomato leaf images based on adaptive clustering number of K-means algorithm. Comput Electron Agric 165

  42. Trivedi VK, Shukla PK, Dutta PK (2021) K-mean and HSV model based segmentation of unhealthy plant leaves and classification using machine learning approach. In: IET Conference Proceedings, pp 264–270. https://doi.org/10.1049/icp.2021.0953

    Chapter  Google Scholar 

  43. Utaminingrum F, Uchimura K, Koutaki G (2013) High density impulse noise removal based on linear mean-median filter. In: The 19th Korea-Japan Joint Workshop on Frontiers of Computer Vision, pp 11–17. https://doi.org/10.1109/FCV.2013.6485451

    Chapter  Google Scholar 

  44. Yogeshwari M, Thailambal G (2020) Automatic segmentation of plant leaf disease using improved fast fuzzy C means clustering And adaptive Otsu thresholding (IFFCM-AO) algorithm. Eur J Mol Clin Med 7(3):5447–5462

    Google Scholar 

  45. Zhang S, Wu X, You Z, Zhang L (2017) Leaf image based cucumber disease recognition using sparse representation classification. Comput Electron Agric 134:135–141

    Article  Google Scholar 

  46. Zhang S, Wang H, Huang W, You Z (2018) Plant diseased leaf segmentation and recognition by fusion of superpixel, K-means and PHOG. Optik-International Journal for Light and Electron Optics 157:866–872

    Article  Google Scholar 

  47. Zhang S, You Z, Wu X (2019) Plant disease leaf image segmentation based on superpixel clustering and EM algorithm. Neural Comput Appl 31:1225–1232

    Article  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Vijay Kumar Trivedi.

Additional information

Publisher’s note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Rights and permissions

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Trivedi, V.K., Shukla, P.K. & Pandey, A. Automatic segmentation of plant leaves disease using min-max hue histogram and k-mean clustering. Multimed Tools Appl 81, 20201–20228 (2022). https://doi.org/10.1007/s11042-022-12518-7

Download citation

  • Received:

  • Revised:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s11042-022-12518-7

Keywords

Navigation