Crop disease and pest monitoring method, device, equipment, storage medium and product

By acquiring and processing spectral super-resolution sample sets, the combination of multispectral images and spectral libraries is achieved, solving the problem of difficulty in obtaining multispectral and hyperspectral images in the same scene, achieving efficient monitoring of crop diseases and pests, reducing costs and improving improve the continuity and coverage of monitoring.

CN118794899AInactive Publication Date: 2024-10-18WUHAN JIAHE TECH CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202411267856.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-11
Publication Date
2024-10-18
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

It is difficult to obtain multispectral and hyperspectral images in the same scene, making it difficult to implement spectral super-resolution technology based on multi- and hyperspectral image pairs.

Method used

By obtaining the spectral super-resolution sample set of the area to be monitored, performing spectral super-resolution based on the spectral data in the spectral super-resolution sample set, obtaining the spectral super-resolution image, and performing comparison and verification based on the spectral data and spectral super-resolution image, the verification result is verification Crop pest and disease monitoring will be carried out during the passage.

Benefits of technology

It achieves lower-cost large-area, time-continuous monitoring of pests and diseases, using the high spatial and temporal resolution of multispectral images, combined with the rich open source spectral library, to solve the problem of difficult to obtain data sources.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118794899A_ABST
    Figure CN118794899A_ABST
Patent Text Reader

Abstract

The invention discloses a crop disease and insect pest monitoring method, device and equipment, a storage medium and a product, and relates to the technical field of surveying and mapping remote sensing, and the crop disease and insect pest monitoring method comprises the steps: obtaining a spectrum super-division sample set of a to-be-monitored region; performing spectrum super-division based on the spectrum data in the spectrum super-division sample set to obtain a spectrum super-division image; performing comparison verification according to the spectral data and the spectral super-resolution image to obtain a verification result; and when the verification result is that the verification is passed, crop disease and insect pest monitoring is performed based on the spectrum super-resolution image. The multispectral image has higher spatial and temporal resolution, is low in cost and is easier to obtain; moreover, a large number of open-source and rich-variety spectrum libraries exist at present, only the two kinds of data are used as data sources, compared with previous research, the problem that the data sources are difficult to obtain is solved, and large-area and continuous-time pest and disease monitoring with lower cost can be achieved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of surveying and mapping remote sensing technology, and in particular to crop disease and insect pest monitoring methods, devices, equipment, storage media and products. Background Art

[0002] During the growth of crops, pests and diseases will have a great impact on their yield and quality, reducing economic benefits. It is particularly important to understand the signs and occurrence characteristics of pests and diseases, detect them as early as possible and take measures to control them, in order to improve crop yield and quality and reduce economic losses caused by pests and diseases. Hyperspectral remote sensing technology can obtain spectral information of hundreds of bands in the visible-near infrared (VIS-NIR) and shortwave infrared (SWIR) ranges of the electromagnetic spectrum. It is highly sensitive to subtle changes in vegetation caused by pests and diseases, and has unique advantages in early detection of pests and diseases and identification of different pests and diseases.

[0003] There are many research directions for spectral super-resolution based on multispectral and hyperspectral images of the same region. For example, the fusion of hyperspectral and multispectral data can be achieved based on wavelet transform and statistical estimation methods. There are also many studies on methods based on spectral mixture decomposition, which can improve the spatial resolution of data without destroying the original spectral characteristics of the data. In recent years, spectral super-resolution methods based on linear spectral mixture analysis and convex geometry analysis have also been widely used. However, it is difficult to obtain multispectral and hyperspectral image pairs in the same scene, which makes spectral super-resolution technology based on multi- and hyperspectral image pairs often difficult to implement in practical applications. Summary of the invention

[0004] The main purpose of this application is to provide a crop disease and pest monitoring method, device, equipment, storage medium and product, aiming to solve the technical problem in the prior art that multispectral and hyperspectral image pairs in the same scene are difficult to obtain, making it difficult to implement spectral super-resolution technology based on multi- and hyperspectral image pairs.

[0005] To achieve the above objectives, the present application proposes a crop disease and insect pest monitoring method, the crop disease and insect pest monitoring method comprising: Obtain a spectral super-resolution sample set of the area to be monitored; Performing spectral super-resolution based on the spectral data in the spectral super-resolution sample set to obtain a spectral super-resolution image; Comparing and verifying the spectral data and the spectral super-resolution image to obtain a verification result; When the verification result is verification passed, crop disease and insect pest monitoring is performed based on the spectral super-resolution image.

[0006] In one embodiment, the step of obtaining a spectrum super-sample set of the area to be monitored includes: Obtain multispectral images of the area to be monitored, field spectral samples and spectral data in the public spectral library; constructing an initial sample set based on the multispectral image, the field spectral sample and the spectral data; The initial sample set is preprocessed to obtain a spectral super-resolution sample set.

[0007] In one embodiment, the step of performing spectral super-resolution based on the spectral data in the spectral super-resolution sample set to obtain a spectral super-resolution image comprises: Acquiring spectral data in the spectral super-resolution sample set; Determining a sample type corresponding to the spectral data; Classify the spectral data based on the sample type to obtain a spectral data classification result; Spectral super-resolution is performed based on the spectral data classification result to obtain a spectral super-resolution image.

[0008] In one embodiment, the spectral data classification result includes: a preprocessing result and a clustering processing result; the step of performing classification processing on the spectral data based on the sample type to obtain the spectral data classification result includes: When the sample type is a multispectral image, pre-classifying the multispectral image based on a supervised classification model to obtain a pre-classification result; When the sample type is spectral data in a spectral library, clustering processing is performed on the spectral data in the spectral library to obtain a clustering processing result.

