Next Article in Journal
Black Mulberries (Morus nigra L.) Modulate Oxidative Stress and Beta-Amyloid-Induced Toxicity, Becoming a Potential Neuroprotective Functional Food
Previous Article in Journal
The Preharvest Application of Stress Response Elicitors Improves the Content of Bioactive Compounds without Modifying the Sensory Attributes of Butterhead Lettuce (Lactuca sativa var. capitata)
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Nutritional Quality Analysis and Classification Detection of Buckwheat in Different Harvest Periods

1
College of Agricultural Engineering, Shanxi Agricultural University, Taigu 030801, China
2
Dryland Farm Machinery Key Technology and Equipment Key Laboratory of Shanxi Province, Taigu 030801, China
*
Author to whom correspondence should be addressed.
Foods 2024, 13(16), 2576; https://doi.org/10.3390/foods13162576
Submission received: 25 July 2024 / Revised: 13 August 2024 / Accepted: 14 August 2024 / Published: 17 August 2024

Abstract

:
For buckwheat, the optimal harvest period is difficult to determine—too early or too late a harvest affects the nutritional quality of buckwheat. In this paper, physical and chemical tests are combined with a method using near-infrared spectroscopy nondestructive testing technology to study buckwheat harvest and determine the optimal harvest period. Physical and chemical tests to determine the growth cycle were performed at 83 days, 90 days, 93 days, 96 days, 99 days, and 102 days, in which the buckwheat grain starch, fat, protein, total flavonoid, and total phenol contents were assessed. Spectral images of buckwheat in six different harvest periods were collected using a near-infrared spectral imaging system. Four preprocessing methods (SNV, S-G, DWT, and the normaliz function) and three dimensionality reduction algorithms (IVSO, VCPA, VISSA) were used to process the raw buckwheat spectral data, and the full and eigen spectra were established as a random forest (RF). Random forest (RF) and Least Squares Support Vector Machine (LS-SVM) classification models were used to determine the full and eigen spectra, respectively, and the optimal model for the buckwheat single harvest period was determined and validated. Through physical and chemical tests, it was concluded that the 90-day harvest buckwheat grain protein, fat, and starch contents were the highest, and that the total flavonoid and total phenolic contents were also high. The SNV preprocessing method was the most effective, and the feature bands extracted using the IVSO algorithm were more representative. The IVSO-RF model was the best discriminative model for the classification of buckwheat in different harvest periods, with the correct rates of the training and prediction sets reaching 100% and 96.67%, respectively. When applying the IVSO-RF model to the buckwheat single harvest period to verify the classification, the correct rate of the training set for each harvest period reached 96%, and that of the prediction set reached 100%. Near-infrared spectroscopy combined with the IVSO-RF modeling method for buckwheat harvest period detection is a rapid, nondestructive classification method. When this was combined with physical and chemical analyses, it was determined that a growth cycle of 90 days is the best harvest period for buckwheat. The results of this study can not only improve the quality of buckwheat crops but also be applied to other crops to determine their optimal harvest period.

1. Introduction

Buckwheat is a medicinal and food plant rich in nutrients and efficacious substances and has a variety of pharmacological effects. In the field of food processing and medicine, it has considerable potential for development and utilization [1]. The nutrients in buckwheat mainly include starch, protein, fat, flavonoids, and phenols. In health care, buckwheat has antihypertensive, hypoglycemic, hypolipidemic, and antioxidant effects, among other functions [2]. Buckwheat is an indeterminate raceme with a long flowering period. It exhibits side flowering and fruiting, and the seed maturity time and maturity are not consistent [3]. There are many differences in nutrient accumulation in buckwheat grains harvested after different harvest periods. The determination of the optimal harvest period for buckwheat is of great significance to improve the nutritional value of its grains [4]. Near-infrared spectroscopy (NIRS) technology is fast and efficient and is widely used in quality testing, classification, and the identification of various agricultural products [5]. Different buckwheat harvest periods have great impacts on its nutritional quality. They also lead to buckwheat with unique reflectance characteristics in the near-infrared spectral band, and through the analysis of these spectral data, the harvest periods of buckwheat seeds can be identified [6]. Compared with traditional observation and measurement methods, near-infrared spectral imaging technology has higher spectral resolution and accuracy, which can provide more accurate results for harvest period identification. At the same time, this reduces the manpower and time costs, as the use of near-infrared spectroscopy can be quickly applied for the classification of different buckwheat harvest periods.
To date, researchers have carried out significant research work in two areas: nutritional quality and grain classification and detection in different harvest periods. In terms of nutritional quality, the current research is mainly focused on wheat, corn, and other major grain crops; however, there is no research on buckwheat during different harvest periods. Gong, Li, and Lu [7] studied the impact of different harvest times on the nutritional flavor quality and starch RVA characteristics of “Japonica 46”. They considered how delaying the harvest time of “Japonica 46” affected the protein content, the straight-chain amylose content, and rice disintegration. It was found that delaying the harvesting time had less of an effect on the protein content and straight-chain starch content of “Japonica 46”, while the disintegration and abatement values of rice were more affected by the harvesting time. Wang et al. [8] studied the effect of the variety and the harvesting period on the biological yield and silage quality of whole maize and found that with a delay in the silage period, the contents of crude protein, starch, acetic acid, and lactic acid gradually decreased, the content of fat and water-soluble carbohydrates first rose and then declined, and the PH value first decreased and then increased. Liang et al. [9] analyzed the effect of the harvesting period on the yield and nutrient composition of oats and found that the dry matter content gradually increased with delays in the fertility period and that the difference was significant. The dry matter yield in the milky stage was higher than that in the tasseling and grouting stages. In addition to the crude fat, the crude protein, crude ash, and the content of calcium and phosphorus were all reduced. The main focus in classification detection is on grain variety identification, pest and disease monitoring, and seed vigor prediction. Wu et al. [6] collected spectral images of 27 types of sorghum varieties using a hyperspectral imaging system and utilized CARS for data dimensionality reduction. The correct rates of the CARS-RF model training set and the prediction set reached 95.00% and 84.07%, respectively. Liu et al. [10] proposed an algorithm for the rapid visual recognition of a large number of wheat blast seed samples employing images collected using a hyperspectral imaging system in combination with machine learning. This showed good recognition results, with the accuracy of the modeling and test sets reaching 95.5% and 98%, respectively. Larios et al. [11] proposed an algorithm for the rapid visual recognition of a large number of wheat blast seed samples using images collected via a hyperspectral imaging system combined with chemometric methods; they used a PCA method for data dimensionality reduction combined with support vector machine (SVM), K-nearest neighbor (KNN), and discriminant analysis to differentiate soybean seed vigor, and were able to differentiate 100% of soybean seed vigor levels. Yang, You, and Cheng [12] used hyperspectral imaging to study the spectral characteristics of corn seeds with different maturity levels. The feature band images were processed using image analysis methods to identify corn seeds with lower maturity levels, and the average correct identification rate was 93.9%. Singh et al. [13] collected 35 barley varieties, and hyperspectral reflectance images of the ventral and dorsal sides of the seeds were captured in the near-infrared (NIR) range from 900 to 1700 nm. The average spectra were extracted and preprocessed using a variety of methods, and NIR images of the ventral and dorsal sides of the seeds were collected using a variety of methods. Extraction, preprocessing, and NIR-HSI were combined with an end-to-end CNN, demonstrating accuracy greater than 98%.
In summary, in terms of nutritional quality, current research is mainly focused on corn, wheat, and other major grain crops; research on buckwheat is relatively rare. In terms of grain classification and detection, research on buckwheat during different harvesting periods has not yet been undertaken. Nutritional quality research within grain classification and detection comprises two elements; this study uses physicochemical tests to analyze the nutrient quality of buckwheat in different harvesting periods and near-infrared spectroscopy nondestructive testing technology to determine different harvesting periods for buckwheat classification detection so as to determine buckwheat’s optimal harvesting period.

