Next Article in Journal
Organic Fertilization Enhances Microbial-Mediated Dissolved Organic Matter Composition and Transformation in Paddy Soil
Previous Article in Journal
How Do Spectral Scales and Machine Learning Affect SPAD Monitoring at Different Growth Stages of Winter Wheat?
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Comprehensive Quality Analysis of Common Vetch (Vicia sativa L.) Varieties Using Image Processing Techniques and Artificial Intelligence

1
Department of Agricultural Machinery and Technologies Engineering, Faculty of Agriculture, Ankara University, Ankara 06050, Turkey
2
Department of Field Crops, Faculty of Agriculture, Erciyes University, Kayseri 38030, Turkey
3
Mechanical Engineering of Biosystems Department, Faculty of Agriculture, Lorestan University, Khorramabad 68891, Iran
4
Department of Biosystems Engineering, Faculty of Environmental and Mechanical Engineering, Poznań University of Life Sciences, Wojska Polskiego 50, 60-627 Poznań, Poland
*
Authors to whom correspondence should be addressed.
Agriculture 2025, 15(23), 2411; https://doi.org/10.3390/agriculture15232411 (registering DOI)
Submission received: 22 September 2025 / Revised: 4 November 2025 / Accepted: 14 November 2025 / Published: 22 November 2025
(This article belongs to the Topic Digital Agriculture, Smart Farming and Crop Monitoring)

Abstract

Common vetch (Vicia sativa L.) is a cool-season annual legume cultivated for grain and forage, valued for its high nutrient content, broad edaphoclimatic adaptability, and suitability for crop rotations. Physical seed attributes are critical for variety classification, quality evaluation, and breeding selection. This study aimed to characterize the nutritional composition, mineral contents, and physical attributes of nine common vetch varieties and to assess the feasibility of binary variety classification using supervised machine learning (ML). Proximate analyses (e.g., crude protein, tannin), macro/micro minerals, and morpho-physical seed descriptors were determined. Multivariate and discriminant analyses were conducted. Binary classifiers were developed with a multilayer perceptron (MLP) and random forest (RF) under stratified 10-fold cross-validation. The highest values were observed for crude protein (22.66%, Alper), ADF (11.36%, Alınoğlu), NDF (16.47%, Alperen), and tannin (3.12%, Alınoğlu). For mineral profiles, Alper, Ankara Moru, and Doruk emerged as prominent varieties. In pairwise discrimination, Ankara Moru vs. Ayaz achieved 89% (MLP) and 90% (RF) accuracy, followed by Ankara Moru vs. Özveren with 88% (MLP) and 90.50% (RF). These results demonstrate that MLP and RF can classify common vetch varieties from physical attributes with high reliability. Integrating compositional, mineral, and morpho-physical data with supervised learning provides an objective, low-cost pathway for variety identification. The approach has direct implications for quality assessment, planting system design, and breeding. Future work should expand datasets, incorporate color-rich/hyperspectral cues, and compare feature-based models with domain-adapted deep learning on larger, multi-site collections.

1. Introduction

The genus Vicia L. is a member of the tribe Fabeae of the subfamily Papilionoideae, comprising approximately 150–210 species distributed primarily across North America, Asia, Europe, tropical Africa, and the temperate regions of South America [1,2]. The greatest specific diversity occurs in Northwest Asia and Türkiye, where fifty-nine vetch species have been identified [3]. Among these, common vetch (Vicia sativa L.) is a self-pollinated annual herbaceous plant cultivated for hay, silage, green manure, cover crops, and pasture [4]. It also serves as a valuable feed source in animal production due to its high protein and mineral content [5], with seeds containing 15–33.7% crude protein [6]. Numerous studies have investigated the mineral and protein composition of common vetch [6,7,8], though these traits are influenced by genetic factors and environmental conditions [9,10].
Morphological and dimensional characteristics are significant quality indicators of seeds, essential for engineering equipment design and operations such as seed categorization and quality evaluation. Maintaining seed quality, detecting impurities, and optimizing production are vital for agricultural research and quality control [11,12]. Computer vision (CV) and machine learning (ML) technologies have largely supplanted traditional visual inspection methods, which are often prone to errors and inefficiencies. These modern approaches significantly enhance accuracy and efficiency [13]. By leveraging color, texture, and shape features, classification outcomes have improved markedly, enabling more effective agricultural quality control and streamlined production processes [14,15].
ML provides effective tools for developing precise and reliable classifiers for seed classification. Techniques include artificial neural networks (ANNs), decision trees (DT), logistic regression (LR), fuzzy logic (FL), and genetic algorithms (GAs). ML offers non-linear models capable of predicting feature relationships between input and output layers, typically employed for accurate identification of descriptive attributes in quality assessments [16]. Physical properties can be measured and analyzed using image processing techniques to extract relevant features for classification. Algorithms such as support vector machine (SVM), K-nearest neighbor (KNN), random forest (RF), and multilayer perceptron (MLP) have shown promising results in seed classification tasks [17].
Recent advances in integrating physical measurements with ML algorithms have significantly enhanced data analysis capabilities in agricultural science, food technology, and material characterization. ML models have been used to process spectral and morphological data for classification and prediction tasks with high accuracy [18]. Studies have classified seeds of pepper [19,20], watermelon [21], sunflower [22,23], and wheat [24]. Additionally, ref. [25] employed MLP, RF, Bayes Net (BN), and Logit Boost (LB) algorithms to distinguish six maize seed varieties, with MLP achieving 98.6–99.8% accuracy. Ref. [26] used RF and MLP for binary classification of tomato varieties, obtaining accuracies of 74.50–97.00% for MLP and 79.50–96.25% for RF. Ref. [27] classified soybean seeds using NB, MLP, RF, and SVM, discriminating Traksoy and Ceyhan varieties with 90% accuracy (RF) and 89% (MLP). Ref. [28] classified five rice varieties using KNN, MLP, RF, SVM, LR, and DT, with RF achieving the highest average accuracy (98.04%) using shape and morphological features. However, no studies have combined ML and image processing for vetch seed classification using size and shape characteristics. This study aims to develop binary classification models using MLP and RF algorithms to classify nine common vetch varieties based on size and shape characteristics. The innovative aspect lies in the binary classification of common vetch seeds using comparable physical characteristics through classical analytical methods and ML approaches.

2. Materials and Methods

Nine registered varieties of common vetch seeds were used in this study. Table 1 details the institutions and locations where these varieties were cultivated. Varieties sourced from the Aegean and Mediterranean regions experience mild winters and hot, dry summers, with rainfall mainly during winter months (‘Alper’, ‘Ayaz’, ‘Doruk’, ‘Özveren’). The Tekirdağ and Ankara regions have a continental climate with hot summers and cold winters (‘Alınolu’, ‘Ankara Moru’, ‘Ayaz’, Alperen’, ‘Kristal 2020’). The selected varieties are widely used in Turkey and worldwide and possess similar morphological characteristics, enabling testing of subtle variety-specific distinctions in a realistic manner.

2.1. Determination of Nutritional Properties and Macro-Micro Mineral Content

Seeds were ground using a mill with a 1 mm sieve diameter, and nutritional analyses were conducted in the laboratories of Field Crops and Biosystems Engineering at Erciyes University. Samples were dried at 70 °C for 120 h before grinding. Crude protein analysis followed [29], NDF (%) according to [30], and ADF (%) according to [31]. For NDF, 0.5 g samples were weighed into filter bags, processed in an ANKOM 200 Fiber Analyzer, washed, soaked in acetone for 15 min, dried at 105 °C for 3 h, and weighed. ADF analysis followed a similar procedure. For both, the bag tare, adjusted by a blank factor representing weight change in empty bags under identical conditions, was subtracted from the final bag + residue weight; the residue mass was divided by the initial sample mass (dry matter basis) and multiplied by 100. For tannin analysis, 0.01 g samples were placed in screw-capped tubes, mixed with 6 mL tannin solution, boiled for 1 h, cooled on ice, and absorbance read at 550 nm using a spectrophotometer (UV-vis 1800 Shimadzu, Japan). Absorbance values at 500 nm were recorded, and results calculated as mg catechin/g dry sample using a catechin calibration curve (y = 0.0056x + 0.0193) [32]. Ca, K, P, Mg, Mn, Na, Zn, Fe, B, and Cu contents were determined using ICP-OES (Perkin-Elmer Optima 2100 DV, ICP/OES, Shelton, Connecticut CT 06484-4794, USA) after wet digestion with nitric acid–hydrogen peroxide.

2.2. Determination of the Physical Attributes

Sample mass was determined using a precision electronic scale (Ohaus Adventurer AX224, Australia Eastern Creek NSW, ±0.001 g). The image acquisition system included a digital CCD camera (Nikon D5600, Japan), lens (Nikon AF-S Nikkor, Japan), tripod (Slik Able 300HC Pro, Japan), and lighting apparatus (Life of photo Led 770, China). Seeds were affixed to white cardboard using double-sided adhesive tape and photographed under sufficient light to avoid shadows (Figure 1). The camera was positioned vertically 50 cm high. A ruler on a fiberglass plate established a dimensional calibration (pixels per millimeter). Images were stored as *.tiff files. Using SigmaScan®Pro 5.0 and Matlab R2024a software, physical characteristics were measured in horizontal and vertical orientations: length (L, mm), width (W, mm), thickness (T, mm), projected area (PA, mm2), equivalent diameter (ED, mm), perimeter (P, mm), shape factor (SF, mm), and compactness (C, %). Formulas were used to determine volume (V, mm3, volume of ellipse), density (ρ, g cm−3, m/V), shape index (SI) [33], roundness (R) [34], geometric mean diameter (Dg, mm) [35], surface area (S, mm2) [34], elongation (E) [36], and sphericity (φ, %) [35]. Figure 2 illustrates the segmentation process: background removal, grayscale conversion, inversion, and final cleanup using morphological operations and removal of objects <100 pixels (threshold determined experimentally).

2.3. Binary Classification by ML

