Next Article in Journal
Partial Elimination of Viruses from Traditional Potato Cultivar ‘Brinjak’ by Chemotherapy and Its Impact on Physiology and Yield Components
Next Article in Special Issue
An Economic Comparison of High Tunnel and Open-Field Strawberry Production in Southeastern Virginia
Previous Article in Journal
Comparative Study of Four Jackfruit Genotypes: Morphology, Physiology and Physicochemical Characterization
Previous Article in Special Issue
Foliar Application of Some Macronutrients and Micronutrients Improves Yield and Fruit Quality of Highbush Blueberry (Vaccinium corymbosum L.)
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Quality Assessment of Dried White Mulberry (Morus alba L.) Using Machine Vision

1
Mechanical Engineering of Biosystems Department, Urmia University, Urmia 5756151818, Iran
2
Mechanical Engineering of Biosystems Department, Ilam University, Ilam 6939177111, Iran
3
Department of Biosystems Engineering, University of Manitoba, Winnipeg, MB R3T 5V6, Canada
*
Author to whom correspondence should be addressed.
Horticulturae 2022, 8(11), 1011; https://doi.org/10.3390/horticulturae8111011
Submission received: 27 September 2022 / Revised: 26 October 2022 / Accepted: 27 October 2022 / Published: 1 November 2022
(This article belongs to the Special Issue Berry Crops Production: Cultivation, Breeding and Health Benefits)

Abstract

:
Over the past decade, the fresh white mulberry (Morus alba L.) fruit has gained growing interest due to its superior health and nutritional characteristics. While white mulberry is consumed as fresh fruit in several countries, it is also popular in dried form as a healthy snack food. One of the main challenges that have prevented a wider consumer uptake of this nutritious fruit is the non-uniformity in its quality grading. Therefore, identifying a reliable quality grading tool can greatly benefit the relevant stakeholders. The present research addresses this need by developing a novel machine vision system that combines the key strengths of image processing and artificial intelligence. Two grades (i.e., high- and low-quality) of white mulberry were imaged using a digital camera and 285 colour and textural features were extracted from their RGB images. Using the quadratic sequential feature selection method, a subset of 23 optimum features was identified to classify samples into two grades using artificial neural networks (ANN) and support vector machine (SVM) classifiers. The developed system under both classifiers achieved the highest correct classification rate (CCR) of 100%. Indeed, the latter approach offered a smaller mean squared error for the training and test sets. The developed model’s high accuracy confirms the machine vision’s suitability as a reliable, low-cost, rapid, and intelligent tool for quality monitoring of dried white mulberry.

1. Introduction

With an increasing demand for healthy and nutritious agri-food products, berries have gained a lot of interest around the globe. For instance, the global import value of fresh mulberries, raspberries, loganberries, and blackberries has risen from USD 1.7 billion in 2014 to USD 3.8 billion in 2021. The top five importers of berries above include the United States, Germany, Canada, United Kingdom, and Spain, with 43%, 10%, 9%, 9%, and 6% of the global market import, respectively [1].
Among berry fruits, white mulberry is of great interest as it contains carbohydrates, protein, fiber, fat, vitamins and minerals [2,3]. Moreover, the phenolic compounds of white mulberry have a wide range of antioxidant and antimutagenic activities and anti-cancer properties [3,4,5].
White mulberry can be consumed both in fresh or dried form (as a healthy snack food) [4]. However, the main challenge the industry is facing in trading this nutritious fruit, specifically in its dried form, is the inconsistency in its quality grading due to a lack of well-developed tools. The quality of the fresh fruit and the drying conditions are the main factors that determine the dried white mulberry quality. High-quality products usually have negligible damaged/broken components and are milky in colour. In contrast, lower-quality dried samples have several damaged/broken/smashed pieces and are darker in colour. The industry’s common approach for grading dried mulberry is a visual inspection conducted by skilled personnel. However, manual assessment is time-consuming, expensive, and a subjective task. Therefore, developing a rapid and intelligent grading tool can benefit the industry and provide consistent quality to consumers.
Quality monitoring is an important step in production to achieve high-marketability products with optimum use of resources [6]. Over the past decade, the potential of optical and machine vision techniques for agri-food products’ quality monitoring has remarkably progressed [7,8,9,10,11,12,13,14]. For instance, machine vision systems have been utilized for the evaluation of agri-food products’ maturity levels [15,16], mechanical damage [17,18,19], soundness [20,21,22], growth parameters [18,23], and grading [24,25,26].
The most frequently used machine vision tools have been imaging- or spectroscopic-based systems [27,28]. The former offers lower costs, while the latter has the capability to explore a sample’s chemical constituents. Indeed, the majority of developed models have been sample- and application-specific due to the nature of the products. So, each product and/or application needs its own calibration and algorithm tools [16].
Scholars have demonstrated the application of imaging-based machine vision tools for the maturity evaluation of various products, including fresh white mulberry [29]. However, despite several agri-food products being extensively researched for non-destructive quality determination, our thorough literature review indicates that there has been no attempt to explore machine vision for the quality evaluation of dried mulberry. The present work aims to fill this knowledge gap by developing a novel machine vision system that combines the key strengths of image processing and artificial intelligence. The authors believe the outcome of the present study can open new horizons toward automating mulberry quality monitoring.