2. Materials and Methods

2.1. Test Materials

The buckwheat samples selected for this study are red mountain buckwheat from the Shen Feng experimental field at Shanxi Agricultural University, Taigu District, Jinzhong City, Shanxi Province (37°25.6′ N,12°35.0′ E, temperate continental climate throughout the year); the soil in the experimental field is sandy. The average annual rainfall is 391 mm and the average temperature is 13 °C. Red mountain buckwheat was planted on 1 July 2023 following a planting method for mechanical strip sowing; there was a sowing spacing of 50 cm and a sowing density of 2,100,000 plants/hectare. Buckwheat varieties with good growth were chosen, and full buckwheat grain was chosen. The buckwheat harvest did not fail, there were no weeds in the field, and there was almost no natural grain. In this study, buckwheat was divided into six harvest periods: the growth cycles were 83 days, 90 days, 93 days, 96 days, 99 days, and 102 days. Some of the buckwheat was manually threshed on the day of the harvest and brought back to the laboratory immediately after harvesting. We selected buckwheat kernels with a uniform shape and size, no cracks, fuller shapes, and normal colors as test samples. We used a Starter Kit visible–near-infrared hyperspectral (Headwall photonics, Bolton, MA, USA) scanning platform on the same day to take images of buckwheat samples in different periods.

2.2. NIR Spectral Imaging Acquisition Equipment

The system consisted of a scanning platform, a miniature near-infrared spectral imager (aperture 1.4, focal length 25 mm), a light source, a controller, a computer, etc. It had a spectral range of 900–1700 nm, a spectral resolution of 0.727 nm, and an effective wavelength band of 950–1650 nm. The acquisition parameters were set as follows to obtain clear and undistorted images: object distance, 370 mm; push-sweep stroke, 100 mm; and platform moving speed, 2.938 mm. The buckwheat seed samples were loaded into a sample dish with a diameter of 40 mm and a depth of 15 mm, smoothed and compacted, and placed on the mobile scanning platform for near-infrared spectral image acquisition. Each harvest sample was imaged 100 times, totaling 600 NIR spectral images. A flow chart for the spectral analysis is shown in Figure 1.

2.3. Determination of Nutritional Quality of Buckwheat during Different Harvest Periods

After collecting NIR spectral information, buckwheat samples were used for the determination of physicochemical properties after growth cycles of 83, 90, 93, 96, 99, and 102 days. We used acid hydrolysis to detect the starch content of the sample [14], Kjeldahl nitrogen determination to detect the protein content of the sample [15], Soxhlet extraction to detect the fat content of the sample [16], sodium nitrate aluminum nitrate to determine the total flavonoid content of the sample [17], and the Folin–Ciocalteu colorimetric assay to detect the total phenol content of the sample [18]. All of the experiments were replicated three times. All of the tests were repeated three times.

2.4. Extraction and Processing of Near-Infrared Spectral Data for Buckwheat in Different Harvest Periods

2.4.1. Data Extraction

NIR spectral images contain both spectral and image information of the buckwheat sample, and each pixel point on the image has a diffuse reflectance spectral curve corresponding to it. In this study, ENVI 5.0 [19] was used to extract the spectral data from the region of interest (ROI) of each hyperspectral image. The reflectance of each pixel point was calculated and the arithmetic mean was taken, which was used to form the basic data set for subsequent data processing.

2.4.2. Preprocessing of Near-Infrared Spectral Data for Buckwheat in Different Harvest Periods

During the acquisition process, the noise of the instrument itself as well as the surrounding stray light affect the spectral information. To attenuate or eliminate this effect, the collected spectral data need to be preprocessed to improve the accuracy and stability of model detection. In this study, four preprocessing methods, namely Standard Normalized Variate [20,21] (SNV), Discrete Wavelet Transform [22] (DWT), normalization [23], and Filter Smoothing [24] (Savitzky–Golay, S-G), were used to preprocess the original spectral data, respectively. They were combined with the classification algorithm to compare the correct rate of both the training and prediction sets, and the preprocessing method with the best effect was selected. The reasons for choosing these four preprocessing methods are as follows: SNV preprocessing can significantly reduce interference due to factors such as scattering effects and baseline drift in spectral data; DWT can effectively separate noise and background in spectral signals and improve the signal-to-noise ratio of the spectral data; normalization helps to eliminate the magnitude differences between different samples or bands, making the data more uniform and comparable; and S-G filtering can smooth the spectral curve while retaining more spectral details. Considering the stability and general adaptability of the constructed model, the total number of samples in the modeling part was 600 and the training and prediction sets were randomly divided in a 3:1 ratio; the training set contained 450 samples and the prediction set contained 150 samples.