Classification was performed using Weka® v3.9 software on a laptop (Core i7-12650H, 4.70 GHz, 16 GB DDR4 RAM). Binary classification utilized mass, shape, and size features. To develop a low-cost, interpretable model, RF (providing variable importance) and MLP (capturing non-linear decision boundaries) were selected. SVM was also included. Given the limited data size, the study focused on an evidence-based comparison of these paradigms, considering overfitting risks and computational cost, rather than claiming universality. The proposed method offers an economically viable solution implementable with common equipment and software.
Min-max normalization scaled values between 0 and 1. No additional feature selection or reduction was applied. A total of 11,700 data points were used. Model performance was evaluated using 10-fold cross-validation, confusion matrices, and performance metrics. The MLP model employed a 13-11-9 structure. RF models used 100 iterations. Hyperparameters were as follows:
MLP: batchSize: 100; debug: False; doNotCheckCapabilities: False; decay: False; hiddenLayers: ((attribs + classes)/2); normalizeNumericClass: True; momentum: 0.2; learningRate: 0.3; normalizeAttributes: True; NominalToBinaryFilter: True; validationThreshold: 20; trainingTime: 500; activation function: sigmoid; seed: 0.
RF: batchSize: 100; number of trees: 100; tree depth: none; breakTiesRandomly: False; doNotCheckCapabilities: False; debug: False; numExecutionSlots: 1; numIterations: 100; seed: 1.
SVM: batchSize: 100; buildCalibrationModels: False; calibrator: Logistic; doNotCheckCapabilities: False; epsilon: 1.0 × 10−12; filterType: Normalize training data; kernel: PolyKernel; numFolds: −1; randomSeed: 1; toleranceParameter: 0.001.
Inputs were mass, volume, length, width, thickness, geometric mean diameter, projected area, surface area, sphericity, SI, roundness, aspect ratio, and elongation. Outputs represented the nine different varieties. Inputs were derived from physical/morphometric features, not raw images. Given the limited data size and computational cost, no feature selection or dimensionality reduction was applied to avoid overfitting.

2.4. Evaluation of Models

Classifier performance was evaluated using precision, F-measure (F1), PRC area, ROC area, true positive rate (TPR), and accuracy, calculated via Equations (1)–(6) [37].
P r e c i s i o n = T P / ( T P + F P )
F M e a s u r e   ( o r   F 1 ) = 2 T P / ( 2 T P + F P + F N )
P R C   A r e a = A r e a   U n d e r   P r e c i s i o n   v s .   T P R   C u r v e
R O C   A r e a = A r e a   U n d e r   T P R   v s .   F P R   C u r v e
A c c u r a c y = ( T P + T N ) / ( T P + F P + T N + F N )
T P R = T P / ( T P + F N )

2.5. Multivariate Analysis

One-way ANOVA and Tukey’s test (p < 0.05) determined significant differences. Linear discriminant analysis centroids were used for scatter plots. MANOVA and Hotelling’s pairwise comparisons with Bonferroni correction and squared Mahalanobis distances assessed similarity/dissimilarity across varieties. Analyses used PAST v3.20 and SPSS v20.0. ROC curve data were consolidated into a single response variable to compare classification methods statistically [38,39]. The area under the ROC curve (0–1) served as a performance metric [40], with values near 1 indicating optimal discrimination.

3. Results and Discussion

3.1. Nutritional Properties and Macro–Micro Mineral Content of Different Varieties of Vetch

Crude protein content among common vetch varieties is shown in Table 2. Alper had the highest protein content (22.66%), while Kristal 2020 had the lowest (14.69%). Significant variations were observed. Common vetch, as a legume, contains substantial crude protein. Ref. [6] reported 15–33.7% crude protein across 388 accessions from Turkey and Middle Eastern countries. Ref. [9] found an average of 342 g/kg in 44 European accessions, with NDF and ADF averages of 121 and 69.8 g/kg dry matter, respectively. Ref. [41] reported 347–374 g/kg on the Tibetan Plateau. Ref. [42] reported 299–323 g/kg in 14 accessions from Serbia. In this study, NDF ranged from 9.57% to 16.47%, and ADF from 8.19% to 11.36%. Ref. [41] reported NDF and ADF ranges of 207–229 g/kg and 59.5–68.8 g/kg dry matter, respectively.
Tannins can have beneficial or detrimental effects depending on animal species, physiological state, and consumption levels [43]. Tannin concentrations ranged from 0.48% to 3.12%, exceeding the 0.13–1.07% reported by [44] for various vetch species. High tannin levels can reduce feed intake and protein/fiber digestion, affecting animal production [45], though low to moderate condensed tannin (20–45 g/kg) can improve feed utilization efficiency [46].
Macro elements ranged as follows: Ca (1220.49–2267.34 mg/kg), K (5061–7674.08 mg/kg), Mg (971.09–1448.73 mg/kg), P (4163.81–5697.81 mg/kg), and S (1258.39–1678.47 mg/kg) (Table 3). Ref. [5] reported Ca, K, Mg, and P as 0.94–1.20, 9.69–9.98, 2.20–2.66, and 1.63–3.96 g/kg, respectively; ref. [6] reported 610–1973 mg/kg, 0.98–1.51%, 1139–2129 mg/kg, and 3657–6010 mg/kg. The Ca:P ratio in feed should be 1:1 to 2:1 [47]; here, it varied between 0.28 and 0.52, similar to the 0.24 and 0.73 reported by [5]. Micro elements ranged: B (3.22–5 mg/kg), Cu (62.6–93.49 mg/kg), Fe (37.61–78.17 mg/kg), Mn (12.43–22.56 mg/kg), Zn (30.67–49.31 mg/kg). Cu concentrations exceeded those reported by [9] (5.16 mg/kg), [5] (3.37–8.77 mg/kg), and [6] (1.3–16.7 mg/kg). Fe values were similar to [9] (59.90 mg/kg). Mn and Zn contents aligned with [5]. Variations may arise from plant type, grain maturity at harvest, and environmental factors [41,48].

3.2. Seed Physical Attributes of the Varieties

Physical properties are reported in Table 4. Ayaz had the greatest values for length (5.73 mm), width (5.13 mm), thickness (4.27 mm), volume (68.80 mm3), geometric mean diameter (5.00 mm), projection area (19.99 mm2), and surface area (79.97 mm2). Alınoğlu followed with high values for length (5.67 mm), volume (60.75 mm3), thickness (4.19 mm), surface area (74.48 mm2), geometric mean diameter (4.86 mm), and projection area (18.62 mm2). Alperen had the highest density (1.58 g cm−3), while Ürkmez had the lowest (1.07 g cm−3). Özveren had the second-highest width. Single seed mass was 0.08 g for Alperen, Alınoğlu, Ayaz, and Özveren; 0.07 g for Alper, Doruk, and Kristal; and 0.06 g for Ürkmez. Width varied between 5.73 and 5.02 mm. Alper had the lowest projection and surface areas (16.00 mm2 and 63.98 mm2, respectively).
Shape attributes are presented in Table 5. Kristal had the highest sphericity (90.28%), while Alınoğlu had the lowest (86.06%). Roundness was similar for Ayaz-Alper (0.76), Alperen-Özveren (0.79), and Doruk-Ürkmez (0.75). Kristal had the highest roundness (0.82). Values near 1 indicate nearly spherical seeds. Alınoğlu, with SI > 1.26, was defined as oval. Kristal had the highest aspect ratio (0.81). The highest elongation values were for Doruk (1.40), Ürkmez (1.39), and Alper (1.37); the lowest was for Kristal (1.25). Form index values increased as sphericity and roundness decreased. Ref. [49] reported length (5.19 mm) and width (4.33 mm) for vetch seeds at different moisture contents (10.57–20.63%), consistent with this study, though the projection area (23.52–29.05 mm2) was higher. Ref. [50] reported projection areas of 15.33–17.66 mm2 for lentil seeds at 15.6–22.5% moisture. Ref. [51] reported the mean length and width of 4.88 mm and 4.40 mm, respectively. Ref. [27] reported mean projection area and volume for soybean seeds as 31.53 mm2 and 133.84 mm3, with elongation and SI of 1.30 and 1.20. Differences may reflect species variation.

3.3. Linear Discrimination Analysis, Pairwise Comparison, and Multivariate Tests

Discriminant analysis of physical features is shown in Figure 3. Eigenvalues for functions 1–8 were 1.087, 0.360, 0.302, 0.156, 0.045, 0.035, 0.003, and 0.000, respectively. The first four functions explained 95.8% of the variance (54.6%, 18.1%, 15.2%, and 7.9%). Wilks’ lambda indicated that 21.6% of the between-group differences remained unexplained. Discriminant function coefficients determined predictor importance.
Group centers based on canonical discriminant functions are shown in Figure 4. Length, geometric mean diameter, sphericity, and SI were key discriminative features. For Doruk and Ürkmez, geometric mean diameter and length validated positioning on canonical function 1; for Ankara Moru and Ayaz, sphericity, form index, and roundness corroborated positioning on canonical function 2. Ref. [52] used PCA for dry bean quality traits, with the first three principal components explaining 70% of variance under non-irrigated conditions, and PC1 and PC2 representing 100% under drip irrigation. In this application, PC1 explained 70.16% of the overall variation and 29.84% by PC2.
Wilks’ Lambda, Hotelling Trace, and Pillai Trace indicated significant differences in physical attributes among varieties (p < 0.01). Table 6 shows MANOVA, Bonferroni correction, and Mahalanobis distance values. Wilks’ Lambda < 1 indicates increasing between-group differences. Pillai Trace, considered the most accurate multivariate statistic, accounts for all variances explaining independent factors in dependent variables. Here, Pillai trace, Wilks’ Lambda, and Hotelling Trace were 1.346, 0.187, and 2.182, respectively. Varieties with a Mahalanobis distance < 3 had highly similar features. Alper and Alınoğlu, with minimal Mahalanobis distance, shared analogous traits. The greatest distance was between Ankara Moru and Ayaz. Bonferroni-adjusted P-values supported these findings.

3.4. Performance Results of Binary Classification

