Abstract
The correct identification of potato cultivars is of great importance for both processing and cultivation due to differences in properties. The objective of this study was to discriminate potato cultivars “Irga”, “Riviera” and “Colomba” using models developed based on selected textures of tuber images converted to color channels R, G, B, L, a, b, X, Y, Z, U, V. The highest accuracies of cultivar identification of potato tubers reached 99% for the IBk classifier and 98% for Multilayer Perceptron. The developed models can be used to avoid mixing potato cultivars. Postharvest cultivar authentication can contribute to providing consumers with high-quality products.
1. Introduction
Potatoes (Solanum tuberosum L.) are one of the most important staple foods. Potato tubers contain carbohydrates, phenolic compounds, fiber, minerals and vitamins. Potatoes provide phenolics and antioxidants. Due to its chemical composition, potato is characterized by potential health benefits including anti-carcinogenic, anti-diabetic, or anti-inflammatory effects. However, the cultivars bred for prioritizing high yield can have a lower content of micronutrients and worse taste. To avoid consumer complaints, potato cultivars with high quality and desirable flavors should be selected [1]. The cultivar influences potato quality and safety. The potato cultivars available on the market differ in properties. However, some potato cultivars can contain morphologically similar tubers, but with different qualities. The sorting of potato tubers requires classifying them into cultivars. The precise identification of cultivars often requires a destructive, expensive and time-consuming approach. The prevention of falsification of potatoes in retail marketing can be facilitated by the development of robust, rapid, and universal techniques for potato cultivar classification [2].
Potato cultivars may differ in chemical, physical, sensory and functional properties [3,4]. Individual cultivars may be characterized by differences in texture, color, size and shape. These features may be evaluated manually by experts using visual observation. However, the evaluation is subjective, labor-intensive, time-consuming and requires empirical knowledge [5]. The capability of artificial vision systems goes beyond human capacity. Artificial systems substitute human inspection and improve its capability [6]. Computer vision provides an objective, non-destructive, fast and accurate evaluation of quality characteristics. Therefore, computer vision can be successfully used for cultivar identification, as well as shape classification, quality grading and defect detection. Machine vision is used to recognize vegetables effectively [7]. However, in some cases, the application of deep learning can improve the accuracy of image recognition [8]. Based on the available literature, machine learning algorithms were used, e.g., for the cultivar identification of whole potato tubers [9,10], as well as the cultivar discrimination of raw and processed flesh (slices) of potato [11].
As potato cultivars may differ in chemical, physical, sensory and functional properties, the correct identification of potato cultivars is of great importance for both processing and cultivation. The application of machine learning enables non-destructive, objective, repeatability and inexpensive quality evaluation. The objective of this study was to discriminate potato cultivars using models developed based on textures of tuber images.
2. Materials and Methods
The potatoes belonging to cultivars “Irga”, “Riviera” and “Colomba” were harvested from fields located in Poland. The washed, cleaned and air-dried tubers of each cultivar were imaged using a digital camera in one hundred repetitions. The potato tubers were imaged against a black background. The images were processed using the Mazda application (Łódź University of Technology, Institute of Electronics, Łódź, Poland) [12]. The acquired images were converted to color channels R, G, B, L, a, b, X, Y, Z, U, V. Due to the use of a black background, segmentation was facilitated, and the lighter tubers were separated from the background. Each tuber was a single region of interest (ROI). For each ROI (potato tuber image), about two thousand texture parameters based on the run-length matrix, co-occurrence matrix, autoregressive model, gradient map, histogram and Haar wavelet transform were computed. The discrimination analysis of potato tubers belonging to three cultivars was performed using the WEKA 3.8.4 machine learning application (Machine Learning Group, University of Waikato, Hamilton, New Zealand) [13,14]. The attributes with the highest discriminative power were selected using the Best First with the CFS subset evaluator, Linear Forward Selection, Genetic Search and the Ranker in conjunction with OneR attribute evaluator. The selected textures were used to build discriminative models. Several models with a different number of textures were tested using the classifiers from the groups of Lazy, Functions, Rules, Trees, Bayes and Meta [15]. In the case of each model, the average accuracy (%), TP Rate—True Positive Rate, FP Rate—False Positive Rate, Precision, F-Measure and ROC Area—Receiver Operating Characteristic Area were determined.
3. Results and Discussion
The most successful model included 29 selected attributes (1 from color channel R, 2 from channel G, 1 from channel B, 7 from channel a, 2 from channel b, 1 from channel X, 3 from channel Z, 2 from channel U, 10 from channel V). No texture from images converted to color channels L and Y was included in the model.
The highest average accuracy of cultivar identification of potato tubers reached 99% for the IBk classifier from the group of Lazy (Table 1). The values of TP Rate (0.987), Precision (0.987) and F-Measure (0.987) were the highest. The value of FP Rate was the lowest and was equal to 0.007. The Multilayer Perceptron (Functions) classified potato tubers “Irga”, “Riviera” and “Colomba” with an average accuracy equal to 98%. Additionally, correct classifications (97%) were obtained for models built using the PART (Rules), J48, LMT and Random Forest (Trees) and Logistic (Functions) classifiers. Slightly lower accuracies were obtained for models developed using the Bayes Net (Bayes) (96%) and Logit Boost (Meta) (95%) classifiers. In the case of the Logit Boost classifier, the TP Rate, Precision and F-Measure were characterized by the lowest value of 0.947. Whereas the FP Rate (0.027) was the highest (Table 1).
Table 1.
The results of potato cultivar discrimination of “Irga”, “Riviera” and “Colomba” using the model built based on selected textures of tuber images converted to individual color channels.
The developed models discriminated three potato cultivars with high average accuracies. The results were very satisfactory. Due to this, the models can be used in practice for postharvest cultivar authentication and avoid mixing potato cultivars. It can contribute to providing consumers with high-quality food products, including only potato tubers belonging to cultivars with desired properties.
4. Conclusions
Applying machine learning allowed us to determine three potato cultivars based on the tuber texture parameters with a very high correctness of up to 99%. The effectiveness of image-based techniques for distinguishing different potato cultivars has been proven. Therefore, the results can be of great practical importance. The models can be used for postharvest authentication of potato cultivars to provide consumers with products containing ingredients with desirable properties. As a result, the products will be of a high quality.
Funding
This research received no external funding.
Institutional Review Board Statement
Not applicable.
Informed Consent Statement
Not applicable.
Data Availability Statement
The data presented in this study are available on request from the corresponding author.
Conflicts of Interest
The author declares no conflict of interest.
References
- Yang, H.; Liao, Q.; Ma, L.; Luo, W.; Xiong, X.; Luo, Y.; Yang, X.; Du, C.; He, Y.; Li, X.; et al. Features and genetic basis of chlorogenic acid formation in diploid potatoes. Food Chem. Mol. Sci. 2021, 3, 100039. [Google Scholar] [CrossRef] [PubMed]
- Kasampalis, D.S.; Tsouvaltzis, P.; Ntouros, K.; Gertsis, A.; Moshou, D.; Siomos, A.S. Rapid Nondestructive Postharvest Potato Freshness and Cultivar Discrimination Assessment. Appl. Sci. 2021, 11, 2630. [Google Scholar] [CrossRef]
- Pardo, J.E.; Alvarruiz, A.; Perez, J.I.; Gomez, R.; Varon, R. Physical-chemical and sensory quality evaluation of potato varieties (Solanum tuberosum L.). J. Food Qual. 2000, 23, 149–160. [Google Scholar] [CrossRef]
- Mbougueng, P.D.; Dzudie, T.; Scher, J.; Tchiégang, C. Physicochemical and functional properties of some cultivars of Irish potato and cassava starches. J. Food Technol. 2008, 6, 139–146. [Google Scholar]
- Yamamoto, K.; Ninomiya, S.; Kimura, Y.; Hashimoto, A.; Yoshioka, Y.; Kameoka, T. Strawberry cultivar identification and quality evaluation on the basis of multiple fruit appearance features. Comput. Electron. Agric. 2015, 110, 233–240. [Google Scholar] [CrossRef] [Green Version]
- Cubero, S.; Aleixos, N.; Moltó, E.; Gómez-Sanchis, J.; Blasco, J. Advances in Machine Vision Applications for Automatic Inspection and Quality Evaluation of Fruits and Vegetables. Food Bioprocess Technol. 2011, 4, 487–504. [Google Scholar]
- Brosnan, T.; Sun, D.-W. Improving quality inspection of food products by computer vision—A review. J. Food Eng. 2004, 61, 3–16. [Google Scholar] [CrossRef]
- Oishi, Y.; Habaragamuwa, H.; Zhang, Y.; Sugiura, R.; Asano, K.; Akai, K.; Shibata, H.; Fujimoto, T. Automated abnormal potato plant detection system using deep learning models and portable video cameras. Int. J. Appl. Earth Obs. Geoinf. 2021, 104, 102509. [Google Scholar] [CrossRef]
- Przybył, K.; Górna, K.; Wojcieszak, D.; Czekała, W.; Ludwiczak, A.; Przybylak, A.; Boniecki, P.; Koszela, K.; Zaborowicz, M.; Janczak, D.; et al. The recognition of potato varieties using neural image analysis method. In Proceedings of the Seventh International Conference on Digital Image Processing: ICDIP 2015, Proc of SPIE, Los Angeles, CA, USA, 9–10 April 2015 ; Volume 9631, p. 963116. [Google Scholar]
- Azizi, A.; Abbaspour-Gilandeh, Y. Identifying Irregular Potatoes by Developing an Intelligent Algorithm Based on Image Processing. Tarim Bilimleri Derg. J. Agric. Sci. 2016, 22, 32–41. [Google Scholar]
- Ropelewska, E. Effect of boiling on classification performance of potatoes determined by computer vision. Eur. Food Res. Technol. 2021, 247, 807–817. [Google Scholar] [CrossRef]
- Szczypinski, P.M.; Strzelecki, M.; Materka, A.; Klepaczko, A. MaZda—A software package for image texture analysis. Comput. Meth. Prog. Biomed. 2009, 94, 66–76. [Google Scholar] [CrossRef] [PubMed]
- Bouckaert, R.R.; Frank, E.; Hall, M.; Kirkby, R.; Reutemann, P.; Seewald, A.; Scuse, D. WEKA Manual for Version 3-9-1; The University of Waikato: Hamilton, New Zealand, 2016. [Google Scholar]
- Frank, E.; Hall, M.A.; Witten, I.H. The WEKA Workbench. Online Appendix for Data Mining: Practical Machine Learning Tools and Techniques, 4th ed.; Morgan Kaufmann: Burlington, MA, USA, 2016. [Google Scholar]
- Witten, I.H.; Frank, E. Data mining. In Practical Machine Learning Tools and Techniques, 2nd ed.; Elsevier: San Francisco, CA, USA, 2005. [Google Scholar]
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations. |
© 2022 by the author. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).