Abstract
Identifying the defects in apples is commonly done with visual examination techniques. However, it is a slow and laborious process. Image processing techniques have begun to be used to help and make the diagnosis of fruit diseases more efficient. In image processing systems, the segmentation of regions in the scenes is a crucial step. Specifically for images from apples, disease segmentation is a complicated task due to the different elements that affect the acquisition of the images. In addition, apple diseases also have features that need to be segmented. In this work, an efficient approach that uses the Gaining-sharing Knowledge-based (GSK) algorithm is proposed to optimize the minimum cross-entropy thresholding (MCET) for the segmentation of apple images highlighting the diseases defects. The proposed MCET-GSK has been tested for experimental purposes over different images and compared with various metaheuristics. The experiments were conducted to provide evidence of the GSK’s optimization capabilities by performing the Wilcoxon test and applying a set of metrics to verify the quality of the segmented images. The experimental results validate the performance of the MCET-GSK in the segmentation of apple images by adequately separating the regions with damage produced by a disease. The quality of the segmentation is superior compared with other similar approaches.
Similar content being viewed by others
References
Abd Elaziz M, Sarkar U, Nag S, Hinojosa S, Oliva D (2020) Improving image thresholding by the type II fuzzy entropy and a hybrid optimization algorithm. Soft Comput 24(19):14885–14905
Abdel-Basset M, Chang V, Mohamed R (2021) A novel equilibrium optimization algorithm for multi-thresholding image segmentation problems. Neural Comput Appl 33(17):10685–10718
Agrawal S, Panda R, Bhuyan S, Panigrahi BK (2013) Tsallis entropy based optimal multilevel thresholding using cuckoo search algorithm. Swarm Evolut Comput 11:16–30
Akay B (2013) A study on particle swarm optimization and artificial bee colony algorithms for multilevel thresholding. Appl Soft Comput 13(6):3066–3091
Aranguren I, Valdivia A, Pérez MA (2020) Segmentation of magnetic resonance brain images through the self-adaptive differential evolution algorithm and the minimum cross-entropy criterion. In: Oliva D, Hinojosa S (eds) Applications of Hybrid Metaheuristic Algorithms for Image Processing. Studies in Computational Intelligence, vol 890. Springer, Cham. https://doi.org/10.1007/978-3-030-40977-7_1
Awate A, Deshmankar D, Amrutkar G, Bagul U, Sonavane S (2015) Fruit disease detection using color, texture analysis and ANN. In: 2015 International Conference on Green Computing and Internet of Things (ICGCIOT). IEEE, pp. 970–975
Beyer H-G, Schwefel H-P (2002) Evolution strategies-a comprehensive introduction. Nat Comput 1(1):3–52
Brunet D, Vrscay ER, Wang Z (2011) On the mathematical properties of the structural similarity index. IEEE Trans Image Process 21(4):1488–1499
Cebulj A, Cunja V, Mikulic-Petkovsek M, Veberic R (2017) Importance of metabolite distribution in apple fruit. Sci Hortic 214:214–220
Chakraborty F, Roy PK, Nandi D (2019) Oppositional elephant herding optimization with dynamic cauchy mutation for multilevel image thresholding. Evolut Intell 12(3):445–467
Chouksey M, Jha RK, Sharma R (2020) A fast technique for image segmentation based on two meta-heuristic algorithms. Multimed Tools Appl 79:19075–19127. https://doi.org/10.1007/s11042-019-08138-3
Cuevas E, Cienfuegos M, Zaldivar D, Pérez-Cisneros M (2013) A swarm optimization algorithm inspired in the behavior of the social-spider. Expert Syst Appl 40(16):6374–6384
Dhal KG, Ray S, Das A, Gálvez J, Das S (2019) Fuzzy multi-level color satellite image segmentation using nature-inspired optimizers: a comparative study. J Indian Soc Remote Sens 47(8):1391–1415
Díaz-Cortés M-A, Ortega-Sánchez N, Hinojosa S, Oliva D, Cuevas E, Rojas R, Demin A (2018) A multi-level thresholding method for breast thermograms analysis using dragonfly algorithm. Infrared Phys Technol 93:346–361
Dubey SR, Jalal AS (2016) Apple disease classification using color, texture and shape features from images. Signal Image Video Process 10(5):819–826
FAO FAOSTAT (2017) http://www.fao.org/faostat/en/-data/qc. Food and agriculture organization of the United Nations (FAO)
Fausto F, Cuevas E, Valdivia A, González A (2017) A global optimization algorithm inspired in the behavior of selfish herds. Biosystems 160:39–55
Feng Q, Dongxia L, Bingda S, Liu R, Zhanhong M, Haiguang W (2016) Identification of alfalfa leaf diseases using image recognition technology. PLoS One 11(12):e0168274
Goldberg DE, Holland JH (1988) Genetic algorithms and machine learning
Hartman J (2010) Apple fruit diseases appearing at harvest. Plant Pathology Fact Sheet, College of Agriculture, University of Kentucky
Heidari AA, Mirjalili S, Faris H, Aljarah I, Mafarja M, Chen H (2019) Harris hawks optimization: algorithm and applications. Future Gener Comput Syst 97:849–872
Hinojosa S, Dhal KG, Elaziz MA, Oliva D, Cuevas E (2018) Entropy-based imagery segmentation for breast histology using the stochastic fractal search. Neurocomputing 321:201–215
Hinojosa S, Oliva D, Cuevas E, Pérez-Cisneros M, Pájares G (2018b) Real-time video thresholding using evolutionary techniques and cross entropy. In: 2018 IEEE Conference on Evolving and Adaptive Intelligent Systems (EAIS). IEEE, pp. 1–8
Hinojosa S, Pajares G, Cuevas E, Ortega-Sanchez N (2018c) Thermal image segmentation using evolutionary computation techniques. In: Hassanien A, Oliva D (eds) Advances in soft computing and machine learning in image processing. Studies in Computational Intelligence, vol 730. Springer, Cham. https://doi.org/10.1007/978-3-319-63754-9_4
Hinojosa S, Oliva D, Cuevas E, Pajares G, Zaldivar D, Pérez-Cisneros M (2019) Reducing overlapped pixels: a multi-objective color thresholding approach. Soft Comput 24(9):6787–6807
Horng M-H (2011) Multilevel thresholding selection based on the artificial bee colony algorithm for image segmentation. Expert Syst Appl 38(11):13785–13791
Islam M, Dinh A, Wahid K, Bhowmik P (2017) Detection of potato diseases using image segmentation and multiclass support vector machine. In: 2017 IEEE 30th Canadian conference on electrical and computer engineering (CCECE). IEEE, pp. 1–4
Jia H, Lang C, Oliva D, Song W, Peng X (2019) Dynamic Harris hawks optimization with mutation mechanism for satellite image segmentation. Remote Sens 11(12):1421
Jia H, Lang C, Oliva D, Song W, Peng X (2019) Hybrid grasshopper optimization algorithm and differential evolution for multilevel satellite image segmentation. Remote Sens 11(9):1134
Jia H, Peng X, Song W, Oliva D, Lang C, Li Y (2019) Masi entropy for satellite color image segmentation using tournament-based lévy multiverse optimization algorithm. Remote Sens 11(8):942
Karaboga D, Basturk B (2007) A powerful and efficient algorithm for numerical function optimization: artificial bee colony (abc) algorithm. J Glob Optim 39(3):459–471
Kennedy J, Eberhart R (1995) Particle swarm optimization. In: IEEE international of first conference on neural networks
Kullback S (1968) Information theory and statistics. Courier Corporation, North Chelmsford
Li CH, Lee CK (1993) Minimum cross entropy thresholding. Pattern Recognit 26(4):617–625
Maciel O, Cuevas E, Navarro MA, Zaldívar D, Hinojosa S (2020) Side-blotched lizard algorithm: a polymorphic population approach. Appl Soft Comput 88:106039
Mahdavi M, Fesanghary M, Damangir E (2007) An improved harmony search algorithm for solving optimization problems. Appl Math Comput 188(2):1567–1579
Mirjalili S (2016) SCA: a sine cosine algorithm for solving optimization problems. Knowl Based Syst 96:120–133
Mizushima A, Renfu L (2013) An image segmentation method for apple sorting and grading using support vector machine and Otsu’s method. Comput Electron Agric 94:29–37
Musacchi S, Serra S (2018) Apple fruit quality: overview on pre-harvest factors. Sci Hortic 234:409–430
Navarro MA, Hernández GR, Zaldívar D, Ortega-Sanchez N, Pajares G (2020) Segmentation of thermal images using metaheuristic algorithms for failure detection on electronic systems. In: Oliva D, Hinojosa S (eds) Applications of Hybrid Metaheuristic Algorithms for Image Processing. Studies in Computational Intelligence, vol 890. Springer, Cham. https://doi.org/10.1007/978-3-030-40977-7_1
Oliva D, Hinojosa S, Cuevas E, Pajares G, Avalos O, Gálvez J (2017) Cross entropy based thresholding for magnetic resonance brain images using crow search algorithm. Expert Syst Appl 79:164–180
Oliva D, Elaziz MA, Hinojosa S (2019) Metaheuristic algorithms for image segmentation: theory and applications, vol 825. Springer, Berlin
Ouyang C, Li D, Wang J, Wang S, Han Yu (2013) The research of the strawberry disease identification based on image processing and pattern recognition. In: Li D, Chen Y (eds) Computer and computing technologies in agriculture VI. Springer Berlin Heidelberg, Berlin, pp 69–77 (ISBN 978-3-642-36124-1)
Primitivo D, Alma R, Erik C, Arturo V, Edgar C, Marco P-C, Daniel Z (2019) A hybrid method for blood vessel segmentation in images. Biocybern Biomed Eng 39(3):814–824
Rajan P, Radhakrishnan B, Suresh LP (2016) Detection and classification of pests from crop images using support vector machine. In: 2016 international conference on emerging technological trends (ICETT). IEEE, pp. 1–6
Ramos-Soto O, Rodríguez-Esparza E, Balderas-Mata SE, Oliva D, Hassanien AE, Meleppat RK, Zawadzki RJ (2021) An efficient retinal blood vessel segmentation in eye fundus images by using optimized top-hat and homomorphic filtering. Comput Methods Prog Biomed 201:105949
Rodríguez-Esparza E, Zanella-Calzada LA, Oliva D, Hinojosa S, Pérez-Cisneros M (2019) Multilevel segmentation for automatic detection of malignant masses in digital mammograms based on threshold comparison. In: 2019 IEEE Latin American Conference on Computational Intelligence (LA-CCI). IEEE, pp. 1–6
Rodríguez-Esparza E, Zanella-Calzada LA, Oliva D, Heidari AA, Zaldivar D, Pérez-Cisneros M, Foong LK (2020a) An efficient Harris hawks-inspired image segmentation method. Expert Syst Appl 155:113428
Rodríguez-Esparza E, Zanella-Calzada LA, Oliva D, érez-Cisneros MP (2020b) Automatic detection and classification of abnormal tissues on digital mammograms based on a bag-of-visual-words approach. In: Medical Imaging 2020: computer-Aided Diagnosis, vol. 11314. International Society for Optics and Photonics, p. 1131424
Samajpati BJ, Degadwala SD (2016) Hybrid approach for apple fruit diseases detection and classification using random forest classifier. In: 2016 International Conference on Communication and Signal Processing (ICCSP). IEEE, pp. 1015–1019
Singh A, Shiv J, Dubey R (2012) Adapted approach for fruit disease identification using images. Int J Comput Vis Image Process (IJCVIP) 20:317–330. https://doi.org/10.4018/ijcvip.2012070104
Sindhi K, Pandya J, Vegad S (2016) Quality evaluation of apple fruit: a survey. Int J Comput Appl 975:8887
Storn R, Price K (1997) Differential evolution-a simple and efficient heuristic for global optimization over continuous spaces. J Glob Optim 11(4):341–359
Sun M, Wei H (2020) An improved cuckoo search algorithm for multi-level gray-scale image thresholding. Multimed Tools Appl 79(47):34993–35016
Vishnoi S, Jain AK, Sharma PK (2021) An efficient nuclei segmentation method based on roulette wheel whale optimization and fuzzy clustering. Evol Intel 14:1367–1378. https://doi.org/10.1007/s12065-019-00288-5
Wagdy MA, Hadi Anas A, Khater MA (2019) Gaining-sharing knowledge based algorithm for solving optimization problems: a novel nature-inspired algorithm. Int J Mach Learn Cybern 11(7):1501–1529
Wang Y, Zhang G, Zhang X (2019) Multilevel image thresholding using tsallis entropy and cooperative pigeon-inspired optimization bionic algorithm. J Bionic Eng 16(5):954–964
Wolpert DH, Macready WG et al (1997) No free lunch theorems for optimization. IEEE Trans Evolut Comput 1(1):67–82
Xu L, Jia H, Lang C, Peng X, Sun K (2019) A novel method for multilevel color image segmentation based on dragonfly algorithm and differential evolution. IEEE Access 7:19502–19538
Yang X-S (2010) Firefly algorithm, stochastic test functions and design optimisation. arXiv preprint arXiv:1003.1409
Yin P-Y (2007) Multilevel minimum cross entropy threshold selection based on particle swarm optimization. Appl Math Comput 184(2):503–513
Zhang L, Zhang L, Mou X, Zhang D (2011) FSIM: a feature similarity index for image quality assessment. IEEE Trans Image Process 20(8):2378–2386
Author information
Authors and Affiliations
Corresponding authors
Ethics declarations
Conflict of interest
It is to specifically state that “No Competing interests are at stake and there is No Conflict of Interest” with other people or organizations that could inappropriately influence or bias the content of the paper.
Human and animal rights
This article does not contain any studies with human participants or animals performed by any of the authors.
Additional information
Publisher's Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Rights and permissions
About this article
Cite this article
Ortega-Sánchez, N., Rodríguez-Esparza, E., Oliva, D. et al. Identification of apple diseases in digital images by using the Gaining-sharing knowledge-based algorithm for multilevel thresholding. Soft Comput 26, 2587–2623 (2022). https://doi.org/10.1007/s00500-021-06418-5
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s00500-021-06418-5