2.4.3. Extraction of Characteristic Wavelengths from Near-Infrared Spectral Data of Buckwheat in Different Harvest Periods

In the original full-spectrum data, a large amount of redundant and covariance data was included, which significantly affects the model’s accuracy and data processing efficiency. Therefore, it was necessary to extract and analyze closely related wavelengths, simplify the model, eliminate useless information, and obtain a model with strong predictive ability and good stability.
In this study, three methods, IVSO, VCPA, and IVSSO, were used to extract the characteristic wavelengths from the preprocessed spectral data.
The iterative variable subset optimization (IVSO) [25] algorithm gradually eliminates informative variables by employing the WBMS strategy and sequential summation with the regression coefficients of PLS as the importance of the variables. Variable combination cluster analysis (VCPA) [26] is a high-performance variable selection algorithm. It first tests the spectrum of the sample using Binary Matrix Sampling (BMS) and then calculates the frequency of each variable in the optimal sub-model using the concept of model cluster analysis (MPA). The importance of the variables is determined based on frequency, and an exponential decreasing function is applied to eliminate the less influential variables. The variable iterative space shrinkage approach (VISSA) [27] algorithm is a kind of model cluster analysis (MPA) based on the idea of gradually optimizing the variable space during each iteration, ultimately achieving selection of the optimal combination of variables.

2.4.4. Classification Models and Assessment Indicators

The random forest algorithm predicts the outcome by constructing multiple decision trees and voting, and usually achieves a high prediction accuracy. LS-SVM is an algorithm that improves on traditional support vector machines (SVMs) by solving a system of linear equations instead of the quadratic programming problem in traditional SVMs, which simplifies the computational process and improves learning efficiency. These two algorithms have significant advantages in solving specific problems. Thus, we used random forest and Least Squares Support Vector Machine classification models.
The random forest (RF) [28,29] algorithm, which is currently widely used in regression and classification problems, is an intelligent combinatorial classification algorithm that uses a self-service sampling method (bootstrap) for the original training sample set, N, in the put back to randomly sample n samples and generate a new set of training samples to train the decision tree. It repeats the above steps to generate m decision trees and form a random forest; the classification result of the new data is based on the score formed by the number of votes the classification tree has. The classification ability of a single tree may be small, but after randomly generating a large number of decision trees, a test sample can be statistically selected using the classification results of each tree for the most likely classification.
Least Squares Support Vector Machine (LS-SVM) [30,31] is a classification algorithm widely used in fault diagnosis. The basic premise of SVM is to map the data into a high-dimensional space and then find a hyperplane in the high-dimensional space to separate the samples of different classes. LS-SVM is a variant of SVM which simplifies the solution process by introducing the kernel function to convert the nonlinear problem into a linear problem. LS-SVM is an improved support vector machine proposed to reduce training time and computational complexity and improve generalization ability. The radial basis function was chosen as the kernel function of the LS-SVM model to reduce computational complexity by solving a system of linear equations instead of the complex quadratic programming problem characteristic of SVM. LS-SVM has been used for the qualitative and quantitative analysis of spectra.
These two classification algorithms were combined with three feature band extraction methods to obtain six classification models: IVSO-RF; VCPA-RF; VISSA-RF; IVSO-LS-SVM; VCPA-LS-SVM; and VISSA-LS-SVM. The optimal models obtained from the comparisons were then validated for the classification of a single harvest period.
These six classification models were evaluated in terms of accuracy, error rate, precision, recall, and F1 score. Accuracy is the most intuitive performance metric; it indicates the proportion of correctly classified samples to the total number of samples. The error rate is the proportion of the number of incorrectly classified samples to the total number of samples. Precision indicates the proportion of all samples that are predicted by the model as positive that are truly positive. Recall, also known as the true instance rate, indicates the proportion of all samples that are truly positive that are correctly predicted to be positive by the model. The F1 score is a reconciled average of precision and recall and is used to demonstrate the performance of the model in terms of both precision and recall. The formulas for accuracy, error rate, precision, recall, and F1 score are as follows:
Accuracy = TP + TN TP + FP + FN + TN
Error   Rate = FP + FN TP + FP + TN + FN
Precision = TP TP + FP
Recall = TP TP + FN
F 1   Score = 2 × Precision × Recall Precision + Recall
In the formulas, true positive (TP) represents the number of true samples that are identified as true; false negative (FN) represents the number of true samples that are identified as false; false positive (FP) represents the number of false samples that are identified as true; and true negative (TN) represents the number of false samples that are identified as false. A higher accuracy rate indicates a better discriminative effect and the error rate is complementary to the accuracy rate. A higher precision indicates a higher proportion of the samples predicted to be positive that are truly positive, while a higher recall means that more truly positive cases are found by the model. The F1 score is used to comprehensively reflect the performance of the model in terms of precision and recall.

3. Results and Analysis

3.1. Analysis of Nutritional Quality Results for Buckwheat in Different Harvest Periods

The changes in the starch, fat, protein, total flavonoid, and total phenol contents of buckwheat in different harvest periods are shown in Figure 2.
Starch was higher throughout the harvest period for the 90- and 102-day harvests and lowest for the 83-day harvest. The starch content increased substantially from the 83rd day to the 90th day but decreased from the 90th day to the 93rd day; from the 93rd day onwards, the starch content gradually increased without substantial changes.
Fat had the highest content of 3.64% after 90 days; from the 90th day, the fat content gradually decreased, and in the 102-day harvest, buckwheat fat content was the lowest at 2.65%.
Protein content remained stable throughout the harvest period, ranging from 13.43 to 14.76%. The buckwheat protein content after 90 days was slightly higher than the other periods, with a value of 14.76%.
The total flavonoid content showed a trend of increasing, then decreasing, and then increasing. It was lowest at 4.23 mg/g in the 83-day harvest and increased considerably to 5.8 mg/g from the 83rd day to the 90th day, but then decreased from day 90 to day 93 and increased slightly in the 102-day harvest.
The variation in the total phenol content was consistent with that of total flavonoids. The 83-day harvest had the lowest total phenol content at 4.33 mg/g; the 90-day harvest had a higher total phenol content of 4.56 mg/g.
The results for the nutritional quality of buckwheat in different harvest periods are shown in Table 1. The coefficient of variation of fat and total flavonoids was significantly higher than that of the other components, reaching 11.60% and 11.18%, respectively. The coefficient of variation of starch was also higher at 6.43%. This indicates that different harvest periods led to large differences in the content of these three components in the harvested buckwheat. The coefficients of variation for protein and total phenol were relatively low, at 3.56% and 3.43%, respectively. Comprehensive analysis shows that the content of starch, protein, fat, total flavonoids, and total phenols changes and that buckwheat has an optimal harvest period of 90 days.