2. Materials and Methods

2.1. Samples

The dried white mulberry (Morus alba L.) (Figure 1a) product was purchased from a local market in Marivan City, Kurdistan, Iran. A panel of experts manually graded the samples into two grades (i.e., high- and low-quality) (Figure 1b) based on the appearance of the product. A total of 100 representative samples were selected for this study (50 samples for each grade).

2.2. Image Acquisition

The individual samples were placed on white paper to be imaged (see Figure 1c) using a digital camera (model J7, Samsung Corp., Seoul, Korea). The camera’s resolution was 13 MP.

2.3. Image Processing

The image processing steps involved preprocessing, feature extraction and feature analysis. Figure 2 depicts the proposed algorithm’s different steps, which will be discussed in further detail later. The image analysis was performed in MATLAB (Version 2016a, Mathworks Inc., Waltham, MA, USA).

2.3.1. Image Preprocessing

To separate the object’s image from the background, the acquired RGB (Red Green Blue) images were processed using Equation (1) (empirical equation):
B I = R 0.5 G 0.5 B
where BI is a monocolour image [30,31], and R, G, and B are the channels of the sample image in RGB colour space, respectively. The obtained BI images were converted to binary (black and white) images to form binary masks. Erosion and dilation operations were employed for noise removal. The initial RGB images were multiplied by the binary masks to select regions of interest (ROI).

2.3.2. Feature Extraction

The successful use of various colour and texture features in agri-food quality evaluation has been previously demonstrated [29,32]. Herein, a similar approach to [16] was utilized. First, the images in RGB colour space were transferred to six other colour spaces, including L*a*b*, HSV, NRGB, CrCgCb, I1I2I3, and gray level spaces [25,30,33,34]. Detailed information about the provided colour spaces and the corresponding individual channels are available elsewhere [30,35,36,37]. The data of utilized colour spaces were recorded from 19 channels, including R, G, B, L*, a*, b*, H, S, V, nr, ng, nb, cr, cg, cb, I1, I2, I3, and gray level [16].
From the colour spaces mentioned above, 10 colour features were calculated, namely maximum, mean, minimum, mode, median, standard deviation, coefficient of variation, kurtosis, skewness, and covariance [15,31,35,38]. Moreover, from the gray-level co-occurrence matrix (GLCM) of ROI images, 5 texture features were calculated, namely energy, entropy, correlation, homogeneity and contrast [25,30,34]. Overall, for each sample, 285 features were recorded (15 features × 19 channels).

2.3.3. Feature Analysis

2.3.3.1. Feature Selection

It is well-established that when dealing with large data sets, feature selection could reduce computational time and power while enhancing efficiency. This work employed a quadratic-based sequential feature selection method according to [16,30,31,34,39] to identify optimum features among the available 285 features (see Section 2.3.2).