[0009] In one embodiment, the step of performing spectral super-resolution based on the spectral data in the spectral super-resolution sample set to obtain a spectral super-resolution image comprises: Performing band matching on the clustering processing results to obtain a spectral matching matrix; Performing transformation based on the spectrum matching matrix to obtain a matching spectrum dictionary; Constructing a spatial sparse coefficient matrix, estimating the spatial sparse coefficient matrix based on the pre-classification processing result, and obtaining an estimation result; A spectral super-resolution image is obtained based on the estimation result and the spectral dictionary.

[0010] In one embodiment, the step of performing comparison and verification based on the spectral data and the spectral super-resolution image to obtain a verification result includes: Acquire a first spectral curve of the field spectral sample and a second spectral sample curve of the spectral super-resolution image; determining a cosine similarity based on the first spectral curve and the second spectral curve; When all the cosine similarities are greater than a preset cosine similarity threshold, the verification result is determined to be verification passed.

[0011] In addition, to achieve the above-mentioned purpose, the present application also proposes a crop disease and insect pest monitoring device, the crop disease and insect pest monitoring device comprising: A data acquisition module, used to acquire a spectral super-resolution sample set of the area to be monitored; A spectral super-resolution module, used for performing spectral super-resolution based on the spectral image in the spectral super-resolution sample set to obtain a spectral super-resolution image; A comparison and verification module, used for performing comparison and verification based on the spectral image and the spectral super-resolution image to obtain a verification result; A monitoring module is used to monitor crop diseases and insect pests based on the spectral super-resolution image when the verification result is verification passed.

[0012] In addition, to achieve the above-mentioned purpose, the present application also proposes a crop disease and pest monitoring device, which includes: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program is configured to implement the steps of the crop disease and pest monitoring method as described above.

[0013] In addition, to achieve the above-mentioned purpose, the present application also proposes a storage medium, which is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by the processor, the steps of the crop disease and pest monitoring method described above are implemented.

[0014] In addition, to achieve the above-mentioned purpose, the present application also provides a computer program product, which includes a computer program, and when the computer program is executed by a processor, the steps of the crop disease and pest monitoring method described above are implemented.

[0015] One or more technical solutions proposed in this application have at least the following technical effects: The present application obtains a spectral super-resolution sample set of the area to be monitored; performs spectral super-resolution based on the spectral data in the spectral super-resolution sample set to obtain a spectral super-resolution image; performs comparison and verification based on the spectral data and the spectral super-resolution image to obtain a verification result; when the verification result is verification passed, crop pest and disease monitoring is performed based on the spectral super-resolution image. Since multispectral images have high spatial and temporal resolution, and are low-cost and easier to obtain; and there are currently a large number of open-source, rich spectral libraries, the present invention only uses the above two types of data as data sources. Compared with previous studies, it solves the problem of difficulty in obtaining data sources, and can achieve large-area, time-continuous pest and disease monitoring at a lower cost. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.

[0017] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0018] Figure 1 A schematic diagram of a process flow provided for the first embodiment of the crop pest monitoring method of the present application; Figure 2 A schematic diagram of a process flow provided for Example 2 of the crop pest monitoring method of the present application; Figure 3 A schematic diagram of a process flow provided for Example 3 of the crop pest monitoring method of the present application; Figure 4 This is a general flow chart of one implementation of the crop pest and disease monitoring method of the present application; Figure 5 This is a schematic diagram of the module structure of the crop disease and insect pest monitoring device according to an embodiment of the present application; Figure 6 Schematic diagram of the equipment structure of the hardware operating environment involved in the crop disease and pest monitoring method in the embodiment of the present application.

[0019] The purpose, features and advantages of this application will be further described in conjunction with the embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0020] It should be understood that the specific embodiments described herein are only used to explain the technical solutions of the present application and are not used to limit the present application.

[0021] In order to better understand the technical solution of the present application, a detailed description will be given below in conjunction with the accompanying drawings and specific implementation methods.

[0022] The main solution of the embodiment of the present application is: obtaining a spectral super-resolution sample set of the area to be monitored; performing spectral super-resolution based on the spectral image in the spectral super-resolution sample set to obtain a spectral super-resolution image; performing comparison and verification based on the spectral image and the spectral super-resolution image to obtain a verification result; when the verification result is verification passed, performing crop disease and pest monitoring based on the spectral super-resolution image.

[0023] In recent years, scientific and technological workers have conducted various studies on various platforms, including the construction of hyperspectral remote sensing systems, the extraction of pest and disease feature maps, and the improvement of related algorithms, revealing more possibilities of hyperspectral remote sensing technology in the identification, monitoring and early detection of crop pests and diseases. In the application of crop pest and disease monitoring and identification, the most common spectral bands of hyperspectral sensors are concentrated in the spectral ranges of VIS (400-700 nm) and NIR (700-1100 nm). There are also related analyses and studies using electromagnetic spectrum information in the SWIR (1100-2500 nm) range provided by non-imaging hyperspectral data. The spectral resolution of these sensors is often better than 10 nm, and can even provide continuous narrow band information below 1 nm. These continuous spectral features are not only suitable for the identification and diagnosis of pest and disease symptoms, but also for the monitoring and analysis of the dynamic changes of pests and diseases. Currently, many scholars have applied hyperspectral technology to agricultural pest and disease monitoring research, and related monitoring methods and technologies have become relatively mature. However, when optical sensors obtain image data, due to the mutual constraints between spatial resolution and spectral resolution and the influence of physical conditions such as signal-to-noise ratio, hyperspectral remote sensing data often has a low spatial resolution, and it is not easy to obtain a piece of hyperspectral data. In this context, since multispectral data is often easier to obtain than hyperspectral data, super-resolution reconstruction of multispectral images into hyperspectral images is an important trend in hyperspectral remote sensing research.

