Seed production field abnormal plant identification method and system
By constructing a digital surface model and using drone sensor data, combined with machine learning and deep learning algorithms, the generalization problem under the influence of terrain in the existing technology has been solved, the accurate identification and removal of weeds has been achieved, and the removal efficiency has been improved. Complex efficiency and precision.
Patent Information
- Application Number
- CN202410802790.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-20
- Publication Date
- 2024-09-06
AI Technical Summary
In the existing technology, the hybrid plant identification model in seed production fields is affected by the topography of the region and environment, resulting in low generalization and inability to effectively identify and remove hybrid plants.
By obtaining the crop plant height data set, a digital surface model is constructed, combined with the elevation information, to generate a digital surface model for the mature and bare soil stages, calculate the crop canopy height model, divide the area to obtain the maximum height information, and estimate the crop plant height. , and use drones equipped with sensors to obtain texture, spectrum and image data, combine machine learning and deep learning algorithms to initially identify hybrid plants, and finally conduct precise identification through the YOLOv5 model.
It achieves accurate identification and removal of weeds, improves the generalization of the method, reduces dependence on terrain, and improves the efficiency and accuracy of weed removal.
Smart Images

Figure CN118608973A
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of weed removal, and in particular to a method and system for identifying weeds in a seed production field. Background Art
[0002] Seed production fields refer to fields that are specially planted and cultivated in seed propagation and cultivation. Doing a good job of weeding and removing inferior plants in hybrid rice seed production fields is an important part of ensuring seed quality. Weeding in seed production fields is generally carried out during the seedling stage, tillering stage, heading stage and maturity stage. Weeding in the seedling stage can only remove foreign varieties that are significantly different from the sterile line. In the jointing stage, the obvious dominant plants are removed mainly based on the performance after jointing combined with the leaf shape and plant type. The heading and flowering stage is a critical period for weeding and removing inferior plants to ensure seed purity. The remaining impure plants in the first three periods can be identified and removed during the maturity stage.
[0003] In the prior art, method 1 discloses a crop classification method, device and equipment based on vegetation index and remote sensing image. This method implements the crop classification method, device and equipment based on vegetation index and remote sensing image. First, the remote sensing image time series data of the study area is obtained. Then, based on the remote sensing image time series data, the target remote sensing image data and target vegetation index data corresponding to multiple specified periods are determined. Finally, the global crop recognition model obtained by pre-training is used to determine the crop classification result corresponding to the study area based on the target remote sensing image data and the target vegetation index data corresponding to each specified period. Method 2 discloses a crop classification and recognition method and system based on time series satellite remote sensing images. This method discloses a crop classification and recognition method and system based on time series satellite remote sensing images. The reflectance and spectral index time series curves are extracted from the remote sensing images as features for crop recognition; a crop classification deep learning model is constructed for training, a gated recurrent unit is used to extract the time series features of crops, an attention mechanism is used to capture the key growth period for crop recognition, and a bidirectional structure is used to fully utilize the time series information of the crop growth cycle; the optimal model obtained during the training process is saved, and the optimal model is used for crop classification and recognition of time series satellite remote sensing images. Recurrent neural networks are used to classify crops in time series remote sensing images. The attention mechanism and bidirectional structure are combined to extract key features. In addition, the timing information of the entire growth cycle of the crop is added to distinguish the unique growth patterns of different crops and realize crop classification.
[0004] However, the crop-related data used by the global crop recognition model in method one and the crop classification deep learning model in method two are both affected by the terrain of the region, resulting in the crop-related data containing the terrain information of the region. As a result, the two models only analyze the terrain of the region, and the generalization ability when classifying crops and weeds is not high. Summary of the invention
[0005] The embodiment of the present invention provides a method and system for identifying weeds in a seed production field, which can solve the problem in the prior art that the training model is affected by the region and environment, resulting in low generalization of the method.
[0006] The embodiment of the present invention provides a method for identifying weeds in a seed production field, comprising the following steps: obtaining a plant type and height data set of crops in the seed production field; extracting features according to a texture data set of crops to obtain weed texture data, obtaining weed spectral data by image segmentation of a spectral data set of crops, and obtaining weed image data according to recognition and detection of a heading image data set of crops; preliminarily identifying weeds in the seed production field according to the weed texture data, the weed spectral data and the weed image data; constructing a digital surface model according to the plant type and height data set, and classifying a mature digital surface model of the crop in a mature period and a bare soil digital elevation model of the crop in a non-growing period according to elevation information; subtracting the mature digital surface model from the bare soil digital elevation model to obtain a crop canopy height model containing crop height information; dividing the seed production field into multiple areas, obtaining the maximum height information of each area and calculating the average, and taking the average as the crop plant height estimation value; selecting weed plant type and height data from the plant type and height data set according to the crop plant height estimation value; accurately obtaining weeds in the seed production field according to the preliminarily identified weeds in the seed production field combined with the weed plant type and height data.
[0007] Furthermore, the digital surface model is classified according to elevation information, and the specific steps include: preprocessing the point cloud data in the plant type and height data set; generating a surface smoothing model through a triangular mesh and gridding the point cloud data; approximating the point cloud data using a local fitting surface, and converting it into a continuous three-dimensional surface through a surface reconstruction method; mapping the collected texture information to the digital surface model, extracting the elevation information of the top of the crop from the digital surface model using ArcGIS tools, and generating a digital surface model of the mature period of the crop and a digital elevation model of the bare soil period when the crop is not growing.
[0008] Furthermore, the specific steps of obtaining the crop canopy height model include: obtaining point cloud data of the bare soil period and the mature period from the bare soil period digital surface model and the mature period digital surface model respectively, and aligning the point cloud data; converting the point cloud data into a TIFF format file with coordinate information, and preprocessing the data by image resampling and image mask extraction; using the raster calculator in ArcMap to subtract the mature period digital surface model from the bare soil period digital elevation model, and obtain a crop canopy height model containing crop height information in the target monitoring area.
[0009] Furthermore, the method for obtaining the estimated plant height of crops comprises the following specific steps: dividing each plot of the seed production field into small areas through a local maximum estimation algorithm, counting the maximum values of the crop canopy height model in the small areas on each plot, and taking the maximum values as the estimated plant height values of the small areas on each plot; counting the average plant height of the estimated plant height values of the small areas on each plot as the plant height of the crop in the current plot, and using the same estimation method to calculate for all plots to obtain the estimated plant height values of the crops in the seed production field.
[0010] Furthermore, the method of obtaining the spectral data of the offspring by segmenting the spectral data set of the crops through images specifically comprises the following steps: obtaining the spectral data set of the seed production field and performing dimensionality reduction processing; performing image segmentation and classification using the maximum likelihood method, random forest and UNET neural network models respectively to obtain the spectral data of the offspring.
[0011] Furthermore, the method for obtaining the image data of the offspring plants by identifying and detecting the heading image dataset of the crop comprises the following specific steps: taking the heading image dataset as a positive sample and the image not containing the rice ear as a negative sample; and efficiently processing the input image through the multi-layer convolution and pooling operations of the YOLOv5 model to select the image data of the offspring plants.
[0012] Furthermore, the method of obtaining a texture dataset, a plant type and height dataset, a spectral dataset and a heading image dataset of crops in a seed production field specifically comprises the following steps: obtaining texture information of field crops through a visible light sensor carried by an unmanned aerial vehicle (UAV); obtaining plant type and height information of field crops through a lidar sensor carried by an unmanned aerial vehicle (UAV); obtaining spectral reflectance information of field crops through a hyperspectral sensor carried by an unmanned aerial vehicle (UAV); obtaining heading time series information of field crops through an RGB sensor carried by an unmanned aerial vehicle (UAV); preprocessing the texture information, plant type and height information, spectral reflectance information and heading time series information, outputting orthophotos, and respectively constructing a texture dataset, a plant type and height dataset, a spectral dataset and a heading image dataset.
[0013] The embodiment of the present invention provides a seed field weed identification system, comprising:
[0014] The data acquisition module is used to obtain the plant type and height data set of crops in the seed production field; extract features from the texture data set of crops to obtain the texture data of off-season plants, obtain the spectral data of off-season plants by image segmentation of the spectral data set of crops, and obtain the image data of off-season plants according to the recognition and detection of the heading image data set of crops; preliminarily identify off-season plants in the seed production field according to the texture data of off-season plants, the spectral data of off-season plants and the image data of off-season plants; the model construction module is used to construct a digital surface model according to the plant type and height data set, and classify the digital surface model of the maturity period of crops according to the elevation information, and A digital elevation model for the bare soil period when crops are not growing; a weed plant data acquisition module, used to subtract the digital surface model of the maturity period from the digital elevation model of the bare soil period to obtain a crop canopy height model containing crop height information; divide the seed production field into multiple areas, obtain the maximum height information of each area and calculate the average, and use the average as the estimated value of the crop plant height; select the weed plant type and height data from the plant type and height data set based on the estimated value of the crop plant height; a weed plant identification module, used to accurately obtain the weed plants in the seed production field based on the preliminary identified weed plants in the seed production field combined with the weed plant type and height data.
[0015] The embodiment of the present invention provides a method and system for identifying weeds in seed production fields. Compared with the prior art, the beneficial effects thereof are as follows:
[0016] A digital surface model is constructed based on the plant type and plant height dataset, and according to the elevation information, a digital surface model of the maturity period of the crop and a digital elevation model of the bare soil period when the crop is not growing are classified; the digital surface model of the maturity period is subtracted from the digital elevation model of the bare soil period to obtain a crop canopy height model containing crop height information; the seed production field is divided into multiple areas, the maximum height information of each area is obtained and the average is calculated, and the average is used as the estimated value of the crop plant height; the plant type and plant height data of the hybrid plant are selected from the plant type and plant height dataset according to the estimated value of the crop plant height; the hybrid plants in the seed production field are accurately obtained based on the preliminarily identified hybrid plants in the seed production field combined with the plant type and plant height data of the hybrid plants.
[0017] In this process, the plant type and height data are used to construct a digital surface model, and the plant type and height data of the hybrid plants are further estimated through the digital surface model. Only the plant type and height of the plants need to be considered, without considering the influence of regional terrain. Finally, the hybrid plants in the seed production field are accurately obtained based on the preliminary identification of hybrid plants in the seed production field combined with the hybrid plant type and height data. The overall analysis process does not need to consider the influence of regional terrain, making this method highly generalizable when used. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] Figure 1 A flowchart of a method and system for identifying weeds in a seed production field provided by an embodiment of the present invention;
[0019] Figure 2FIG. 1 is a laser radar data processing process diagram of a seed field weed identification method and system provided by an embodiment of the present invention ( Figure 2 a is a technical flow chart based on lidar data, Figure 2 b is the flow chart of canopy height extraction from LiDAR data. Figure 2 c is a surface model drawn based on lidar data);
[0020] Figure 3 A texture data processing process diagram of a seed field weed identification method and system provided by an embodiment of the present invention ( Figure 3 a is a technical flow chart based on texture data. Figure 3 b is the extraction map of different varieties of offal plants drawn based on texture data);
[0021] Figure 4 A spectral data processing process diagram of a seed field weed identification method and system provided by an embodiment of the present invention ( Figure 4 a is a technical flow chart based on spectral data, Figure 4 b is the extraction diagram of different varieties of hybrids drawn based on spectral data);
[0022] Figure 5 A rice ear detection process diagram of a seed field weed identification method and system based on RGB images using a Yolo v5 model provided by an embodiment of the present invention ( Figure 5 a is the technical flow chart of the target detection algorithm based on the Yolo v5 model. Figure 5 b is the labeling image of the Labelme software used for rice ear detection and identification of rice hybrids. Figure 5 (c) The reasoning process diagram of the rice offspring identification model applied to seed production fields. DETAILED DESCRIPTION
[0023] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the specific embodiments of the present invention are described in detail below in conjunction with the accompanying drawings. In the following description, many specific details are set forth to facilitate a full understanding of the present invention. However, the present invention can be implemented in many other ways different from those described herein, and those skilled in the art can make similar improvements without violating the connotation of the present invention, so the present invention is not limited by the specific embodiments disclosed below.
[0024] See also Figure 1 to Figure 5 The embodiment of the present invention provides a method for identifying weeds in a seed production field, comprising the following steps:
[0025] Step 1: Obtain texture information of field crops through the visible light sensor carried by the drone.
[0026] Step 2: Use a drone equipped with a lidar sensor to obtain plant type and height information of field crops.
[0027] Step 3: Obtain spectral reflectance information of field crops through the use of drones equipped with hyperspectral sensors.
[0028] Step 4: Obtain heading time series information of field crops through the RGB sensor carried by the drone.
[0029] Step 5: Preprocess all images acquired by drones, output orthophotos, and build a target detection dataset.
[0030] Step 6: For the texture data set, by extracting texture information and combining it with spectral analysis, we further use machine learning algorithms such as support vector machine (SVM) to achieve the identification and segmentation of impurities.
[0031] Step 7: For the lidar data set, a three-dimensional digital surface model of the target monitoring area is constructed based on the point cloud data. The generated three-dimensional digital surface model is segmented and calculated to finally obtain the estimated value of the rice plant height, thereby locating the weeds.
[0032] Step 8: For the spectral data set, through experiments with various dimensionality reduction methods, the classification pre-processing method is optimized, and then the machine learning algorithm is applied to achieve fine classification of crops and weeds.
[0033] Step 9: Mark the rice ear targets in the rice ear image after the visible light data of rice heading is enhanced to build a rice ear image dataset. The Yolov5 deep learning model is used for field rice ear recognition.
[0034] The sensor data obtained in steps one, two and three can be obtained at various growth stages of the plant after it has sprouted.
[0035] Step 4: For seed production fields, use a drone equipped with an RGB camera to take multi-angle photos of the rice canopy every day from the time when the rice begins to enter the panicle differentiation stage to when 50% of the rice panicles grow to 5 cm. To improve the efficiency of image processing, the drone is flown at a low altitude of 30m from the seed production field, and the heading and lateral overlap rate of the drone flight are set (40%). After determining the flight altitude, the whole field is patrolled in the seed production field, and the shooting frequency is set to 1 second. The drone is used to fly the whole field to collect data.
[0036] The professional software used in step 5 for stitching drone images can be Agisoft metashape, Pix4Dmapper, or DJI Zhitu.
[0037] Step 6: The high-quality visible light images acquired by the drone are preprocessed for atmospheric correction and geometric correction to improve image quality. Using the spectral analysis function of ENVI, different bands of rice field images are extracted and vegetation indices are calculated to assess vegetation health. The key texture analysis stage involves the use of texture filters and statistical tools, such as directional Gabor filters, to capture the structural and textural characteristics of rice plants. Image segmentation and classification by integrating spectral and texture information helps to accurately distinguish rice from other weeds.
[0038] Step 7: Consider the topography of the target monitoring area, the parameters of the airborne laser radar equipment, weather conditions, the overlap of flight strips and the width of flight strips, plan a route that meets the requirements, and install the airborne laser radar system on the UAV aircraft. The airborne laser radar system includes laser radar equipment, GPS global positioning system and inertial navigation system. The parameters of the airborne laser radar equipment include scanning angle, camera lens focal length, and scanning frequency; weather conditions include fog, clouds, smoke, and rainfall. In addition, the UAV collects data on the target monitoring area according to the planned flight altitude and path. The laser radar emits laser pulses and measures the return time of the pulse from the UAV to the ground to calculate the distance and then record the coordinate information of the point. The coordinate information is saved in the form of point cloud. Each point contains X, Y, and Z coordinate information to represent the position of the point in three-dimensional space. Use DJI Zhitu software to stitch the point cloud data of multiple routes to generate complete field data after merging; pre-process the stitched point cloud data, including denoising, downsampling, calibration and classification operations, and use three-dimensional reconstruction algorithms to perform three-dimensional modeling of the monitoring area. A smooth model of the ground surface is generated by constructing a triangular mesh and meshing the point cloud data. The point cloud data is approximated using a local fitting surface and converted into a continuous three-dimensional surface through surface reconstruction. The collected texture information is then mapped to the surface model. The elevation information of the top of the rice is extracted from the surface model to generate a digital surface model of the bare soil period and a digital surface model of the rice maturity period, respectively.
[0039] Next, the point cloud data of the bare soil period and the rice maturity period were obtained from the digital surface model of the bare soil period and the digital surface model of the rice maturity period, respectively, and then the point cloud data of the bare soil period and the rice maturity period were aligned; the point cloud data were converted into TIFF format files with coordinate information, and then the data was preprocessed twice, including image resampling and image mask extraction; the raster calculator tool in ArcMap was used to subtract the digital surface model of the rice maturity period from the digital height model of the bare soil period to obtain the rice canopy height model of the target monitoring area; the local maximum estimation algorithm was used to divide each plot in the entire field into small areas, and the maximum value of the rice canopy height model in the small area of each plot was counted, and the maximum value was used as the estimated plant height value of the small area on each plot, and the average plant height of the estimated plant height value of the small area on the plot was counted as the plant height of the rice in the current plot, and then the same estimation method was used for all plots to finally obtain the estimated plant height value of the rice in the entire field.
[0040] Among them, the nearest neighbor method is selected for image resampling, and the pixel value closest to a pixel position in the current image is used as the new value of the pixel. The resampling output pixel size is consistent with the pixel size of the digital elevation model in the bare soil period. The process of image mask extraction is: make a vector file that can cover the entire target monitoring area, superimpose the vector file on the two images of the bare soil period and the rice maturity period, and perform mask extraction on the image according to the vector range.
[0041] Step 8: Use the DJI M600 drone equipped with a UHD185 hyperspectral camera to obtain hyperspectral image data of different growth cycles of seed crops; perform hyperspectral fusion on the original images, and conduct hyperspectral data fusion, specific point extraction and matching, sub-band image fusion and geocoding research based on the Pansharpen algorithm, Agisoftmetashape, ArcGIS, ENVI software, MATLAB and IDL programming programs, so as to obtain a complete and effective splicing processing solution and make a reasonable evaluation. After the extraction and merging of hyperspectral sub-bands, the control point georegistration is performed to complete the processing of drone hyperspectral data. The UHD185 data is reduced in dimension using principal component analysis (PCA), independent component transformation (ICA) and minimum noise separation transformation (MNF); the bands are subdivided using density peak clustering (E-FDPC) and neighborhood grouping (FNGBS) methods; the dimensionality reduction results are classified using the maximum likelihood method, random forest and UNET neural network models. The results show that the combination of NGBS_U-NET and MNF_RF has the best classification results. The highest classification accuracy and Kappa coefficient were 88.85%, 87.30% and 0.8658, 0.8514 respectively. Then, the data defined as impure plants by the model classification were analyzed and located and then manually removed.
[0042] Step 9 The process based on target recognition and positioning first involves image acquisition to ensure that the target detection requirements are met, and multi-angle acquisition is performed to accurately locate the weeds. Image preprocessing is then performed, including contrast enhancement and cropping, to optimize the image for subsequent target detection and positioning.
[0043] The model is trained on a constructed dataset, where the positive sample contains rice ears and the negative sample does not contain rice ears. The structure of the YOLOv5 object detection model is based on a deep convolutional neural network, which achieves efficient processing of input images through multi-layer convolution and pooling operations. In the definition of hyperparameters, factors such as learning rate, batch size and number of iterations are balanced to optimize the performance of the model. In the training phase, the model uses optimization algorithms such as gradient descent to adjust weights and biases through the input of a large-scale dataset to gradually adapt to the object detection task in actual scenes. Regularization and data augmentation techniques are applied to improve the generalization ability of the model so that its performance meets the requirements under different environments and conditions. Finally, the rice ear detection stage is post-processed to ensure the accuracy of target box generation and score calculation, which provides a basis for the model to efficiently and accurately locate and identify rice ears in aerial images. The threshold of the target recognition box is set to 0.8 to ensure the authenticity of the identified rice ears.
[0044] During the target frame cropping and saving stage, the cropped images and related metadata are recorded to support subsequent data analysis and verification. Batch resolution extraction extracts information of different resolutions by analyzing the rice ears in the target frame, and sets the ear length threshold based on the diagonal of the rectangle formed by the resolution. The threshold is set to be greater than 17.43 pixels (this value corresponds to an ear length of 5 cm). The use of data acquisition with a high overlap rate is to prevent the ear length estimation error caused by perspective when shooting from a single angle. A simple Python program was written to read the file name of the detected wheat ear and output it to a text document. The final stage of positioning the foreign plants is to locate them through a single image with position information.
[0045] Throughout the process, system feedback and optimization are key to continued effectiveness, including monitoring of models, updating of data, and adjustment of algorithms. The patent application for this innovative process focuses on efficient optimization of data quality, model robustness, and system performance.
[0046] The embodiment of the present invention provides a seed field weed identification system, comprising:
[0047] The data acquisition module is used to obtain the plant type and height data set of crops in the seed production field; extract features from the texture data set of crops to obtain the texture data of weeds, obtain the spectral data of weeds by image segmentation of the spectral data set of crops, and obtain the image data of weeds according to the recognition and detection of the heading image data set of crops; preliminarily identify the weeds in the seed production field according to the texture data of weeds, the spectral data of weeds and the image data of weeds. The model construction module is used to construct a digital surface model according to the plant type and height data set, and classify the mature digital surface model of the mature crop and the bare soil digital elevation model of the non-growing crop according to the elevation information. The weed data acquisition module is used to subtract the mature digital surface model from the bare soil digital elevation model to obtain the crop canopy height model containing the crop height information; divide the seed production field into multiple areas, obtain the maximum height information of each area and calculate the average, and use the average as the estimated plant height value of the crop; select the plant type and height data of weeds from the plant type and height data set according to the estimated plant height value of the crop. The foreign plant identification module is used to accurately obtain the foreign plants in the seed production field based on the preliminary identified foreign plants in the seed production field combined with the foreign plant type and height data.
[0048] The beneficial effects of the present invention also include:
[0049] 1. The rice seed field weeding method based on drone data acquisition and processing solves the defects of the original method that requires a lot of time and cost investment, and subjective differences affect the data analysis results. In view of the low cost and rapidity of drones to obtain plant field images, this method can theoretically be used to remove weeds and inferior crops in various crops and at various growth stages.
[0050] 2. Use a variety of methods to remove weeds from rice fields to achieve the effect of rapid and thorough weed removal. The data received by the sensor is processed through preprocessing, machine learning, deep learning and other algorithms to achieve high-precision weed identification. The distinction of weeds through texture data relies on the multi-index decision tree technology in the software ENVI. The distinction of weeds through plant type and height data relies on the segmentation and calculation of the three-dimensional digital surface model, and finally obtains the estimated value of rice plant type and height. Spectral data is used through a variety of dimensionality reduction methods to experiment, and the classification pre-processing method is optimized, and then the machine learning algorithm is applied to achieve fine classification of crops and weeds. The YOLOv5 deep neural network model is used to identify rice ears in the field, and a rice ear image dataset is constructed.
[0051] In general, this innovation uses drone data to quickly obtain rice field images, solving the problems of time-consuming, costly, and subjective traditional rice weed removal methods. High-precision weed identification is achieved through preprocessing, machine learning, and deep learning. Texture data is processed using multi-index decision tree technology with the help of ENVI software, plant type and height data rely on three-dimensional digital surface models, and spectral data uses a variety of dimensionality reduction methods and machine learning. Finally, the YOLOv5 deep neural network model is used to identify rice ears.
[0052] A specific embodiment is as follows:
[0053] 1. Use drones equipped with visible light sensors to collect data on the texture information of field crops.
[0054] 2. Use drones equipped with lidar sensors to collect data on plant type and height information of field crops.
[0055] 3. Use drones equipped with hyperspectral sensors to collect data on the spectral reflectance information of field crops.
[0056] 4. Use drones equipped with RGB sensors to collect data on the heading time series information of field crops.
[0057] 5. Use professional software to pre-process drone images, output orthophotos, and build target detection datasets.
[0058] 6. For the texture data set, by extracting texture information and combining it with spectral analysis, we further use machine learning algorithms such as support vector machine (SVM) to achieve the identification and segmentation of impurities.
[0059] 7. For the lidar data set, a three-dimensional digital surface model of the target monitoring area is constructed based on the point cloud data. The generated three-dimensional digital surface model is segmented and calculated to finally obtain the estimated value of the rice plant height, thereby locating the weeds.
[0060] 8. For the spectral data set, through experiments with various dimensionality reduction methods, the classification pre-processing method is optimized, and then the machine learning algorithm is applied to achieve fine classification of crops and weeds.
[0061] 9. Mark the rice ear targets in the rice ear images after the visible light data of rice heading is enhanced, and construct a rice ear image dataset. Use the YOLOv5 deep learning model to identify rice ears in the field.
[0062] The above-mentioned embodiments only express several implementation methods of the present invention, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for ordinary technicians in this field, several variations and improvements can be made without departing from the concept of the present invention, and these all belong to the protection scope of the present invention. Therefore, the protection scope of the patent of the present invention shall be subject to the attached claims.
Claims
1. A method for identifying weeds in a seed production field, characterized in that: The following steps are involved: Acquire plant type and height datasets of crops in the seed production field; extract features from the texture dataset of crops to obtain texture data of off-season plants; obtain spectral data of off-season plants by image segmentation of the spectral dataset of crops; obtain image data of off-season plants by identification and detection of the heading image dataset of crops; preliminarily identify off-season plants in the seed production field based on the texture data of off-season plants, spectral data of off-season plants and image data of off-season plants; A digital surface model is constructed based on the plant type and height dataset, and the digital surface model of the mature crop period and the digital elevation model of the bare soil period when the crop is not growing are classified according to the elevation information; The digital surface model of the maturity period is subtracted from the digital elevation model of the bare soil period to obtain a crop canopy height model containing crop height information; the seed production field is divided into multiple areas, the maximum height information of each area is obtained and the average is calculated, and the average is used as the estimated value of crop plant height; according to the estimated value of crop plant height, the plant type and plant height data of hybrid plants are selected from the plant type and plant height data set; According to the preliminary identification of hybrid plants in the seed production field combined with the plant type and height data of hybrid plants, the hybrid plants in the seed production field can be accurately obtained.
2. A method for identifying weeds in seed production fields as claimed in claim 1, characterized in that: The digital surface model is classified according to elevation information, and the specific steps include: Preprocess the point cloud data in the plant type and height dataset; Generate a smooth surface model through triangulated meshes and mesh the point cloud data; Use local fitting surface to approximate point cloud data and convert it into a continuous three-dimensional surface through surface reconstruction method; The collected texture information is mapped to the digital surface model, and the elevation information of the crop top is extracted from the digital surface model using ArcGIS tools to generate a digital surface model of the mature period of the crop and a digital elevation model of the bare soil period when the crop is not growing.
3. A method for identifying weeds in seed production fields as claimed in claim 1, characterized in that: The step of obtaining the crop canopy height model specifically includes: The point cloud data of the bare soil period and the mature period are obtained from the bare soil period digital surface model and the mature period digital surface model respectively, and the point cloud data are registered; Convert the point cloud data into a TIFF format file with coordinate information, and pre-process the data by image resampling and image mask extraction; The raster calculator in ArcMap was used to subtract the digital surface model of the mature stage from the digital elevation model of the bare soil stage to obtain the crop canopy height model containing crop height information in the target monitoring area.
4. A method for identifying weeds in seed production fields as claimed in claim 1, characterized in that: The obtaining of the estimated value of the plant height of the crop comprises the following specific steps: The seed production fields were divided into small areas through the local maximum estimation algorithm, and the maximum values of the crop canopy height models in the small areas of each plot were counted, and the maximum values were used as the estimated plant height values in the small areas of each plot. The average plant height of the estimated plant heights of small areas in each plot is calculated as the plant height of the crop in the current plot. The same estimation method is used to calculate all plots to obtain the estimated plant height of the crop in the seed field.
5. A method for identifying weeds in seed production fields as claimed in claim 1, characterized in that: The method of obtaining the spectral data of the offal plants by segmenting the spectral data set of the crop through the image comprises the following specific steps: Obtain the spectral data set of the seed production field and perform dimensionality reduction processing; Maximum likelihood method, random forest and UNET neural network models were used for image segmentation and classification to obtain the spectral data of hybrid plants.
6. A method for identifying weeds in seed production fields as claimed in claim 1, characterized in that: The specific steps of obtaining the image data of the weeds according to the crop heading image data set recognition detection include: The heading image dataset is used as the positive sample, and the image without rice ears is used as the negative sample; The input image is efficiently processed through the multi-layer convolution and pooling operations of the YOLOv5 model to select the image data of the offal plants.
7. A method for identifying weeds in seed production fields as claimed in claim 1, characterized in that: The specific steps of obtaining the texture dataset, plant type and height dataset, spectral dataset and heading image dataset of crops in the seed production field include: Obtain texture information of field crops through visible light sensors carried by drones; The laser radar sensor carried by the drone is used to obtain plant type and height information of field crops; The spectral reflectance information of field crops is obtained through the hyperspectral sensor carried by the drone; The heading time series information of field crops is obtained through the RGB sensor carried by the drone; The texture information, plant type and height information, spectral reflectance information and heading time series information were preprocessed and orthophotos were output to construct texture datasets, plant type and height datasets, spectral datasets and heading image datasets respectively.
8. A seed field weed identification system, characterized in that: include: A data acquisition module is used to obtain a plant type and height data set of crops in a seed production field; Extract features from the texture data set of crops to obtain texture data of weeds, obtain spectral data of weeds through image segmentation of spectral data set of crops, and obtain image data of weeds based on recognition and detection of heading image data set of crops; preliminarily identify weeds in seed production fields based on texture data of weeds, spectral data of weeds and image data of weeds; The model building module is used to build a digital surface model based on the plant type and height data set, and classify the digital surface model of the mature stage of the crop and the digital elevation model of the bare soil stage when the crop is not growing according to the elevation information; The offal plant data acquisition module is used to subtract the digital surface model of the maturity period from the digital elevation model of the bare soil period to obtain a crop canopy height model containing crop height information; divide the seed production field into multiple areas, obtain the maximum height information of each area and calculate the average, and use the average as the estimated value of crop plant height; select the offal plant type and plant height data from the plant type and plant height data set according to the estimated value of crop plant height; The foreign plant identification module is used to accurately obtain the foreign plants in the seed production field based on the preliminary identified foreign plants in the seed production field combined with the foreign plant type and height data.
Citation Information
Cited By
Rice phenological period lossless identification method and system based on photogrammetry point cloud
CN119625545A
A non-destructive identification method and system for rice phenological period based on photogrammetry point cloud
CN119625545B
Method and system for efficiently removing abnormal plants in rape seed production and cultivation process
CN121844900A