2.3.3.2. Feature Classification

Shallow artificial neural networks (ANNs) [40,41,42,43] and support vector machine (SVM) methods [38] were used to classify the fruit into two classes: high- and low-quality.
The ANN structure consisted of three (viz. input, hidden and target) layers. The number of optimum features (Section 2.3.3.1) and desired classes (i.e., high- and low-quality mulberry) determined the number of neurons in the input and target layer, respectively. The number of neurons in the hidden layer varied from 2 to 20 to identify the optimum structure. The activation functions for the hidden and target layers were tangent sigmoid and pure line, respectively [16]. The data were randomly divided into three groups: 60% for training, 20% for validation, and 20% for testing. Two main measures were evaluated to assess the performance of various ANN-based classifiers: the correlation coefficient (R) and correct classification rate (CCR).
In the case of the SVM classifier, the data were divided into two groups: 75% for training and 25% for testing. The results of the SVM method were compared with that of ANN in terms of CCR and mean squared error (MSE).

3. Results

3.1. Feature Set Optimization

Using the feature selection algorithm (Section 2.3.3.1), 23 out of 285 features were identified as optimum. As seen in Table 1, the mean values of the optimum features were substantially different for high- and low-quality mulberry. These optimum features were used as the inputs of the ANN classifiers.

3.2. Feature Classification

Table 2 shows the performance of different ANN structures discussed in Section 2.3.3.2. The best performance was achieved under the 23-14-2 structure (the three numbers represent the neurons in the input, hidden, and output layers, respectively). The CCR for training, validation, testing and entire data set under the 23-14-2 structure was 100%. The correlation coefficient for the training, validation and the whole data set was 1.
The confusion matrices of the optimum model for training, validation, testing, and the whole data set are presented in Table 3. The optimum classifier can successfully discriminate different grades of the dried white mulberry in all data sets.
Figure 3 shows the MSE of the optimum classifier model in the validation step. This figure gave the minimum value of the mean squared error as 0.00066 after six epochs. The MSEs for training and test set at the same epoch were around 0.000005 and 0.01, respectively. Figure 4 illustrates the regression lines of the optimum classifier model for training, validation, testing, and the whole data set. The correlation coefficients of the classifier for all datasets were in excess of 0.996, except for the test data set (0.985).
The results of the SVM classifier for training, testing, and the whole data set have been presented in Table 4. It is apparent that the two grades can be distinguished by 100 % accuracy. The MSE values of the classification model for training, testing, and the whole data set were 0.013, 0.040, and 0.01, respectively.

4. Discussion

Our results confirm the imaging-based machine vision tool’s capability for rapid quality monitoring of dried white mulberry. Both SVM and ANN classifiers provided 100% accuracy in distinguishing the high- and low-quality dried mulberry. Indeed, the latter approach can be considered superior as it offers lower MSE.
To the best of our knowledge, the present work is the first effort at quality monitoring of dried white mulberry using a low-cost machine vision system. The obtained results are in reasonable agreement with similar maturity classifiers reported by Kheiralipour et al. [16] and Salam et al. [31]. We believe the proposed system is useful for improving product marketability by sending high-quality products with uniform colour and texture to the target markets. Moreover, the system is beneficial from a waste management perspective by sending the lower-quality products to special processing units, which can be used as input for different products, such as pet foods. Hence, this research can be very useful in enhancing the postharvest quality determination and processing of the white mulberry fruit.
To improve the reliability of the developed model, future works need to evaluate the performance of the proposed intelligent algorithms on larger datasets. Acquiring more datasets may be achieved by imaging more samples or through implementing data augmentation tools such as Generative Adversarial Networks (GANs) [44].
To facilitate the uptake of the developed machine vision tool by farmers and industry stakeholders, the system should segregate the samples according to their quality parameters in a rapid and real-time manner. One strategy to reach such a goal is to integrate the imaging tools into an intelligent conveyer belt-based classifier system, similar to the one proposed by Azarmdel et al. [29]. Hence, another potential topic for future research could be to evaluate the performance of the proposed machine vision tools on such an opto-electro-mechanical system [29]. Once a reliable performance is achieved, the system can be integrated into the mulberry drying industry for quality control and optimization.
One should note that the capital costs associated with the proposed quality assessment system may be the main prohibiting factor for the farmers and industry to uptake the mentioned technology. However, the return on such extra capital cost, especially for commercial installations will be faster processing, improved classification accuracy, and the need for fewer human personnel. Thus, it can be considered a safe, short-run return and reasonable investment, which may even qualify for government subsidies in some jurisdictions.
Ultimately, one should consider that while the developed image processing algorithm in the present research are sample-specific, they can be modified to apply to other similar fruit such as figs (Ficus carica) and other berries. Moreover, upon further modifications and optimization, the proposed model may be able to classify fruits according to other quality characteristics such as soundness and maturity levels.