[0024] The previous spectral super-resolution method based on multi- and hyperspectral images of the same scene is essentially to use multispectral images to provide spatial information, and hyperspectral images to provide spectral information, so as to obtain spectral super-resolution images with high spatial-spectral resolution. In contrast, the scheme of the present application uses a spectral dictionary learning method to learn the spectral characteristics of the high-dimensional space of the public spectral library, and obtains a spectral dictionary to replace the hyperspectral image to provide spectral information. In the crop disease and insect pest monitoring method provided by the present invention, the multispectral image used contains other background land types in addition to the target crop. Similarly, the public spectral library also contains a large number of land type spectral samples, but because the sample collection time and location are different from the multispectral image shooting date and location, even for the same land type, the spectral characteristics may show large differences. Therefore, the present invention can perform field sampling to obtain the location, spectrum and other information of the target crop and key land objects, and use the field sampling samples to supervise the classification of the multispectral images to obtain the main land object category classification map. Secondly, the spectral information of the land object category in the field sampling samples is used to cluster the public spectral library according to the cosine similarity of the spectrum, and the public spectral library is divided into several sub-libraries. Finally, spectral super-resolution is performed based on the sub-libraries in the public spectral library and the corresponding object categories in the multispectral images to improve the accuracy of spectral super-resolution.

[0025] It should be noted that the execution subject of this embodiment can be a computing service device with data processing, network communication and program running functions, such as a tablet computer, a personal computer, a mobile phone, etc., or an electronic device capable of realizing the above functions, a virtual device, etc. The following takes a crop disease and insect pest monitoring device (hereinafter referred to as the monitoring device) as an example to illustrate this embodiment and the following embodiments.

[0026] Based on this, the present application embodiment provides a crop pest monitoring method, referring to Figure 1 , Figure 1 This is a flow chart of the first embodiment of the crop disease and insect pest monitoring method of the present application.

[0027] In this embodiment, the crop pest monitoring method includes steps S10 to S40: Step S10, obtaining a spectrum super-resolution sample set of the area to be monitored; In the embodiment of the present application, the above-mentioned area to be monitored is also the crop planting area, and the above-mentioned spectral super-resolution sample set is also the set of spectral samples in the area to be monitored. The spectral super-resolution sample set may include multispectral images, field spectral samples, and spectral samples in a public spectral library.

[0028] Specifically, the step of obtaining a spectrum super-resolution sample set of the area to be monitored includes: Obtain multispectral images of the area to be monitored, field spectral samples and spectral data in the public spectral library; constructing an initial sample set based on the multispectral image, the field spectral sample and the spectral data; The initial sample set is preprocessed to obtain a spectral super-resolution sample set.

[0029] It is understandable that multispectral imaging is a technology that uses multiple spectral bands to image the monitored area. It combines the information of multiple spectral bands and can provide rich and accurate image data. The multispectral image can be obtained by remote sensing technology or other means, and the embodiments of the present application are not limited to this. The shooting date of the multispectral image should be during the peak period of pests and diseases of the target crop. The spectral range of the band of the multispectral image taken should be in the range of 400nm to 760nm, that is, it should include at least four bands of blue, green, red, and near infrared, and the spectral range should be included in the spectral range of the public spectral library used.

[0030] It should be understood that the public spectral library is a collection of various types of ground object reflectance spectral data measured by a hyperspectral imaging spectrometer under certain conditions, and the public spectral library data is also the spectral data in the public spectral library. The public spectral library used in the embodiment of the present application can be a currently mainstream and open source spectral library. The selection principle for the spectral library can be that the vegetation category samples in the selected public spectral library account for at least 30% of the total number of samples.

[0031] It is understandable that the above-mentioned field spectral samples can be collected by field surveys, using spectrometers and other equipment to collect information such as coordinates, spectra, and true color images of background objects, target crop health, and different levels of pests and diseases. The number of samples of all categories should be roughly equal. During the field survey, the sampling time, weather, crop health or disease level, spectrum number, field photos, longitude and latitude information, and samplers can also be recorded.

[0032] An initial sample set is constructed based on multispectral images, spectral data in a public spectral library, and field spectral samples. By preprocessing the initial sample set, a spectral super-resolution sample set can be obtained.

[0033] It should be noted that the above-mentioned preprocessing means may include radiation calibration, atmospheric correction, orthorectification, etc., which is not limited in the embodiments of the present application.

[0034] It should be understood that the radiometric calibration of spectral images refers to the process of converting the digital quantization value (DN) in the spectral image into the radiometric brightness value (Radiance). The gain (Gain) and offset (Offset) parameters are obtained from the metadata file attached to the spectral image, and the radiometric calibration tool of the preset software is used to perform the operation to achieve the radiometric calibration of the spectral image.

[0035] It can be understood that the atmospheric correction of spectral images is the process of eliminating the radiation error caused by the influence of the atmosphere and converting the radiation brightness value into the ground reflectivity. The parameters such as the solar zenith angle, solar azimuth angle, satellite zenith angle, satellite azimuth angle, satellite altitude, image shooting time, climate type of the image location, aerosol type, altitude, etc. are obtained from the metadata file attached to the spectral image, and these parameters are input into the FLAASH module of the preset software to complete the atmospheric correction operation of the spectral image.