3.2. Analysis of Near-Infrared Spectral Results of Buckwheat in Different Harvest Periods

3.2.1. Spectral Characterization

The original spectral curves of the 600 samples selected for this experiment are shown in Figure 3a. The average spectral curves from six different buckwheat harvest periods are shown in Figure 3b. In the wavelength range of 950~1650 nm, the overall trend in the buckwheat spectral curve is consistent; peaks and troughs are evident and some of the curves appear to be overlapping. Further analysis shows that the two peaks are located at 1150 nm and 1303 nm, and the two troughs are located at 1203 nm and 1460 nm. The 1150 nm peak and 1203 nm trough may be caused by C-H secondary frequency doubling [32,33], the 1303 nm peak may be related to C-H secondary frequency doubling [33], and the trough at 1460 nm may be caused by N-H telescopic vibration [34]. However, due to the differences in the content and proportion of chemicals contained in buckwheat kernels in different harvest periods, there are differences in the reflectance of buckwheat kernels. These differences provide an effective discriminatory basis for the spectral identification of buckwheat kernels from different harvest periods.

3.2.2. Analysis of Data Preprocessing Results

SNV, S-G, DWT, and normaliz were selected to preprocess the buckwheat spectra; the preprocessed spectral curve is shown in Figure 4. The preprocessed curve is smoother and the noise and fluctuations in the original data are reduced, making the trend more clear, which is conducive to improving the classification accuracy of the model.
The results of the constructed classification models based on the data from the four preprocessed spectral methods, SNV, S-G, DWT, and normaliz combined with RF and LS-SVM algorithms, are shown in Table 2. SNV preprocessing leads to the highest correctness rate for both the training and prediction sets. Therefore, the SNV preprocessing method is selected.

3.2.3. Analysis of Feature Wavelength Extraction Results

The characteristic wavelengths were extracted from the SNV preprocessed spectral data using three methods: IVSO, VCPA, and VISSA.
The curve of the RMSECV of the PLS model with the number of iterations during the operation of IVSO is shown in Figure 5a. It can be seen that the value of RMSECV decreases after the first two iterations and then shows a gradual upward trend from the third iteration. This is due to the fact that in the first two IVSO iterations, a large number of irrelevant and interfering variables are gradually eliminated, while in the third iteration, due to the reduction in the number of variables, some useful variables are eliminated and thus the RMSECV value of the model rises. Therefore, a minimum RMSECV value of 0.2896 was found in the third iteration, and the 106 wavelength variables obtained from the final IVSO calculation were the feature variables, as shown in Figure 5b. This reduced the spectral wavelengths to 71.62% of the full spectrum, and these feature variables were mainly distributed in the 1050–1300 nm and 1400–1650 nm regions, concentrated near the first peak and two troughs.
The process of extracting feature variables based on the VCPA method is shown in Figure 6a. With the increase in the number of EDF runs, the minRMSECV value decreases overall, which indicates that the covariates in the original data are being gradually screened out and the predictive performance of the model is gradually improving. After the 43rd run, the minRMSECV value decreases sharply and the error starts to increase after the continuation of the run. When ran 68 times, the minRMSECV value reaches a minimum of 0.3336, and the best combination of feature variables is obtained. Only 14 feature variables were extracted using the VCPA method, as shown in Figure 6b. This only accounted for 9.46% of the original spectra, and the feature variables near the first peak and the two valleys, which were mainly distributed in the 1044 nm, 1162 nm, 1230 nm, 1270 nm, 1383–1402 nm, and 1502 nm regions, were mainly excluded.
The VISSA method is based on the idea of model cluster analysis. It gradually optimizes the variable space in each iteration and obtains the feature variables by continuously reducing the root mean square error of cross-validation (RMSECV). Figure 7a shows the change in the minimum error value of the model during the iteration process. During this process, the minimum error value gradually decreases from the initial 0.2814, indicating that redundant variables are eliminated in each iteration and that the prediction accuracy of the model is gradually improving. After the 21st iteration, the minRMSECV value reaches a minimum of 0.1923, at which time 77 feature variables are obtained, as shown in Figure 7b, accounting for 52.03% of the original number. They are mainly distributed in the 1050–1300 nm and 1410–1650 nm regions, concentrated in the vicinity of the first wave peak and two wave valleys.

3.2.4. Analysis of Classification Results

First, RF and LS-SVM classification models were established for full-spectrum buckwheat data. The training and prediction sets’ correctness rates for the LS-SVM classification model built on raw spectral data of buckwheat from different harvest periods were low, at 39.79% and 35.33%, respectively; the training and prediction sets’ correctness rates for the RF classification model were high, at 100% and 73.33%, respectively. After preprocessing using the SNV method, the prediction set correctness rate of the LS-SVM model reached 64.67%, and that of the RF model was 92%. Therefore, the RF classification prediction model was finally selected.
The results of the combined RF and LS-SVM classification algorithms with IVSO, VCPA, and VISSA—the three feature band extraction methods—are shown in Table 3. The IVSO downscaling method, which extracts the feature bands, is more accurate and more representative. The accuracy of buckwheat harvesting period prediction is the highest for the IVSO-RF model with 500 spanning trees (ntree) and 10 features selected with random sampling (mtry); the prediction set accuracy and F1 score reached 96.67% and 92.58%, respectively. The overall correctness of the IVSO-RF classification model for the prediction set is significantly better than that of the other five models. Therefore, the IVSO-RF model was selected as the optimal model for predicting different buckwheat harvest periods.
The results of classification validation for which we applied the IVSO-RF classification model to a single harvest period of buckwheat are shown in Figure 8, the more intense the color, the higher the level of classification. With the correctness rates of the training and prediction sets for each harvest period reaching above 96% and 100%, respectively.