5. Conclusions

A rapid, low-cost, non-destructive machine vision-based approach was developed to assess the quality of dried white mulberry samples. Using SVM and ANN classifiers, the samples were classified into two grades (i.e., high- and low-quality) with 100% correct classification accuracy. The mean squared error of the test set for the aforementioned classifiers were 0.04 and 0.01, respectively, indicating the better performance of the ANN classifier.
Considering the promising performance of the proposed machine vision system, the future effort should focus on adopting the proposed technology to develop an opto-electro-mechanical system that can operate in real-time and at an industrial scale. Upon modification and optimization, such systems will enable rapid and automated grading of mulberry (or similar fruits) based on various characteristics such as appearance, soundness and maturity levels.

Author Contributions

Conceptualization, A.H. and K.K.; methodology, A.H. and K.K.; software, K.K.; formal analysis, K.K. and M.N.; investigation A.H. and K.K.; resources, A.H. and K.K.; data curation, A.H. and K.K.; writing-original draft preparation, A.H. and K.K.; writing—review and editing, M.N., J.P.; project administration, A.H., K.K., M.N., J.P.; funding acquisition, A.H., K.K., M.N., and J.P. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by the Natural Sciences and Engineering Research Council of Canada (NSERC) grant number RGPIN-2021-03350. The authors also would like to thank the financial support provided by Ilam University, and Urmia University.

Data Availability Statement

The data that support the findings of this study are available from the corresponding authors, upon reasonable request.

Conflicts of Interest

The authors declare that they have no known competing financial interest or personal relationships that could have appeared to influence the work reported in this paper.