[0036] It should be understood that the purpose of orthorectification of spectral images is to eliminate the image point displacement caused by projection errors caused by terrain undulations and errors such as the internal and external states of the sensor, so that the shape and spatial position of the objects can be accurately and objectively represented after correction. Select several ground control points from the spectral image, obtain the digital elevation model (DEM) data within the image range, and use the orthorectification module in the preset software to complete the tilt correction and projection error correction of the spectral image.

[0037] In one implementation of the embodiment of the present application, the spectral range of the four-band (blue, green, red, near infrared) multispectral image of the crop is 0.4-0.9μm; the spectral range in the public spectral library is 0.2-3μm, which may include visible light, near infrared and short-wave infrared; the spectral range for the field spectral sample may be 0.325-1.075μm; the spectral range of the public spectral library and the field spectral sample includes the range of the multispectral image of the crop, so the spectral information of the public spectral library and the field spectral sample may be truncated according to the spectral range of the multispectral image. Specifically, the intersection of the spectral range of the public spectral library, the spectral range of the multispectral image and the spectral range of the field spectral sample may be taken, and the spectral information of the multispectral image, the field spectral sample and the public spectral library data outside the intersection may be truncated with this intersection.

[0038] Step S20, performing spectral super-resolution based on the spectral data in the spectral super-resolution sample set to obtain a spectral super-resolution image Step S30, performing comparison and verification based on the spectral data and the spectral super-resolution image to obtain a verification result; Step S40: when the verification result is passed, crop disease and insect pest monitoring is performed based on the spectral super-resolution image.

[0039] It can be understood that spectral super-resolution is a technology that can convert spectral images or spectral data with low spectral resolution into spectral images or spectral data with high spectral resolution. For the spectral super-resolution images after spectral super-resolution, they can be compared and verified with the field spectral samples in the spectral super-resolution sample set to avoid monitoring errors caused by the large gap between the spectral images obtained after spectral super-resolution and the original spectral images.

[0040] It should be understood that when the above comparison and verification are passed, crop pest and disease monitoring can be carried out based on the spectral super-resolution image.

[0041] The embodiment of the present application obtains a spectral super-resolution sample set of the area to be monitored; performs spectral super-resolution based on the spectral data in the spectral super-resolution sample set to obtain a spectral super-resolution image; performs comparison and verification based on the spectral data and the spectral super-resolution image to obtain a verification result; when the verification result is verification passed, crop pest and disease monitoring is performed based on the spectral super-resolution image. Since multispectral images have high spatial and temporal resolution and there are currently a large number of open-source, rich spectral libraries that are low-cost and easier to obtain, the present invention only uses the above two types of data as data sources. Compared with previous studies, it solves the problem of difficulty in obtaining data sources and can achieve large-area, time-continuous pest and disease monitoring at a lower cost.

[0042] Based on the first embodiment of the present application, in the second embodiment of the present application, the same or similar contents as those in the above-mentioned embodiment 1 can be referred to the above introduction, and will not be repeated in the following. Figure 2 The step of performing spectral super-resolution based on the spectral image in the spectral super-resolution sample set to obtain a spectral super-resolution image comprises: Step S21, obtaining spectral data in the spectral super-resolution sample set; Step S22, determining the sample type corresponding to the spectral data; It can be understood that the spectral data in the spectral super-resolution sample set may include multi-spectral images, field spectral samples and spectral data in a public spectral library.

[0043] Step S23, classifying the spectral data based on the sample type to obtain a spectral data classification result; It should be noted that for spectral images of different sample types, the corresponding classification processing methods are different. Specifically, the spectral image classification result includes: a pre-classification processing result and a clustering processing result; the step of classifying the spectral data based on the sample type to obtain the spectral data classification result includes: When the sample type is a multispectral image, pre-classifying the multispectral image based on a supervised classification model to obtain a pre-classification result; When the sample type is spectral data in a spectral library, clustering processing is performed on the spectral data in the spectral library to obtain a clustering processing result.

[0044] It should be noted that for the pre-classification of multispectral images, it is possible to assume that the sample set has a total of k (k>0) categories, and use the location information in the field spectral samples sampled in the field as supervision, extract the spectral features of the corresponding pixels in the multispectral image as a training set, and train the supervised classification model. The supervised classification model can be used to classify the multispectral image and obtain a single-band classification result image with k categories, that is, to obtain the pre-classification processing result.

[0045] It should be explained that for the clustering processing of spectral data in the spectral library, an unsupervised clustering method (such as the k-means clustering algorithm) can be used. The mean of the spectral characteristics of each category in the pre-classification processing results of the multispectral image is used as the clustering center, and the cosine similarity is used as the clustering indicator. All spectral data in the public spectral library are clustered, so that each sample in the public spectral library is assigned to one of the k categories in the sample set.

[0046] Specifically, the spectral cosine similarity is defined as: ; in, , is the spectral feature vector. The higher the cosine similarity, the more similar the two spectral feature vectors are.

[0047] It should be noted that after pre-classification of multispectral images and clustering of public spectral libraries, the categories in the multispectral image classification results and the categories in the clustering results of the public spectral library are equal and one-to-one corresponding. For the i-th (0<i≤k) class, the result of multispectral pre-classification can be used to extract the i-th spectral features of the multispectral image. At the same time, the i-th spectral sample of the public spectral library is extracted, and the spectral super-resolution of the i-th class is performed until the spectral super-resolution of the entire multispectral image is completed.

