Segmentation Analysis in Powdery Mildew Infested (Sphaerotheca Fuliginea) Cucumber Leaves


  • Rodrigo Morales García
  • Karim de Alba Romenus
  • Antonio Juárez Juárez Maldonado
  • José Luis Fraga-Almazan



Segmentation, Binarization, Red, Green, Blue, Gray, K-means, Histogram, Thresholding


In this document, we propose the recognition of powdery mildew in cucumber leaves based on image processing. Two cucumber cycles were established and infested with powdery mildew. As the disease developed, photos were taken to perform the analysis. Two hundred photographs were manually preprocessed eliminating the background and leaving only leaves infested with the disease. The images were segmented using three threshold binarization techniques: gray scale binarization, RGB binarization and K-means algorithm with initially located centroids. The results were compared between the different methods. The gray scale binarization as well as the RGB binarization allowed locating the disease based on a percentage of the lighter shades, although the latter method analyzes each one of the different color layers. The K-means algorithm identified groups with similar characteristics around provided centers. A false positive detection test was also performed with 25 previously processed photographs. The experimental results show that the proposed gray scale binarization method better results for the recognition of the disease than the other methods.


H. Fan, L. Ren, X. Meng, T. Song, K. Meng, & Y. Yu, “Proteome-level investigation of Cucumis sativus-derived resistance to Sphaerotheca fuliginea,” Acta Physiologiae Plantarum, vol. 36, issue 7, pp. 1781–1791, 2014.

M.G.Y. Juárez, J.F.L. de la Rocha, T.P.G. Angulo, R.G. Luque, M.L. Meza, J.E.C. Ortega, & L.C. Díaz, “Alternatives for the control of the powdery mildew (Oidium sp.) in cucumber (Cucumis sativus L.),” Mexican Journal of Agricultural Sciences, vol. 3, issue 2, pp. 259–270, 2012. Available: (in Spanish).

R. Horbach, A.R. Navarro-Quesada, W. Knogge, & H.B. Deising, “When and how to kill a plant cell: Infection strategies of plant pathogenic fungi,” Journal of Plant Physiology, vol. 168, issue 1, pp. 51–62, 2011.

I. Jajic, T. Sarna, & K. Strzalka, “Senescence, stress, and reactive oxygen species,” Plants, vol. 4, issue 3, pp. 393–411, 2015.

M. Shahid, C. Dumat, S. Khalid, E. Schreck, T. Xiong, & N.K. Niazi, “Foliar heavy metal uptake, toxicity and detoxification in plants: A comparison of foliar and root metal uptake,” Journal of Hazardous Materials, vol. 325, pp. 36–58, 2017.

L. Kiss, A. Pintye, G.Z. Zséli, T. Jankovics, O. Szentiványi, Y.M. Hafez, & R.T.A. Cook, “Microcyclic conidiogenesis in powdery mildews and its association with intracellular parasitism by Ampelomyces,” European Journal of Plant Pathology, vol. 126, issue 4, pp. 445–451, 2010.

F. Liu, Y.Y. Zhuge, C.Y. Yang, S.X. Jin, J. Chen, H. Li, & G.H. Dai, “Control effects of some plant extracts against cucumber powdery mildew (Sphaerotheca fuliginea) and their stability study,” European Journal of Horticultural Science, vol. 75, issue 4, pp. 147–152, 2010.

R. Pérez Ángel, R.S. García-Estrada, J.A. Carrillo-Fasio, M.A. Angulo-Escalante, J. Benigno Valdez-Torres, D. Muy, A. Manelick García-López, M. Villarreal-Romero, “Powdery mildew (Sphaerotheca fuliginea schlechtend.: fr, pollaci) with vegetable oils and mineral salts in greenhouse cucumber in Sinaloa, Mexico,” Mexican Journal of Plant Pathology, vol. 17, issue 1, pp. 17–24, 2010. (in Spanish).

Z.F. Chen, & G.G. Ying, “Occurrence, fate and ecological risk of five typical azole fungicides as therapeutic and personal care products in the environment: A review,” Environment International, vol. 84, pp. 142–153, 2015.