4. Discussion

The nutritional quality of buckwheat changes with different harvesting periods, although physical and chemical tests to determine the starch, fat, protein, total flavonoid, and total phenolic contents can determine trends [35,36]. In the buckwheat ripening process, starch content first rises, then falls and rises again, with an overall upward trend [37,38]. This is likely because, in the early stages, the rate of starch synthesis exceeds the rate of starch decomposition, resulting in an increase in starch content. With the passage of time, the starch content decreases when the decomposition rate increases or the synthesis rate decreases, and then the starch content increases a second time when the starch synthesis rate exceeds the decomposition rate due to external environmental factors. The fat content showed a trend of increasing and then decreasing, probably because lipids are transported to the seed to support seed growth and development in the seed maturation process; as the seed matures, lipids gradually become used to synthesizing other biomolecules, resulting in a decrease in fat content. This is consistent with the results of Wang [8]. The protein content of buckwheat in different harvest periods did not change much and remained stable, which is consistent with the results of Fan [39]. In the early stages of maturation, buckwheat metabolism is active and functional components may be produced, and thus they accumulate; then, as buckwheat plants begin to enter the senescence stage, metabolism slows down, the synthesis of functional components is reduced, and it may begin to decrease. Functional components may be used in the later stages of maturation, and the protective mechanism activity may increase again. The total flavonoid and phenol contents showed a trend of first increasing, then decreasing and increasing again, which was consistent with the results of Cheng [18].
Through the IVSO algorithm, 106 characteristic bands were screened for buckwheat in different harvest periods, and the characteristic wavelengths were compressed to 71.6% of the total number of bands, which shortened the computation time; the characteristic bands were mainly located in the vicinity of 1050 nm, 1070–1280 nm, 1410–1500 nm, 1550–1580 nm, and 1550–1580 nm. The characteristic wavelength of the stretching vibration of the C-O bond was located near 1050 nm, corresponding to the absorption peaks of carbohydrate and alcohol compounds in buckwheat grains [40]. The peaks in the range of 1070–1280 nm correspond to the absorption of polysaccharides, proteins, and other compounds in buckwheat grains [41]. The peaks in the 1410–1500 nm wavelength range correspond to the absorption of flavonoids and other compounds in buckwheat seeds [42], and the 1550–1580 nm band may be related to the vibration of the C = C double bond [43].

5. Conclusions

(1)
In this study, six buckwheat harvests (with 83-day, 90-day, 93-day, 96-day, 99-day and 102-day growth cycles) were investigated. The six different harvests of buckwheat kernels were analyzed using physicochemical tests to determine the buckwheat grain nutrient quality over the different harvest periods and the changes in buckwheat grain protein, fat, and starch contents. The total flavonoid and total phenol contents were higher in the 90-day cycle; thus, this was determined as the optimal buckwheat harvest period.
(2)
In this study, near-infrared spectroscopy nondestructive testing technology was utilized to detect buckwheat content in six harvesting periods: 83 days, 90 days, 93 days, 96 days, 99 days, and 102 days. Through the comparison of six classification models, it was shown that the IVSO-RF model showed the best classification of different buckwheat harvests as the evaluation indexes were higher. When applying the IVSO-RF classification model to classify and validate a single buckwheat harvest period, the correctness rate of the training set for each harvest period reached 96%, and the correctness rate of the prediction set reached 100%.
In summary, through physical and chemical tests of the nutritional quality of buckwheat in different harvest periods, we determined that the optimal buckwheat harvest period is a growth cycle of 90 days. We employed near-infrared spectroscopy nondestructive testing technology combined with an IVSO-RF modeling method for buckwheat harvests to provide rapid, nondestructive classification and to determine the best harvest period. These physical and chemical tests, when combined with near-infrared spectroscopy, can determine the optimal period to achieve the best buckwheat harvest. The rapid study of different harvest periods, which lead to improvements in the nutritional quality of buckwheat, can also be applied to other crops to determine the optimal harvest period.

Author Contributions

Conceptualization, P.X.; methodology, P.X.; validation, P.X. and Y.L.; data curation, L.Y., H.Y. and S.F.; writing—original draft preparation, P.X.; writing—review and editing, P.X., D.Z. and Y.L.; supervision, D.Z. and Y.L.; project administration, D.Z.; funding acquisition, D.Z. and Y.L. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by the Shanxi Province Basic Research Program (No. 202103021223146), the Central Guided Local Science and Technology Development Funding Program (YDZJSX20231C009), and the School Academic Recovery Program (2023XSHF2).

Data Availability Statement

