Forestry pest distribution prediction method based on remote sensing technology
Through remote sensing technology and convolutional neural network models, combined with meteorological and historical data, the inaccuracy problem caused by artificial errors in traditional forestry pest prediction methods is solved, and more accurate distribution predictions are achieved.
Patent Information
- Application Number
- CN202410586577.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-13
- Publication Date
- 2024-09-03
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Traditional forestry pest distribution prediction methods rely on manual data collection and are prone to errors, leading to inaccurate predictions.
Using a method based on remote sensing technology, remote sensing satellite images are obtained and input into the target convolutional neural network model, and combined with meteorological data and historical forestry pest data, the distribution of forestry pests in the target area is predicted.
It improves the accuracy of forest pest distribution prediction, reduces manual errors, and achieves more accurate prediction results.
Smart Images

Figure CN118586540A
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of forestry monitoring, and in particular to a method for predicting the distribution of forestry harmful organisms based on remote sensing technology. Background Art
[0002] At present, with the global warming, the frequency of various extreme weather events has increased drastically. my country also often encounters the invasion of some alien species, which has brought great difficulties to the prevention and control of forest pests. Previously, the traditional distribution of forest pests was obtained based on the data collection of forest pests and the prediction of forestry area. Among them, the data collection of forest pests was completed by forestry protection personnel on site. However, since manual operation is prone to errors, the prediction of forest pests is inaccurate. Therefore, a forest pest distribution prediction method based on remote sensing technology is proposed to solve the technical problem of inaccurate prediction of forest pest distribution. Summary of the invention
[0003] The embodiment of the present invention provides a method for predicting the distribution of forestry pests based on remote sensing technology to solve the technical problem of inaccurate prediction of the distribution of forestry pests.
[0004] According to one aspect of an embodiment of the present invention, a method for predicting the distribution of forestry pests based on remote sensing technology is provided, and the method may include: acquiring a remote sensing image taken by a remote sensing satellite, wherein the remote sensing image is a remote sensing image of a target area; inputting the remote sensing image into a target convolutional neural network model to obtain a target probability corresponding to the remote sensing image; acquiring meteorological data, forestry area and historical forestry pest data of the target area at the geographical location corresponding to the remote sensing image; and predicting target forestry pest data in the target area based on the target probability, meteorological data, forestry area and historical forestry pest data.
[0005] Optionally, before the remote sensing image is input into the target convolutional neural network model to obtain the target probability corresponding to the remote sensing image, the method further includes: building a target convolutional neural network model, wherein the target convolutional neural network model includes: 1 input layer, 7 convolutional layers, 4 maximum pooling layers, 3 upsampling layers, 3 cascade layers, 3 flattening layers, 3 fully connected layers, 3 classification layers, 1 averaging layer and 1 output layer, wherein the 7 convolutional layers are the first convolutional layer, the second convolutional layer, the third convolutional layer, the fourth convolutional layer, respectively. The first, second, third and fourth convolutional layers are respectively the first, fifth, sixth and seventh convolutional layers, the four maximum pooling layers are respectively the first, second, third and fourth maximum pooling layers, the three upsampling layers are respectively the first, second and third upsampling layers, the three flattening layers are respectively the first, second and third flattening layers, the three fully connected layers are respectively the first, second and third fully connected layers, and the three classification layers are respectively the first, second and third classification layers.
[0006] Optionally, the processing process of the target convolutional neural network model is as follows: the first cascade layer fuses the features after the third convolution layer and the features after the first upsampling layer to obtain a first fused feature; the second cascade layer fuses the features after the second convolution layer and the features after the second upsampling layer to obtain a second fused feature; the third cascade layer fuses the features after the first convolution layer and the features after the third upsampling layer to obtain a third fused feature; the first flattening layer flattens the first fused feature to obtain a first flattened feature; the first fully connected layer processes the first flattened feature to obtain a first fully connected feature; the second flattening layer flattens the second fused feature , and obtain the second flattened feature; the second fully connected layer processes the second flattened feature to obtain the second fully connected feature; the third flattened layer flattens the features after the third convolutional layer to obtain the third flattened feature; the third fully connected layer processes the third flattened feature to obtain the third fully connected feature; the first classification layer classifies the first fully connected feature to obtain the first classification result; the second classification layer classifies the second fully connected feature to obtain the second classification result; the third classification layer classifies the third fully connected feature to obtain the third classification result; the averaging layer averages the first classification result, the second classification result and the third classification result to obtain the target probability.
[0007] Optionally, based on the target probability, meteorological data, forestry area and historical forestry pest data, target forestry pest data in the target area are predicted, including: based on the meteorological data and the forestry area, predicting first forestry pest data in the target area; determining the difference between the first forestry pest data and the historical forestry pest data corresponding to the meteorological data and the forestry area as a first difference; and determining the target forestry pest data based on the first difference and the target probability.
[0008] Optionally, based on the first difference and the target probability, target forestry pest data is determined, including: if the first difference is less than or equal to a preset threshold, the product between the historical forestry pest data and the maximum value of the target probability is determined as the target forestry pest data.
[0009] Optionally, based on the first difference and the target probability, target forestry pest data is determined, including: if the first difference is greater than a preset threshold, the first forestry pest data is determined as the target forestry pest data, and the meteorological data, forestry area and the first forestry pest data are recorded.
[0010] According to another aspect of an embodiment of the present invention, a computer-readable storage medium is also provided. The computer-readable storage medium includes a stored program, wherein when the program is executed, the device where the computer-readable storage medium is located is controlled to execute a forestry pest distribution prediction method based on remote sensing technology according to an embodiment of the present invention.
[0011] According to another aspect of an embodiment of the present invention, a processor is provided, which is used to run a program, wherein when the program is run, a forestry pest distribution prediction method based on remote sensing technology according to an embodiment of the present invention is executed.
[0012] In an embodiment of the present invention, a remote sensing image taken by a remote sensing satellite is obtained, wherein the remote sensing image is a remote sensing image of a target area; the remote sensing image is input into a target convolutional neural network model to obtain a target probability corresponding to the remote sensing image; meteorological data, forestry area and historical forestry pest data of the target area at the geographical location corresponding to the remote sensing image are obtained; based on the target probability, meteorological data, forestry area and historical forestry pest data, target forestry pest data in the target area is predicted, thereby solving the technical problem of inaccurate prediction of forestry pest distribution and achieving the technical effect of accurate prediction of forestry pest distribution.
[0013] Advantages of the present invention:
[0014] Compared with the existing technology, the present invention obtains a remote sensing image taken by a remote sensing satellite, wherein the remote sensing image is a remote sensing image within a target area; the remote sensing image is input into a target convolutional neural network model to obtain a target probability corresponding to the remote sensing image; meteorological data, forestry area and historical forestry pest data of the target area at the geographical location corresponding to the remote sensing image are obtained; based on the meteorological data and the forestry area, first forestry pest data of the target area is predicted; the difference between the first forestry pest data and the historical forestry pest data corresponding to the meteorological data and the forestry area is determined as a first difference; based on the first difference and the target probability, the target forestry pest data is determined, so that the distribution prediction of forestry pests is accurate. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] The drawings described herein are used to provide a further understanding of the present invention and constitute a part of this application. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the drawings:
[0016] Figure 1 is a flow chart of a method for predicting the distribution of forestry pests based on remote sensing technology according to an embodiment of the present invention;
[0017] Figure 2 is a schematic diagram of building a target convolutional neural network model according to an embodiment of the present invention;
[0018] Figure 3 The present invention is a block diagram of a forestry pest distribution prediction system based on remote sensing technology according to an embodiment of the present invention. DETAILED DESCRIPTION
[0019] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only embodiments of a part of the present invention, not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.
[0020] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the terms used in this way can be interchangeable where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0021] Example 1
[0022] According to an embodiment of the present invention, a method for predicting the distribution of forest pests based on remote sensing technology is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system comprising at least one set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0023] Figure 1 FIG. 1 is a flow chart of a method for predicting the distribution of forestry pests based on remote sensing technology according to an embodiment of the present invention. Figure 1 As shown, the method may include the following steps:
[0024] Step S101, acquiring a remote sensing image taken by a remote sensing satellite, wherein the remote sensing image is a remote sensing image within a target area.
[0025] In the technical solution provided in the above step S101 of the present invention, the forestry area is photographed by a remote sensing satellite to obtain a remote sensing image, wherein the target area is also a forestry area.
[0026] Step S102, input the remote sensing image into the target convolutional neural network model to obtain the target probability corresponding to the remote sensing image.
[0027] In the technical solution provided in the above step S102 of the present invention, the remote sensing image is input into the target convolutional neural network, and the target convolutional neural network processes the remote sensing image to obtain the target probability corresponding to the remote sensing image, wherein the target probability is the probability value of the category corresponding to the remote sensing image, for example, the target probability of the first category corresponding to the remote sensing image is 0.96, the target probability of the second category corresponding to the remote sensing image is 0.01, and the target probability of the third category corresponding to the remote sensing image is 0.03.
[0028] Step S103, obtaining meteorological data, forestry area and historical forestry pest data of the target area of the geographical location corresponding to the remote sensing image.
[0029] In the technical solution provided in the above step S103 of the present invention, meteorological data of the target area of the geographical location corresponding to the remote sensing image is obtained through meteorological instruments and meteorological sensors, and the software area is measured according to the existing GPS software. The historical forestry pest data is the forestry pest data determined in a certain time period before the current calculation of the forestry pest data. For example, there are 3,000 forestry pests in the target area in the first time period.
[0030] Step S104, predicting target forestry pest data in the target area based on target probability, meteorological data, forestry area and historical forestry pest data.
[0031] In the technical solution provided in the above step S104 of the present invention, first forestry pest data is obtained based on meteorological data and forestry data, and the difference between the first forestry pest data and the historical forestry pest data is determined as a first difference, and the target forestry pest data is determined based on the first difference and the target probability.
[0032] In the above steps S101 to S104 of the present application, a remote sensing image taken by a remote sensing satellite is obtained, wherein the remote sensing image is a remote sensing image within a target area; the remote sensing image is input into a target convolutional neural network model to obtain a target probability corresponding to the remote sensing image; meteorological data, forestry area and historical forestry pest data of the target area at the geographical location corresponding to the remote sensing image are obtained; based on the target probability, meteorological data, forestry area and historical forestry pest data, target forestry pest data within the target area is predicted, thereby solving the technical problem of inaccurate prediction of the distribution of forestry pests and achieving the technical effect of accurate prediction of the distribution of forestry pests.
[0033] The above method of this embodiment is further introduced below.
[0034] As an optional implementation method, step S102, before the remote sensing image is input into the target convolutional neural network model to obtain the target probability corresponding to the remote sensing image, the method also includes: building a target convolutional neural network model, wherein the target convolutional neural network model includes: 1 input layer, 7 convolutional layers, 4 maximum pooling layers, 3 upsampling layers, 3 cascade layers, 3 flattening layers, 3 fully connected layers, 3 classification layers, 1 average layer and 1 output layer, wherein the 7 convolutional layers are respectively the first convolutional layer, the second convolutional layer, the third The convolutional layer, the fourth convolutional layer, the fifth convolutional layer, the sixth convolutional layer and the seventh convolutional layer, the four maximum pooling layers are the first maximum pooling layer, the second maximum pooling layer, the third maximum pooling layer and the fourth maximum pooling layer, the three upsampling layers are the first upsampling layer, the second upsampling layer and the third upsampling layer, the three flattening layers are the first flattening layer, the second flattening layer and the third flattening layer, the three fully connected layers are the first fully connected layer, the second fully connected layer and the third fully connected layer, and the three classification layers are the first classification layer, the second classification layer and the third classification layer.
[0035] In this embodiment, before building the target convolutional neural network, an image data set is obtained, wherein the image data set includes: a first image data set, a second image data set and a third image data set, wherein the first image data set is small-area forestry pest data, and the first image data set is named 0-x, the second image data set is medium-area forestry pest data, and the second image data set is named 1-z, the third image data set is large-area forestry pest data, and the third image data set is named 3-d, wherein the first image data set has 365 images, the second image data set has 215 images, and the third image data set has 392 images, the first image data set, the second image data set, and the third image data set are shuffled using sklearn functions, and image enhancement is performed by flipping and translating, and the enhanced first image data set, the second image data set, and the third image data set are divided into a training set, a test set, and a validation set according to 8:1:1, Figure 2 It is a schematic diagram of building a target convolutional neural network model according to an embodiment of the present invention, wherein the target convolutional neural network model includes: 1 input layer, 7 convolutional layers, 4 maximum pooling layers, 3 upsampling layers, 3 cascade layers, 3 flattening layers, 3 fully connected layers, 3 classification layers, 1 average layer and 1 output layer, wherein the 7 convolutional layers are respectively a first convolutional layer, a second convolutional layer, a third convolutional layer, a fourth convolutional layer, a fifth convolutional layer, a sixth convolutional layer and a seventh convolutional layer, the 4 maximum pooling layers are respectively a first maximum pooling layer, a second maximum pooling layer, a third maximum pooling layer and a fourth maximum pooling layer, the 3 upsampling layers are respectively a first upsampling layer, a second upsampling layer and a third upsampling layer, the 3 flattening layers are respectively a first flattening layer, a second flattening layer and a third flattening layer, the 3 fully connected layers are respectively a first fully connected layer, a second fully connected layer and a third fully connected layer, and the 3 classification layers are respectively a first classification layer, a second classification layer and a third classification layer.
[0036] Among them, the convolution layer is also called the feature extraction layer, which is mainly used to extract features from the input image. The convolution layer generally uses multiple convolution kernels that are smaller than the image size to perform convolution operations, and uses these convolution kernels to perform convolution operations on the input image to obtain a feature map. The convolution operation is actually an inner product, and the process is shown in the following formula: in, represents the output of the convolutional layer, which is the jth feature map of the mth layer. Represents the input image, which is the i-th feature map of the m-1th layer, represents the convolution kernel, that is, the jth convolution kernel of the i-th feature map convolution generated by the m-th layer and the m-1-th layer, Represents the bias, that is, the bias of the jth feature map of the mth layer. i∈R i represents all previous feature maps connected, and f{·} represents the activation function.
[0037] Pooling layer is also called downsampling layer. Pooling layer often appears alternately with convolution layer in convolutional neural network. After convolution operation, the amount of data increases greatly compared with the previous one. If the amount of data is retained, then as the number of network layers increases, the amount of data will increase greatly, which will cause data redundancy. Connecting pooling operation after convolution operation can play a role in dimensionality reduction, reduce the number of parameters of the whole network, and ensure local invariance and extract the main information of feature map.
[0038] The process is shown below: in represents the output of the pooling layer, represents the input pooling layer feature, down represents the downsampling operation on the input, and f(·) represents the activation function. Indicates bias. The pooling layer mainly includes the maximum pooling layer (Maxpooling Layer), the average pooling layer (Meanpooling Layer), etc. The maximum pooling operation refers to using a sliding window to take the maximum value of all values in the image as the pooling result; the average pooling operation refers to using a sliding window to take the average value of all values in the image as the pooling result.
[0039] The upsampling layer is the inverse operation of pooling, which is to restore all the original data from the pooling result. Because only the main information is retained in the pooling process and some information is discarded, if you want to restore all the information from the main information after pooling, there will be information loss. At this time, the zero-filling operation is used to restore the information and preserve the high resolution with the original size feature map. The output of the upsampling layer is: in represents the output of the pooling layer, represents the input pooling layer feature, up means upsampling or up-pooling operation on the input, f(·) represents the activation function, Indicates bias.
[0040] The cascade layer cascades the features of different layers through the concatenate function.
[0041] The flattening layer converts the multi-dimensional feature map output by the previous convolutional layer or pooling layer into a one-dimensional vector.
[0042] The fully connected layer outputs the features of the flattened layer to a specific dimension;
[0043] The classification layer includes the SoftMax function, which is actually a generalization of the logic function and a multi-classification recognition function, that is, the classification label is greater than or equal to 2, and is defined as follows:
[0044] Among them, e i represents the first set of real numbers, represents all real numbers, S i is the final score of the i-th category.
[0045] The average layer averages the results of multiple classification layers.
[0046] The training set, validation set, and test set are input into the built target convolutional neural network for training. The loss function of the target convolutional neural network is the absolute cross entropy loss function, the optimizer is Adam, and the learning rate is 1×10 -3, the batch size is set to 32, the loop training iteration is 300 times, the computer configuration is win 10 operating system, i7 processor, 128GB running memory. The training and testing experimental models are trained using Nvidia Titan Xt GPU, and the running environment is the Keras library in Python. The classification accuracy of the target convolutional neural network reaches 89.32%, which is better than Alexnet, goolenet and Resnet.
[0047] As an optional implementation method, step S102, the processing process of the target convolutional neural network model is as follows: the first cascade layer fuses the features after the third convolution layer and the features after the first upsampling layer to obtain a first fused feature; the second cascade layer fuses the features after the second convolution layer and the features after the second upsampling layer to obtain a second fused feature; the third cascade layer fuses the features after the first convolution layer and the features after the third upsampling layer to obtain a third fused feature; the first flattening layer flattens the first fused feature to obtain a first flattened feature; the first fully connected layer processes the first flattened feature to obtain a first fully connected feature; the second flattening layer processes the second The fused features are flattened to obtain a second flattened feature; the second fully connected layer processes the second flattened feature to obtain a second fully connected feature; the third flattened layer flattens the features after the third convolutional layer to obtain a third flattened feature; the third fully connected layer processes the third flattened feature to obtain a third fully connected feature; the first classification layer classifies the first fully connected feature to obtain a first classification result; the second classification layer classifies the second fully connected feature to obtain a second classification result; the third classification layer classifies the third fully connected feature to obtain a third classification result; the averaging layer averages the first classification result, the second classification result and the third classification result to obtain the target probability.
[0048] In this embodiment, the first cascade layer fuses the features after the third convolution layer and the features after the first upsampling layer to obtain a first fused feature; the second cascade layer fuses the features after the second convolution layer and the features after the second upsampling layer to obtain a second fused feature; the third cascade layer fuses the features after the third convolution layer and the features after the third upsampling layer to obtain a third fused feature, wherein the first fused feature, the second fused feature and the third fused feature are all features obtained by fusing low-level features and high-level features, thereby improving the classification accuracy of remote sensing images.
[0049] As an optional implementation method, step S104 predicts target forestry pest data in the target area based on target probability, meteorological data, forestry area and historical forestry pest data, including: predicting first forestry pest data in the target area based on meteorological data and forestry area; determining the difference between the first forestry pest data and the historical forestry pest data corresponding to the meteorological data and forestry area as a first difference; and determining the target forestry pest data based on the first difference and target probability.
[0050] In this embodiment, based on the measured meteorological data and forestry area and according to the forestry pest prediction model, the first forestry pest data of the target area is predicted, for example, the specific temperature and the specific forestry area, the first forestry pest data of the target area is simulated, and the difference between the first forestry pest data and the historical forestry pest data corresponding to the meteorological data and the forestry area is calculated to obtain the first difference. When the first forestry pest data is 5600 and the historical forestry pest data is 5786, that is, the first difference is 186, the target forestry pest data is obtained according to the first difference and the target probability.
[0051] As an optional implementation method, target forestry pest data is determined based on the first difference and the target probability, including: if the first difference is less than or equal to a preset threshold, the product between the historical forestry pest data and the maximum value of the target probability is determined as the target forestry pest data.
[0052] In this embodiment, if the first difference is less than or equal to the preset threshold, the target probabilities are 0.96, 0.01, and 0.03 respectively, and the historical forestry pest data is 5786. 0.96 is multiplied by 5786 to obtain 5558, and 5558 is determined as the target forestry pest data.
[0053] As an optional implementation method, target forestry pest data is determined based on the first difference and the target probability, including: if the first difference is greater than a preset threshold, the first forestry pest data is determined as the target forestry pest data, and the meteorological data, forestry area and the first forestry pest data are recorded.
[0054] In this embodiment, if the first difference is greater than a preset threshold, the first forestry pest data is determined as the target forestry pest data, and the meteorological data, the forestry area and the first forestry pest data are recorded.
[0055] In an embodiment of the present invention, a remote sensing image is input into a target convolutional neural network model to obtain a target probability corresponding to the remote sensing image, and first forestry pest data of the target area is predicted based on meteorological data and forestry area; the difference between the first forestry pest data and the historical forestry pest data corresponding to the meteorological data and the forestry area is determined as a first difference; if the first difference is less than or equal to a preset threshold, the product between the historical forestry pest data and the maximum value in the target probability is determined as the target forestry pest data; if the first difference is greater than the preset threshold, the first forestry pest data is determined as the target forestry pest data, and the meteorological data, forestry area and the first forestry pest data are recorded, thereby solving the technical problem of inaccurate prediction of forestry pest distribution and achieving the technical effect of accurate prediction of forestry pest distribution.
[0056] Example 2
[0057] According to an embodiment of the present invention, a forest pest distribution prediction system based on remote sensing technology is also provided. It should be noted that the forest pest distribution prediction system based on remote sensing technology can be used to execute a forest pest distribution prediction method based on remote sensing technology in Example 1.
[0058] Figure 3 FIG. 1 is a structural block diagram of a forestry pest distribution prediction system based on remote sensing technology according to an embodiment of the present invention. Figure 3 As shown, a forestry pest distribution prediction system based on remote sensing technology may include: a first acquisition unit, a processing unit, a second acquisition unit and a prediction unit.
[0059] The first acquisition unit is used to acquire a remote sensing image taken by a remote sensing satellite, wherein the remote sensing image is a remote sensing image within a target area.
[0060] The processing unit is used to input the remote sensing image into the target convolutional neural network model to obtain the target probability corresponding to the remote sensing image.
[0061] The second acquisition unit is used to acquire meteorological data, forestry area and historical forestry pest data of the target area of the geographical location corresponding to the remote sensing image.
[0062] The prediction unit is used to predict the target forestry pest data in the target area based on the target probability, meteorological data, forestry area and historical forestry pest data.
[0063] Optionally, before the remote sensing image is input into the target convolutional neural network model to obtain the target probability corresponding to the remote sensing image, the system also includes: a building unit for building a target convolutional neural network model, wherein the target convolutional neural network model includes: 1 input layer, 7 convolutional layers, 4 maximum pooling layers, 3 upsampling layers, 3 cascade layers, 3 flattening layers, 3 fully connected layers, 3 classification layers, 1 average layer and 1 output layer, wherein the 7 convolutional layers are respectively the first convolutional layer, the second convolutional layer, the third convolutional layer, The fourth convolution layer, the fifth convolution layer, the sixth convolution layer and the seventh convolution layer, the four maximum pooling layers are the first maximum pooling layer, the second maximum pooling layer, the third maximum pooling layer and the fourth maximum pooling layer, the three upsampling layers are the first upsampling layer, the second upsampling layer and the third upsampling layer, the three flattening layers are the first flattening layer, the second flattening layer and the third flattening layer, the three fully connected layers are the first fully connected layer, the second fully connected layer and the third fully connected layer, and the three classification layers are the first classification layer, the second classification layer and the third classification layer.
[0064] Optionally, the construction unit also includes: a first fusion module, which is used for the first cascade layer to fuse the features after the third convolution layer and the features after the first upsampling layer to obtain a first fused feature; a second fusion module, which is used for the second cascade layer to fuse the features after the second convolution layer and the features after the second upsampling layer to obtain a second fused feature; a third fusion module, which is used for the third cascade layer to fuse the features after the first convolution layer and the features after the third upsampling layer to obtain a third fused feature; a first flattening module, which is used for the first flattening layer to flatten the first fused feature to obtain a first flattened feature; a first processing module, which is used for the first fully connected layer to process the first flattened feature to obtain a first fully connected feature; a second flattening module, which is used for the second flattening layer to flatten the second fused feature to obtain a second flattened feature. feature; a second processing module, used for the second fully connected layer to process the second flattened feature to obtain the second fully connected feature; a third flattening module, used for the third flattening layer to flatten the features after the third convolutional layer to obtain the third flattened feature; a third processing module, used for the third fully connected layer to process the third flattened feature to obtain the third fully connected feature; a first classification module, used for the first classification layer to classify the first fully connected feature to obtain a first classification result; a second classification module, used for the second classification layer to classify the second fully connected feature to obtain a second classification result; a third classification module, used for the third classification layer to classify the third fully connected feature to obtain a third classification result; an averaging module, used for the averaging layer to average the first classification result, the second classification result and the third classification result to obtain the target probability.
[0065] Optionally, the prediction unit also includes: a prediction module, used to predict first forestry pest data of the target area based on meteorological data and forestry area; a first determination module, used to determine the difference between the first forestry pest data and the historical forestry pest data corresponding to the meteorological data and the forestry area as a first difference; and a second determination module, used to determine the target forestry pest data based on the first difference and the target probability.
[0066] Optionally, the second determination module includes: a determination submodule, which is used to determine the product between the historical forestry pest data and the maximum value of the target probability as the target forestry pest data if the first difference is less than or equal to a preset threshold.
[0067] Optionally, the second determination module includes: a processing submodule, used for determining the first forestry pest data as target forestry pest data if the first difference is greater than a preset threshold, and recording meteorological data, forestry area and the first forestry pest data.
[0068] In this embodiment, a first acquisition unit is used to acquire a remote sensing image taken by a remote sensing satellite, wherein the remote sensing image is a remote sensing image within a target area; a processing unit is used to input the remote sensing image into a target convolutional neural network model to obtain a target probability corresponding to the remote sensing image; a second acquisition unit is used to acquire meteorological data, forestry area and historical forestry pest data of the target area at the geographical location corresponding to the remote sensing image; a prediction unit is used to predict target forestry pest data within the target area based on the target probability, meteorological data, forestry area and historical forestry pest data, thereby solving the technical problem of inaccurate prediction of the distribution of forestry pests and achieving the technical effect of accurate prediction of the distribution of forestry pests.
[0069] Example 3
[0070] According to an embodiment of the present invention, a computer-readable storage medium is also provided, which includes a stored program, wherein the program executes a forestry pest distribution prediction method based on remote sensing technology in Example 1.
[0071] Example 4
[0072] According to an embodiment of the present invention, a processor is further provided, which is used to run a program, wherein when the program is run, a forestry pest distribution prediction method based on remote sensing technology in Example 1 is executed.
[0073] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.
[0074] In the above embodiments of the present invention, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0075] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only schematic. For example, the division of units can be a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.
[0076] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed over multiple units. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.
[0077] In addition, each functional unit in each embodiment of the present invention may be integrated into a first processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0078] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, server or network device, etc.) to perform all or part of the steps of the methods of each embodiment of the present invention. The aforementioned storage medium includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disk or optical disk, etc., which can store program code.
[0079] The above are only preferred embodiments of the present invention. It should be pointed out that, for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.
Claims
1. A method for predicting the distribution of forest pests based on remote sensing technology, characterized in that: include: Acquire a remote sensing image taken by a remote sensing satellite, wherein the remote sensing image is a remote sensing image within a target area; Inputting the remote sensing image into a target convolutional neural network model to obtain a target probability corresponding to the remote sensing image; Acquire meteorological data, forest area and historical forest pest data of the target area at the geographical location corresponding to the remote sensing image; Based on the target probability, the meteorological data, the forestry area and the historical forestry pest data, target forestry pest data in the target area is predicted.
2. The method for predicting the distribution of forestry pests based on remote sensing technology according to claim 1, characterized in that: Before inputting the remote sensing image into the target convolutional neural network model to obtain the target probability corresponding to the remote sensing image, the method further includes: Build the target convolutional neural network model, wherein the target convolutional neural network model includes: 1 input layer, 7 convolutional layers, 4 maximum pooling layers, 3 upsampling layers, 3 cascade layers, 3 flattening layers, 3 fully connected layers, 3 classification layers, 1 average layer and 1 output layer, wherein the 7 convolutional layers are respectively the first convolutional layer, the second convolutional layer, the third convolutional layer, the fourth convolutional layer, the fifth convolutional layer, the sixth convolutional layer and the seventh convolutional layer, the 4 maximum pooling layers are respectively the first maximum pooling layer, the second maximum pooling layer, the third maximum pooling layer and the fourth maximum pooling layer, the 3 upsampling layers are respectively the first upsampling layer, the second upsampling layer and the third upsampling layer, the 3 flattening layers are respectively the first flattening layer, the second flattening layer and the third flattening layer, the 3 fully connected layers are respectively the first fully connected layer, the second fully connected layer and the third fully connected layer, and the 3 classification layers are respectively the first classification layer, the second classification layer and the third classification layer.
3. The method for predicting the distribution of forestry pests based on remote sensing technology according to claim 2, characterized in that: The processing process of the target convolutional neural network model is as follows: The first cascade layer fuses the features after the third convolution layer and the features after the first upsampling layer to obtain a first fused feature; The second cascade layer fuses the features after the second convolution layer and the features after the second upsampling layer to obtain a second fused feature; The third cascade layer fuses the features after the first convolution layer and the features after the third upsampling layer to obtain a third fused feature; The first flattening layer flattens the first fused feature to obtain a first flattened feature; The first fully connected layer processes the first flattened feature to obtain a first fully connected feature; The second flattening layer flattens the second fused feature to obtain a second flattened feature; The second fully connected layer processes the second flattened feature to obtain a second fully connected feature; The third flattening layer flattens the features after the third convolutional layer to obtain third flattened features; The third fully connected layer processes the third flattened feature to obtain a third fully connected feature; The first classification layer classifies the first fully connected feature to obtain a first classification result; The second classification layer classifies the second fully connected feature to obtain a second classification result; The third classification layer classifies the third fully connected feature to obtain a third classification result; The averaging layer averages the first classification result, the second classification result, and the third classification result to obtain the target probability.
4. The method for predicting the distribution of forestry pests based on remote sensing technology according to claim 1, characterized in that: The predicting of target forestry pest data in the target area based on the target probability, the meteorological data, the forestry area and the historical forestry pest data comprises: Based on the meteorological data and the forestry area, predicting first forestry harmful organism data of the target area; determining the difference between the first forestry harmful organism data and the historical forestry harmful organism data corresponding to the meteorological data and the forestry area as a first difference value; Based on the first difference and the target probability, the target forestry pest data is determined.
5. The method for predicting the distribution of forestry pests based on remote sensing technology according to claim 4 is characterized in that: Determining the target forestry pest data based on the first difference and the target probability includes: If the first difference is less than or equal to a preset threshold, the product of the historical forestry pest data and the maximum value of the target probability is determined as the target forestry pest data.
6. The method for predicting the distribution of forestry pests based on remote sensing technology according to claim 4, characterized in that: Determining the target forestry pest data based on the first difference and the target probability includes: If the first difference is greater than the preset threshold, the first forestry pest data is determined as the target forestry pest data, and the meteorological data, the forestry area and the first forestry pest data are recorded.
7. A forestry pest distribution prediction system based on remote sensing technology, characterized in that: include: A first acquisition unit is used to acquire a remote sensing image taken by a remote sensing satellite, wherein the remote sensing image is a remote sensing image within a target area; A processing unit, used to input the remote sensing image into a target convolutional neural network model to obtain a target probability corresponding to the remote sensing image; A second acquisition unit is used to acquire meteorological data, forestry area and historical forestry pest data of the target area at the geographical location corresponding to the remote sensing image; A prediction unit is used to predict the target forestry pest data in the target area based on the target probability, the meteorological data, the forestry area and the historical forestry pest data.