References

  1. Tridge. Available online: https://www.tridge.com/trades/081020-raspberry-blackberry-mulberry-and-loganberry-fresh/import (accessed on 20 September 2022).
  2. Singhal, B.K.; Khan, M.A.; Dhar, A.; Baqual, F.M.; Bindroo, B.B. Approaches to industrial exploitation of mulberry (Mulberry sp.) fruits. J. Fruit Ornam. Plant Res. 2010, 18, 83–99. [Google Scholar]
  3. Malgorzata, L. Energy and nutritional properties of the white mulberry (Morus alba L.). J. Agric. Sci. Technol. 2015, A5, 709–716. [Google Scholar]
  4. Elhamirad, A.H. Optimization of juice clarification of two native white mulberry (Morus alba) varieties. Iran. J. Innov. Food Sci. Technol. 2013, 5, 91–103. [Google Scholar]
  5. Yuan, Q.; Zhao, L. The Mulberry (Morus alba L.) Fruit-A Review of Characteristic Components and Health Benefits. J. Agric. Food Chem. 2017, 65, 10383–10394. [Google Scholar] [CrossRef] [PubMed]
  6. Kheiralipour, K. Sustainable Production: Definitions, Aspects, and Elements, 1st ed.; Nova Science Publisher: Hauppauge, NY, USA, 2022. [Google Scholar]
  7. Erkinbaev, C.; Nadimi, M.; Paliwal, J. A unified heuristic approach to simultaneously detect fusarium and ergot damage in wheat. Meas. Food 2022, 7, 100043. [Google Scholar] [CrossRef]
  8. Karunakaran, C.; Visen, N.S.; Paliwal, J.; Zhang, G.; Jayas, D.S.; White, N.D.G. Machine Vision Systems for Agricultural Products. In Introduction to Advanced Food Process Engineering; Sahu, J.K., Boca Raton, F.L., Eds.; Taylor & Francis Group: Oxfordshire, England, 2014. [Google Scholar]
  9. Kumar Mahanti, N.; Pandiselvam, R.; Kothakota, A.; Ishwarya, P.S.; Kumar Chakraborty, S.; Kumar, M.; Cozzolino, D. Emerging non-destructive imaging techniques for fruit damage detection: Image processing and analysis. Trends Food Sci. Technol. 2022, 120, 418–438. [Google Scholar] [CrossRef]
  10. Li, X.; Guillermic, R.M.; Nadimi, M.; Paliwal, J.; Koksel, F. Physical and microstructural quality of extruded snacks made from blends of barley and green lentil flours. Cereal Chem. 2022, 99, 1112–1123. [Google Scholar] [CrossRef]
  11. Nadimi, M.; Sun, D.W.; Paliwal, J. Recent applications of novel laser techniques for enhancing agricultural production. Laser Phys. 2021, 31, 053001. [Google Scholar] [CrossRef]
  12. Pathmanaban, P.; Gnanavel, B.K. Sundaram Anandan, S.Recent application of imaging techniques for fruit quality assessment. Trends Food Sci. Technol. 2019, 94, 32–42. [Google Scholar] [CrossRef]
  13. Rafiq, A.; Makroo, H.A.; Hazarika, M.K. Artificial Neural Network-Based Image Analysis for Evaluation of Quality Attributes of Agricultural Produce. J. Food Process. Preserv. 2016, 40, 1010–1019. [Google Scholar] [CrossRef]
  14. Sivakumar, C.; Chaudhry, M.M.A.; Nadimi, M.; Paliwal, J.; Courcelles, J. Characterization of roller and Ferkar-milled pulse flours using laser diffraction and scanning electron microscopy. Powder Technol. 2022, 409, 117803. [Google Scholar] [CrossRef]
  15. Mohammadi, V.; Kheiralipour, K.; Ghasemi Varnamkhasti, M. Detecting maturity of persimmon fruit based on image processing technique. Sci. Hortic. 2015, 184, 123–128. [Google Scholar] [CrossRef]
  16. Kheiralipour, K.; Nadimi, M.; Paliwal, J. Development of an Intelligent Imaging System for Ripeness Determination of Wild Pistachios. Sensors 2022, 22, 7134. [Google Scholar] [CrossRef] [PubMed]
  17. Nadimi, M.; Loewen, G.; Paliwal, J. Assessment of mechanical damage to flaxseeds using radiographic imaging and tomography. Smart Agric. Technol. 2022, 2, 100057. [Google Scholar] [CrossRef]
  18. Nadimi, M.; Sun, D.W.; Paliwal, J. Effect of laser biostimulation on germination of wheat. Appl. Eng. Agric. 2022, 38, 77–84. [Google Scholar] [CrossRef]
  19. Nadimi, M.; Divyanth, L.G.; Paliwal, J. Automated detection of mechanical damage in flaxseeds using radiographic imaging and machine learning. Foods Bioprocess Technol. 2022; In Press. [Google Scholar]
  20. Kheiralipour, K.; Ahmadi, H.; Rajabipour, A.; Rafiee Javan-Nikkhah MJayas, D.S.; Siliveu, K. Detection of fungal infection in pistachio kernel by long-wave near-infrared hyperspectral imaging technique. Qual. Assur. Saf. Crops Foods 2015, 8, 129–135. [Google Scholar] [CrossRef]
  21. Kheiralipour, K.; Ahmadi, H.; Rajabipour, A.; Rafiee, S.; Javan-Nikkhah, M.; Jayas, D.S.; Siliveu, K.; Malihipour, A. Processing the hyperspectral images for detecting infection of pistachio kernel by R5 and KK11 isolates of Aspergillus flavus fungus. Iran. J. Biosyst. Eng. 2021, 52, 13–25. [Google Scholar]
  22. Nadimi, M.; Brown, J.M.; Morrison, J.; Paliwal, J. Examination of wheat kernels for the presence of Fusarium damage and mycotoxins using near-infrared hyperspectral imaging. Meas. Food 2021, 4, 100011. [Google Scholar] [CrossRef]
  23. Nadimi, M.; Loewen, G.; Bhowmik, P.; Paliwal, J. Effect of laser biostimulation on germination of sub-optimally stored flaxseeds (Linum usitatissimum). Sustainability 2022, 14, 12183. [Google Scholar] [CrossRef]
  24. Kheiralipour, K.; Pormah, A. Introducing new shape features for classification of cucumber fruit based on image processing technique and artificial neural networks. J. Food Process Eng. 2017, 40, e12558. [Google Scholar] [CrossRef]
  25. Jahanbakhshi, A.; Kheiralipour, K. Evaluation of image processing technique and discriminant analysis methods in postharvest processing of carrot fruit. Food Sci. Nutr. 2020, 8, 3346–3352. [Google Scholar] [CrossRef] [PubMed]
  26. Kheiralipour, K.; Kazemi, A. A new method to determine morphological properties of fruits and vegetables by image processing technique and nonlinear multivariate modeling. Int. J. Food Prop. 2020, 23, 368–374. [Google Scholar] [CrossRef] [Green Version]
  27. Vadivambal, R.; Jayas, D.S. Bio-Imaging: Principles, Techniques, and Applications, 1st ed.; CRC Press: Boca Raton, FL, USA, 2018. [Google Scholar]
  28. Kheiralipour, K.; Ahmadi, H.; Rajabipour, A.; Rafiee, S. Thermal Imaging, Principles, Methods and Applications, 1st ed.; Ilam University Publication: Ilam, Iran, 2018. [Google Scholar]
  29. Azarmdel, H.; Jahanbakhshi, A.; Mohtasebi, S.S.; Rosado Muñoz, A. 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 Biol. Technol. 2020, 166, 111201. [Google Scholar] [CrossRef]
  30. Khazaee, Y.; Kheiralipour, K.; Hosainpour, A.; Javadikia, H.; Paliwal, J. Development of a Novel Image Analysis and Classification Algorithms to Separate Tubers from Clods and Stones. Potato Res. 2022, 65, 1–22. [Google Scholar] [CrossRef]
  31. Salam, S.; Kheiralipour, K.; Jian, J. Detection of Unripe Kernels and Foreign Materials in Chickpea Mixtures Using Image Processing. Agriculture 2022, 12, 995. [Google Scholar] [CrossRef]
  32. Sabzi, S.; Nadimi, M.; Abbaspour-Gilandeh, Y.; Paliwal, J. Non-Destructive Estimation of Physicochemical Properties and Detection of Ripeness Level of Apples Using Machine Vision. Int. J. Fruit Sci. 2022, 22, 628–645. [Google Scholar] [CrossRef]
  33. Gonzalez, R.; Woods, R. Digital Image Processing, 3rd ed.; Prentice-Hall: Hoboken, NJ, USA, 2007. [Google Scholar]
  34. Azadnia, R.; Kheiralipour, K. Evaluation of hawthorns maturity level by developing an automated machine learning-based algorithm. Ecol. Inform. 2022, 71, 101804. [Google Scholar] [CrossRef]
  35. Azadnia, R.; Kheiralipour, K. Recognition of leaves of different medicinal plant species using a robust image processing algorithm and artificial neural networks classifier. J. Appl. Res. Med. Aromat. Plants 2021, 25, 100327. [Google Scholar] [CrossRef]
  36. García-Mateos, G.; Hernández-Hernández, J.L.; Escarabajal-Henarejos, D.; Jaén-Terrones, S.; Molina-Martínez, J.M. Study and comparison of color models for automatic image analysis in irrigation management applications. Agric. Water Manag. 2015, 151, 158–166. [Google Scholar] [CrossRef]
  37. Chaves-González, J.M.; Vega-Rodríguez, M.A.; Gómez-Pulido, J.A.; Sánchez-Pérez, J.M. Detecting skin in face recognition systems: A colour spaces study. Digit. Signal Process. 2010, 20, 806–823. [Google Scholar] [CrossRef]
  38. Jahanbakhshi, A.; Kheiralipour, K. Carrot sorting based on shape using image processing, artificial neural network, and support vector machine. J. Agric. Mach. 2019, 9, 295–307. [Google Scholar]
  39. Available online: https://www.mathworks.com/help/stats/sequential-feature-selection.html (accessed on 14 October 2022).
  40. Kheiralipour, K. Implementation and Construction of a System for Detecting Fungal Infection of Pistachio Kernel Based on Thermal Imaging (TI) and Image Processing Technology. Ph.D. Dissertation, University of Tehran, Karaj, Iran, 2012. [Google Scholar]
  41. Williams, H.A.M.; Jones, M.H.; Nejati, M.; Seabright, M.J.; Bell, J.; Penhall, N.D.; Barnett, J.J.; Duke, M.D.; Scarfe, A.J.; Ahn, H.S.; et al. Robotic kiwifruit harvesting using machine vision, convolutional neural networks, and robotic arms. Biosyst. Eng. 2019, 181, 140–156. [Google Scholar] [CrossRef]
  42. Kheiralipour, K.; Ahmadi, H.; Rajabipour, A.; Rafiee, S.; Javan-Nikkhah, M. Classifying healthy and fungal infected-pistachio kernel by thermal imaging technology. Int. J. Food Prop. 2015, 18, 93–99. [Google Scholar] [CrossRef]
  43. Kheiralipour, K.; Marzbani, F. Pomegranate quality sorting by image processing and artificial neural network. In Proceedings of the 10th Iranian National Congress on AGR Machi Eng (Biosystems) and Mechanizasion, Mashhad, Iran, 30–31 August 2016. (In Persian). [Google Scholar]
  44. Divyanth, L.G.; Guru, D.S.; Soni, P.; Machavaram, R.; Nadimi, M.; Paliwal, J. Image-to-image translation-based data augmentation for improving crop/weed classification models for precision agriculture applications. Algorithms, 2022; in press. [Google Scholar] [CrossRef]