The original contributions presented in the study are included in the article, further inquiries can be directed to the corresponding author.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Wang, X.; Wang, W.; Xing, X.; Sun, Y. Progress of Research on the Efficacy Components and Pharmacological Effects of Buckwheat. J. Shenyang Pharm. Univ. 2023, 1–12. [Google Scholar] [CrossRef]
  2. Luo, T.; Li, G.; You, J.; Tang, K.; Chen, Y. Nutritional Composition and Health Effects of Food and Medicine Crops Buckwheat. Spec. Econ. Anim. Plants 2024, 27, 178–181. [Google Scholar]
  3. Lu, Q.; Zheng, D.; Liu, Y.; Li, L.; Xu, B.; Ye, S. Problems and Thoughts on Mechanized Harvesting Technology of Buckwheat in China. J. Agric. Eng. 2020, 10, 6–9. [Google Scholar]
  4. Huang, X.; Zhang, W.; Dang, W.; Zhang, K.; Feng, S.; Liu, Z.; Yang, F. Buckwheat Harvesting Machinery Research Status and Development Trend. Farm Mach. 2018, 10, 84–90. [Google Scholar] [CrossRef]
  5. Wu, C.; Kong, L.; Wang, S.; Guo, Y. Near Infrared Spectroscopy (NIRS) Technology Applied in Millet Feature Extraction and Variety Identification. Afr. J. Agric. Res. 2017, 12, 2223–2231. [Google Scholar] [CrossRef]
  6. Wu, K.; Zhu, T.; Wang, Z.; Zhao, X.; Yuan, M.; Liang, D.; Li, Z. Identification of Varieties of Sorghum Based on a Competitive Adaptive Reweighted Sampling-Random Forest Process. Eur. Food Res. Technol. 2024, 250, 191–201. [Google Scholar] [CrossRef]
  7. Gong, K.; Li, Y.; Lu, C.; Zhou, L. Effects of Different Harvesting Times on the Nutritional and Flavour Quality and Starch R V A Characteristics of “Japonica 46”. Shanghai Agric. Sci. Technol. 2019, 25, 102–103. [Google Scholar] [CrossRef]
  8. Wang, Y.; Yang, Z.; Liu, J.; Wang, C.; Huang, J.; Yao, J.; Yan, S.; Wu, Z. Effect of Cultivars and Harvest Stages on the Maize Yield and Silage Quality. Acta Agrestia Sin. 2018, 26, 261–263. [Google Scholar] [CrossRef]
  9. Liang, Y.; Wang, L.; Yao, S.; Zhao, Y. Integrated Evaluation on Yield and Nutritional Quality of Five Oat Varieties in Different Harvest Time. Shandong Agric. Sci. 2016, 48, 49–53. [Google Scholar]
  10. Liu, S.; Tan, X.; Liu, C.; Zhu, C.; Li, W.; Cui, S.; Du, Y.; Huang, D.; Xie, F. Recognition of Fusarium Head Blight Wheat Grain Based on Hyperspectral Data Processing Algorithm. Spectrosc. Spectr. Anal. 2019, 39, 3540–3546. [Google Scholar] [CrossRef]
  11. Larios, G.; Nicolodelli, G.; Ribeiro, M.; Canassa, T.; Reis, A.R.; Oliveira, S.L.; Alves, C.Z.; Marangoni, B.S.; Cena, C. Soybean Seed Vigor Discrimination by Using Infrared Spectroscopy and Machine Learning Algorithms. Anal. Methods 2020, 12, 4303–4309. [Google Scholar] [CrossRef] [PubMed]
  12. Yang, X.; You, Z.; Cheng, F. Study on Identification of Immature Corn Seed Using Hyperspectral Imaging. Spectrosc. Spectr. Anal. 2016, 36, 4028–4033. [Google Scholar] [CrossRef]
  13. Singh, T.; Garg, N.M.; Iyengar, S.R.S. Nondestructive Identification of Barley Seeds Variety Using Near-Infrared Hyperspectral Imaging Coupled with Convolutional Neural Network. J. Food Process Eng. 2021, 44, e13821. [Google Scholar] [CrossRef]
  14. Determination of Starch in Foods. Available online: https://img59.chem17.com/1/20170726/636366583857616209893.pdf (accessed on 23 December 2016).
  15. Determination of Protein in Foods. Available online: https://www.antpedia.com/standard/pdf/1/1901/GB%205009.5-2016.pdf (accessed on 23 December 2016).
  16. Determination of Fat in Foods. Available online: https://www.anan.gov.cn/anan/cpbz/201801/ffddf722c4e44dcb9888d7e1b55c0146/files/163c21654559468aad3b88f429f07498.pdf (accessed on 23 December 2016).
  17. Xue, H.; Deng, R.; Xu, Z.; Zhang, D. Sodium Nitrite-Aluminum Nitrate Colorimetric Assay for the Determination of Flavonoids in Buckwheat in Qianzhong. Guizhou J. Anim. Husb. Vet. Med. 2020, 44, 9–11. [Google Scholar]
  18. Cheng, Z.; Guo, H.; Hu, J.; He, Y.; Li, H.; Li, Y. Relationship Between Chlorophyll, Total Phenol, PPO and Browning of Dehulled Common Buckwheat Seeds. J. Chin. Cereals Oils Assoc. 2020, 35, 19–25. [Google Scholar]
  19. Song, X.; Du, G.; Li, Q.; Tang, G.; Huang, Y. Rapid Spectral Analysis of Agro-Products Using an Optimal Strategy: Dynamic Backward Interval PLS–Competitive Adaptive Reweighted Sampling. Anal. Bioanal. Chem. 2020, 412, 2795–2804. [Google Scholar] [CrossRef]
  20. Wrobel, T.P.; Liberda, D.; Koziol, P.; Paluszkiewicz, C.; Kwiatek, W.M. Comparison of the New Mie Extinction Extended Multiplicative Scattering Correction and Resonant Mie Extended Multiplicative Scattering Correction in Transmission Infrared Tissue Image Scattering Correction. Infrared Phys. Technol. 2020, 107, 103291. [Google Scholar] [CrossRef]
  21. Mishra, P.; Marini, F.; Biancolillo, A.; Roger, J.M. Improved Prediction of Fuel Properties with Near-Infrared Spectroscopy Using a Complementary Sequential Fusion of Scatter Correction Techniques. Talanta 2021, 223, 121693. [Google Scholar] [CrossRef] [PubMed]
  22. Cao, X.; Shen, W.; Yu, L.G.; Wang, Y.L.; Yang, J.Y.; Zhang, Z.W. Illumination Invariant Extraction for Face Recognition Using Neighboring Wavelet Coefficients. Pattern Recognit. 2012, 45, 1299–1305. [Google Scholar] [CrossRef]
  23. Chen, B.; Lu, B.; Lu, D. Parameter Optimization of Rapeseed Oil Content Model Using a Miniature Near-Infrared Spectrometer. Mod. Food Sci. Technol. 2015, 31, 286–292+267. [Google Scholar] [CrossRef]
  24. Chen, Y.; Cao, R.; Chen, J.; Liu, L.; Matsushita, B. A Practical Approach to Reconstruct High-Quality Landsat NDVI Time-Series Data by Gap Filling and the Savitzky–Golay Filter. ISPRS J. Photogramm. Remote Sens. 2021, 180, 174–190. [Google Scholar] [CrossRef]
  25. Li, Y. Research on Nondestructive Detection of Soybean Seed Vigor and Viability Based on Hyperspectral Image Technology. Master’s Thesis, Jiangsu University, Zhenjiang, China, 2021. [Google Scholar]
  26. Zhang, P.; Xu, Z.; Ma, H.; Cheng, W.; Li, X.; Tang, L.; Zhao, G.; Wu, Y.; Liu, Z.; Wang, Q. Novel Comprehensive Variable Selection Algorithm Based on Multi-Weight Vector Optimal Selection and Bootstrapping Soft Shrinkage. Infrared Phys. Technol. 2023, 133, 104800. [Google Scholar] [CrossRef]
  27. Gao, L.; Chen, J.; Zhang, Y.; Wang, K. Prediction of Compressive Strength Parallel to Grain of Birch Wood Using near Infrared Spectroscopy and SEPA-VISS-ARVM Model. J. For. Eng. 2022, 7, 52–58. [Google Scholar] [CrossRef]
  28. Georganos, S.; Grippa, T.; Gadiaga, A.N.; Linard, C.; Lennert, M.; Vanhuysse, S.; Mboga, N.; Wolff, E.; Kalogirou, S. Geographical Random Forests: A Spatial Extension of the Random Forest Algorithm to Address Spatial Heterogeneity in Remote Sensing and Population Modelling. Geocarto Int. 2021, 36, 121–136. [Google Scholar] [CrossRef]
  29. Dhanaraj, R.K.; Ramakrishnan, V.; Poongodi, M.; Krishnasamy, L.; Hamdi, M.; Kotecha, K.; Vijayakumar, V. Random Forest Bagging and X-Means Clustered Antipattern Detection from SQL Query Log for Accessing Secure Mobile Data. Wirel. Commun. Mob. Comput. 2021, 2021, 2730246. [Google Scholar] [CrossRef]
  30. Zhang, H.; Nie, X.; Liao, S.; Zhan, B.; Luo, W.; Liu, S.; Liu, X.; Xie, C. Feasibility Study on Identification of Seeds of Hong Kong Seeds 49, October Red and September Fresh Cabbage Based on Visible/Shortwave Near-Infrared Spectroscopy of Partial Least Squares Discriminant (PLS-DA) and Least Squares Support Vector Machine (LS-SVM). Spectrosc. Spectr. Anal. 2024, 44, 1718–1723. [Google Scholar] [CrossRef]
  31. Yang, D.; Lu, A.; Ren, D.; Wang, J. Rapid Determination of Biogenic Amines in Cooked Beef Using Hyperspectral Imaging with Sparse Representation Algorithm. Infrared Phys. Technol. 2017, 86, 23–34. [Google Scholar] [CrossRef]
  32. Ribeiro, J.S.; Ferreira, M.M.C.; Salva, T.J.G. Chemometric Models for the Quantitative Descriptive Sensory Analysis of Arabica Coffee Beverages Using near Infrared Spectroscopy. Talanta 2011, 83, 1352–1358. [Google Scholar] [CrossRef]
  33. Lopes, L.C.; Brandão, I.V.; Sánchez, O.C.; Franceschi, E.; Borges, G.; Dariva, C.; Fricks, A.T. Horseradish Peroxidase Biocatalytic Reaction Monitoring Using Near-Infrared (NIR) Spectroscopy. Process Biochem. 2018, 71, 127–133. [Google Scholar] [CrossRef]
  34. Zhang, J.; Feng, X.; Liu, X.; He, Y. Identification of Hybrid Okra Seeds Based on Near-Infrared Hyperspectral Imaging Technology. Appl. Sci. 2018, 8, 1793. [Google Scholar] [CrossRef]
  35. Shreeja, K.; Devi, T.S.; Gogoi, M.; Ahmed, P.; Sharma, M. Physico-Chemical and Nutritional Evaluation of Flour Made from an Under-Utilized Food Crop Buckwheat. J. Adv. Biol. Biotechnol. 2024, 27, 97–106. [Google Scholar] [CrossRef]
  36. Stacey, P.; O’Kiely, P.; Hackett, R.; Rice, B.; O’Mara, F.P. Changes in Yield and Composition of Barley, Wheat and Triticale Grains Harvested during Advancing Stages of Ripening. Ir. J. Agric. Food Res. 2006, 45, 197–209. Available online: https://www.jstor.org/stable/25562577 (accessed on 13 August 2024).
  37. Fu, H.; Cao, D.; Hu, W.; Guan, Y.; Fu, Y.; Fang, Y.; Hu, J. Studies on Optimum Harvest Time for Hybrid Rice Seed. J. Sci. Food Agric. 2017, 97, 1124–1133. [Google Scholar] [CrossRef] [PubMed]
  38. Molska, M.; Reguła, J.; Zielińska-Dawidziak, M.; Tomczak, A.; Świeca, M. Starch and Protein Analysis in Buckwheat (Fagopyrum Esculentum Moench) Sprouts Enriched with Probiotic Yeast. Learn. Technol. 2022, 168, 113903. [Google Scholar] [CrossRef]
  39. Fan, J. Influence of Harvesting Time on the Quality of Rice “Japonica 9108”. Agric. Eng. Technol. 2022, 42, 16–17. [Google Scholar] [CrossRef]
  40. Chai, Y.; Yu, Y.; Zhu, H.; Li, Z.; Dong, H.; Yang, H. Identification of Common Buckwheat (Fagopyrum Esculentum Moench) Adulterated in Tartary Buckwheat (Fagopyrum Tataricum (L.) Gaertn) Flour Based on near-Infrared Spectroscopy and Chemometrics. Curr. Res. Food Sci. 2023, 7, 100573. [Google Scholar] [CrossRef] [PubMed]
  41. Platov, Y.T.; Metlenkin, D.A.; Platova, R.A.; Rassulov, V.A.; Vereshchagin, A.I.; Marin, V.A. Correction to: Buckwheat Identification by Combined UV-VIS-NIR Spectroscopy and Multivariate Analysis. J. Appl. Spectrosc. 2022, 88, 1331. [Google Scholar] [CrossRef]
  42. Wang, F.; Yang, J.; Zhu, H. Research on Determination Method of Starch, Protein and Total Flavonoids Content in Buckwheat by Near-Infrared Spectroscopy. Sens. Lett. 2014, 12, 888–891. [Google Scholar] [CrossRef]
  43. Zhu, L.; Damaris, R.N.; Lv, Y.; Du, Q.; Shi, T.; Deng, J.; Chen, Q. Construction and Application of Detection Model for Leucine and Tyrosine Content in Golden Tartary Buckwheat Based on Near Infrared Spectroscopy. Appl. Sci. 2022, 12, 11051. [Google Scholar] [CrossRef]
