## 3 Results
#### 3.1.2 Classification of the Images of the Ventral Side of Fresh and Open-Air Sun-dried
\begin{table}
\begin{tabular}{l c c c c c c c c} \hline \hline
**Algorithm** & \multicolumn{2}{c}{**Predicted Class (\%)**} & \multicolumn{2}{c}{**Average**} & \multirow{2}{*}{**Precision**} & \multirow{2}{*}{**Recall**} & \multirow{2}{*}{**F-Measure**} & \multirow{2}{*}{**MCC**} \\  & **Fresh** & & **Open-Air Sun-dried** & & & & & & \\ \hline \multicolumn{8}{c}{Color channel \(R\)} \\ lazy.KStar & 95 & 5 & Fresh & 0.950 & 0.950 & 0.950 & 0.950 & 0.900 \\  & 5 & 95 & Open-air sun-dried & 95 & 0.950 & 0.950 & 0.950 & 0.900 \\ rules.JRip & 90 & 10 & Fresh & 0.947 & 0.900 & 0.923 & 0.851 \\  & 5 & 95 & Open-air sun-dried & 0.905 & 0.950 & 0.927 & 0.851 \\ trees.J48 & 100 & 0 & Fresh & 1.000 & 1.000 & 1.000 & 1.000 \\  & 0 & 100 & Open-air sun-dried & 1.000 & 1.000 & 1.000 & 1.000 \\  & \multicolumn{8}{c}{Color channel \(G\)} \\ lazy.KStar & 100 & 0 & Fresh & 0.952 & 1.000 & 0.976 & 0.951 \\  & 5 & 95 & Open-air sun-dried & 1.000 & 0.950 & 0.974 & 0.951 \\ rules.JRip & 90 & 10 & Fresh & 1.000 & 0.900 & 0.947 & 0.905 \\  & 0 & 100 & Open-air sun-dried & 95 & 0.909 & 1.000 & 0.952 & 0.905 \\ trees.J48 & 100 & 0 & Fresh & 1.000 & 1.000 & 1.000 & 1.000 \\  & 0 & 100 & Open-air sun-dried & 1.000 & 1.000 & 1.000 & 1.000 \\  & \multicolumn{8}{c}{Color channel \(B\)} \\ lazy.KStar & 100 & 0 & Fresh & 1.000 & 1.000 & 1.000 & 1.000 \\  & 0 & 100 & Open-air sun-dried & 1.000 & 1.000 & 1.000 & 1.000 \\ rules.JRip & 100 & 0 & Fresh & 1.000 & 1.000 & 1.000 & 1.000 \\ trees.J48 & 100 & 0 & Fresh & 1.000 & 1.000 & 1.000 & 1.000 \\  & 0 & 100 & Open-air sun-dried & 1.000 & 1.000 & 1.000 & 1.000 \\ \hline \hline \end{tabular} MCC—Matthews Correlation Coefficient.  
\end{table} 
Table 4: The distinguishing of fresh and open-air sun-dried mint leaves imaged on the ventral side based on models including selected textures from color channels \(R\), \(G\), and \(B\) belonging to color space RGB. \begin{table}
\begin{tabular}{l c c c c c c c c} \hline \hline
**Algorithm** & \multicolumn{2}{c}{**Predicted Class (\%)**} & \multicolumn{2}{c}{**Average**} & \multirow{2}{*}{**Precision**} & \multirow{2}{*}{**Recall**} & \multirow{2}{*}{**F-Measure**} & \multirow{2}{*}{**MCC**} \\  & **Fresh** & & & & & & \\ \hline \multicolumn{8}{c}{Color channel \(L\)} \\ lazy.KStar & 95 & 5 & Fresh & 0.950 & 0.950 & 0.950 & 0.950 & 0.900 \\  & 5 & 95 & Open-air sun-dried & 95 & 0.950 & 0.950 & 0.950 & 0.900 \\ rules.JRip & 5 & 95 & Open-air sun-dried & 95 & 0.950 & 0.950 & 0.950 & 0.900 \\ trees.J48 & 100 & 0 & Fresh & 0.952 & 1.000 & 0.976 & 0.951 \\  & 5 & 95 & Open-air sun-dried & 97.5 & 1.000 & 0.950 & 0.974 & 0.951 \\  & \multicolumn{8}{c}{Color channel \(a\)} \\ lazy.KStar & 100 & 0 & Fresh & 1.000 & 1.000 & 1.000 & 1.000 & 1.000 \\  & 0 & 100 & Open-air sun-dried & 1.000 & 1.000 & 1.000 & 1.000 \\ rules.JRip & 100 & 0 & Fresh & 1.000 & 1.000 & 1.000 & 1.000 \\ trees.J48 & 100 & 0 & Fresh & 1.000 & 1.000 & 1.000 & 1.000 \\  & 0 & 100 & Open-air sun-dried & 1.000 & 1.000 & 1.000 & 1.000 \\ \hline \hline \end{tabular} MCC—Matthews Correlation Coefficient.  
\end{table} 
Table 5: The classification of images of the ventral side of fresh and open-air sun-dried mint leaves using models including selected textures from color channels \(L\), \(a\), and \(b\) from color space Lab. The models built using selected textures from color channels belonging to color space XYZ of images of the ventral side of leaves produced the lowest results for distinguishing fresh and open-air sun-dried mint classes (Table 6). Samples were completely correctly classified only in the case of models developed using the KStar algorithm for selected textures from color channels \(X\) and \(Y\). For other machine learning algorithms of JRip and J48, an average accuracy of 95% was obtained for color channel \(X\) and 97.5% for color channel \(Y\). An average accuracy of the classification of fresh and open-air sun-dried mint leaves reached 97.5% for a model including selected textures from color channel \(Z\) developed using J48.