Crop classification of large-scale agricultural land is crucial for crop monitoring and yield estimation. Hyperspectral image classification has proven to be an effective method for this task. Most current popular hyperspectral image classification methods are based on image classification, specifically on convolutional neural networks (CNNs) and recurrent neural networks (RNNs). In contrast, this paper focuses on methods based on semantic segmentation and proposes a new transformer-based approach called HyperSFormer for crop hyperspectral image classification. The key enhancement of the proposed method is the replacement of the encoder in SegFormer with an improved Swin Transformer while keeping the SegFormer decoder. The entire model adopts a simple and uniform transformer architecture. Additionally, the paper introduces the hyper patch embedding (HPE) module to extract spectral and local spatial information from the hyperspectral images, which enhances the effectiveness of the features used as input for the model. To ensure detailed model processing and achieve end-to-end hyperspectral image classification, the transpose padding upsample (TPU) module is proposed for the model’s output. In order to address the problem of insufficient and imbalanced samples in hyperspectral image classification, the paper designs an adaptive min log sampling (AMLS) strategy and a loss function that incorporates dice loss and focal loss to assist model training. Experimental results using three public hyperspectral image datasets demonstrate the strong performance of HyperSFormer, particularly in the presence of imbalanced sample data, complex negative samples, and mixed sample classes. HyperSFormer outperforms state-of-the-art methods, including fast patch-free global learning (FPGA), a spectral–spatial-dependent global learning framework (SSDGL), and SegFormer, by at least 2.7% in the mean intersection over union (mIoU). It also improves the overall accuracy and average accuracy values by at least 0.9% and 0.3%, respectively, and the kappa coefficient by at least 0.011. Furthermore, ablation experiments were conducted to determine the optimal hyperparameter and loss function settings for the proposed method, validating the rationality of these settings and the fusion loss function.
Due to the challenges of pest detection in complex environments, this research introduces a lightweight network for tobacco pest identification leveraging enhancements in YOLOv8 technology. Using YOLOv8 large (YOLOv8l) as the base, the neck layer of the original network is replaced with an asymptotic feature pyramid network (AFPN) network to reduce model parameters. A SimAM attention mechanism, which does not require additional parameters, is incorporated to improve the model’s ability to extract features. The backbone network’s C2f model is replaced with the VoV-GSCSP module to reduce the model’s computational requirements. Experiments show the improved YOLOv8 model achieves high overall performance. Compared to the original model, model parameters and GFLOPs are reduced by 52.66% and 19.9%, respectively, while mAP@0.5 is improved by 1%, recall by 2.7%, and precision by 2.4%. Further comparison with popular detection models YOLOv5 medium (YOLOv5m), YOLOv6 medium (YOLOv6m), and YOLOv8 medium (YOLOv8m) shows the improved model has the highest detection accuracy and lightest parameters for detecting four common tobacco pests, with optimal overall performance. The improved YOLOv8 detection model proposed facilitates precise, instantaneous pest detection and recognition for tobacco and other crops, securing high-accuracy, comprehensive pest identification.
Detecting litchis in a complex natural environment is important for yield estimation and provides reliable support to litchi-picking robots. This paper proposes an improved litchi detection model named YOLOv5-litchi for litchi detection in complex natural environments. First, we add a convolutional block attention module to each C3 module in the backbone of the network to enhance the ability of the network to extract important feature information. Second, we add a small-object detection layer to enable the model to locate smaller targets and enhance the detection performance of small targets. Third, the Mosaic-9 data augmentation in the network increases the diversity of datasets. Then, we accelerate the regression convergence process of the prediction box by replacing the target detection regression loss function with CIoU. Finally, we add weighted-boxes fusion to bring the prediction boxes closer to the target and reduce the missed detection. An experiment is carried out to verify the effectiveness of the improvement. The results of the study show that the mAP and recall of the YOLOv5-litchi model were improved by 12.9% and 15%, respectively, in comparison with those of the unimproved YOLOv5 network. The inference speed of the YOLOv5-litchi model to detect each picture is 25 ms, which is much better than that of Faster-RCNN and YOLOv4. Compared with the unimproved YOLOv5 network, the mAP of the YOLOv5-litchi model increased by 17.4% in the large visual scenes. The performance of the YOLOv5-litchi model for litchi detection is the best in five models. Therefore, YOLOv5-litchi achieved a good balance between speed, model size, and accuracy, which can meet the needs of litchi detection in agriculture and provides technical support for the yield estimation and litchi-picking robots.
In order to create an irrigation scheduling plan for use in large-area citrus orchards, an environmental information collection system of citrus orchards was established based on the Internet of Things (IoT). With the environmental information data, deep bidirectional long short-term memory (Bid-LSTM) networks are proposed to improve soil moisture (SM) and soil electrical conductivity (SEC) predictions, providing a meaningful reference for the irrigation and fertilization of citrus orchards. The IoT system contains SM, SEC, air temperature and humidity, wind speed, and precipitation sensors, while the mean absolute error (MAE), root mean square error (RMSE), and coefficient of determination (R2) were calculated to evaluate the performance of the models. The performance of the deep Bid-LSTM model was compared with a multi-layer neural network (MLNN). The results for the performance criteria reveal that the proposed deep Bid-LSTM networks perform better than the MLNN model, according to many of the evaluation indicators of this study.
Litchi leaf diseases and pests can lead to issues such as a decreased Litchi yield, reduced fruit quality, and decreased farmer income. In this study, we aimed to explore a real-time and accurate method for identifying Litchi leaf diseases and pests. We selected three different orchards for field investigation and identified five common Litchi leaf diseases and pests (Litchi leaf mite, Litchi sooty mold, Litchi anthracnose, Mayetiola sp., and Litchi algal spot) as our research objects. Finally, we proposed an improved fully convolutional one-stage object detection (FCOS) network for Litchi leaf disease and pest detection, called FCOS for Litch (FCOS-FL). The proposed method employs G-GhostNet-3.2 as the backbone network to achieve a model that is lightweight. The central moment pooling attention (CMPA) mechanism is introduced to enhance the features of Litchi leaf diseases and pests. In addition, the center sampling and center loss of the model are improved by utilizing the width and height information of the real target, which effectively improves the model’s generalization performance. We propose an improved localization loss function to enhance the localization accuracy of the model in object detection. According to the characteristics of Litchi small target diseases and pests, the network structure was redesigned to improve the detection effect of small targets. FCOS-FL has a detection accuracy of 91.3% (intersection over union (IoU) = 0.5) in the images of five types of Litchi leaf diseases and pests, a detection rate of 62.0/ms, and a model parameter size of 17.65 M. Among them, the detection accuracy of Mayetiola sp. and Litchi algal spot, which are difficult to detect, reached 93.2% and 92%, respectively. The FCOS-FL model can rapidly and accurately detect five common diseases and pests in Litchi leaf. The research outcome is suitable for deployment on embedded devices with limited resources such as mobile terminals, and can contribute to achieving real-time and precise identification of Litchi leaf diseases and pests, providing technical support for Litchi leaf diseases’ and pests’ prevention and control.
The determination of crop water status has positive effects on the Chinese Brassica industry and irrigation decisions. Drought can decrease the production of Chinese Brassica, whereas over-irrigation can waste water. It is desirable to schedule irrigation when the crop suffers from water stress. In this study, a random forest model was developed using sample data derived from meteorological measurements including air temperature (Ta), relative humidity (RH), wind speed (WS), and photosynthetic active radiation (Par) to predict the lower baseline () and upper baseline () canopy temperatures for Chinese Brassica from 27 November to 31 December 2020 (E1) and from 25 May to 20 June 2021 (E2). Crop water stress index (CWSI) values were determined based on the predicted canopy temperature and used to assess the crop water status. The study demonstrated the viability of using a random forest model to forecast and . The coefficients of determination (R2) in E1 were 0.90 and 0.88 for development and 0.80 and 0.77 for validation, respectively. The R2 values in E2 were 0.91 and 0.89 for development and 0.83 and 0.80 for validation, respectively. Our results reveal that the measured and predicted CWSI values had similar R2 values related to stomatal conductance (~0.5 in E1, ~0.6 in E2), whereas the CWSI showed a poor correlation with transpiration rate (~0.25 in E1, ~0.2 in E2). Finally, the methodology used to calculate the daily CWSI for Chinese Brassica in this study showed that both and , which require frequent measuring and design experiment due to the trial site and condition changes, have the potential to simulate environmental parameters and can therefore be applied to conveniently calculate the CWSI.
About Me
Xie Jiaxing, male. Research direction: Agricultural information acquisition and intelligent agriculture, xjx1998@scau.edu.cn
Xie Jiaxing, male. Research direction: Agricultural information acquisition and intelligent agriculture, xjx1998@scau.edu.cn