Figure 1. Spectral analysis flow chart.
Figure 1. Spectral analysis flow chart.
Foods 13 02576 g001
Figure 2. Changes in the content of essential nutrients: (A) starch content; (B) fat content; (C) protein content; (D) total flavonoid content; (E) total phenol content. Different letters (a, b, c, d) indicate significant differences.
Figure 2. Changes in the content of essential nutrients: (A) starch content; (B) fat content; (C) protein content; (D) total flavonoid content; (E) total phenol content. Different letters (a, b, c, d) indicate significant differences.
Foods 13 02576 g002
Figure 3. Buckwheat spectral curve: (a) original spectral curve; (b) average spectrum.
Figure 3. Buckwheat spectral curve: (a) original spectral curve; (b) average spectrum.
Foods 13 02576 g003
Figure 4. Pre-processed buckwheat spectra: (a) SNV−treated; (b) S-G-treated; (c) DWT-treated; (d) normaliz-treated.
Figure 4. Pre-processed buckwheat spectra: (a) SNV−treated; (b) S-G-treated; (c) DWT-treated; (d) normaliz-treated.
Foods 13 02576 g004
Figure 5. IVSO-based feature wavelength extraction: (a) plot of variation in RMSECV values in each iteration; (b) distribution of characteristic wavelengths over the full spectrum.
Figure 5. IVSO-based feature wavelength extraction: (a) plot of variation in RMSECV values in each iteration; (b) distribution of characteristic wavelengths over the full spectrum.
Foods 13 02576 g005
Figure 6. VCPA-based feature wavelength extraction: (a) graph of variation in minRMSECV; (b) distribution of feature wavelengths over the full spectrum.
Figure 6. VCPA-based feature wavelength extraction: (a) graph of variation in minRMSECV; (b) distribution of feature wavelengths over the full spectrum.
Foods 13 02576 g006
Figure 7. VISSA-based feature wavelength extraction: (a) graph of the variation in minRMSECV; (b) distribution of feature wavelengths over the full spectrum.
Figure 7. VISSA-based feature wavelength extraction: (a) graph of the variation in minRMSECV; (b) distribution of feature wavelengths over the full spectrum.
Foods 13 02576 g007
Figure 8. IVSO-RF model confusion matrix diagram.
Figure 8. IVSO-RF model confusion matrix diagram.
Foods 13 02576 g008
Table 1. Content of essential nutrients in different harvest periods.
Table 1. Content of essential nutrients in different harvest periods.
Harvest PeriodStarch/%Fat/%Protein/%Total Flavonoids (mg/g)Total Phenols (mg/g)
83 days47.12 ± 3.22 b3.04 ± 0.46 ab14.46 ± 0.46 a4.23 ± 0.04 d4.33 ± 0.04 b
90 days55.66 ± 0.97 a3.64 ± 0.23 a14.76 ± 0.15 a5.80 ± 0.06 ab4.56 ± 0.02 a
93 days52.49 ± 5.01 ab3.29 ± 0.20 ab14.60 ± 0.06 a5.41 ± 0.11 c4.32 ± 0.03 b
96 days54.32 ± 1.90 a3.04 ± 0.07 ab14.73 ± 0.15 a5.49 ± 0.04 c4.33 ± 0.03 b
99 days55.63 ± 0.17 a2.78 ± 0.36 b13.43 ± 0.06 b5.39 ± 0.07 bc4.11 ± 0.03 c
102 days56.28 ± 3.17 a2.65 ± 0.03 b14.09 ± 0.20 ab5.92 ± 0.06 a4.23 ± 0.04 a
SD3.440.360.510.600.15
Mean53.583.0714.355.374.31
CV6.43%11.60%3.56%11.18%3.43%
Note: Different letters indicate significant differences (p < 0.05).
Table 2. Comparison of modeling results of RF and LS-SVM models based on different pretreatment methods.
Table 2. Comparison of modeling results of RF and LS-SVM models based on different pretreatment methods.
ModelPreprocessing MethodTraining Set Correctness (%)Prediction Set Correctness (%)
RFS-G85.1169.33
SNV9492
DWT92.6789
normaliz90.4487.33
LS-SVMS-G40.6736
SNV55.7864.67
DWT42.8944
normaliz44.2242.67
Table 3. Comparison of prediction set results based on different classification models.
Table 3. Comparison of prediction set results based on different classification models.
ModelNumberTotalNFPAccuracy/%Error Rate/%Precision/%Recall/%F1 Score/%
IVSO-RF106150596.673.3396.6289.1692.58
VCPA-RF141502583.3316.6783.9481.2382.99
VISSA-RF77150795.334.6795.5489.0392.43
IVSO-LS-SVM1061507947.3352.6754.9466.9544.31
VCPA-LS-SVM1415010331.3368.6737.5829.1827.60
VISSA-LS-SVM7715081465453.9950.2541.87
Note: NFP, number of false positives.
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

Xin, P.; Liu, Y.; Yang, L.; Yan, H.; Feng, S.; Zheng, D. Nutritional Quality Analysis and Classification Detection of Buckwheat in Different Harvest Periods. Foods 2024, 13, 2576. https://doi.org/10.3390/foods13162576

AMA Style

Xin P, Liu Y, Yang L, Yan H, Feng S, Zheng D. Nutritional Quality Analysis and Classification Detection of Buckwheat in Different Harvest Periods. Foods. 2024; 13(16):2576. https://doi.org/10.3390/foods13162576

Chicago/Turabian Style

Xin, Peichen, Yun Liu, Lufei Yang, Haoran Yan, Shuai Feng, and Decong Zheng. 2024. "Nutritional Quality Analysis and Classification Detection of Buckwheat in Different Harvest Periods" Foods 13, no. 16: 2576. https://doi.org/10.3390/foods13162576

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