MLP, RF, and SVM models were developed for pairwise classification based on shape, size, and mass attributes. Confusion matrices and performance metrics for Alper are in Table 7. RF achieved 77.50% accuracy for Alper vs. Alperen, MLP 77.00%. Other metrics confirmed these results. For RF, TPR, precision, F1, ROC, and PRC were 0.740, 0.796, 0.767, 0.824, 0.842 for Alper and 0.810, 0.757, 0.775, 0.823, 0.804 for Alperen. SVM had the lowest accuracy (74.50%). For Alper vs. Alınoğlu, MLP achieved 79.50% accuracy (TPR: 0.810 Alper, 0.780 Alınoğlu; precision: 0.786, 0.804; F1: 0.798, 0.792; PRC: 0.849, 0.831; ROC: 0.851, both). RF achieved 78.50% for Alper vs. Ankara Moru, while MLP and SVM were lower (73.50%, 72.50%). For Alper vs. Ayaz, RF achieved 89.00%, MLP 85.00%, SVM 82.00%. For Alper vs. Doruk, MLP achieved 65.00%, RF and SVM 60.00%. For Alper vs. Kristal, MLP and RF achieved 72.00%, SVM 68.50%. For Alper vs. Özveren, SVM achieved 80.50%, MLP 78.00%, and RF 75.50%. For Alper vs. Ürkmez, SVM achieved 69.50%, MLP 69.00%, and RF 68.50%.
For Alperen vs. Ayaz, RF achieved 88.00% accuracy, MLP achieved 86.00% accuracy, and SVM achieved 81.00% accuracy. For Alperen vs. Kristal, MLP had the lowest accuracy (60.50%), RF achieved 62.00% accuracy, SVM achieved 67.50% accuracy. In MLP, TPR was 0.620 Alperen and 0.590 Kristal; precision 0.602, 0.608; F1 0.611, 0.599; PRC 0.718, 0.695; ROC 0.698 both. MLP correctly classified 62% of Alperen, misclassifying 38% as Kristal (see Table 8). SVM achieved the highest accuracy for Alperen vs. Ürkmez (82.00%) and Alperen vs. Doruk (80.50%) but the lowest for Alperen vs. Alınoğlu (76.00%) and Alperen vs. Özveren (79.00%).
Confusion matrices and performance metrics for Alınoğlu are in Table 9. For Alınoğlu vs. Ankara Moru, MLP achieved 80.50% accuracy, RF achieved 80.00% accuracy, SVM achieved 83.00% accuracy. In MLP, TPR was 0.800 Alınoğlu, 0.810 Ankara Moru; precision 0.808, 0.802; F1 0.804, 0.806; PRC 0.865, 0.880; ROC 0.886 both. For Alınoğlu vs. other varieties, MLP accuracy ranged from 73.50 to 80.50%, RF ranged from 73.00 to 80.00%, SVM ranged from 71.00 to 83.50%. SVM performed best for Alınoğlu vs. Kristal and Alınoğlu vs. Doruk, worst for Alınoğlu vs. Ayaz and Alınoğlu vs. Özveren.
Ankara Moru and Ayaz were among the most distinguishable pairs: RF 90.00%, MLP 89.00%, SVM 82.50%. RF achieved its highest accuracy (90.50%) for Ankara Moru vs. Özveren; MLP and SVM both achieved 88.00%. For RF, TPR was 0.910 Ankara Moru, 0.900 Özveren; precision 0.901, 0.909; F1 0.905 both; PRC 0.965, 0.968; ROC 0.966 both (Table 10). For Ankara Moru comparisons, SVM accuracy ranged from 71.50% (vs. Kristal) to 88.00% (vs. Özveren), with the lowest performance for Ayaz, Doruk, and Ürkmez. Low accuracy in some pairs (e.g., Alperen–Kristal) relates to overlap in thickness and geometric diameter distributions. Secondary criteria (sphericity, SI, aspect ratio) offered limited improvement, with low canonical distance between class centers. Intra-batch biological variation, segmentation tolerances, and measurement resolution were also influential.
For Ayaz vs. Doruk, RF achieved 89.50% accuracy, MLP achieved 87.50% accuracy, SVM achieved 81.00% accuracy. In RF, TPR was 0.860 Ayaz, 0.930 Doruk; precision 0.925, 0.869; F1 0.860, 0.899; PRC 0.954, 0.908; ROC 0.938 both (Table 11). For Ayaz comparisons, SVM consistently underperformed relative to MLP and RF, with an accuracy of 73.00–81.00%.
Table 12 presents results for Doruk, Kristal, Özveren, and Ürkmez. For Özveren vs. Ürkmez, MLP achieved 81.50% accuracy, SVM achieved 79.50% accuracy, RF achieved 79.00% accuracy. In MLP, TPR was 0.790 Özveren, 0.840 Ürkmez; precision 0.832, 0.800; F1 0.810, 0.820; PRC 0.875, 0.818; ROC 0.859 both. SVM performed best for Doruk vs. Kristal and Doruk vs. Özveren (78.50%). Doruk vs. Ürkmez had low accuracy across models: RF—68.00%, and MLP and SVM—64.00%. For Kristal vs. Özveren, SVM had the lowest accuracy (75.50%); for Kristal vs. Ürkmez, SVM performed best (78.00% vs. MLP 74.00%, RF 77.00%).
ROC curves are shown in Figure 5. The best-classified pairs were Ayaz-Özveren, Ankara Moru-Özveren, and Ankara Moru-Ayaz. The worst were Alper-Doruk, Alperen-Kristal, and Doruk-Ürkmez.
Consistent with this study, ref. [53] classified 12 alfalfa varieties, reporting 91.53% (LDA) and 93.47% (SVM) accuracy. Ref. [54] reported 84.6–99.3% (RF), 87.4–99.3% (SVM), and 99.8–100% (LDA) for alfalfa seeds. Ref. [55] classified corn seeds using NB (93.37%), DT (94.95%), KNN (95.59%), LDA (95.97%), MLP (96.26%), and SVM (96.46%). Hyperspectral imaging and deep learning often achieve >95% accuracy [56,57,58], but require expensive equipment, large datasets, and computational resources. This study classified vetch seeds using physical characteristics, ML, and RGB imaging, achieving up to 90% accuracy, offering a practical, cost-effective solution for agricultural quality control. The scarcity of vetch classification studies underscores the originality and contribution of this work. Using RF, MLP, and SVM provides a balanced baseline for interpretability and capturing non-linear patterns; with limited data, more complex models risk overfitting for marginal gains.

4. Conclusions

Common vetch varieties exhibit consistent inter-variety differences based on controlled RGB imaging and morpho-physical descriptors. Ayaz was most distinguishable, achieving the highest pairwise discrimination metrics. Nutritionally, Alınoğlu and Alper were notable, while macro- and micronutrient concentrations varied meaningfully across varieties, indicating that phenotypic and compositional traits can jointly inform variety identification and agronomic decisions.
ML algorithms effectively classified common vetch seeds based on physical attributes. RF achieved the strongest pairwise result (90.50% for Ankara Moru vs. Özveren). Overall, supervised models provided reliable discrimination, supporting the feasibility of low-cost, feature-based classification under controlled imaging.
The physical attributes and ML pipeline can support quality assessment, planting system design (e.g., sizing, singulation), and breeding studies (e.g., non-destructive screening). Industrially, the workflow is compatible with routine seed inspection, flagging ambiguous lots for confirmatory analysis, aiding traceable, metric-based decision-making. The small seed size complicates high-throughput measurement. Future work should (i) explore hyperspectral and color-rich cues to enhance separability of visually similar varieties; (ii) improve performance with larger datasets, refined feature selection, and deep learning; and (iii) extend validation across multiple years and locations. These steps will enhance robustness and narrow the gap with end-to-end image-based classifiers for other species.

Author Contributions

Conceptualization, O.O., N.Ç. and G.N.; methodology, O.O., N.Ç., S.U., M.K., A.J. and G.N.; software, N.Ç.; validation, O.O., N.Ç., A.J. and G.N.; formal analysis, O.O., N.Ç. and G.N.; investigation, N.Ç.; resources, O.O., N.Ç., A.J. and G.N.; data curation, N.Ç. and G.N.; writing—original draft preparation, O.O., N.Ç., S.U., M.K., A.J. and G.N.; writing—review and editing, O.O., N.Ç., S.U., M.K., A.J. and G.N.; visualization, N.Ç.; supervision, N.Ç. and A.J.; project administration, G.N. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Data Availability Statement

The original contributions presented in this study are included in the article. Further inquiries can be directed to the corresponding authors.

Conflicts of Interest

The authors declare no conflicts of interest.

Abbreviations

The following abbreviations are used in this manuscript:
MLPMulti-layer perceptron
RFRandom forest
ADFAcid detergent fiber
NDFNeutral detergent fiber
CVComputer vision
MLMachine learning
ANNArtificial neural network
DTDecision trees
LRLogistic regression
FLFuzzy logic
SVMSupport vector machine
KNNK-nearest neighbor
MANOVAMultivariate analysis of variance
BNBayes net
LBLogit boost
ROCReceiver operating characteristic
PRCPrecision–recall curve
ANOVAAnalysis of variance
PASTPaleontological statistics
LDALinear discriminant analysis
NBNaive bayes
TPRTrue positive rate
TPTrue positive
TNTrue negative
FPFalse positive
FNFalse negative
SPSSStatistical package for the social sciences
BBoron
CaCalcium
MnManganese
NaSodium
PPhosphorus
SSulphur
CuCopper
FeIron
KPotassium
MgMagnesium
ZnZinc
PCPrincipal component
CCDCharge-coupled device
DLDeep learning
RGBRed, green, and blue

