Automated classification of corn is important for corn sorting in intelligent agriculture. This paper presents a reliable corn classification method based on techniques of computer vision and machine learning. To discriminate different damaged types of corns, a line profile segmentation method is firstly used to segment and separate a group of touching corns. Then, twelve color features and five shape features are extracted for each individual corn object. Finally, a maximum likelihood estimator is trained to classify normal and damaged corns. To evaluate the performance of the proposed method, a private dataset consisting of images of normal corn and six kinds of damage corns, including heat-damaged, germ-damaged, cob-rot-damaged, blue eye mold-damaged, insect-damaged, and surface mold-damaged, were collected in this work. The proposed method achieved an accuracy of 96.67% for the classification between normal corns and the first four common damaged corns, and an accuracy of 74.76% was achieved for the classification between normal corns and six kinds of damaged corns. The experimental results demonstrated the effectiveness of the proposed corn classification system.
Corn diseases are one of the significant constraints to high–quality corn production, and accurate identification of corn diseases is of great importance for precise disease control. Corn anthracnose and brown spot are typical diseases of corn, and the early symptoms of the two diseases are similar, which can be easily misidentified by the naked eye. In this paper, to address the above problems, a three–dimensional–two–dimensional (3D–2D) hybrid convolutional neural network (CNN) model combining a band selection module is proposed based on hyperspectral image data, which combines band selection, attention mechanism, spatial–spectral feature extraction, and classification into a unified optimization process. The model first inputs hyperspectral images to both the band selection module and the attention mechanism module and then sums the outputs of the two modules as inputs to a 3D–2D hybrid CNN, resulting in a Y–shaped architecture named Y–Net. The results show that the spectral bands selected by the band selection module of Y–Net achieve more reliable classification performance than traditional feature selection methods. Y–Net obtained the best classification accuracy compared to support vector machines, one–dimensional (1D) CNNs, and two–dimensional (2D) CNNs. After the network pruned the trained Y–Net, the model size was reduced to one–third of the original size, and the accuracy rate reached 98.34%. The study results can provide new ideas and references for disease identification of corn and other crops.
Rapid and efficient evaluation of cultivated land quality in black soil regions at the farm scale using remote sensing techniques is crucial for resource protection. However, current studies face challenges in developing convenient and reliable models that directly leverage raw spectral reflectance. Therefore, this study develops and validates a deep learning framework specifically for this task. The framework first selects remote sensing images from typical periods using a Random Forest model in Google Earth Engine (GEE). Subsequently, the raw spectral reflectance data from these images, without any transformation into vegetation indices, are directly input into an optimized BO-Stacking-TabNet model. This model is enhanced through a two-step Stacking ensemble process and a Bayesian optimization algorithm. A case study at Shuanghe Farm in Northeast China shows that (1) compared to the BO-Stacking-TabNet model using vegetation indices as input, the BO-Stacking-TabNet model based on spectral reflectance as the input indicator achieved an improvement of 10.62% in Accuracy, 1.55% in Precision, 11.05% in Recall, and 10.18% in F1-score. (2) Compared to the original TabNet model, the BO-Stacking-TabNet model optimized by the two-step Stacking process and Bayesian optimization algorithm improved Accuracy by 2.13%, Precision by 12.59%, Recall by 1.83%, and F1-score by 2.19%. These results demonstrate the reliability of the new farm-scale black soil region cultivated land evaluation method we proposed. The method provides significant references for future research on cultivated land quality assessment at the farm scale in terms of remote sensing image data processing and model construction.
Detection of additives in milk is important, especially preservatives. Potassium sorbate was taken as an example to study the feasibility of hyperspectral imaging as a rapid detection tool for preservatives in milk. Samples with different concentrations of potassium sorbate were divided into four groups. Pretreatment and variable selection methods were studied based on the support vector machine model. The model with standard normalized variable pretreatment and competitive adaptive reweighted sampling variable selection had the best performance. Testing set accuracy for different groups from low concentration to high concentration were 92.16%, 95.7%, 99.46%, and 98.33%. Hyperspectral imaging can be a rapid detection tool for potassium sorbate in milk.
A specific variable selection method was proposed based on a three-step hybrid strategy for near-infrared spectral analysis. By analyzing functions of each step and characteristics of various variable selection methods, synergy interval partial least squares, iterative variable subset optimization, and bootstrapping soft shrinkage were chosen for three steps. To test the effect of the three-step hybrid method, it was applied to corn and soil spectral data and compared to other common methods. Results for oil content in corn data showed that the three-step hybrid variable selection method selected 1 variables of full spectrum, calibration determination coefficient, and prediction determination coefficient reached 0.998 and 0.993 where the explained variance was increased by 27.30. It could effectively extract variables related to the tested substance and provide a new variable selection method for near-infrared spectral analysis.