Abstract
Purpose
The mechanical damage that occurs during harvesting, handling, and processing operations deteriorates the quality of seeds and reduces their commercial value. Therefore, the classification of mechanically damaged seeds in the seed lot is one of the most important seed quality assessment tasks in the seed industries. The conventional method of seed quality assessment in terms of mechanical damage is time-consuming and susceptible to human error. Therefore, a fast and effective seed quality assessment technique needs to be developed.
Methods
In the present study, an intelligent seed quality assessment method based on the artificial neural network-assisted image-processing approach was proposed for the real-time classification of the broken maize kernels from the whole maize kernels. Initially, the images of seed samples were captured, and the image-processing operations were performed to extract the morphological features of maize kernels. Afterward, the ant colony optimization (ACO) algorithm was applied to select the superior features. Finally, the multilayer perceptron neural network (MLPNN)-based classifier was used to identify the broken and whole maize kernels.
Results
The best classification performance was obtained with a 5–10-5–1 MLPNN classifier. The testing results revealed that the classification accuracy of 91.85% with an average processing time of 0.14 s per kernel was achieved with the proposed image-processing-assisted ANN classifier.
Conclusion
Hence, the proposed method appears promising and could be employed to design the real-time automated seed grading or sorting machines.
![](http://media.springernature.com/m312/springer-static/image/art%3A10.1007%2Fs42853-022-00173-7/MediaObjects/42853_2022_173_Fig1_HTML.png)
![](http://media.springernature.com/m312/springer-static/image/art%3A10.1007%2Fs42853-022-00173-7/MediaObjects/42853_2022_173_Fig2_HTML.png)
![](http://media.springernature.com/m312/springer-static/image/art%3A10.1007%2Fs42853-022-00173-7/MediaObjects/42853_2022_173_Fig3_HTML.png)
![](http://media.springernature.com/m312/springer-static/image/art%3A10.1007%2Fs42853-022-00173-7/MediaObjects/42853_2022_173_Fig4_HTML.png)
![](http://media.springernature.com/m312/springer-static/image/art%3A10.1007%2Fs42853-022-00173-7/MediaObjects/42853_2022_173_Fig5_HTML.png)
![](http://media.springernature.com/m312/springer-static/image/art%3A10.1007%2Fs42853-022-00173-7/MediaObjects/42853_2022_173_Fig6_HTML.png)
![](http://media.springernature.com/m312/springer-static/image/art%3A10.1007%2Fs42853-022-00173-7/MediaObjects/42853_2022_173_Fig7_HTML.png)
![](http://media.springernature.com/m312/springer-static/image/art%3A10.1007%2Fs42853-022-00173-7/MediaObjects/42853_2022_173_Fig8_HTML.png)
![](http://media.springernature.com/m312/springer-static/image/art%3A10.1007%2Fs42853-022-00173-7/MediaObjects/42853_2022_173_Fig9_HTML.png)
![](http://media.springernature.com/m312/springer-static/image/art%3A10.1007%2Fs42853-022-00173-7/MediaObjects/42853_2022_173_Fig10_HTML.png)
Similar content being viewed by others
References
Abbasgholipour, M., Omid, M., Keyhani, A., & Mohtasebi, S. S. (2011). Color image segmentation with genetic algorithm in a raisin sorting system based on machine vision in variable conditions. Expert Systems with Applications, 38(4), 3671–3678. https://doi.org/10.1016/j.eswa.2010.09.023
Ajlouni, A. O., & Sheta, A. F. (2010). A novel landmine detection process using Karhunen Loeve transform and marker-based watershed segmentation in IR images. International Journal of Signal and Imaging Systems Engineering, 3, 21–30. https://doi.org/10.1504/IJSISE.2010.034629
Al-Ani, A. (2007). Ant colony optimization for feature subset selection. International Journal of Computer and Information Engineering, 1(4), 999–1002. https://doi.org/10.1109/TENCON.2009.5395862
Azarmdel, H., Jahanbakhshi, A., Mohtasebi, S. S., & Muñoz, A. R. (2020). Evaluation of image processing technique as an expert system in mulberry fruit grading based on ripeness level using artificial neural networks (ANNs) and support vector machine (SVM). Postharvest Biology and Technology, 166, 111201. https://doi.org/10.1016/j.postharvbio.2020.111201
Beltramo, T., Ranzan, C., Hinrichs, J., & Hitzmann, B. (2016). Artificial neural network prediction of the biogas flow rate optimised with an ant colony algorithm. Biosystems Engineering, 143, 68–78. https://doi.org/10.1016/j.biosystemseng.2016.01.006
Beltramo, T., Klocke, M., & Hitzmann, B. (2019). Prediction of the biogas production using GA and ACO input features selection method for ANN model. Information Processing in Agriculture, 6(3), 349–356.
Boniecki, P., Koszela, K., Piekarska-Boniecka, H., Weres, J., Zaborowicz, M., Kujawa, S., Majewski, A., & Raba, B. (2015). Neural identification of selected apple pests. Computers and Electronics in Agriculture, 110, 9–16. https://doi.org/10.1016/j.compag.2014.09.013
Camargo, A., & Smith, J. S. (2009). An image-processing based algorithm to automatically identify plant disease visual symptoms. Biosystems Engineering, 102, 9–21. https://doi.org/10.1016/j.biosystemseng.2008.09.030
Cho, S. I., Lee, D. S., & Jeong, J. Y. (2002). Weed-plant discrimination by machine vision and artificial neural network. Biosystems Engineering, 83(3), 275–280. https://doi.org/10.1006/bioe.2002.0117
de Oliveira, E. M., Leme, D. S., Barbosa, B. H. G., Rodarte, M. P., & Pereira, R. G. F. A. (2016). A computer vision system for coffee beans classification based on computational intelligence techniques. Journal of Food Engineering, 171, 22–27.
Dorj, U., Lee, M., & Yun, S. (2017). An yield estimation in citrus orchards via fruit detection and counting using image processing. Computers and Electronics in Agriculture, 140, 103–112. https://doi.org/10.1016/j.compag.2017.05.019
Ebrahimi, E., Mollazade, K., & Babaei, S. (2014). Toward an automatic wheat purity measuring device: A machine vision-based neural networks-assisted imperialist competitive algorithm approach. Measurement, 55, 196–205. https://doi.org/10.1016/j.measurement.2014.05.003
Ehret, D. L., Hill, B. D., Helmer, T., & Edwards, D. R. (2011). Neural network modeling of greenhouse tomato yield, growth and water use from automated crop monitoring data. Computers and Electronics in Agriculture, 79(1), 82–89. https://doi.org/10.1016/j.compag.2011.07.013
Ganganagowdar, N. V., & Siddaramappa, H. K. (2016). Recognition and classification of White Wholes ( WW ) grade cashew kernel using artificial neural networks. Acta Scientiarum. Agronomy, 38(2), 145–155. https://doi.org/10.4025/actasciagron.v38i2.27861
Gu, R. L., Huang, R., Jia, G. Y., Yuan, Z. P., Ren, L. S., Li, L. I., & Wang, J. H. (2019). Effect of mechanical threshing on damage and vigor of maize seed threshed at different moisture contents. Journal of Integrative Agriculture, 18(7), 1571–1578. https://doi.org/10.1016/S2095-3119(18)62026-X
Hamuda, E., Ginley, B. M., Glavin, M., & Jones, E. (2017). Automatic crop detection under field conditions using the HSV colour space and morphological operations. Computers and Electronics in Agriculture, 133, 97–107. https://doi.org/10.1016/j.compag.2016.11.021
Jutras, P., Prasher, S. O., & Mehuys, G. R. (2009). Prediction of street tree morphological parameters using artificial neural networks. Computers and Electronics in Agriculture, 67, 9–17. https://doi.org/10.1016/j.compag.2009.02.008
Kabir, M. M., Shahjahan, M., & Murase, K. (2012). A new hybrid ant colony optimization algorithm for feature selection. Expert Systems with Applications, 39, 3747–3763. https://doi.org/10.1016/j.eswa.2011.09.073
Karimi, N., Kondrood, R. R., & Alizadeh, T. (2017). An intelligent system for quality measurement of Golden Bleached raisins using two comparative machine learning algorithms. Measurement, 107, 68–76. https://doi.org/10.1016/j.measurement.2017.05.009
Kurtulmus, F., Aliba, İ, & Kavdir, I. (2016). Classification of pepper seeds using machine vision based on neural network. International Journal of Agricultural and Biological Engineering, 9, 51–62. https://doi.org/10.3965/ijabe.v9i1.1790
Liao, K., Paulsen, M. R., & Reid, J. F. (1994). Real-time detection of colour and surface defects of maize kernels using machine vision. Journal of Agricultural Engineering Research, 59(4), 263–271. https://doi.org/10.1006/jaer.1994.1085
Makky, M., & Soni, P. (2013). Development of an automatic grading machine for oil palm fresh fruits bunches (FFBs) based on machine vision. Computers and Electronics in Agriculture, 93, 129–139. https://doi.org/10.1016/j.compag.2013.02.008
Mazen, F. M., & Nashat, A. A. (2019). Ripeness classification of bananas using an artificial neural network. Arabian Journal for Science and Engineering, 44(8), 6901–6910. https://doi.org/10.1007/s13369-018-03695-5
Meyer, F., & Beucher, S. (1990). Morphological segmentation. Journal of Visual Communication and Image Representation, 1(1), 21–46. https://doi.org/10.1016/1047-3203(90)90014-M
Mollazade, K., Omid, M., & Arefi, A. (2012). Comparing data mining classifiers for grading raisins based on visual features. Computers and Electronics in Agriculture, 84, 124–131. https://doi.org/10.1016/j.compag.2012.03.004
Niedbała, G. (2019). Simple model based on artificial neural network for early prediction and simulation winter rapeseed yield. Journal of Integrative Agriculture, 18, 54–61. https://doi.org/10.1016/S2095-3119(18)62110-0
Omid, M. (2011). Design of an expert system for sorting pistachio nuts through decision tree and fuzzy logic classifier. Expert Systems with Applications, 38(4), 4339–4347. https://doi.org/10.1016/j.eswa.2010.09.103
Omid, M., Mahmoudi, A., & Omid, M. H. (2010). Development of pistachio sorting system using principal component analysis (PCA) assisted artificial neural network (ANN) of impact acoustics. Expert Systems with Applications, 37, 7205–7212. https://doi.org/10.1016/j.eswa.2010.04.008
Pareek, C. M., Tewari, V. K., Machavaram, R., & Nare, B. (2021). Optimizing the seed-cell filling performance of an inclined plate seed metering device using integrated ANN-PSO approach. Artificial Intelligence in Agriculture, 5, 1–12. https://doi.org/10.1016/j.aiia.2020.11.002
Pareek, C. M., Tewari, V. K., & Machavaram, R. (2023). Multi-objective optimization of seeding performance of a pneumatic precision seed metering device using integrated ANN-MOPSO approach. Engineering Applications of Artificial Intelligence, 117, 105559. https://doi.org/10.1016/j.engappai.2022.105559
Qin, Y., Wang, W., Liu, W., & Yuan, N. (2013). Extended-maxima transform watershed segmentation algorithm for touching corn kernels. Advances in Mechanical Engineering, 5, 268046. https://doi.org/10.1155/2013/268046
Ramesh, S., & Vydeki, D. (2019). Recognition and classification of paddy leaf diseases using optimized deep neural network with Jaya algorithm. Information Processing in Agriculture, 7, 249–260. https://doi.org/10.1016/j.inpa.2019.09.002
Roy, S. M., Tanveer, M., Gupta, D., Pareek, C. M., & Mal, B. C. (2021a). Prediction of standard aeration efficiency of a propeller diffused aeration system using response surface methodology and an artificial neural network. Water Supply, 21(8), 4534–4547. https://doi.org/10.2166/ws.2021.199
Roy, S. M., Pareek, C. M., Machavaram, R., & Mukherjee, C. K. (2021b). Optimizing the aeration performance of a perforated pooled circular stepped cascade aerator using hybrid ANN-PSO technique. Information Processing in Agriculture. https://doi.org/10.1016/j.inpa.2021.09.002
Shahbazi, F. (2012). A study on the seed susceptibility of wheat (Triticum aestivum L.) cultivars to impact damage. Journal of Agricultural Science and Technology, 14(3), 505–512.
Sharma, A., Tuzel, O., & Jacobs, D.W. (2015). Deep hierarchical parsing for semantic segmentation. In Proceedings of the IEEE conference on computer vision and pattern recognition (pp. 530–538). https://doi.org/10.1109/CVPR.2015.7298651
Shin, J. S., Lee, W. S., & Ehsani, R. (2012). Postharvest citrus mass and size estimation using a logistic classification model and a watershed algorithm. Biosystems Engineering, 113(1), 42–53. https://doi.org/10.1016/j.biosystemseng.2012.06.005
Singh, N., Tewari, V. K., Biswas, P. K., Pareek, C. M., & Dhruw, L. K. (2021). Image processing algorithms for in-field cotton boll detection in natural lighting conditions. Artificial Intelligence in Agriculture, 5, 142–156. https://doi.org/10.1016/j.aiia.2021.07.002
Singh, N., Tewari, V. K., Biswas, P. K., Dhruw, L. K., Pareek, C. M., & Singh, H. D. (2022). Semantic segmentation of in-field cotton bolls from the sky using deep convolutional neural networks. Smart Agricultural Technology, 2, 100045. https://doi.org/10.1016/j.atech.2022.100045
Sivagaminathan, R. K., & Ramakrishnan, S. (2007). A hybrid approach for feature subset selection using neural networks and ant colony optimization. Expert Systems with Applications, 33(1), 49–60. https://doi.org/10.1016/j.eswa.2006.04.010
Soares, J. D. R., Pasqual, M., Lacerda, W. S., Silva, S. O., & Donato, S. L. R. (2013). Utilization of artificial neural networks in the prediction of the bunches’ weight in banana plants. Scientia Horticulturae, 155, 24–29. https://doi.org/10.1016/j.scienta.2013.01.026
Tan, S., Ma, X., Mai, Z., Qi, L., & Wang, Y. (2019). Segmentation and counting algorithm for touching hybrid rice grains. Computers and Electronics in Agriculture, 162, 493–504. https://doi.org/10.1016/j.compag.2019.04.030
Teimouri, N., Omid, M., Mollazade, K., & Rajabipour, A. (2014). A novel artificial neural networks assisted segmentation algorithm for discriminating almond nut and shell from background and shadow. Computers and Electronics in Agriculture, 105, 34–43. https://doi.org/10.1016/j.compag.2014.04.008
Tewari, V. K., Pareek, C. M., Lal, G., Dhruw, L. K., & Singh, N. (2020). Image processing based real-time variable-rate chemical spraying system for disease control in paddy crop. Artificial Intelligence in Agriculture, 4, 21–30. https://doi.org/10.1016/j.aiia.2020.01.002
United States Department of Agriculture. (2021). World Agricultural Production [Data file]. Retrieved June 19, 2021, from https://www.fas.usda.gov/data/world-agricultural-production
Visen, N. S., Paliwal, J., Jayas, D. S., & White, N. D. G. (2002). Specialist neural networks for cereal grain classification. Biosystems Engineering, 82(2), 151–159. https://doi.org/10.1006/bioe.2002.0064
Wu, A., Zhu, J., Yang, Y., Liu, X., Wang, X., Wang, L., Zhang, H., & Chen, J. (2018). Classification of corn kernels grades using image analysis and support vector machine. Advances in Mechanical Engineering, 10(12), 1–9. https://doi.org/10.1177/1687814018817642
Yusof, R., Khalid, M., & Anis, A. S. (2013). Application of kernel-genetic algorithm as nonlinear feature selection in tropical wood species recognition system. Computers and Electronics in Agriculture, 93, 68–77. https://doi.org/10.1016/j.compag.2013.01.007
Zareiforoush, H., Minaei, S., Alizadeh, M. R., & Banakar, A. (2016). Qualitative classification of milled rice grains using computer vision and metaheuristic techniques. Journal of Food Science and Technology, 53(1), 118–131. https://doi.org/10.1007/s13197-015-1947-4
Zayas, I., Converse, H., & Steele, J. (1990). Discrimination of whole from broken kernels with image analysis. Transactions of the ASAE, 33(5), 1642–1646.
Zhong, Q., Zhou, P., Yao, Q., & Mao, K. (2009). A novel segmentation algorithm for clustered slender-particles. Computers and Electronics in Agriculture, 69(2), 118–127. https://doi.org/10.1016/j.compag.2009.06.015
Zieliński, A., Ptak, A., Wójtowicz, T., & Moś, M. (2014). Susceptibility of naked oat cultivar seeds to mechanical damage. Central European Journal of Biology, 9(3), 331–340. https://doi.org/10.2478/s11535-014-0306-1
Author information
Authors and Affiliations
Corresponding authors
Ethics declarations
Competing Interests
The authors declare no competing interests.
Rights and permissions
Springer Nature or its licensor (e.g. a society or other partner) holds exclusive rights to this article under a publishing agreement with the author(s) or other rightsholder(s); author self-archiving of the accepted manuscript version of this article is solely governed by the terms of such publishing agreement and applicable law.
About this article
Cite this article
Pareek, C.M., Singh, N., Tewari, V.K. et al. Classification of Broken Maize Kernels Using Artificial Neural Network-Assisted Image-Processing Approach. J. Biosyst. Eng. 48, 55–68 (2023). https://doi.org/10.1007/s42853-022-00173-7
Received:
Revised:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s42853-022-00173-7