References

  1. Sun, Y.; Zhao, N.; Sun, H.; Xu, S.; Lu, Y.; Xi, H.; Shi, H. Transcriptome profiling reveals molecular responses to salt stress in common vetch (Vicia sativa L.). Plants 2024, 13, 714. [Google Scholar] [CrossRef]
  2. Kartal, G.K.; Senbek, G.; Karaca, M.; Acikgoz, E. Hybridization studies in Vicia sativa complex. Euphytica 2020, 216, 29. [Google Scholar] [CrossRef]
  3. Martin, E.; Yıldız, H.K.; Kahraman, A.; Binzat, O.K.; Eroğlu, H.E. Detailed chromosome measurements and karyotype asymmetry of some Vicia (Fabaceae) taxa from Turkey. Caryologia 2018, 71, 224–232. [Google Scholar] [CrossRef]
  4. Dong, R.; Jahufer, M.Z.Z.; Dong, D.K.; Wang, Y.R.; Liu, Z.P. Characterisation of the morphological variation for seed traits among 537 germplasm accessions of common vetch (Vicia sativa L.) using digital image analysis. N. Z. J. Agric. Res. 2016, 59, 422–435. [Google Scholar] [CrossRef]
  5. Mao, Z.; Fu, H.; Nan, Z.; Wan, C. Fatty acid, amino acid, and mineral composition of four common vetch seeds on Qinghai-Tibetan plateau. Food Chem. 2015, 171, 13–18. [Google Scholar] [CrossRef] [PubMed]
  6. Uzun, A.; Gücer, S.; Acikgoz, E. Common vetch (Vicia sativa L.) germplasm: Correlations of crude protein and mineral content to seed traits. Plant Foods Hum. Nutr. 2011, 66, 254–260. [Google Scholar] [CrossRef] [PubMed]
  7. Hasan, A.A.; Haddad, D.A.; Ali, L.M. The phylogenetic relationships between species of Vicia L. based on morphological characteristics and proteins present in seeds. Asian J. Res. Bot. 2023, 6, 225–232. [Google Scholar]
  8. Chen, W.; Wang, Y.; Lv, X.; Yu, G.; Wang, Q.; Li, H.; Liu, Q. Physicochemical, structural and functional properties of protein isolates and major protein fractions from common vetch (Vicia sativa L.). Int. J. Biol. Macromol. 2022, 216, 487–497. [Google Scholar] [CrossRef]
  9. Grela, E.R.; Samolińska, W.; Rybiński, W.; Kiczorowska, B.; Kowalczuk-Vasilev, E.; Matras, J.; Wesołowska, S. Nutritional and anti-nutritional factors in Vicia sativa L. Seeds and the variability of phenotypic and morphological characteristics of some vetch accessions cultivated in European countries. Animals 2020, 11, 44. [Google Scholar] [CrossRef]
  10. Nguyen, V.; Riley, S.; Nagel, S.; Fisk, I.; Searle, I.R. Common vetch: A drought tolerant, high protein neglected leguminous crop with potential as a sustainable food source. Front. Plant Sci. 2020, 11, 818. [Google Scholar] [CrossRef]
  11. Butuner, R.; Cinar, I.; Taspinar, Y.S.; Kursun, R.; Calp, M.H.; Koklu, M. Classification of deep image features of lentil varieties with machine learning techniques. Eur. Food Res. Technol. 2023, 249, 1303–1316. [Google Scholar] [CrossRef]
  12. Zhao, J.; Ma, Y.; Yong, K.; Zhu, M.; Wang, Y.; Wang, X.; Huang, X. Rice seed size measurement using a rotational perception deep learning model. Comput. Electron. Agric. 2023, 205, 107583. [Google Scholar] [CrossRef]
  13. Azizi, H.; Asli-Ardeh, E.A.; Jahanbakhshi, A.; Momeny, M. Vision-based strawberry classification using generalized and robust deep networks. J. Agric. Food Res. 2024, 15, 100931. [Google Scholar] [CrossRef]
  14. Goh, J.Y.; Md Yunos, Y.; Mohamed Ali, M.S. Fresh fruit bunch ripeness classification methods: A Review. Food Bioprocess Technol. 2025, 18, 183–206. [Google Scholar] [CrossRef]
  15. Patrício, D.I.; Rieder, R. Computer vision and artificial intelligence in precision agriculture for grain crops: A systematic review. Comput. Electron. Agric. 2018, 153, 69–81. [Google Scholar] [CrossRef]
  16. De-Souza, F.L.P.; Dias, M.A.; Setiyono, T.D.; Campos, S.; Shiratsuchi, L.S.; Tao, H. Identification of soybean planting gaps using machine learning. Smart Agric. Technol. 2025, 10, 100779. [Google Scholar] [CrossRef]
  17. Phan, T.T.H.; Nguyen, L.H.B. Enhancing rice seed purity recognition accuracy based on optimal feature selection. Ecol. Inform. 2025, 86, 103044. [Google Scholar] [CrossRef]
  18. Képeš, E.; Vrábel, J.; Brázdil, T.; Holub, P.; Pořízka, P.; Kaiser, J. Interpreting convolutional neural network classifiers applied to laser-induced breakdown optical emission spectra. Talanta 2024, 266, 124946. [Google Scholar] [CrossRef] [PubMed]
  19. Kurtulmuş, F.; Alibaş, İ.; Kavdır, I. Classification of pepper seeds using machine vision based on neural network. Int. J. Agric. Biol. Eng. 2016, 9, 51–62. [Google Scholar]
  20. Sabanci, K.; Aslan, M.F.; Ropelewska, E.; Unlersen, M.F. A convolutional neural network-based comparative study for pepper seed classification: Analysis of selected deep features with support vector machine. J. Food Process Eng. 2022, 45, e13955. [Google Scholar] [CrossRef]
  21. Ahmed, M.R.; Yasmin, J.; Park, E.; Kim, G.; Kim, M.S.; Wakholi, C.; Cho, B.K. Classification of watermelon seeds using morphological patterns of X-ray imaging: A comparison of conventional machine learning and deep learning. Sensors 2020, 20, 6753. [Google Scholar] [CrossRef]
  22. Kaur, R.; Jain, A.; Kumar, S. Optimization classification of sunflower recognition through machine learning. Mater. Today Proc. 2022, 51, 207–211. [Google Scholar] [CrossRef]
  23. Cvejić, S.; Hrnjaković, O.; Jocković, M.; Kupusinac, A.; Doroslovački, K.; Gvozdenac, S.; Miladinović, D. Oil yield prediction for sunflower hybrid selection using different machine learning algorithms. Sci. Rep. 2023, 13, 17611. [Google Scholar] [CrossRef]
  24. Khatri, A.; Agrawal, S.; Chatterjee, J.M. Wheat seed classification: Utilizing ensemble machine learning approach. Sci. Program. 2022, 2022, 2626868. [Google Scholar] [CrossRef]
  25. Ali, A.; Qadri, S.; Mashwani, W.K.; Brahim Belhaouari, S.; Naeem, S.; Rafique, S.; Anam, S. Machine learning approach for the classification of corn seed using hybrid features. Int. J. Food Prop. 2020, 23, 1110–1124. [Google Scholar] [CrossRef]
  26. Ropelewska, E.; Piecko, J. Discrimination of tomato seeds belonging to different cultivars using machine learning. Eur. Food Res. Technol. 2022, 248, 685–705. [Google Scholar] [CrossRef]
  27. Çetin, N. Machine learning for varietal binary classification of soybean (Glycine max (L.) Merrill) seeds based on shape and size attributes. Food Anal. Methods 2022, 15, 2260–2273. [Google Scholar] [CrossRef]
  28. Cinar, I.; Koklu, M. Identification of rice varieties using machine learning algorithms. J. Agric. Sci. 2022, 28, 307–325. [Google Scholar]
  29. Helrich, K. Official Methods of Analysis, 15th ed.; Association of Official Analytical Chemists, Inc.: Arlington, VA, USA, 1990. [Google Scholar]
  30. Soest, P.V.; Wine, R.H. Use of detergents in the analysis of fibrous feeds. IV. Determination of plant cell-wall constituents. J. Assoc. Off. Anal. Chem. 1967, 50, 50–55. [Google Scholar] [CrossRef]
  31. Soest, P.V. Use of detergents in the analysis of fibrous feeds. II. A rapid method for the determination of fiber and lignin. J. Assoc. Off. Agric. Chem. 1963, 46, 829–835. [Google Scholar] [CrossRef]
  32. Say, R.; Kaplan, M.; Karaman, K. Investigation of the Effects of Different Extraction Conditions on Biochemical Properties of Barberry Fruit (Berberis crataegina DC.). ISPEC J. Agric. Sci. 2025, 9, 500–521. [Google Scholar]
  33. Ozkan, G.; Koyuncu, M.A. Physical and chemical composition of some walnut (Juglans regia L) genotypes grown in Turkey. Grasas y Aceites 2005, 56, 141–146. [Google Scholar] [CrossRef]
  34. Sayıncı, B.; Ercişli, S.; Akbulut, M.; Şavşatlı, Y.; Baykal, H. Determination of shape in fruits of cherry laurel (Prunus laurocerasus) accessions by using Elliptic Fourier analysis. Acta Sci. Pol. Hortorum Cultus 2015, 14, 63–82. [Google Scholar]
  35. Mohsenin, N.N. Physical Properties of Plant and Animal Materials: Structure, Physical Characteristics and Mechanical Properties; Gordon and Breach Science Publishers: New York, NY, USA, 1986. [Google Scholar]
  36. Fıratlıgil-Durmuş, E.; Šárka, E.; Bubník, Z.; Schejbal, M.; Kadlec, P. Size properties of legume seeds of different varieties using image analysis. J. Food Eng. 2010, 99, 445–451. [Google Scholar] [CrossRef]
  37. Azadnia, R.; Noei-Khodabadi, F.; Moloudzadeh, A.; Jahanbakhshi, A.; Omid, M. Medicinal and poisonous plants classification from visual characteristics of leaves using computer vision and deep neural networks. Ecol. Inform. 2024, 82, 102683. [Google Scholar] [CrossRef]
  38. Stegmayer, G.; Milone, D.H.; Garran, S.; Burdyn, L. Automatic recognition of quarantine citrus diseases. Expert Syst. Appl. 2013, 40, 3512–3517. [Google Scholar] [CrossRef]
  39. Pietersma, D.; Lacroix, R.; Lefebvre, D.; Wade, K.M. Performance analysis for machine-learning experiments using small data sets. Comput. Electron. Agric. 2003, 38, 1–17. [Google Scholar] [CrossRef]
  40. Bradley, A.P. The use of the area under the ROC curve in the evaluation of machine learning algorithms. Pattern Recognit. 1997, 30, 1145–1159. [Google Scholar] [CrossRef]
  41. Huang, Y.; Li, R.; Coulter, J.A.; Zhang, Z.; Nan, Z. Comparative grain chemical composition, ruminal degradation in vivo, and intestinal digestibility in vitro of Vicia sativa L. varieties grown on the Tibetan Plateau. Animals 2019, 9, 212. [Google Scholar] [CrossRef] [PubMed]
  42. Mikić, A.; Mihailović, V.; Ćupina, B.; Vasiljević, S.; Milošević, B.; Katanski, S.; Kraljević-Balalić, M. Agronomic characteristics related to grain yield and crude protein content in common vetch (Vicia sativa) accessions of diverse geographic origin. N. Z. J. Agric. Res. 2013, 56, 297–308. [Google Scholar] [CrossRef]
  43. Besharati, M.; Maggiolino, A.; Palangi, V.; Kaya, A.; Jabbar, M.; Eseceli, H.; Lorenzo, J.M. Tannin in ruminant nutrition. Molecules 2022, 27, 8273. [Google Scholar] [CrossRef]
  44. Kökten, K.; Koçak, A.; Bağci, E.; Akçura, M.; Çelik, S. Tannin, protein contents and fatty acid compositions of the seeds of several Vicia L. species from Turkey. Grasas y Aceites 2010, 61, 404–408. [Google Scholar] [CrossRef]
  45. Kelln, B.M.; Penner, G.B.; Acharya, S.N.; McAllister, T.A.; Lardner, H.A. Impact of condensed tannin-containing legumes on ruminal fermentation, nutrition, and performance in ruminants: A review. Can. J. Anim. Sci. 2020, 101, 210–223. [Google Scholar] [CrossRef]
  46. Min, B.R.; Barry, T.N.; Attwood, G.T.; McNabb, W.C. The effect of condensed tannins on the nutrition and health of ruminants fed fresh temperate forages: A review. Anim. Feed Sci. Technol. 2003, 106, 3–19. [Google Scholar] [CrossRef]
  47. Grzegorczyk, S.; Alberski, J.; Olszewska, M.; Grabowski, K.; Bałuch-Małecka, A. Content of calcium and phosphorus and the Ca: P ratio is selected species of leguminous and herbaceous plants. J. Elem. 2017, 22, 663–669. [Google Scholar]
  48. Samarah, N.H.; Ereifej, K. Chemical composition and mineral content of common vetch seeds during maturation. J. Plant Nutr. 2009, 32, 177–186. [Google Scholar] [CrossRef]
  49. Yalçın, İ.; Özarslan, C. Physical properties of vetch seed. Biosyst. Eng. 2004, 88, 507–512. [Google Scholar] [CrossRef]
  50. Işık, E.; İzli, N. Effects of moisture content on some physical properties of the yellow lentil. J. Agric. Sci. 2016, 22, 307–316. [Google Scholar]
  51. Dumanoğlu, Z.; Çaçan, E.; Kökten, K. A study on the determination of some morphological and physiological characteristics of Common Vetch (Vicia sativa L.) seeds. MAS J. Appl. Sci. 2022, 7, 41–47. [Google Scholar]
  52. Kibar, H.; Öztürk, T.; Temizel, K.E. Effective engineering properties in the design of storage structures of postharvest dry bean grain. Acta Scientiarum. Agron. 2014, 36, 147–158. [Google Scholar] [CrossRef]
  53. Yang, L.; Zhang, Z.; Hu, X. Cultivar discrimination of single alfalfa (Medicago sativa L.) seed via multispectral imaging combined with multivariate analysis. Sensors 2020, 20, 6575. [Google Scholar] [CrossRef] [PubMed]
  54. Wang, X.; Zhang, H.; Song, R.; He, X.; Mao, P.; Jia, S. Non-destructive identification of naturally aged alfalfa seeds via multispectral imaging analysis. Sensors 2021, 21, 5804. [Google Scholar] [CrossRef]
  55. Xu, P.; Yang, R.; Zeng, T.; Zhang, J.; Zhang, Y.; Tan, Q. Varietal classification of maize seeds using computer vision and machine learning techniques. J. Food Process Eng. 2021, 44, e13846. [Google Scholar] [CrossRef]
  56. Chen, B.; Shi, B.; Gong, J.; Shi, G.; Jin, H.; Qin, T.; Wang, Z. Quality detection and variety classification of pecan seeds using hyperspectral imaging technology combined with machine learning. J. Food Compos. Anal. 2024, 131, 106248. [Google Scholar] [CrossRef]
  57. Wang, Y.; Song, S. Variety identification of sweet maize seeds based on hyperspectral imaging combined with deep learning. Infrared Phys. Technol. 2023, 130, 104611. [Google Scholar] [CrossRef]
  58. Jin, B.; Zhang, C.; Jia, L.; Tang, Q.; Gao, L.; Zhao, G.; Qi, H. Identification of rice seed varieties based on near-infrared hyperspectral imaging technology combined with deep learning. ACS Omega 2022, 7, 4735–4749. [Google Scholar] [CrossRef]