[0048] Step S24, performing spectral super-resolution based on the spectral data classification result to obtain a spectral super-resolution image.

[0049] It should be noted that when the pre-classification processing results and the clustering processing results are obtained, spectral super-resolution can be performed based on these classification results to obtain a spectral super-resolution image.

[0050] The embodiment of the present application obtains spectral data in a spectral super-resolution sample set; determines the sample type corresponding to the spectral data; classifies the spectral data based on the sample type to obtain a spectral data classification result; performs spectral super-resolution based on the spectral data classification result to obtain a spectral super-resolution image. Since the multi-spectral image and the spectral image in the spectral library are classified and processed respectively, and the spectral super-resolution is performed according to the classification result, the effect of spectral super-resolution is improved.

[0051] Based on the first embodiment and / or the second embodiment of the present application, in the third embodiment of the present application, the same or similar contents as those of the above-mentioned embodiment 1 and / or the second embodiment can refer to the above introduction, and will not be repeated later. Figure 3 The step of performing spectral super-resolution based on the spectral image classification result to obtain a spectral super-resolution image comprises: Step S100, performing band matching on the clustering processing result to obtain a spectrum matching matrix; Step S200, performing transformation based on the spectrum matching matrix to obtain a matching spectrum dictionary; Step S300, constructing a spatial sparse coefficient matrix, estimating the spatial sparse coefficient matrix based on the pre-classification processing result, and obtaining an estimation result; Step S400: obtaining a spectral super-resolution image based on the estimation result and the spectral dictionary.