J.J. Kim, M.S. Goettel, & D.R. Gillespie, “Evaluation of Lecanicillium longisporum, Vertalec® against the cotton aphid, Aphis gossypii, and cucumber powdery mildew, Sphaerotheca fuliginea in a greenhouse environment,” Crop Protection, vol. 29, issue 6, 540–544, 2010.

L. Comba, P. Gay, P. Piccarolo, & D. Ricauda Aimonino, “Robotics and automation for crop management: trends and perspective,” Proceedings of the International Conference Ragusa SHWA’2010, 2010, pp. 471–478.

S.H. Lee, Y.L. Chang, & C.S. Chan, “LifeClef 2017 plant identification challenge: Classifying plants using generic-organ correlation features,” CEUR Workshop Proceedings, vol. 1866, issue 1, pp. 1–9, 2017.

C. DeChant, T. Wiesner-Hanks, S. Chen, E.L. Stewart, J. Yosinski, M.A. Gore, R.J. Nelson, H. Lipson, “Automated identification of northern leaf blight-infected maize plants from field imagery using deep learning,” Journal of Neurotrauma, no. 20, pp. 1–26, 2016.

R. Pryzant, S. Ermon, & D. Lobell, “Monitoring Ethiopian wheat fungus with satellite imagery and deep feature learning,” Proceedings of the IEEE Computer Society Conference on Computer Vision and Pattern Recognition Workshops, vol. 1, 2017, pp. 1524–1532.

J. Angulo, J. Serra, “Segmentation of color images using bi-variable histograms in polar color spaces luminance / saturation / hue,” Computing and Systems, vol. 8, issue 4, pp. 303–316, 2005. (in Spanish).

J. Kaur, S. Agrawal, & R. Vig, “A comparative analysis of thresholding and edge detection segmentation techniques,” International Journal of Computer Applications, vol. 39, issue 15, pp. 28–34, 2012.

S.S. Al-Amri, N.V. Kalyankar, S.D. Khamitkar, “Image segmentation by using threshold techniques,” Journal of Computing, vol. 2, issue 5, pp. 83–86, 2010.

D. Al Bashish, M. Braik, S. Bani-Ahmad, “Detection and classification of leaf diseases using k-means-based segmentation and neural-networks-based classification,” Information Technologies Journal, vol. 10, issue 2, pp. 267–275, 2011.

N. Dhanachandra, K. Manglem, & Y.J. Chanu, “Image segmentation using k-means clustering algorithm and subtractive clustering algorithm,” Procedia Computer Science, vol. 54, issue 1, pp. 764–771, 2015.

G. Yong, S. Na, & L. Xumin, “Research on k-means clustering algorithm,” Proceedings of the Third International Symposium on Intelligent Information Technology and Security Informatics, 2010, vol. 1, pp. 63–67.

M.E. Celebi, H.A. Kingravi, & P.A. Vela, “A comparative study of efficient initialization methods for the k-means clustering algorithm,” Expert Systems with Applications, vol. 40, issue 1, pp. 200–210, 2013.

A.K. Jain, “Data clustering: 50 years beyond K-means q,” Pattern Recognition Letters, vol. 31, issue 8, pp. 651–666, 2010.

G. Gan, C. Ma, & J. Wu, Data Clustering: Theory, Algorithms, and Applications, SIAM, 2007.

L. Eldén, Matrix Methods in Data Mining and Pattern Recognition, SIAM, 2007.

K. Wang, S. Zhang, Z. Wang, Z. Liu, & F. Yang, “Mobile smart device-based vegetable disease and insect pest recognition method,” Intelligent Automation & Soft Computing, vol. 19, issue 3, pp. 263–273, 2013.

S.N.H.S. Abdullah, S. Abdullah, A. Fitriayanshah, M. Petrou, S. Abdullah, & M.H.A. Razalan, “A portable rice disease diagnosis tool based on bi-level color image thresholding,” American Society of Agricultural and Biological Engineers, vol. 32, issue 4, pp. 295–310, 2016.

M.G. Forero, & M.C. Merchan, C.A. Murillo, “Analysis of binarization techniques based on 2D histograms,” Engineering: Science, Technology and Innovation, vol. 3, issue 2, pp. 24–34, 2016. (in Spanish).

C.C. Tucker, & S. Chakraborty, “Quantitative assessment of lesion characteristics and disease severity using digital image processing,” Journal Phytopathology, vol. 145, pp. 273–278, 1997.

K.W.V. Sanjaya, H.M.S.S. Vijesekara, I.M.A.C. Wickramasinghe, & C.R.J. Amalraj, “Orchid classification, disease identification and healthiness prediction system,” International Journal of Scientific & Technology Research, vol. 4, issue 3, pp. 215–220, 2015.

R. Rodríguez, & J.C. Sosa, “Importance of the use of the parametric logarithm in a no-supervised strategy for image binarization,” IEEE Latin America Transactions, vol. 14, issue 3, pp. 1434–1439, 2016.

A.J. Rosales Mora, C.H. García Capulin, Carlos, “Image processing development platform on mobile devices,” Young People in Science, vol. 4, issue 1, pp. 2410–2414, 2018. (in Spanish).

P. Sanyal, & S.C. Patel, “Pattern recognition method to detect two diseases in rice plants,” The Imaging Science Journal, vol. 56, issue 1, pp. 319–325, 2008.

Y. Es-Saady, I. El Massi, M. El Yassa, D. Mammass, “Automatic recognition of plant leaves diseases based on serial combination of two SVM classifiers,” Proceedings of the International Conference on Electrical and Information Technologies ICEIT, 2016, vol. 2, 1–6.

J. Sethupathy, & S. Veni, “OpenCV based disease identification of mango leaves,” International Journal of Engineering and Technology (IJET), vol. 8, issue 5, pp. 1990–1998, 2016.

R.D. Atmaja, M.A. Murti, J. Halomoan, & F.Y. Suratman, “An image processing method to convert RGB image into binary,” Indonesian Journal of Electrical Engineering and Computer Science, vol. 3, issue 2, pp. 377–382, 2016.

A.V. Padilla Jimenez, C.A.P. Rojas, & L.E.S. Guzman, “Processing of images for the identification of pests in spinach crops,” Proceedings of the IEEE Colombian Conference on Robotics and Automation, CCRA’2016, vol. 1(1), pp. 1–7, 2017. (in Spanish).

A. Rastogi, R. Arora, S. Sharma, “Leaf disease detection and grading using computer vision technology & fuzzy logic,” Proceedings of the International Conference on Signal Processing and Integrated Networks, 2015, vol. 2(1), pp. 500–505.

Z. Youlian, H. Cheng, Z. Kun, & P. Lingjiao, “Face detection method using template feature and skin color feature in RGB color space,” Proceedings of the Chinese Control and Decision Conference (CCDC), 2015, vol. 27(1), pp. 6133–6137.

J. Carlos, H. Pérez, S. Manuel, M. Ortiz, G. Enrique, M. Llano, B. Pérez, “Classification of the coffee fruits according to their state of maturation and detection of the bit by means of image processing techniques,” Prospect, vol. 14, issue 1, pp. 15–22, 2016. (in Spanish).

C.A.C. Flórez, D.A. Hurtado, O.L.R. Sandoval, “Processing of images for recognition of damage caused by pests in the cultivation of Begonia semperflorens (sugar flower),” Agronomic Act, vol. 64, issue 3, pp. 273–279, 2015. (in Spanish).

J.D. Pujari, R. Yakkundimath, & A.S. Byadgi, “Statistical methods for quantitatively detecting fungal disease from fruits’ images,” Intelligent Systems and Applications in Engineering, vol. 1, issue 4, pp. 60–67, 2013.

S.H. Hlaing, & A.S. Khaing, “Weed and crop segmentation and classification using area thresholding,” International Journal of Research in Engineering and Technology, vol. 3, issue 3, pp. 375–382, 2014.



How to Cite

Morales García, R., de Alba Romenus, K., Juárez Maldonado, A. J., & Fraga-Almazan, J. L. (2021). Segmentation Analysis in Powdery Mildew Infested (Sphaerotheca Fuliginea) Cucumber Leaves. International Journal of Computing, 20(3), 328-338.