Figure 1. Imaging system.
Figure 1. Imaging system.
Agriculture 15 02411 g001
Figure 2. Image segmentation process. (A) original cropped image of common vetch seeds, (B) removal of background, (C) black and white conversion for determining contour areas, (D) conversion into gray-scale, (E) inversion of gray-scale image, and (F) improved binary after removing objects, segmented, and common vetch detected image with sample numbers.
Figure 2. Image segmentation process. (A) original cropped image of common vetch seeds, (B) removal of background, (C) black and white conversion for determining contour areas, (D) conversion into gray-scale, (E) inversion of gray-scale image, and (F) improved binary after removing objects, segmented, and common vetch detected image with sample numbers.
Agriculture 15 02411 g002
Figure 3. Discriminant analysis results: (a) significance of canonical functions. Wilks’ Lambda (points) and corresponding p-values (right axis) for each cumulative set of canonical functions (e.g., “1–8” includes Functions 1 through 8). Lower Wilks’ Lambda and p < 0.05 indicate significant between-variety separation. (b) Standardized canonical discriminant coefficients. Dot positions (x-axis) indicate standardized weight of each original variable (mass, volume, length, width, thickness, sphericity, SI, aspect ratio, and elongation) in each canonical function; color encodes function index (legend). Positive/negative signs denote direction of association; larger absolute values indicate stronger contribution. Variables with consistently large absolute coefficients across the first functions are primary drivers of varietal separation. Error gridlines aid visual comparison.
Figure 3. Discriminant analysis results: (a) significance of canonical functions. Wilks’ Lambda (points) and corresponding p-values (right axis) for each cumulative set of canonical functions (e.g., “1–8” includes Functions 1 through 8). Lower Wilks’ Lambda and p < 0.05 indicate significant between-variety separation. (b) Standardized canonical discriminant coefficients. Dot positions (x-axis) indicate standardized weight of each original variable (mass, volume, length, width, thickness, sphericity, SI, aspect ratio, and elongation) in each canonical function; color encodes function index (legend). Positive/negative signs denote direction of association; larger absolute values indicate stronger contribution. Variables with consistently large absolute coefficients across the first functions are primary drivers of varietal separation. Error gridlines aid visual comparison.
Agriculture 15 02411 g003
Figure 4. Scatter plots of worst (right) and best (Left) classified pairs from the point of the discriminant scores and group centroids function 1 and 2 (Note: Alper: Blueviolet, Alperen: Cadet blue, A.Moru: Dark blue, Ayaz: Dark green, Doruk: Brown, Kristal: Crimson, Özveren: Orange-red, Ürkmez: Dark golden Note: In the figure, the parts with the variety names are the group centroids).
Figure 4. Scatter plots of worst (right) and best (Left) classified pairs from the point of the discriminant scores and group centroids function 1 and 2 (Note: Alper: Blueviolet, Alperen: Cadet blue, A.Moru: Dark blue, Ayaz: Dark green, Doruk: Brown, Kristal: Crimson, Özveren: Orange-red, Ürkmez: Dark golden Note: In the figure, the parts with the variety names are the group centroids).
Agriculture 15 02411 g004aAgriculture 15 02411 g004b
Figure 5. The ROC curves of best (left) and worst (right) classified pairs for developed models.
Figure 5. The ROC curves of best (left) and worst (right) classified pairs for developed models.
Agriculture 15 02411 g005
Table 1. Information on the varieties used in the experiments.
Table 1. Information on the varieties used in the experiments.
VarietiesInstituteCoordinates
AlınoğluField Crops Central Research Institute, Turkiye39°57′15.0″ N 32°48′45.8″ E
Ankara Moru39°57′14.9″ N 32°48′46.4″ E
Ayaz39°57′15.0″ N 32°48′46.3″ E
AlperAegean Agricultural Research Institute, Turkiye38°33′59.8″ N 27°03′09.7″ E
Doruk38°33′57.2″ N 27°03′09.8″ E
Ürkmez38°33′57.9″ N 27°03′11.0″ E
AlperenDirectorate of Trakya Agricultural Research Institute, Turkiye41°38′48.5″ N 26°35′47.7″ E
Kristal 202041°38′48.5″ N 26°35′48.4″ E
ÖzverenEastern Mediterranean Agricultural Research Institute, Turkiye36°51′17.5″ N 35°20′31.3″ E
Table 2. Nutritional properties of common vetch genotypes (%).
Table 2. Nutritional properties of common vetch genotypes (%).
VarietiesCrude ProteinADFNDFTannin
Alper22.66a9.06bc13.65bc3.06abc
Alperen16.93e10.79ab16.47a2.76e
Alınoğlu20.91bc11.36a14.69ab3.12a
Ankara Moru19.71cd8.57bc11.92cd2.97bcd
Ayaz20.61bc9.03bc12.04cd0.48f
Doruk18.80d8.94bc15.25ab3.10ab
Kristal 202014.69f9.44abc14.68ab2.96cd
Özveren21.05bc8.19c11.25de3.07abc
Ürkmez21.96ab8.74bc9.57e2.90d
Mean19.709.3513.282.71
Note: Means indicated with different letters in the same column are significantly different (p < 0.05).
Table 3. Macro–micro mineral content of common vetch genotypes (mg kg−1).
Table 3. Macro–micro mineral content of common vetch genotypes (mg kg−1).
VarietiesBCaCuFeKMgMnNaPSZn
Alper5.00a1639.28c93.49a52.65e7674.08a1327.83c16.32c335.92a5393.60b1678.47a43.52c
Alperen3.22i1220.49i62.60i39.81h5061.00i971.09i22.56a246.39i4163.81i1258.39i40.64d
Alınoğlu4.08e1884.35b87.35c56.45c6627.64c1342.85b14.99d319.86c5265.08d1567.99e37.78f
Ankara Moru3.67f2267.34a79.52f78.17a5452.79h1232.32e16.65b270.44h4380.71h1301.24h31.20h
Ayaz4.14d1458.75h83.80d37.61i5778.38g1125.28g13.12f278.92f4449.36g1644.61b30.67i
Doruk4.42b1605.06d91.01b46.81f7225.46b1448.73a14.46e334.67b5697.81a1602.28c44.40b
Kristal 20203.27h1543.21g80.87e60.65b6230.40d1110.02h12.75h274.15g4960.85f1578.85d49.31a
Özveren4.34c1583.38f68.70h43.00g6070.57f1229.74f12.43i306.14d5268.80c1404.84g38.81e
Ürkmez3.61g1583.66e77.03g53.05d6093.19e1264.69d12.94g298.77e5034.80e1434.51f37.37g
Mean3.971642.8480.4952.026245.951228.0615.14296.144957.201496.8039.30
Note: Means indicated with different letters in the same column are significantly different (p < 0.05).
Table 4. Physical properties of common vetch genotypes.
Table 4. Physical properties of common vetch genotypes.
VarietiesMass
(M, g)
Volume
(V, mm3)
Density (g cm−3)Length
(L, mm)
Width
(W, mm)
Thickness
(T, mm)
Geometric Mean Diam.
(Dg, mm)
Projected Area
(PA, mm2)
Surface Area
(SA, mm2)
Alper0.07 ± 0.01c48.38 ± 8.45e1.45 ± 0.29b5.18 ± 0.40efg4.66 ± 0.37c3.80 ± 0.28e4.50 ± 0.27e16.00 ± 1.89e63.98 ± 7.56e
Alperen0.08 ± 0.02ab50.71 ± 9.08de1.58 ± 0.39a5.16 ± 0.40fg4.60 ± 0.28c4.05 ± 0.28bc4.58 ± 0.26de16.51 ± 1.93de66.03 ± 7.73de
Alınoğlu0.08 ± 0.02b60.75 ± 10.58b1.32 ± 0.32c5.67 ± 0.46ab4.86 ± 0.38b4.19 ± 0.33ab4.86 ± 0.29ab18.62 ± 2.18b74.48 ± 8.74b
Ankara Moru0.06 ± 0.01e52.07 ± 7.57cde1.15 ± 0.21d5.29 ± 0.32def4.58 ± 0.28c4.08 ± 0.24bc4.62 ± 0.22cde16.82 ± 1.62cde67.28 ± 6.50cde
Ayaz0.08 ± 0.02b68.80 ± 22.42a1.16 ± 0.42d5.73 ± 0.74a5.13 ± 0.71a4.27 ± 0.69a5.00 ± 0.68a19.99 ± 4.83a79.97 ± 19.33a
Doruk0.07 ± 0.02cd54.80 ± 8.61cd1.28 ± 0.34cd5.45 ± 0.37cd4.90 ± 0.31b3.90 ± 0.22de4.70 ± 0.24cd17.40 ± 1.81cd69.59 ± 7.26cd
Kristal 20200.07 ± 0.01cd48.96 ± 8.85e1.49 ± 0.33b5.02 ± 0.41g4.58 ± 0.32c4.03 ± 0.29cd4.52 ± 0.27e16.12 ± 1.93e64.49 ± 7.73e
Özveren0.08 ± 0.01a56.89 ± 6.59bc1.41 ± 0.21bc5.36 ± 0.25cde5.01 ± 0.26ab4.03 ± 0.23cd4.76 ± 0.19bc17.86 ± 1.39bc71.43 ± 5.55bc
Ürkmez0.06 ± 0.01de56.16 ± 8.42bc1.07 ± 0.23e5.49 ± 0.32bc4.88 ± 0.28b3.98 ± 0.30cd4.74 ± 0.24bc17.68 ± 1.79bc70.74 ± 7.15bc
Mean0.07 ± 0.0255.28 ± 12.551.32 ± 0.345.37 ± 0.484.80 ± 0.424.04 ± 0.374.70 ± 0.3617.44 ± 2.6569.78 ± 10.58
F-values36.18 **34.50 **32.64 **30.57 **28.56 **16.19 **24.74 **29.60 **29.60 **
Note: Means indicated with different letters in the same column are significantly different (p < 0.05), and **: significant at p < 0.01.
Table 5. Shape characteristics of different varieties of vetch.
Table 5. Shape characteristics of different varieties of vetch.
VarietiesSphericity
(S, %)
Shape Index
(SI)
Roundness
(R)
Aspect Ratio
(AR)
Elongation
(E)
Alper87.10 ± 3.47d1.23 ± 0.07ab0.76 ± 0.06c0.74 ± 0.07de1.37 ± 0.12ab
Alperen88.98 ± 3.92ab1.19 ± 0.08bc0.79 ± 0.07ab0.79 ± 0.07ab1.28 ± 0.11d
Alınoğlu86.06 ± 5.23d1.26 ± 0.12a0.74 ± 0.09c0.74 ± 0.08de1.36 ± 0.15ab
Ankara Moru87.45 ± 3.68bcd1.22 ± 0.08ab0.77 ± 0.06bc0.77 ± 0.05bc1.30 ± 0.10cd
Ayaz87.25 ± 4.96cd1.23 ± 0.11ab0.76 ± 0.08bc0.74 ± 0.08cde1.36 ± 0.16ab
Doruk86.44 ± 2.86d1.24 ± 0.06a0.75 ± 0.05c0.72 ± 0.05e1.40 ± 0.09a
Kristal 202090.28 ± 4.15a1.17 ± 0.08c0.82 ± 0.07a0.81 ± 0.07a1.25 ± 0.12d
Özveren88.92 ± 2.04abc1.19 ± 0.04c0.79 ± 0.04ab0.75 ± 0.05cd1.33 ± 0.08bc
Ürkmez86.38 ± 3.66d1.24 ± 0.08a0.75 ± 0.06c0.73 ± 0.06de1.39 ± 0.11a
Mean87.65 ± 4.101.22 ± 0.090.77 ± 0.070.75 ± 0.071.34 ± 0.13
F-values13.57 **12.62 **13.80 **20.79 **18.96 **
Note: Means with different letters within a column differ significantly (p < 0.05), and **: significant at p < 0.01.
Table 6. Differences among the varieties.
Table 6. Differences among the varieties.
Eigenvalue
Statistics
Function 1Function 2Function 3Function 4Function 5Function 6Function 7Function 8
Eigenvalues1.0870.3600.3020.1560.0450.0350.0030.000
% of variance54.618.115.27.92.31.80.20.0
% of cumulative variance54.672.787.995.898.199.8100.0100.0
Canonical
correlation
0.7220.5140.4820.3680.2080.1850.0550.012
MANOVA results
EffectStatisticsValueHypothesis DFError DFFp (sigma)
VariablesPillai’s trace1.34696709614.950.000 **
Wilks’ Lambda0.18796593817.480.000 **
Hotelling Trace2.18296702619.970.000 **
Hotelling’s pairwise comparisons.
Bonferroni corrected p values in upper triangle. Mahalanobis distances in lower triangle
Varieties123456789
Alper-1.05 × 10−99.38 × 10−174.84 × 10−112.33 × 10−472.35 × 10−22.66 × 10−89.99 × 10−151.09 × 10−6
Alperen1.99-7.10 × 10−125.90 × 10−131.21 × 10−481.02 × 10−161.33 × 10−42.19 × 10−151.42 × 10−17
Alınoğlu3.242.35-2.14 × 10−178.26 × 10−395.32 × 10−163.55 × 10−191.52 × 10−171.79 × 10−15
Ankara Moru2.212.543.37-6.84 × 10−531.00 × 10−157.23 × 10−105.82 × 10−303.70 × 10−10
Ayaz11.8712.398.7914.24-6.88 × 10−481.62 × 10−505.24 × 10−491.20 × 10−47
Doruk0.813.243.103.0512.08-6.32 × 10−172.18 × 10−111.09 × 10+00
Kristal 20201.761.173.722.0113.183.28-1.82 × 10−245.28 × 10−16
Özveren2.862.983.406.2112.542.274.86-6.65 × 10−20
Ürkmez1.503.403.002.0611.980.533.103.87-
Note: ** Highly significant (p < 0.01).
Table 7. The confusion matrices and performance metrics for Alper variety.
Table 7. The confusion matrices and performance metrics for Alper variety.
ClassifiersPredictedActualAccuracy (%)TPRPrecisionF1ROCPRC
Alper vs. Alperen
MLPAlperAlperen-------
7624Alper77.000.7600.7760.7680.7880.773
2278Alperen-0.7800.7650.7720.7880.732
RFAlperAlperen-------
7426Alper77.500.7400.7960.7670.8240.842
1981Alperen-0.8100.7570.7750.8230.804
SVMAlperAlperen-------
8020Alper74.500.8000.7210.7580.7450.677
3169Alperen-0.6900.7750.7300.7450.690
Alper vs. Alınoğlu
MLPAlperAlınoğlu-------
8119Alper79.500.8100.7860.7980.8510.849
2278Alınoğlu-0.7800.8040.7920.8510.831
RFAlperAlınoğlu-------
7822Alper77.000.7800.7650.7720.8580.873
2476Alınoğlu-0.7600.7760.7680.8580.802
SVMAlperAlınoğlu-------
8317Alper78.500.8300.7610.7940.7850.717
2674Alınoğlu-0.7400.8130.7750.7850.732
Alper vs. A. Moru
MLPAlperA. Moru-------
7426Alper73.500.7400.7330.7360.8140.822
2773A. Moru-0.7300.7370.7340.8140.756
RFAlperA. Moru-------
7723Alper78.500.7700.7940.7820.8630.886
2080A. Moru-0.8000.7770.7880.8630.812
SVMAlperA. Moru-------
6535Alper72.500.6500.7650.7030.7250.672
2080A. Moru-0.8000.6960.7440.7250.657
Alper vs. Ayaz
MLPAlperAyaz-------
919Alper85.000.9100.8130.8580.9090.887
2179Ayaz-0.7900.8980.8400.9090.886
RFAlperAyaz-------
8911Alper87.000.8900.8560.8790.9250.891
1585Ayaz-0.8500.8850.8670.9280.939
SVMAlperAyaz-------
928Alper82.000.9200.7670.8360.8200.745
2872Ayaz-0.7200.9000.8000.8200.788
Alper vs. Doruk
MLPAlperDoruk-------
6931Alper65.000.6900.6390.6630.6850.676
3961Doruk-0.6100.6510.6490.6850.686
RFAlperDoruk-------
5743Alper60.000.5700.6060.5880.6360.621
3763Doruk-0.6300.5940.6120.6360.643
SVMAlperDoruk-------
6040Alper60.000.6000.6000.5970.5950.557
4060Doruk-0.6000.6000.5970.5950.557
Alper vs. Kristal
MLPAlperKristal-------
7822Alper72.000.7800.6960.7360.7380.716
3466Kristal-0.6600.7500.7020.7380.721
RFAlperKristal-------
7129Alper72.000.7100.7240.7170.7470.695
2773Kristal-0.7300.7160.7230.7470.713
SVMAlperKristal-------
7426Alper68.500.7400.6670.7010.6850.623
3763Kristal-0.6300.7080.6670.6850.631
Alper vs. Özveren
MLPAlperÖzveren-------
7822Alper78.000.7800.7800.7800.8230.824
2278Özveren-0.7800.7800.7800.8230.756
RFAlperÖzveren-------
7525Alper75.500.7500.7580.7540.8310.821
2476Özveren-0.7600.7520.7560.8310.774
SVMAlperÖzveren-------
7921Alper80.500.7900.8140.8020.8050.748
1882Özveren-0.8200.7960.8080.8050.743
Alper vs. Ürkmez
MLPAlperÜrkmez-------
6535Alper69.000.6500.7070.6770.7590.745
2773Ürkmez-0.7300.6760.7020.7590.753
RFAlperÜrkmez-------
6733Alper68.500.6700.6910.6800.7360.713
3070Ürkmez-0.7000.6800.6900.7360.705
SVMAlperÜrkmez-------
6733Alper69.500.6700.7050.6870.6950.638
2872Ürkmez-0.7200.6860.7020.6950.634
Note: As blues darken, true values increase; as grays darken, false values increase.
Table 8. The confusion matrices and performance metrics for Alperen variety.
Table 8. The confusion matrices and performance metrics for Alperen variety.
ClassifiersPredictedActualAccuracy (%)TPRPrecisionF1ROCPRC
Alperen vs. Alınoğlu
MLPAlperenAlınoğlu-------
7426Alperen72.500.7400.7180.7290.7720.741
2971Alınoğlu-0.7100.7320.7210.7720.771
RFAlperenAlınoğlu-------
7426Alperen75.000.7400.7550.7470.7670.735
2476Alınoğlu-0.7600.7500.7500.7670.730
SVMAlperenAlınoğlu-------
7921Alperen76.000.7900.7450.7670.7600.694
2773Alınoğlu-0.7900.7770.7530.7600.702
Alperen vs. A. Moru
MLPAlperenA. Moru-------
7426Alperen77.000.7400.7870.7630.8310.853
2080A. Moru-0.8000.7550.7770.8310.779
RFAlperenA. Moru-------
7525Alperen77.000.7500.7810.7650.8590.869
2179A. Moru-0.7900.7600.7750.8590.835
SVMAlperenA. Moru-------
6535Alperen79.500.6500.9150.7600.7950.770
694A. Moru-0.9400.7290.8210.7950.715
Alperen vs. Ayaz
MLPAlperenAyaz-------
8812Alperen86.000.8800.8460.8630.9420.948
1684Ayaz-0.8400.8750.8570.9420.941
RFAlperenAyaz-------
8911Alperen88.000.8900.8730.8810.9250.905
1387Ayaz-0.8700.8800.8800.9250.935
SVMAlperenAyaz-------
8911Alperen81.000.8900.7670.8240.8100.738
2773Ayaz-0.7300.8690.7930.8100.769
Alperen vs. Doruk
MLPAlperenDoruk-------
7921Alperen77.500.7900.7670.7780.8790.874
2476Doruk-0.7600.7840.7710.8790.895
RFAlperenDoruk-------
8515Alperen82.000.8500.8020.8250.9000.903
2179Doruk-0.7900.8400.8140.9000.896
SVMAlperenDoruk-------
7921Alperen80.500.7900.8140.8020.8050.748
1882Doruk-0.8200.7960.8080.8050.743
Alperen vs. Kristal
MLPAlperenKristal-------
6238Alperen60.500.6200.6020.6110.6980.718
4159Kristal 0.5900.6080.5990.6980.695
RFAlperenKristal-------
6238Alperen62.000.6200.6200.6200.6780.646
3862Kristal-0.6200.6200.6200.6780.682
SVMAlperenKristal-------
5842Alperen67.500.5800.7160.6410.6750.625
2377Kristal-0.7700.6470.7030.6750.613
Alperen vs. Özveren
MLPAlperenÖzveren-------
7822Alperen76.500.7800.7570.7680.8490.842
2575Özveren-0.7500.7730.7610.8490.870
RFAlperenÖzveren-------
7426Alperen74.000.7400.7400.7400.8280.806
2674Özveren-0.7400.7400.7400.8280.845
SVMAlperenÖzveren-------
8119Alperen79.000.8100.7790.7940.7900.726
2377Özveren-0.7700.8020.7860.7900.733
Alperen vs. Ürkmez
MLPAlperenÜrkmez-------
8119Alperen80.000.8100.7940.8020.9040.913
2179Ürkmez-0.7900.8060.7980.9040.910
RFAlperenÜrkmez-------
8020Alperen81.500.8000.8250.8120.9010.914
1783Ürkmez-0.8300.8060.8180.9010.883
SVMAlperenÜrkmez-------
7624Alperen82.000.7600.8640.8090.8200.776
1288Ürkmez-0.8800.7860.8300.8200.751
Note: As blues darken, true values increase; as grays darken, false values increase.
Table 9. The confusion matrices and performance metrics for Alınoğlu varieties.
Table 9. The confusion matrices and performance metrics for Alınoğlu varieties.
ClassifiersPredictedActualAccuracy (%)TPRPrecisionF1ROCPRC
Alınoğlu vs. A. Moru
MLPAlınoğluA. Moru------
8020Alınoğlu80.500.8000.8080.8040.8860.865
1981A. Moru-0.8100.8020.8060.8860.880
RFAlınoğluA. Moru-------
8218Alınoğlu80.000.8200.7880.8040.8670.848
2278A. Moru-0.7800.8130.7960.8670.839
SVMAlınoğluA. Moru-------
8317Alınoğlu83.000.8300.8300.8300.8300.774
1783A. Moru-0.8300.8300.8300.8300.774
Alınoğlu vs. Ayaz
MLPAlınoğluAyaz-------
7624Alınoğlu73.500.7600.7240.7410.8260.813
2971Ayaz-0.7100.7470.7280.8260.834
RFAlınoğluAyaz-------
7822Alınoğlu75.000.7800.7360.7570.8320.800
2872Ayaz-0.7200.7660.7420.8320.829
SVMAlınoğluAyaz-------
7822Alınoğlu71.000.7800.6840.7290.7100.644
3664Ayaz-0.6400.7440.6880.7100.656
Alınoğlu vs. Doruk
MLPAlınoğluDoruk-------
7624Alınoğlu78.500.7600.8000.7790.8530.859
1981Doruk-0.8100.7710.7900.8530.833
RFAlınoğluDoruk-------
7525Alınoğlu77.000.7500.7810.7650.8400.833
2179Doruk-0.7900.7600.7750.8400.832
SVMAlınoğluDoruk-------
7129Alınoğlu77.500.7100.8160.7590.7750.724
1684Doruk-0.8400.7430.7890.7750.704
Alınoğlu vs. Kristal
MLPAlınoğluKristal-------
8416Alınoğlu79.500.8400.7710.8040.8600.846
2575Kristal-0.7500.8240.7850.8600.854
RFAlınoğluKristal-------
7624Alınoğlu76.500.7600.7680.7640.8300.836
2377Kristal-0.7700.7620.7660.8300.801
SVMAlınoğluKristal-------
8812Alınoğlu83.500.8800.8070.8420.8350.770
2179Kristal-0.7900.8680.8270.8350.791
Alınoğlu vs. Özveren
MLPAlınoğluÖzveren-------
7327Alınoğlu73.500.7300.7370.7340.8320.807
2674Özveren-0.7400.7330.7360.8320.833
RFAlınoğluÖzveren-------
7525Alınoğlu76.000.7500.7650.7580.8320.823
2377Özveren-0.7700.7550.7620.8320.836
SVMAlınoğluÖzveren-------
6931Alınoğlu73.000.6900.7500.7190.7300.673
2377Özveren-0.7700.7130.7400.7300.664
Alınoğlu vs. Ürkmez
MLPAlınoğluÜrkmez-------
7327Alınoğlu75.500.7300.7680.7490.8430.865
2278Ürkmez-0.7800.7430.7610.8430.821
RFAlınoğluÜrkmez-------
7129Alınoğlu73.000.7100.7400.7240.8180.830
2575Ürkmez-0.7500.7210.7350.8180.804
SVMAlınoğluÜrkmez-------
7426Alınoğlu76.500.7400.7790.7590.7650.706
2179Ürkmez-0.7900.7520.7710.7650.699
Note: As blues darken, true values increase; as grays darken, false values increase.
Table 10. The confusion matrices and performance metrics for Ankara Moru varieties.
Table 10. The confusion matrices and performance metrics for Ankara Moru varieties.
ClassifiersPredictedActualAccuracy (%)TPRPrecisionF1ROCPRC
A. Moru vs. Ayaz
MLPA. MoruAyaz-------
937A. Moru89.000.9300.8610.8940.9090.891
1585Ayaz-0.8500.9240.8850.9090.908
RFA. MoruAyaz-------
928A. Moru90.000.9200.8850.9020.9650.951
1288Ayaz-0.8800.9170.8980.9650.969
SVMA. MoruAyaz-------
964A. Moru82.500.9600.7560.8460.8250.746
3169Ayaz-0.6900.9450.7980.8250.807
A. Moru vs. Doruk
MLPA. MoruDoruk-------
937A. Moru87.500.9300.8380.8820.9110.875
1882Doruk-0.8200.9210.8680.9110.918
RFA. MoruDoruk-------
8911A. Moru87.000.8900.8560.8730.9090.879
1585Doruk-0.8500.8850.8670.9090.922
SVMA. MoruDoruk-------
7921A. Moru77.000.7900.7600.7750.7700.705
2575Doruk-0.7500.7810.7650.7700.711
A. Moru vs. Kristal
MLPA. MoruKristal-------
8416A. Moru70.000.8400.6560.7370.7330.659
4456Kristal-0.5600.7780.6510.7330.771
RFA. MoruKristal-------
7921A. Moru73.500.7900.7120.7490.7990.769
3268Kristal-0.6800.7640.7200.7990.810
SVMA. MoruKristal-------
8317A. Moru71.500.8300.6750.7440.7150.645
4060Kristal-0.6000.7790.6780.7150.668
A. Moru vs. Özveren
MLPA. MoruÖzveren-------
8911A. Moru88.000.8900.8730.8810.9310.912
1187Özveren-0.8700.8880.8790.9310.931
RFA. MoruÖzveren-------
919A. Moru90.500.9100.9010.9050.9660.965
1090Özveren-0.9000.9090.9050.9660.968
SVMA. MoruÖzveren-------
9010A. Moru88.000.9000.8650.8820.8800.829
1486Özveren-0.8600.8960.8780.8800.840
A. Moru vs. Ürkmez
MLPA. MoruÜrkmez-------
8515A. Moru80.500.8500.7800.8130.8730.849
2476Ürkmez-0.7600.8350.7960.8730.873
RFA. MoruÜrkmez-------
8317A. Moru80.500.8300.7900.8100.8780.853
2278Ürkmez-0.7800.8210.8000.8780.852
SVMA. MoruÜrkmez-------
6733A. Moru75.000.6700.7980.7280.7500.699
1783Ürkmez-0.8300.7160.7690.7500.679
Note: As blues darken, true values increase; as grays darken, false values increase.
Table 11. The confusion matrices and performance metrics for Ayaz varieties.
Table 11. The confusion matrices and performance metrics for Ayaz varieties.
ClassifiersPredictedActualAccuracy (%)TPRPrecisionF1ROCPRC
Ayaz vs. Doruk
MLPAyazDoruk-------
8218Ayaz87.500.8200.9210.8680.9080.941
793Doruk-0.9300.8380.8820.9080.816
RFAyazDoruk-------
8614Ayaz89.500.8600.9250.8600.9380.954
793Doruk-0.9300.8690.8990.9380.908
SVMAyazDoruk-------
6931Ayaz81.000.6900.9080.7840.8100.781
793Doruk-0.9300.7500.8300.8100.732
Ayaz vs. Kristal
MLPAyazKristal-------
8020Ayaz85.500.8000.8990.8470.9010.885
991Kristal-0.9100.8200.8630.9010.874
RFAyazKristal-------
8812Ayaz88.500.8800.8890.8840.9320.944
1189Kristal-0.8900.8810.8860.9320.908
SVMAyazKristal-------
7030Ayaz79.500.7000.8640.7730.7950.755
1189Kristal-0.8900.7480.8130.7950.721
Ayaz vs. Özveren
MLPAyazÖzveren-------
8515Ayaz86.500.8500.8760.8630.9350.913
1288Özveren-0.8800.8540.8670.9350.928
RFAyazÖzveren-------
8713Ayaz89.500.8700.9160.8920.9440.946
892Özveren-0.9200.8760.8980.9440.911
SVMAyazÖzveren-------
6139Ayaz73.000.6100.8030.6930.7300.685
1585Özveren-0.8500.6850.7590.7300.658
Ayaz vs. Ürkmez
MLPAyazÜrkmez-------
8515Ayaz88.500.8500.9140.8810.9160.943
892Ürkmez-0.9200.8600.8890.9160.873
RFAyazÜrkmez-------
8416Ayaz88.000.8400.9130.8750.9300.932
892Ürkmez-0.9200.8520.8850.9300.912
SVMAyazÜrkmez-------
6337Ayaz75.000.6300.8290.7160.7500.707
1387Ürkmez-0.8700.7020.7770.7500.675
Note: As blues darken, true values increase; as grays darken, false values increase.
Table 12. The confusion matrices and performance metrics for Doruk, Kristal, Özveren, and Ürkmez varieties.
Table 12. The confusion matrices and performance metrics for Doruk, Kristal, Özveren, and Ürkmez varieties.
ClassifiersPredictedActualAccuracy (%)TPRPrecisionF1ROCPRC
Doruk vs. Kristal
MLPDorukKristal-------
8218Doruk77.000.8200.7450.7810.8000.746
2872Kristal-0.7200.8000.7580.8000.833
RFDorukKristal-------
7921Doruk77.000.7900.7600.7750.8460.833
2575Kristal-0.7500.7810.7650.8460.847
SVMDorukKristal-------
8317Doruk78.500.8300.7610.7940.7850.717
2674Kristal-0.7400.8130.7750.7850.732
Doruk vs. Özveren
MLPDorukÖzveren-------
8317Doruk76.000.8300.7280.7760.8310.796
3169Özveren-0.6900.8020.7420.8310.823
RFDorukÖzveren-------
7624Doruk76.50.7600.7680.7640.8350.821
2377Özveren-0.7700.7620.7660.8350.802
SVMDorukÖzveren-------
7525Doruk78.500.7500.8060.770.7850.730
1882Özveren-0.8200.7660.7920.7850.718
Doruk vs. Ürkmez
MLPDorukÜrkmez-------
6436Doruk64.000.6400.6400.6400.6450.599
3664Ürkmez-0.6400.6400.6400.6450.644
RFDorukÜrkmez-------
6634Doruk68.000.6600.6880.6730.7060.647
3070Ürkmez-0.7000.6730.6860.7060.690
SVMDorukÜrkmez-------
6040Doruk64.000.6000.6300.6190.6600.583
3268Ürkmez-0.6800.6500.6610.6600.581
Kristal vs. Özveren
MLPKristalÖzveren-------
8020Kristal76.500.8000.7480.7730.8410.827
2773Özveren-0.7300.7850.7560.8410.848
RFKristalÖzveren-------
8317Kristal80.500.8300.7900.8100.9110.910
2278Özveren-0.7800.8210.8000.9110.917
SVMKristalÖzveren-------
7525Kristal75.500.7500.7580.7540.7550.693
2476Özveren-0.7600.7520.7560.7550.692
Kristal vs. Ürkmez
MLPKristalÜrkmez-------
6634Kristal74.000.6600.7860.7170.7860.842
1882Ürkmez-0.8200.7070.7590.7860.698
RFKristalÜrkmez-------
7030Kristal77.000.7000.8140.7530.8510.862
1684Ürkmez-0.8400.7370.7850.8510.832
SVMKristalÜrkmez-------
7129Kristal78.000.7100.8260.7630.7800.731
1585Ürkmez-0.8500.7460.7940.7800.709
Özveren vs. Ürkmez
MLPÖzverenÜrkmez-------
7921Özveren81.500.7900.8320.8100.8590.875
1684Ürkmez-0.8400.8000.8200.8590.818
RFÖzverenÜrkmez-------
7723Özveren79.000.7700.8020.7860.8790.866
1981Ürkmez-0.8100.7790.7940.8790.865
SVMÖzverenÜrkmez-------
7822Özveren79.500.7800.8040.7920.7950.737
1981Ürkmez-0.8100.7860.7980.7950.732
Note: As blues darken, true values increase; as grays darken, false values increase.
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Çetin, N.; Okumuş, O.; Uzun, S.; Kaplan, M.; Jahanbakhshi, A.; Niedbała, G. Comprehensive Quality Analysis of Common Vetch (Vicia sativa L.) Varieties Using Image Processing Techniques and Artificial Intelligence. Agriculture 2025, 15, 2411. https://doi.org/10.3390/agriculture15232411

AMA Style

Çetin N, Okumuş O, Uzun S, Kaplan M, Jahanbakhshi A, Niedbała G. Comprehensive Quality Analysis of Common Vetch (Vicia sativa L.) Varieties Using Image Processing Techniques and Artificial Intelligence. Agriculture. 2025; 15(23):2411. https://doi.org/10.3390/agriculture15232411

Chicago/Turabian Style

Çetin, Necati, Onur Okumuş, Satı Uzun, Mahmut Kaplan, Ahmad Jahanbakhshi, and Gniewko Niedbała. 2025. "Comprehensive Quality Analysis of Common Vetch (Vicia sativa L.) Varieties Using Image Processing Techniques and Artificial Intelligence" Agriculture 15, no. 23: 2411. https://doi.org/10.3390/agriculture15232411

APA Style

Çetin, N., Okumuş, O., Uzun, S., Kaplan, M., Jahanbakhshi, A., & Niedbała, G. (2025). Comprehensive Quality Analysis of Common Vetch (Vicia sativa L.) Varieties Using Image Processing Techniques and Artificial Intelligence. Agriculture, 15(23), 2411. https://doi.org/10.3390/agriculture15232411

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