[0052] It should be noted that after spectral super-resolution, the spectral super-resolution image with high spatial and high spectral resolution can be obtained by Indicates that the multispectral image used in this application is The public spectral library consists of Indicates. Among them, and ( Respectively and The number of pixels in each band, , and ( ) respectively represent , and The number of spectral bands. Then the multispectral image It can be expressed as The spectral degradation of (1); in, is the spectral response function, represents the zero-mean Gaussian noise in the observation model. The estimation of is an ill-posed inverse problem, which can be solved by introducing sparse expressions. With spectral library Can be expressed as spectral dictionary and A linear combination of: (2); .(3); in, and They are and The spectral dictionary, and They are and The sparse coefficient matrix of is the number of columns in the spectral dictionary. and Each atom in can be considered as a spectral feature without physical meaning in the broader sense, i.e. they are no longer pure spectral endmembers.

[0053] It should be noted that after the spectral samples are preprocessed and classified, the spectral range of the multispectral image and the spectral data in the public spectral library are consistent. Since the spectral resolution of the public spectral library is relatively high, usually with dozens to hundreds of bands, it is necessary to predetermine the number of bands and spectral resolution required for the spectral super-resolution image, and perform band matching with the public spectral library. The specific method can be: first, the spectral matrix of the public spectral library is band matched with the predetermined number of spectral bands and spectral resolution matrix to obtain the spectral matching matrix P. The matrix P can be estimated by solving the following minimum distance problem. Specifically, it can be shown in the following formula (4): (4); in, Represents the spectral matrix of each band of spectral data in the spectral library, Represents the spectral matrix of each band of the hyperspectral image. It can be transformed into the following formula: (5); in , and Represent the band matching matrix P and No. OK. In this case, There is only one "1" and the rest are "0", and the spectral matching matrix P can be calculated band by band. Therefore, the band matching process realizes the selection of specific bands from the spectral library, which corresponds one-to-one with the bands of the hyperspectral image. The spectral library after band matching can be expressed as .

[0054] It should be noted that after obtaining the spectral matching matrix, the matching spectral dictionary can be further obtained, which can be specifically shown in the following formula (6): (6); in is the sparse coefficient matrix of the spectral library, is the matched spectral dictionary, the above has Constrained non-convex optimization can be effectively solved by K-SVD algorithm and greedy orthogonal matching pursuit.

[0055] It should be noted that in terms of space, the public spectral library Covered All types of features in, that is, H can be regarded as a subset of L, because represents the spectral information of H. According to the spectral matching matrix P obtained in the previous step, It can be expressed as = , at this time, formula (1) can be expressed as: (7); in, is the space transformation matrix, is the equivalent spatial sparse coefficient matrix, is the matched spectral dictionary. The main purpose of the above processing is to convert the public spectral library into Mapping to the target hyperspectral image The specific spectral library to which the band corresponds.

[0056] It should be noted that the multispectral image X can be used to perform spatial sparse coefficient matrix Considering The sparsity of of The norm is replaced by norm to obtain the convex relaxation, thus computing ,in The norm is a natural convex approximation. Specifically, the spatial sparse coefficient matrix can be solved using the following formula (8): (8); in, for Spectral resolution spectral dictionary, since multispectral images have low spectral resolution, Compared with and , is a dictionary with lower spectral resolution.

[0057] It is understandable that in obtaining the spectral dictionary and the spatial sparse coefficient matrix When , the reconstructed hyperspectral image H can be obtained, that is, the spectral super-resolution image is obtained: (9); It should be noted that when obtaining a spectral super-resolution image, it is also possible to extract the spectral curve of the pixel corresponding to each spectral data in the field spectral sample based on the position information in the field spectral sample, and form a verification sample pair with the spectral curve corresponding to each sample in the spectral super-resolution image, and then calculate the cosine similarity value of each pair of samples in the verification sample pair. When the cosine similarity value of each pair of samples is greater than the preset cosine similarity threshold, the spectral super-resolution image can be used as the final result. If it is partially satisfied, the clustering result of the public spectral library is used as a reference, the category of the samples that meet the similarity threshold condition in the public spectral library is fixed, and the other samples are re-clustered until all the similarity threshold conditions are met or the termination condition of the number of iterative runs is reached. In one implementation method of the embodiment of the present application, the above-mentioned cosine similarity threshold can be set to 0.8, and the number of iterations can be set to 15 times. The specific selection can be made according to the actual application situation, and the embodiment of the present application is not limited to this. That is, the step of comparing and verifying the spectral image and the spectral super-resolution image to obtain the verification result includes: Acquire a first spectral curve of the field spectral sample and a second spectral sample curve of the spectral super-resolution image; determining a cosine similarity based on the first spectral curve and the second spectral curve; When all the cosine similarities are greater than a preset cosine similarity threshold, the verification result is determined to be verification passed.

[0058] It should be noted that when the verification is passed, the longitude and latitude data of the monitored area can be obtained, and the corresponding target spectral super-resolution image can be determined. The spectral curves of these target spectral super-resolution images are extracted as sample data sets. Since the random forest model has strong robustness and noise resistance and is suitable for data with high-dimensional features, a random forest model based on the Gine coefficient and containing 100 trees is constructed. The sample data in the sample data set is divided into training set, validation set and test set according to the ratio of 70%, 15% and 15%. The training and validation sample data sets are imported into the random forest model for training to obtain the classification model, and the spectral super-resolution image of the target area is classified. Finally, the classification accuracy is verified using the test data set to obtain the crop disease and insect pest monitoring results.

[0059] It should be explained that the hyperspectral image obtained by the above spectral super-resolution (that is, the spectral super-resolution effect) has the same spatial range as the multispectral image and has multiple bands. Suppose that during the field survey, 10 types of objects and 10 samples of each type were collected, so there are 10*10=100 samples in total, and each sample contains longitude and latitude information and spectral curve data. First, for each sample of the field spectral sample, the pixel position of the corresponding spectral super-resolution image can be calculated according to its longitude and latitude information, and the spectral curve of this pixel is extracted, which constitutes a sample pair with the sample of the field spectral sample. By calculating the cosine similarity of the two spectral curves in the sample pair, 10 categories and a total of 100 similarity sets can be obtained. For each category of 10 samples, determine whether their similarity is greater than the threshold. If all are greater, it can be said that the spectral super-resolution result of this category is accurate. On the contrary, if only part of the conditions are met or none of them are met, it means that the spectral super-resolution results of this category are not accurate enough, and the unsatisfied parts need to be re-clustered, and through iteration, the spectral super-resolution results are made to meet the similarity threshold conditions or reach the preset number of iterations.

[0060] In one implementation of the embodiment of the present application, the overall flow chart of the crop pest monitoring method of the present application can be as follows: Figure 4 shown.

[0061] Reference Figure 4 The spectral super-resolution sample set may include multispectral images, public spectra in the public spectral library, and field spectral samples. Based on the field spectral samples, supervised classification of multispectral images can be achieved, thereby achieving pre-classification of multispectral images; by performing unsupervised clustering of public spectra in the public spectral library, a clustered spectral library is obtained.

[0062] Furthermore, based on the above classification results, spectral super-resolution can be performed to obtain spectral super-resolution images. By comparing and verifying the spectral super-resolution images, when the conditions are met, the spectral super-resolution images can be input into the supervised classification model for crop pest identification for classification to obtain classification results. When the conditions are not met, the parts that do not meet the conditions need to be re-clustered until the iteration conditions are met or the conditions are met.

[0063] Furthermore, when the classification result is obtained, the accuracy of the classification result can be verified based on the spectral super-resolution sample set.

[0064] The embodiment of the present application performs band matching on the clustering results to obtain a spectral matching matrix; performs transformation based on the spectral matching matrix to obtain a matching spectral dictionary; constructs a spatial sparse coefficient matrix, estimates the spatial sparse coefficient matrix based on the pre-classification processing result, and obtains an estimation result; obtains a spectral super-resolution image based on the estimation result and the spectral dictionary. The embodiment of the present application performs band matching on the clustering results to obtain a spectral matching matrix; obtains a spectral dictionary based on the spectral matching matrix, and obtains a spectral super-resolution image based on the spatial sparse coefficient matrix and the spectral dictionary, thereby achieving spectral super-resolution by matching each category in the multispectral image with the corresponding public spectral library, thereby improving the accuracy of spectral super-resolution.

[0065] It should be noted that the above examples are only used to understand the present application and do not constitute a limitation on the crop pest and disease monitoring method of the present application. More simple transformations based on this technical concept are all within the scope of protection of the present application.

[0066] This application also provides a crop pest monitoring device, please refer to Figure 5 , the crop pest monitoring device comprises: The data acquisition module 10 is used to acquire a spectrum super-resolution sample set of the area to be monitored; A spectral super-resolution module 20, configured to perform spectral super-resolution based on the spectral data in the spectral super-resolution sample set to obtain a spectral super-resolution image; A comparison and verification module 30 is used to compare and verify the spectral data and the spectral super-resolution image to obtain a verification result; The monitoring module 40 is used to perform crop disease and insect pest monitoring based on the spectral super-resolution image when the verification result is verification passed.

[0067] The crop disease and pest monitoring device provided by the present application adopts the crop disease and pest monitoring method in the above embodiment, which can solve the technical problem that it is difficult to obtain multi-spectral and hyperspectral image pairs in the same scene in the prior art, making it difficult to implement the spectral super-resolution technology based on multi- and hyperspectral image pairs. Compared with the prior art, the beneficial effects of the crop disease and pest monitoring device provided by the present application are the same as the beneficial effects of the crop disease and pest monitoring method provided by the above embodiment, and the other technical features of the crop disease and pest monitoring device are the same as the features disclosed in the above embodiment method, which will not be repeated here.

[0068] The present application provides a crop disease and pest monitoring device, which includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the crop disease and pest monitoring method in the above-mentioned embodiment 1.

[0069] Reference below Figure 6 , which shows a schematic diagram of the structure of a crop pest monitoring device suitable for implementing the embodiment of the present application. The crop pest monitoring device in the embodiment of the present application may include but is not limited to mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (Personal Digital Assistants), PADs (Portable Application Descriptions), PMPs (Portable Media Players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Figure 6 The crop pest and disease monitoring device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.

[0070] like Figure 6 As shown, the crop pest monitoring device may include a processing device 1001 (e.g., a central processing unit, a graphics processing unit, etc.), which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM: Read Only Memory) 1002 or a program loaded from a storage device 1003 to a random access memory (RAM: Random Access Memory) 1004. In RAM1004, various programs and data required for the operation of the crop pest monitoring device are also stored. The processing device 1001, ROM1002, and RAM1004 are connected to each other through a bus 1005. An input / output (I / O) interface 1006 is also connected to the bus. Generally, the following systems can be connected to the I / O interface 1006: an input device 1007 including, for example, a touch screen, a touch pad, a keyboard, a mouse, an image sensor, a microphone, an accelerometer, a gyroscope, etc.; an output device 1008 including, for example, a liquid crystal display (LCD: Liquid Crystal Display), a speaker, a vibrator, etc.; a storage device 1003 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 1009. The communication device 1009 can allow the crop pest monitoring device to communicate wirelessly or wired with other devices to exchange data. Although the crop pest monitoring device with various systems is shown in the figure, it should be understood that it is not required to implement or have all the systems shown. More or fewer systems can be implemented or provided instead.

[0071] In particular, according to the embodiments disclosed in the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, the embodiments disclosed in the present application include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication device, or installed from a storage device 1003, or installed from a ROM 1002. When the computer program is executed by the processing device 1001, the above-mentioned functions defined in the method of the embodiment disclosed in the present application are executed.

[0072] The crop disease and pest monitoring device provided by the present application adopts the crop disease and pest monitoring method in the above embodiment, which can solve the technical problem that it is difficult to obtain multi-spectral and hyperspectral image pairs in the same scene in the prior art, making it difficult to implement the spectral super-resolution technology based on multi- and hyperspectral image pairs. Compared with the prior art, the beneficial effects of the crop disease and pest monitoring device provided by the present application are the same as the beneficial effects of the crop disease and pest monitoring method provided by the above embodiment, and the other technical features of the crop disease and pest monitoring device are the same as the features disclosed in the method of the previous embodiment, which will not be repeated here.

[0073] It should be understood that the various parts disclosed in this application can be implemented by hardware, software, firmware or a combination thereof. In the description of the above embodiments, specific features, structures, materials or characteristics can be combined in any one or more embodiments or examples in a suitable manner.

[0074] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

[0075] The present application provides a computer-readable storage medium having computer-readable program instructions (ie, computer programs) stored thereon, and the computer-readable program instructions are used to execute the crop disease and insect pest monitoring method in the above-mentioned embodiment.

[0076] The computer-readable storage medium provided in the present application may be, for example, a USB flash drive, but is not limited to electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, systems or devices, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM: Random Access Memory), a read-only memory (ROM: Read Only Memory), an erasable programmable read-only memory (EPROM: Erasable Programmable Read Only Memory or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM: CD-Read Only Memory), an optical storage device, a magnetic storage device, or any suitable combination of the above. In this embodiment, the computer-readable storage medium may be any tangible medium containing or storing a program, which may be used by or in combination with an instruction execution system, system or device. The program code contained on the computer-readable storage medium may be transmitted using any appropriate medium, including but not limited to: wires, optical cables, RF (Radio Frequency: Radio Frequency), etc., or any suitable combination of the above.

[0077] The computer-readable storage medium may be included in the crop pest and disease monitoring device; or may exist independently without being assembled into the crop pest and disease monitoring device.

[0078] The computer-readable storage medium carries one or more programs. When the one or more programs are executed by the crop pest monitoring device, the crop pest monitoring device: Obtain a spectral super-resolution sample set of the area to be monitored; Performing spectral super-resolution based on the spectral data in the spectral super-resolution sample set to obtain a spectral super-resolution image; Comparing and verifying the spectral data and the spectral super-resolution image to obtain a verification result; When the verification result is verification passed, crop disease and insect pest monitoring is performed based on the spectral super-resolution image.

[0079] Computer program code for performing the operations of the present application may be written in one or more programming languages ​​or a combination thereof, including object-oriented programming languages ​​such as Java, Smalltalk, C++, and conventional procedural programming languages ​​such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0080] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present application. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0081] The modules involved in the embodiments described in this application may be implemented by software or hardware, wherein the name of the module does not constitute a limitation on the unit itself in some cases.

[0082] The readable storage medium provided in the present application is a computer-readable storage medium, which stores computer-readable program instructions (i.e., computer programs) for executing the above-mentioned crop pest and disease monitoring method, and can solve the technical problem in the prior art that multispectral and hyperspectral image pairs are difficult to obtain in the same scene, making it difficult to implement spectral super-resolution technology based on multi- and hyperspectral image pairs. Compared with the prior art, the beneficial effects of the computer-readable storage medium provided in the present application are the same as the beneficial effects of the crop pest and disease monitoring method provided in the above-mentioned embodiment, and will not be repeated here.

[0083] The present application also provides a computer program product, including a computer program, which implements the steps of the above-mentioned crop disease and insect pest monitoring method when executed by a processor.

[0084] The computer program product provided by the present application can solve the technical problem that it is difficult to obtain multi-spectral and hyperspectral image pairs in the same scene in the prior art, making it difficult to implement spectral super-resolution technology based on multi- and hyperspectral image pairs. Compared with the prior art, the beneficial effects of the computer program product provided by the present application are the same as the beneficial effects of the crop disease and insect pest monitoring method provided by the above embodiment, and will not be repeated here.

[0085] The above descriptions are only some embodiments of the present application, and are not intended to limit the patent scope of the present application. All equivalent structural changes made using the contents of the present application specification and drawings under the technical concept of the present application, or direct / indirect applications in other related technical fields are included in the patent protection scope of the present application.

Claims

1. A crop pest monitoring method, characterized in that: The method comprises: Obtain a spectral super-resolution sample set of the area to be monitored; Performing spectral super-resolution based on the spectral data in the spectral super-resolution sample set to obtain a spectral super-resolution image; Performing comparison and verification based on the spectral data and the spectral super-resolution image to obtain a verification result; When the verification result is verification passed, crop disease and insect pest monitoring is performed based on the spectral super-resolution image.

2. The crop pest monitoring method according to claim 1, characterized in that: The step of obtaining a spectrum super-resolution sample set of the area to be monitored includes: Obtain multispectral images of the area to be monitored, field spectral samples and spectral data in the public spectral library; constructing an initial sample set based on the multispectral image, the field spectral sample and the spectral data; The initial sample set is preprocessed to obtain a spectral super-resolution sample set.

3. The crop pest monitoring method according to claim 2, characterized in that: The step of performing spectral super-resolution based on the spectral data in the spectral super-resolution sample set to obtain a spectral super-resolution image comprises: Acquiring spectral data in the spectral super-resolution sample set; Determining a sample type corresponding to the spectral data; Classify the spectral data based on the sample type to obtain a spectral data classification result; Spectral super-resolution is performed based on the spectral data classification result to obtain a spectral super-resolution image.

4. The crop pest monitoring method according to claim 3, characterized in that: The spectral data classification result includes: a preprocessing result and a clustering processing result; the step of performing classification processing on the spectral data based on the sample type to obtain the spectral data classification result includes: When the sample type is a multispectral image, pre-classifying the multispectral image based on a supervised classification model to obtain a pre-classification result; When the sample type is spectral data in a spectral library, clustering processing is performed on the spectral data in the spectral library to obtain a clustering processing result.

5. The crop pest monitoring method according to claim 4, characterized in that: The step of performing spectral super-resolution based on the spectral data in the spectral super-resolution sample set to obtain a spectral super-resolution image comprises: Performing band matching on the clustering processing results to obtain a spectral matching matrix; Performing transformation based on the spectrum matching matrix to obtain a matching spectrum dictionary; Constructing a spatial sparse coefficient matrix, estimating the spatial sparse coefficient matrix based on the pre-classification processing result, and obtaining an estimation result; A spectral super-resolution image is obtained based on the estimation result and the spectral dictionary.

6. The crop pest monitoring method according to claim 2, characterized in that: The step of comparing and verifying the spectral data and the spectral super-resolution image to obtain a verification result comprises: Acquire a first spectral curve of the field spectral sample and a second spectral sample curve of the spectral super-resolution image; determining a cosine similarity based on the first spectral curve and the second spectral curve; When all the cosine similarities are greater than a preset cosine similarity threshold, the verification result is determined to be verification passed.

7. A crop pest monitoring device, characterized in that: The crop pest monitoring device comprises: A data acquisition module, used to acquire a spectral super-resolution sample set of the area to be monitored; A spectral super-resolution module, used for performing spectral super-resolution based on the spectral data in the spectral super-resolution sample set to obtain a spectral super-resolution image; A comparison and verification module, used for performing comparison and verification based on the spectral data and the spectral super-resolution image to obtain a verification result; A monitoring module is used to monitor crop diseases and insect pests based on the spectral super-resolution image when the verification result is verification passed.

8. A crop pest monitoring device, characterized in that: The device comprises: a memory, a processor, and a crop pest monitoring program stored in the memory and executable on the processor, wherein the crop pest monitoring program is configured to implement the steps of the crop pest monitoring method according to any one of claims 1 to 7.

9. A storage medium, characterized in that: The storage medium stores a crop disease and insect pest monitoring program, and when the crop disease and insect pest monitoring program is executed by the processor, the steps of the crop disease and insect pest monitoring method according to any one of claims 1 to 7 are implemented.

10. A computer program product, characterized in that The computer program product comprises a computer program, and when the computer program is executed by a processor, the steps of the crop pest monitoring method according to any one of claims 1 to 7 are implemented.

Citation Information

Patent Citations

  • Multi-spectral image spectral super-division method and system based on spectral library optimization learning

    CN114022364A

  • Construction method of cotton aphid remote sensing forecasting model

    CN114694020A

  • Spectrum super-division method, device and equipment based on spectrum library and storage medium

    CN116167913A