Figure 1. High- and low-quality dried white mulberry samples, (a) mixed combination, (b) manual grouping, and (c) magnified view of an individual sample.
Figure 1. High- and low-quality dried white mulberry samples, (a) mixed combination, (b) manual grouping, and (c) magnified view of an individual sample.
Horticulturae 08 01011 g001
Figure 2. The flowchart of the machine vision system.
Figure 2. The flowchart of the machine vision system.
Horticulturae 08 01011 g002
Figure 3. The mean squared error (MSE) of the optimum classifier model.
Figure 3. The mean squared error (MSE) of the optimum classifier model.
Horticulturae 08 01011 g003
Figure 4. The regression lines of the optimum classifier model. 1 and 2 refer to groups 1 and 2, respectively.
Figure 4. The regression lines of the optimum classifier model. 1 and 2 refer to groups 1 and 2, respectively.
Horticulturae 08 01011 g004
Table 1. The optimum features of dried white mulberry. Grades 1 and 2 represent high- and low-quality samples, respectively.
Table 1. The optimum features of dried white mulberry. Grades 1 and 2 represent high- and low-quality samples, respectively.
NoFeatureChannelMean
Grade 1Grade 2
1MeanGray0.480.35
2MedianGray0.480.34
3MeanR0.520.38
4Coefficient of variationR0.080.14
5MedianR0.520.38
6MeanG0.470.33
7MedianG0.470.33
8MeanB0.420.31
9KurtosisB3.685.58
10ModeB0.4170.30
11MeanL*74.4465.19
12Standard deviationL*2.803.82
13MedianL*74.7564.88
14SkewnessL*3.234.85
15Coefficient of variationL*8.0715.00
16ModeI10.480.32
17EntropyI31.300.19
18MedianH0.090.07
19MeanV0.520.38
20Standard deviationV0.040.05
21Coefficient of variationV0.080.14
22MedianV0.520.38
23ModeV0.530.37
Table 2. The developed ANN classification structures with their characteristics.
Table 2. The developed ANN classification structures with their characteristics.
No.StructureTraining DataValidation DataTesting DataTotal Data
R *CCR **RCCRRCCRRCCR
123-3-21.00100.001.00100.000.9095.000.9899.00
223-4-21.00100.001.00100.000.9095.000.9899.00
323-5-21.00100.001.00100.000.9095.000.9899.00
423-6-21.00100.001.00100.000.9095.000.9899.00
523-7-21.00100.001.00100.000.9095.000.9899.00
623-8-21.00100.001.00100.000.9095.000.9899.00
723-9-21.00100.001.00100.000.9095.000.9899.00
823-10-21.00100.001.00100.000.9295.000.9899.00
923-11-21.00100.000.99100.000.6995.000.9399.00
1023-12-21.00100.001.00100.000.7495.000.9499.00
1123-13-21.00100.001.00100.000.8695.000.9799.00
1223-14-21.00100.001.00100.000.99100.001.00100
1323-15-21.00100.001.00100.000.8795.000.9799.00
1423-16-21.00100.001.00100.000.81100.000.96100.00
1523-17-21.00100.001.00100.000.8795.000.9799.00
1623-18-21.00100.000.9290.000.6695.000.9097.00
1723-19-21.00100.001.00100.000.8495.000.9799.00
1823-20-21.00100.000.99100.000.8695.000.9799.00
* R represents the correlation coefficient. ** CCR represents the correct classification rate (%).
Table 3. The confusion matrix of the optimum classifier (ANN with 23-14-2 structure). Grades 1 and 2 represent the number of high- and low-quality samples, respectively.
Table 3. The confusion matrix of the optimum classifier (ANN with 23-14-2 structure). Grades 1 and 2 represent the number of high- and low-quality samples, respectively.
Data SetActualPredictedCCR
Grade 1Grade 2
TrainingGrade 1300100%
Grade 2030
ValidationGrade 1100100%
Grade 2010
TestingGrade 1100100%
Grade 2010
TotalGrade 1500100%
Grade 2050
Table 4. The confusion matrix of the SVM classifier. Grades 1 and 2 represent the number of high- and low-quality samples, respectively.
Table 4. The confusion matrix of the SVM classifier. Grades 1 and 2 represent the number of high- and low-quality samples, respectively.
Data SetActualPredictedCCR
Grade 1Grade 2
TrainingGrade 1380100%
Grade 2037
TestingGrade 1120100%
Grade 2013
TotalGrade 1500100%
Grade 2050
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Hosainpour, A.; Kheiralipour, K.; Nadimi, M.; Paliwal, J. Quality Assessment of Dried White Mulberry (Morus alba L.) Using Machine Vision. Horticulturae 2022, 8, 1011. https://doi.org/10.3390/horticulturae8111011

AMA Style

Hosainpour A, Kheiralipour K, Nadimi M, Paliwal J. Quality Assessment of Dried White Mulberry (Morus alba L.) Using Machine Vision. Horticulturae. 2022; 8(11):1011. https://doi.org/10.3390/horticulturae8111011

Chicago/Turabian Style

Hosainpour, Adel, Kamran Kheiralipour, Mohammad Nadimi, and Jitendra Paliwal. 2022. "Quality Assessment of Dried White Mulberry (Morus alba L.) Using Machine Vision" Horticulturae 8, no. 11: 1011. https://doi.org/10.3390/horticulturae8111011

APA Style

Hosainpour, A., Kheiralipour, K., Nadimi, M., & Paliwal, J. (2022). Quality Assessment of Dried White Mulberry (Morus alba L.) Using Machine Vision. Horticulturae, 8(11), 1011. https://doi.org/10.3390/horticulturae8111011

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop