Unmanned aerial vehicle spectrum remote sensing camouflage checking method

UAV spectral remote sensing technology uses differential hyperspectral images and clusters them to solve the problem of detecting camouflaged pests in crops or trees, enabling early detection of pests and reducing treatment costs and environmental pollution.

CN118570685AActive Publication Date: 2024-08-30SHANGHAI SHENGTU REMOTE SENSING ENG TECH CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202411063151.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-05
Publication Date
2024-08-30
Estimated Expiration
2044-08-05

AI Technical Summary

Technical Problem

Existing technology makes it difficult to effectively detect camouflaged pests in crops or trees, resulting in difficult treatment and damage to crops or trees, which increases treatment costs and environmental pollution risks.

Method used

The UAV spectral remote sensing camouflage inspection method is used to obtain the hyperspectral image of the target plot and the reference hyperspectral image for difference, and then cluster the pixels based on the target clustering radius to determine the pest location information and reduce treatment costs and environmental pollution. .

Benefits of technology

Discover the presence of pests in the plot in advance, reduce treatment costs and losses, and determine the location of pests through precise clustering radius to reduce environmental pollution.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118570685A
    Figure CN118570685A
Patent Text Reader

Abstract

The invention relates to the technical field of remote sensing troubleshooting, in particular to an unmanned aerial vehicle spectrum remote sensing camouflage troubleshooting method. The method comprises the following steps: obtaining a first hyperspectral image of a target land parcel of a target land parcel type and a first reference hyperspectral image corresponding to the target land parcel type, and carrying out difference on the first hyperspectral image and the first reference hyperspectral image to obtain a first difference hyperspectral image; determining a target clustering radius according to the target land parcel type and the to-be-checked target pests; clustering the first difference hyperspectral image by using the target clustering radius to obtain a clustering result, and determining the position information of the target pest in the target land parcel according to the clustering result and the first hyperspectral image; and sending the position information to the target terminal, so that the target terminal investigates the target pests according to the position information. According to the technical scheme, disguise pests in crops or trees can be effectively checked.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of remote sensing detection technology, and in particular to a method for detecting camouflage of unmanned aerial vehicles using spectral remote sensing. Background Art

[0002] For areas such as farmland and forest, there may be pests that pose a threat to the farmland or forest; for example, pests such as locusts, corn borers, cotton bollworms, cabbage loopers and rice planthoppers may pose a serious threat to crops in farmland, resulting in a reduction in the yield of crops planted in the farmland.

[0003] In order to timely discover the threat of pests to crops in farmland or trees in forests, the relevant technology, for example, in the Chinese patent application document with publication number CN106778888A, provides an orchard pest and disease census method based on UAV remote sensing, including: using a UAV to collect hyperspectral image data and visible light images of fruit tree canopies, and correcting the collected hyperspectral image data; calculating the spectral reflectance, canopy size, leaf density and texture characteristics of the corresponding band spectral image of the fruit tree canopy according to the corrected hyperspectral image data; calculating the size, shape, color characteristics of the fruit on the fruit tree and the color distribution law of the fruit tree according to the visible light image; the spectral reflectance, leaf density, texture characteristics of the spectral image of the fruit tree canopy, and the size and color characteristics of the fruit are input into the discrimination model to realize the identification of orchard fruit tree pests and diseases.

[0004] In the related art, whether the fruit trees in the orchard are infested with insect pests is mainly determined by determining the characteristics of the fruit trees themselves and the characteristics of the fruits of the fruit trees, so as to deal with the possible pests; however, when it is determined that the fruit trees themselves and the fruits are already infested with insect pests, it is difficult to deal with the pests and the fruit trees have already suffered losses. Therefore, it is difficult to achieve effective screening of disguised pests in crops or trees in the related art. Summary of the invention

[0005] In order to overcome the problem in related technologies that it is difficult to effectively detect camouflaged pests in crops or trees, the present application provides a camouflage detection method for unmanned aerial vehicle spectral remote sensing.

[0006] The embodiment of the present application provides a method for detecting camouflage of an unmanned aerial vehicle by spectral remote sensing, comprising: obtaining a first hyperspectral image of a target plot of a target plot type, and a first reference hyperspectral image corresponding to the target plot type, and performing a differential operation on the first hyperspectral image and the first reference hyperspectral image to obtain a first differential hyperspectral image; determining a target clustering radius according to the target plot type and target pests to be detected; clustering the first differential hyperspectral image using the target clustering radius to obtain a clustering result, and determining location information of the target pests in the target plot according to the clustering result and the first hyperspectral image; and sending the location information to a target terminal so that the target terminal detects the target pests according to the location information.

[0007] In this way, by acquiring the first hyperspectral image and the first reference hyperspectral image of the target plot of the target plot type to obtain the first differential hyperspectral image, and clustering the pixel points in the first differential hyperspectral image according to the target clustering radius, the location of the target pest in the target plot can be obtained, so as to check the target pests in the target plot; compared with determining whether there are pests based on the characteristics of crops or trees themselves, pests that may exist in the target plot can be discovered in advance. Since pests in the target plot can be discovered in advance, the cost of treating pests in the target plot can be reduced, and the losses caused to the target plot by pests can be reduced.

[0008] At the same time, the target clustering radius is determined according to the target plot type and the target pest to be checked, so that the clustering radius can match the plot type and the target pest. Therefore, the location information of the pests in the target plot can be better determined to facilitate the inspection of the target pests.

[0009] Furthermore, based on the clustering results and the first hyperspectral image, the location information of the target pests in the target plot can be determined. Compared with spraying pesticides on the entire target plot, the environmental pollution caused by checking for pests in the target plot can be reduced.

[0010] Optionally, the target clustering radius is determined according to the target plot type and the target pest to be checked, including: obtaining a second hyperspectral image of the target pest, and obtaining a second reference hyperspectral image corresponding to the target plot type, the second reference hyperspectral image is different from the first reference hyperspectral image; determining a second differential hyperspectral image between the first reference hyperspectral image and the second reference hyperspectral image, and determining a first histogram of pixel feature values ​​of the second differential hyperspectral image; determining a third differential hyperspectral image between the second hyperspectral image and the first reference hyperspectral image, and determining a second histogram of pixel feature values ​​of the third differential hyperspectral image; determining the target clustering radius according to the first histogram and the second histogram.

[0011] In this way, the second hyperspectral image of the target pest contains the spectral information of the target pest at different wavelengths. By obtaining the second hyperspectral image of the target pest, it is helpful to determine the target clustering radius for clustering in combination with the hyperspectral image of the target plot, so as to determine whether the target pest exists in the target plot.

[0012] Optionally, a target clustering radius is determined based on the first histogram and the second histogram, including: for a target preset distance among multiple preset distances, determining a first sub-histogram located on the left side of the target preset distance in the first histogram, and determining a second sub-histogram located on the right side of the target preset distance in the second histogram; determining a first sum of the area of ​​the first sub-histogram and the area of ​​the second sub-histogram, and taking the target preset distance with the largest first sum among the multiple target preset distances as the target clustering radius.

[0013] In this way, since the first histogram can characterize the degree of difference in the spectral information of the target plot type of plot itself, the second histogram can characterize the degree of difference in spectral information between the target plot and the target pest. When the target preset distance can effectively distinguish the first histogram and the second histogram, the target preset distance can also effectively distinguish the target pest from the target plot, so as to cluster the first differential hyperspectral image and determine the location of the target pest.

[0014] Optionally, the first histogram of pixel characteristic values ​​of the second differential hyperspectral image is determined in the following manner: for pixel pairs in the second differential hyperspectral image, the pixel pairs include a first pixel and a second pixel located at different spatial positions in the second differential hyperspectral image, determining the spatial distance between the first pixel and the second pixel; determining the pixel difference value between the first pixel and the second pixel, and determining a third sum of the square of the spatial distance and the square of the difference value; taking the square root of the third sum as the pixel characteristic value of the pixel pair; determining the pixel characteristic values ​​of different pixel pairs in the second differential hyperspectral image, and determining the first histogram according to the frequency of occurrence of different pixel characteristic values.

[0015] Optionally, the target clustering radius is determined according to the target plot type and the target pest to be checked, including: obtaining a second hyperspectral image of the target pest, and determining a third differential hyperspectral image between the first reference hyperspectral image and the second hyperspectral image; determining a third histogram of pixel feature values ​​of the third differential hyperspectral image, and determining a fourth histogram of pixel feature values ​​of the first differential hyperspectral image; and determining the target clustering radius according to the third histogram and the fourth histogram.

[0016] Optionally, the target clustering radius is determined based on the third histogram and the fourth histogram, including: for a target preset distance among multiple preset distances, determining a third sub-histogram located on the right side of the target preset distance in the third histogram, and determining a fourth sub-histogram located on the left side of the target preset distance in the fourth histogram; determining a second sum of the area of ​​the third sub-histogram and the area of ​​the fourth sub-histogram, and taking the target preset distance with the largest second sum among the multiple target preset distances as the target clustering radius.

[0017] Optionally, determining a target clustering radius according to the target plot type and the target pests to be checked includes: determining a target clustering radius from a plurality of preset clustering radii according to the target plot type and the target pests to be checked; wherein the preset clustering radius is predetermined according to the plot type and the pests to be checked, and different preset clustering radii correspond to different plot types or different pests to be checked.

[0018] In this way, by determining the target clustering radius from multiple preset clustering radii, a targeted clustering radius can be adopted. Since the preset clustering radius is predetermined according to the plot type and the pests to be checked, the computing power of the equipment can be reduced and the operating power consumption of the equipment can be reduced.

[0019] Optionally, the target terminal includes a pest treatment device, and sending the location information to the target terminal so that the target terminal checks for target pests according to the location information includes: generating indication information including the location information, the indication information being used to instruct the pest treatment device to move to the location represented by the location information to perform pest treatment; and sending the indication information to the pest treatment device so that the pest treatment device moves to the location represented by the location information to perform pest treatment.

[0020] Optionally, the target plot is a sub-region in a target area, and different sub-regions in the target area have different plot types. Obtaining a first hyperspectral image of a target plot of the target plot type includes: obtaining an initial hyperspectral image of the target area collected by a drone, and performing format conversion on the initial hyperspectral image to obtain a pseudo-color image after format conversion; performing image segmentation on the pseudo-color image to obtain a target pseudo-color image corresponding to the target plot, so as to determine the first hyperspectral image based on the target pseudo-color image.

[0021] Optionally, performing image segmentation on the pseudo-color image to obtain a target pseudo-color image corresponding to the target plot, including: determining a target image segmentation model corresponding to the target plot type from a plurality of pre-trained image segmentation models; inputting the pseudo-color image into the target image segmentation model to obtain a target pseudo-color image corresponding to the target plot output by the target image segmentation model.

[0022] In this way, since the target pseudo-color image corresponding to the target plot is obtained using the target image segmentation model, and the target image segmentation model is an image segmentation model that matches the target plot type, the pseudo-color image can be segmented in a targeted manner to obtain a more accurate target pseudo-color image.

[0023] The technical solution provided by the embodiments of the present application may include the following beneficial effects: by acquiring a first hyperspectral image and a first reference hyperspectral image of a target plot of the target plot type to obtain a first differential hyperspectral image, and clustering the pixels in the first differential hyperspectral image according to the target clustering radius, the location of the target pests in the target plot can be obtained so as to check the target pests in the target plot; compared to determining whether there are pests based on the characteristics of crops or trees themselves, pests that may exist in the target plot can be discovered in advance, and since pests in the target plot can be discovered in advance, the cost of treating pests in the target plot can be reduced, and the losses caused to the target plot by pests can be reduced.

[0024] At the same time, the target clustering radius is determined according to the target plot type and the target pest to be checked, so that the clustering radius can match the plot type and the target pest. Therefore, the location information of the pests in the target plot can be better determined to facilitate the inspection of the target pests.

[0025] Furthermore, based on the clustering results and the first hyperspectral image, the location information of the target pests in the target plot can be determined. Compared with spraying pesticides on the entire target plot, the environmental pollution caused by checking for pests in the target plot can be reduced.

[0026] It should be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0027] 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.

[0028] Figure 1 The present invention is a flow chart of a method for detecting camouflage of a UAV by using spectral remote sensing according to an exemplary embodiment. DETAILED DESCRIPTION

[0029] Here, exemplary embodiments are described in detail, and examples thereof are shown in the accompanying drawings. When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present application.

[0030] First, the application scenario of the embodiment of the present application is briefly introduced. In the application scenario of the present application, it is necessary to check for pests in plots of land such as farmland, forest or indoor planting area. However, when checking for pests in the plots of land, for example, when checking for pests that may exist in fruit trees, the related technology mainly determines the characteristics of the fruit trees themselves and the characteristics of the fruits. However, when the characteristics of the fruit trees or the characteristics of the fruits have changed due to the presence of pests, the fruit trees or the fruits may have been damaged, or the pests have grown to a stage that is difficult to handle, making the cost of dealing with the pests high.

[0031] In response to the above technical problems, an embodiment of the present application provides a method for detecting camouflage of an unmanned aerial vehicle by spectral remote sensing. By acquiring a first hyperspectral image and a first reference hyperspectral image of a target plot of the target plot type to obtain a first differential hyperspectral image, and clustering the pixel points in the first differential hyperspectral image according to the target clustering radius, the location of the target pest in the target plot can be obtained, so as to detect the target pest in the target plot. Compared with determining whether there are pests based on the characteristics of crops or trees themselves, pests that may exist in the target plot can be discovered in advance. Since pests in the target plot can be discovered in advance, the cost of treating pests in the target plot can be reduced, and the damage caused to the target plot by pests can be reduced.

[0032] At the same time, the target clustering radius is determined according to the target plot type and the target pest to be checked, so that the clustering radius can match the plot type and the target pest. Therefore, the location information of the pests in the target plot can be better determined to facilitate the inspection of the target pests.

[0033] Furthermore, based on the clustering results and the first hyperspectral image, the location information of the target pests in the target plot can be determined. Compared with spraying pesticides on the entire target plot, the environmental pollution caused by checking for pests in the target plot can be reduced.

[0034] Figure 1 FIG. 1 is a flow chart of a method for detecting camouflage of a UAV using spectral remote sensing according to an exemplary embodiment. Figure 1 As shown, the method includes the following steps.

[0035] In step S101, a first hyperspectral image of a target plot of a target plot type and a first reference hyperspectral image corresponding to the target plot type are acquired, and the first hyperspectral image and the first reference hyperspectral image are differentiated to obtain a first differential hyperspectral image.

[0036] For example, a drone equipped with a hyperspectral acquisition device can be used to acquire hyperspectral images of target plots of the target plot type.

[0037] Hyperspectral acquisition equipment can obtain the reflection, radiation or transmission spectral information of an object. Hyperspectral acquisition equipment can capture spectral information in a wide band range from ultraviolet to far infrared to obtain a hyperspectral image containing spectral information of the target object in multiple bands. Hyperspectral acquisition equipment can be a hyperspectral camera, a hyperspectral imaging spectrometer, a spectral radiometer and other equipment.

[0038] The target plot type may be, for example, any one of the plot types such as farmland, forest, and building. The first reference hyperspectral image may be collected when the target plot type does not contain pests. For example, it may be collected after the pests of the plot of the target plot type are treated. The first reference hyperspectral image is used to provide a reference for determining whether there are pests in the plot of the target plot type. Different plot types may correspond to different reference hyperspectral images.

[0039] For example, crops have different characteristics at different growth stages, and the first reference hyperspectral image of the target plot type may be the first reference hyperspectral image corresponding to the current growth stage of the target plot; or, the first reference hyperspectral image may be collected on other plots of the same plot type as the target plot; or, the first reference hyperspectral image may be collected on the target plot; or, the first reference hyperspectral image may also be obtained after screening pixel points in the hyperspectral image collected on the target plot to avoid the adverse effects of pixel points corresponding to pests that may exist in the hyperspectral image on subsequent comparison results.

[0040] In step S102, a target clustering radius is determined according to the target plot type and the target pests to be checked.

[0041] Plots of different plot types have different characteristics. For example, the spectral information of a plot of farmland and a plot of forest at the same wavelength is different, or the spectral information of a plot of forest and a plot of indoor planting area at the same wavelength is different; or, the spectral information of locusts and rice planthoppers at the same wavelength may be different.

[0042] For plots of land with different characteristics or pests to be screened, it may be difficult to effectively distinguish the plots from the pests using the same clustering radius. For example, pests may be mistakenly classified into the cluster category to which crops belong, and crops may be mistakenly classified into the cluster category to which pests belong.

[0043] Therefore, by determining the target clustering radius according to the target plot type and the target pests to be checked, the clustering radius for clustering can be matched with the plot type of the target plot and the target pests to be checked, thereby better determining the location information of the target pests in the target plot, so as to check the target pests in the target plot.

[0044] In step S103, the first differential hyperspectral image is clustered using the target clustering radius to obtain a clustering result, and the location information of the target pest in the target plot is determined based on the clustering result and the first hyperspectral image.

[0045] The first differential hyperspectral image is clustered using the target clustering radius to obtain a clustering result, which can be achieved, for example, by a clustering algorithm such as DBSCAN (Density-Based Spatial Clustering of Applications with Noise) or a K-means algorithm.

[0046] In one embodiment, the location information of the target pest in the target plot is determined according to the clustering result and the first hyperspectral image, including: determining the relative position between the clustering result and the first hyperspectral image; obtaining the initial location information of the target plot, and determining the location information of the target pest in the target plot according to the relative position and the initial location information.

[0047] For example, when the relative position between the clustering result and the first hyperspectral image represents that the clustering result is located in the center of the first hyperspectral image and in an area with a size of 1 meter × 1 meter, based on the initial position information of the target plot, the initial position information can be obtained, for example, when the drone is collecting hyperspectral images. When the initial position information is located in farmland A, it can be determined that pests exist in an area with a size of 1 meter × 1 meter in the center of farmland A, so as to check for the pests.

[0048] In step S104, the location information is sent to the target terminal, so that the target terminal can check the target pests according to the location information.

[0049] In one embodiment, the target terminal includes a pest treatment device, and the location information is sent to the target terminal so that the target terminal checks for target pests according to the location information, including: generating indication information including the location information, the indication information is used to instruct the pest treatment device to move to the location represented by the location information for pest treatment; sending the indication information to the pest treatment device so that the pest treatment device moves to the location represented by the location information for pest treatment.

[0050] The pest control equipment can, for example, spray pesticides, and can also change its own position through the mobile mechanism that is set up; for example, the pest control equipment can be a drone that can spray pesticides, and the drone can fly to the location where the pests are located to spray pesticides; or, the pest control equipment can be a robot that can walk or drive on the ground, so as to walk or drive to the location where the pests are located to spray pesticides.

[0051] Through the UAV spectral remote sensing camouflage inspection method provided in the embodiment of the present application, a first hyperspectral image and a first reference hyperspectral image of a target plot of the target plot type are obtained to obtain a first differential hyperspectral image, and the pixel points in the first differential hyperspectral image are clustered according to the target clustering radius, so that the location of the target pests in the target plot can be obtained, so as to inspect the target pests in the target plot; compared with determining whether there are pests based on the characteristics of crops or trees themselves, pests that may exist in the target plot can be discovered in advance. Since pests in the target plot can be discovered in advance, the cost of treating pests in the target plot can be reduced, and the loss caused to the target plot by pests can be reduced.

[0052] At the same time, the target clustering radius is determined according to the target plot type and the target pest to be checked, so that the clustering radius can match the plot type and the target pest. Therefore, the location information of the pests in the target plot can be better determined to facilitate the inspection of the target pests.

[0053] Furthermore, based on the clustering results and the first hyperspectral image, the location information of the target pests in the target plot can be determined. Compared with spraying pesticides on the entire target plot, the environmental pollution caused by checking for pests in the target plot can be reduced.

[0054] In one embodiment, a target clustering radius is determined according to the target plot type and the target pest to be checked, including: obtaining a second hyperspectral image of the target pest, and obtaining a second reference hyperspectral image corresponding to the target plot type, the second reference hyperspectral image is different from the first reference hyperspectral image; determining a second differential hyperspectral image between the first reference hyperspectral image and the second reference hyperspectral image, and determining a first histogram of pixel feature values ​​of the second differential hyperspectral image; determining a third differential hyperspectral image between the second hyperspectral image and the first reference hyperspectral image, and determining a second histogram of pixel feature values ​​of the third differential hyperspectral image; determining the target clustering radius according to the first histogram and the second histogram, wherein the pixel feature value is determined based on the spatial distance between pixel points and the difference in pixel values.

[0055] Different pests can correspond to different hyperspectral images. The second hyperspectral image of the target pest contains the spectral information of the target pest at different wavelengths. By obtaining the second hyperspectral image of the target pest, it is helpful to determine whether the target pest exists in the target plot by combining the hyperspectral image of the target plot.

[0056] The second reference hyperspectral image is different from the first reference hyperspectral image. For example, the second reference hyperspectral image and the first reference hyperspectral image may be reference hyperspectral images of different plots of the target plot type; or, the second reference hyperspectral image and the first reference hyperspectral image may be reference hyperspectral images of the same plot of the target plot type at different times. The second differential hyperspectral image determined between the first reference hyperspectral image and the second reference hyperspectral image may reflect possible differences in the plots of the target plot type themselves.

[0057] The second differential hyperspectral image can characterize the degree of difference between the first reference hyperspectral image and the second reference hyperspectral image. The first histogram includes the frequency of occurrence of different pixel characteristic values ​​in the second differential hyperspectral image, and the pixel characteristic values ​​of the second differential hyperspectral image can reflect the spatial distance of pixel points in the second differential hyperspectral image and the difference in pixel values. Therefore, the first histogram can better reflect the degree of difference between the first reference hyperspectral image and the second reference hyperspectral image.

[0058] The third differential hyperspectral image can characterize the degree of difference between the second hyperspectral image and the first reference hyperspectral image. The second histogram includes the frequency of occurrence of pixel characteristic values ​​of the third differential hyperspectral image, and the pixel characteristic values ​​of the third differential hyperspectral image can reflect the spatial distance of pixel points in the second differential hyperspectral image and the difference in pixel values. Therefore, the second histogram can better reflect the degree of difference between the second hyperspectral image and the first reference hyperspectral image.

[0059] At the same time, since the second hyperspectral image is a hyperspectral image of the target pest and the first reference hyperspectral image is a hyperspectral image of a target plot of the target plot type, the third differential hyperspectral image between the second hyperspectral image and the first reference hyperspectral image can characterize the degree of difference in spectral information between the target plot and the target pest.

[0060] The greater the degree of difference represented by the second histogram, the greater the difference in spectral information between the target plot and the target pest, and the lower the probability of the target pest existing in the target plot; or, when the target pest exists in the target plot, the smaller the number of target pests existing in the target plot.

[0061] Since the spectral information of the target pests and the plots are different, for example, the spectral information of rice fields and locusts at the same wavelength is different, the first histogram can characterize the distance characteristics of the pixels in the second differential hyperspectral image, and the second histogram can characterize the distance characteristics of the pixels in the third differential hyperspectral image; the target clustering radius can be determined through the first histogram and the second histogram, and the target clustering radius is the distance that can effectively distinguish the first histogram and the second histogram.

[0062] In one embodiment, a target clustering radius is determined based on a first histogram and a second histogram, including: for a target preset distance among multiple preset distances, determining a first sub-histogram located on the left side of the target preset distance in the first histogram, and determining a second sub-histogram located on the right side of the target preset distance in the second histogram; determining a first sum of an area of ​​the first sub-histogram and an area of ​​the second sub-histogram, and taking the target preset distance with the largest first sum among multiple target preset distances as the target clustering radius.

[0063] The first sub-histogram is the part of the first histogram located on the left side of the target preset distance. The distance in the first sub-histogram is less than the target preset distance. The first histogram can characterize the difference in spectral information of the target plot type itself. Compared with the difference in spectral information between the plot and the pest, the difference in spectral information of the target plot type itself is smaller. Therefore, compared with the pixel feature values ​​in the second histogram, the pixel feature values ​​in the first histogram are smaller.

[0064] By using the target preset distance to determine the first subhistogram in the first subhistogram and to determine the second subhistogram in the second histogram, the first sum of the area of ​​the first subhistogram and the area of ​​the second subhistogram can be determined. The larger the sum of the areas of the first subhistogram and the second subhistogram, the smaller the intersection between the first subhistogram and the second subhistogram after the histogram is divided by the target preset distance, and the more effectively the target preset distance can distinguish the first histogram from the second histogram.

[0065] Here, since the first histogram can characterize the degree of difference in the spectral information of the target plot type of land itself, the second histogram can characterize the degree of difference in spectral information between the target plot and the target pest. When the target preset distance can effectively distinguish the first histogram and the second histogram, the target preset distance can also effectively distinguish the target pest from the target plot, so as to cluster the first differential hyperspectral image and determine the location of the target pest.

[0066] Multiple preset distances can be set according to actual needs. For example, they can be determined according to the size of the target pest to be inspected, or they can be determined according to the plot type of the plot. For example, in the case of pest inspection in rice fields, they can be determined according to the size of the rice in the rice fields at the current stage.

[0067] In one embodiment, a first histogram of pixel characteristic values ​​of a second differential hyperspectral image is determined in the following manner: for a pair of pixels in the second differential hyperspectral image, the pixel pair includes a first pixel and a second pixel located at different spatial positions in the second differential hyperspectral image, determining a spatial distance between the first pixel and the second pixel; determining a pixel difference value between the first pixel and the second pixel, and determining a third sum of the square of the spatial distance and the square of the difference value; taking the square root of the third sum as the pixel characteristic value of the pixel pair; determining pixel characteristic values ​​of different pixel pairs in the second differential hyperspectral image, and determining a first histogram according to the frequency of occurrence of different pixel characteristic values.

[0068] The differential hyperspectral image includes different layers corresponding to different wavelengths. Different spatial positions in the differential hyperspectral image may be different positions in the same layer, or the same position in different layers. For example, the differential hyperspectral image may include a first layer and a second layer. The first layer and the second layer correspond to different wavelengths. The first pixel may be located in the first row and the first column of the first layer, and the second pixel may be located in the first row and the third column of the first layer.

[0069] For another example, the first pixel point may be located in the first row and second column of the first layer, and the second pixel point may be located in the first row and second column of the second layer; for another example, the first pixel point may be located in the third row and third column of the first layer, and the second pixel point may be located in the fifth row and sixth column of the second layer.

[0070] For example, a pixel pair may include a first pixel and a second pixel, wherein the spatial position of the first pixel is (a1, b1, c1), the spatial position of the second pixel is (a2, b2, c2), the pixel value of the first pixel is H1, and the pixel value of the second pixel is H2; c1 is the serial number of the layer where the first pixel is located in all layers in the second differential hyperspectral image, and c2 is the serial number of the layer where the second pixel is located in all layers in the second differential hyperspectral image.

[0071] According to the spatial position of the first pixel point and the spatial position of the second pixel point, the spatial distance D between the first pixel point and the second pixel point included in the pixel point pair can be determined, where: , the pixel feature value corresponding to the pixel pair is T, .

[0072] The pixel feature value of the pixel pair can be used to characterize the difference information between the two pixels included in the pixel pair. By corresponding to multiple pixel feature values ​​of different pixel pairs and determining the frequency of occurrence of the pixel feature values, the first histogram corresponding to the second differential hyperspectral image can be determined, which can reflect the differences in the characteristics of the pixels in the second differential image as a whole.

[0073] In one embodiment, a target clustering radius is determined according to the target plot type and the target pest to be checked, including: obtaining a second hyperspectral image of the target pest, and determining a third differential hyperspectral image between the first reference hyperspectral image and the second hyperspectral image; determining a third histogram of pixel feature values ​​of the third differential hyperspectral image, and determining a fourth histogram of pixel feature values ​​of the first differential hyperspectral image; and determining the target clustering radius according to the third histogram and the fourth histogram.

[0074] The third differential hyperspectral image can reflect the difference between the first reference hyperspectral image and the second hyperspectral image. The third histogram includes the frequency of occurrence of pixel characteristic values ​​of the third differential hyperspectral image. For example, the frequency of occurrence of pixel characteristic values ​​of the third differential hyperspectral image can be counted, and the third histogram can be obtained according to the frequency of occurrence of different pixel characteristic values.

[0075] The process of obtaining the pixel characteristic values ​​in the third differential hyperspectral image may refer to the process of obtaining the pixel characteristic values ​​in the second differential hyperspectral image, which will not be described in detail herein.

[0076] The first differential hyperspectral image can reflect the difference between the first reference hyperspectral image and the first hyperspectral image. The fourth histogram includes the frequency of occurrence of pixel characteristic values ​​of the first differential hyperspectral image. For example, the frequency of occurrence of pixel characteristic values ​​of the first differential hyperspectral image can be counted, and the fourth histogram can be obtained according to the frequency of occurrence of different pixel characteristic values.

[0077] The process of obtaining the pixel characteristic value in the first differential hyperspectral image may refer to the process of obtaining the pixel characteristic value in the second differential hyperspectral image, which will not be described in detail here.

[0078] According to the third histogram and the fourth histogram, a target clustering radius can be determined. The target clustering radius is a distance that can effectively distinguish the third histogram and the fourth histogram, so as to determine the target pests present in the target plot.

[0079] In one embodiment, a target clustering radius is determined based on a third histogram and a fourth histogram, including: for a target preset distance among multiple preset distances, determining a third sub-histogram located on the right side of the target preset distance in the third histogram, and determining a fourth sub-histogram located on the left side of the target preset distance in the fourth histogram; determining a second sum of the area of ​​the third sub-histogram and the area of ​​the fourth sub-histogram, and using the target preset distance with the largest second sum among the multiple target preset distances as the target clustering radius.

[0080] The third sub-histogram is the part of the third histogram located to the right of the target preset distance. The distance in the third sub-histogram is greater than or equal to the target preset distance. The third histogram can characterize the degree of difference between the spectral information of the target pest and the reference spectral information of the target plot. The reference hyperspectral information can be the spectral information recorded in the first reference hyperspectral image of the target plot, or the reference hyperspectral information can be the spectral information recorded in the second reference hyperspectral image of the target plot.

[0081] The third sub-histogram is determined based on the third differential hyperspectral image, and the third differential hyperspectral image is a differential image between the second hyperspectral image of the target pest and the first reference hyperspectral image of the target plot. Therefore, the third sub-histogram can characterize the degree of difference between the spectral information of the target pest and the spectral information of the target plot in a reference state. The target plot in a reference state may refer to a state in which the target pest does not exist in the target plot, for example, within a specified time period after the target plot has been subjected to a treatment to kill the target pest.

[0082] The second hyperspectral image of the target pest can be obtained by performing a hyperspectral scan on the target pest, and the spectral information of the target pest is recorded in the second hyperspectral image; compared with the second hyperspectral image of the target pest, the actual spectral information of the target plot includes less spectral information of the target pest, and the third differential hyperspectral image can characterize the degree of difference in spectral information between the target pest and the target plot. Therefore, the pixel characteristic value in the third differential hyperspectral image is larger, and the pixel characteristic value in the third histogram distribution corresponding to the third differential hyperspectral image is larger.

[0083] In order to effectively distinguish the third histogram from the fourth distribution histogram, the target preset distance can be used to determine the third sub-histogram in the third sub-histogram and to determine the fourth sub-histogram in the fourth histogram. The larger the sum of the areas of the third sub-histogram and the fourth sub-histogram, the smaller the intersection of the third sub-histogram and the fourth sub-histogram obtained by histogram division at the target preset distance, and the more effectively the target preset distance can distinguish the third histogram from the fourth histogram.

[0084] Since the third histogram can characterize the degree of difference between the spectral information of the target pest and the spectral information of the target plot, the fourth histogram can characterize the degree of difference between the actual spectral information of the target plot and the reference spectral information; when the target preset distance can effectively distinguish the third histogram and the fourth histogram, the target preset distance can also effectively distinguish the target pest from the target plot, so as to cluster the first differential hyperspectral image and determine the location of the target pest.

[0085] Multiple preset distances can be set according to actual needs. For example, they can be determined according to the size of the target pest to be inspected, or they can be determined according to the plot type of the plot. For example, in the case of pest inspection in rice fields, they can be determined according to the size of the rice in the rice fields at the current stage.

[0086] In one embodiment, a target clustering radius is determined according to a target plot type and a target pest to be checked, including: determining a target clustering radius from a plurality of preset clustering radii according to the target plot type and the target pest to be checked; wherein the preset clustering radius is predetermined according to the plot type and the pest to be checked, and different preset clustering radii correspond to different plot types or different pests to be checked.

[0087] For example, a preset mapping relationship can be determined in advance according to different plot types and different pests to be checked, and the preset mapping relationship is used to characterize the correspondence between the plot type and the pest and the preset clustering radius; different plot types correspond to different preset clustering radii, for example, for locusts to be checked, farmland and forest correspond to different preset clustering radii respectively; or, for locusts and rice planthoppers in farmland, locusts and rice planthoppers correspond to different preset clustering radii.

[0088] In this way, by determining the target clustering radius from multiple preset clustering radii, a targeted clustering radius can be adopted. Since the preset clustering radius is predetermined according to the plot type and the pests to be checked, the computing power of the equipment can be reduced and the operating power consumption of the equipment can be reduced.

[0089] In one embodiment, the target plot is a sub-region in a target area, and different sub-regions in the target area have different plot types. The step of obtaining a first hyperspectral image of a target plot of the target plot type includes: obtaining an initial hyperspectral image of the target area collected by a drone, and performing format conversion on the initial hyperspectral image to obtain a pseudo-color image after format conversion; performing image segmentation on the pseudo-color image to obtain a target pseudo-color image corresponding to the target plot, so as to determine the first hyperspectral image according to the target pseudo-color image.

[0090] The target area may be composed of multiple plots of different types. For example, the target area may include multiple plots of different types such as farmland and forest. In order to facilitate the targeted processing of these different types of plots, the target area may be collected by drones to obtain the collected initial hyperspectral images.

[0091] The initial hyperspectral image can be format converted to obtain a pseudo-color image after format conversion. The obtained pseudo-color image can include three color channels of red, green and blue. For example, three layers of the initial hyperspectral image at different wavelengths can be selected, and the pseudo-color image can be obtained by performing image synthesis using the selected three layers.

[0092] By performing image segmentation on the pseudo-color image, a target pseudo-color image corresponding to the target land parcel can be obtained. According to the position of the target pseudo-color image in the pseudo-color image, a first hyperspectral image can be determined from the initial hyperspectral image.

[0093] In this way, the first hyperspectral image corresponding to the target plot of the target plot type can be obtained, so as to determine the target pests to be checked in the target plot.

[0094] In one embodiment, image segmentation is performed on a pseudo-color image to obtain a target pseudo-color image corresponding to the target plot, including: determining a target image segmentation model corresponding to the target plot type from a plurality of pre-trained image segmentation models; inputting the pseudo-color image into the target image segmentation model to obtain a target pseudo-color image corresponding to the target plot output by the target image segmentation model.

[0095] For example, since different land plot types have different geomorphic features, in order to facilitate the targeted segmentation of the target land plot type from the pseudo-color image into a target color image, a target image segmentation model corresponding to the target land plot type can be selected from multiple pre-trained image segmentation models, and different image segmentation models correspond to different land plot types.

[0096] For a pseudo-color image of a plot containing a plot type, annotation labels can be set in advance for the pixels in the pseudo-color image, for example, a label with a value of 1 is set for the pixels in the pseudo-color image that belong to the target plot type, and a label with a value of 0 is set for the pixels in the pseudo-color image that do not belong to the target plot type, so as to obtain a mask image corresponding to the target plot type, the mask image including the pixels in the pseudo-color image that belong to the target plot type.

[0097] The pseudo-color image can be used as a training set, and the mask image corresponding to the target plot type can be used as a verification set to train the pre-constructed network model, and the trained network model can be used as the image segmentation model corresponding to the target plot type; by using the training set and verification set corresponding to different plot types to train the network model, image segmentation models corresponding to different plot types can be trained.

[0098] In this way, since the target pseudo-color image corresponding to the target plot is obtained using the target image segmentation model, and the target image segmentation model is an image segmentation model that matches the target plot type, the pseudo-color image can be segmented in a targeted manner to obtain a more accurate target pseudo-color image.

[0099] It should be understood that the features of some embodiments of the various applications described herein may be combined with each other, unless specifically stated otherwise.

[0100] Although terms such as "first", "second", and "third" may be used herein to describe various components, parts, regions, layers, or sections, these components, parts, regions, layers, or sections are not limited to these terms. Instead, these terms are only used to distinguish one component, part, region, layer, or section from another component, part, region, layer, or section. Therefore, without departing from the teachings of the examples described herein, the first component, part, region, layer, or section mentioned in the examples may also be referred to as the second component, part, region, layer, or section.

[0101] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In the description herein, the meaning of "plurality" is at least two, such as two, three, etc., unless otherwise clearly and specifically defined.

[0102] In addition, the word "exemplary" is used herein to mean serving as an example, instance, or diagram. Any aspect or design described herein as "exemplary" is not necessarily to be understood as being advantageous over other aspects or designs. Instead, the use of the word exemplary is intended to present concepts in a concrete manner. As used herein, the term "or" is intended to mean an inclusive "or" rather than an exclusive "or".

[0103] Likewise, although the present application has been shown and described with respect to one or more implementations, equivalent variations and modifications will occur to those skilled in the art upon reading and understanding this specification and the accompanying drawings. With particular regard to the various functions performed by the components (e.g., elements, resources, etc.) described above, unless otherwise noted, the terms used to describe such components are intended to correspond to any component (functionally equivalent) that performs the specific functions of the described components, even if not structurally equivalent to the disclosed structures.

[0104] Additionally, while particular features of the present application may have been disclosed with respect to only one of several implementations, such features may be combined with one or more other features of other implementations as may be desired and advantageous for any given or particular application.

[0105] Those skilled in the art will readily appreciate other embodiments of the present application after considering the specification and practicing the invention disclosed herein. The present application is intended to cover any modification, use or adaptation of the present application, which follows the general principles of the present application and includes common knowledge or customary technical means in the art that are not disclosed in the present application, and the specification and embodiments are only considered as exemplary.

[0106] It should be understood that the present application is not limited to the exact construction that has been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof.

Claims

1. A method for detecting camouflage using spectral remote sensing of unmanned aerial vehicles. It is characterized in that include: Acquire a first hyperspectral image of a target plot of a target plot type and a first reference hyperspectral image corresponding to the target plot type, and perform a difference between the first hyperspectral image and the first reference hyperspectral image to obtain a first difference hyperspectral image; Determine the target cluster radius according to the target plot type and the target pest to be checked; Clustering the first differential hyperspectral image using the target clustering radius to obtain a clustering result, and determining the location information of the target pest in the target plot according to the clustering result and the first hyperspectral image; Sending the location information to a target terminal so that the target terminal can check for target pests according to the location information; Wherein, according to the target plot type and the target pest to be checked, the target clustering radius is determined, including: obtaining a second hyperspectral image of the target pest, and obtaining a second reference hyperspectral image corresponding to the target plot type, the second reference hyperspectral image is different from the first reference hyperspectral image; determining a second differential hyperspectral image between the first reference hyperspectral image and the second reference hyperspectral image, and determining a first histogram of pixel feature values ​​of the second differential hyperspectral image; determining a third differential hyperspectral image between the second hyperspectral image and the first reference hyperspectral image, and determining a second histogram of pixel feature values ​​of the third differential hyperspectral image; determining the target clustering radius according to the first histogram and the second histogram, the pixel feature value is determined according to the spatial distance between pixel points and the difference in pixel values.

2. The method for detecting camouflage of unmanned aerial vehicle by spectral remote sensing according to claim 1, It is characterized in that Determining a target clustering radius according to the first histogram and the second histogram includes: For a target preset distance among the plurality of preset distances, determining a first subhistogram located on the left side of the target preset distance in the first histogram, and determining a second subhistogram located on the right side of the target preset distance in the second histogram; A first sum value of the area of ​​the first sub-histogram and the area of ​​the second sub-histogram is determined, and a target preset distance with a maximum first sum value among a plurality of target preset distances is used as the target clustering radius.

3. The method for detecting camouflage of unmanned aerial vehicle by spectral remote sensing according to claim 1, It is characterized in that The first histogram of pixel characteristic values ​​of the second differential hyperspectral image is determined by: For a pixel pair in the second differential hyperspectral image, the pixel pair includes a first pixel and a second pixel located at different spatial positions in the second differential hyperspectral image, determining a spatial distance between the first pixel and the second pixel; Determine a pixel difference value between the first pixel point and the second pixel point, and determine a third sum of the square of the spatial distance and the square of the difference value; The square root of the third sum is taken as the pixel feature value of the pixel pair; The pixel characteristic values ​​of different pixel pairs in the second differential hyperspectral image are determined, and the first histogram is determined according to the frequencies of occurrence of the different pixel characteristic values.

4. The method for detecting camouflage of unmanned aerial vehicle by spectral remote sensing according to claim 1, It is characterized in that According to the target plot type and the target pest to be checked, the target cluster radius is determined, including: Acquire a second hyperspectral image of the target pest, and determine a third differential hyperspectral image between the first reference hyperspectral image and the second hyperspectral image; Determine a third histogram of pixel characteristic values ​​of the third differential hyperspectral image, and determine a fourth histogram of pixel characteristic values ​​of the first differential hyperspectral image, wherein the pixel characteristic values ​​are determined based on the spatial distance between the pixels and the difference in pixel values; A target clustering radius is determined according to the third histogram and the fourth histogram.

5. The method for detecting camouflage of unmanned aerial vehicle by spectral remote sensing according to claim 4, It is characterized in that Determining a target clustering radius according to the third histogram and the fourth histogram includes: For a target preset distance among the plurality of preset distances, determining a third subhistogram located on the right side of the target preset distance in the third histogram, and determining a fourth subhistogram located on the left side of the target preset distance in the fourth histogram; A second sum value of the area of ​​the third sub-histogram and the area of ​​the fourth sub-histogram is determined, and a target preset distance having a maximum second sum value among a plurality of target preset distances is used as the target clustering radius.

6. The method for detecting camouflage of unmanned aerial vehicle by spectral remote sensing according to claim 1, It is characterized in that According to the target plot type and the target pest to be checked, the target cluster radius is determined, including: According to the target plot type and the target pests to be checked, a target clustering radius is determined from a plurality of preset clustering radii; wherein the preset clustering radius is predetermined according to the plot type and the pests to be checked, and different preset clustering radii correspond to different plot types or different pests to be checked.

7. The method for detecting camouflage of unmanned aerial vehicle by spectral remote sensing according to claim 1, It is characterized in that The target terminal includes a pest treatment device, and the sending of the location information to the target terminal so that the target terminal checks the target pests according to the location information includes: generating instruction information including the position information, wherein the instruction information is used to instruct the pest treatment device to move to the position represented by the position information to perform pest treatment; The instruction information is sent to the pest treatment device so that the pest treatment device moves to the position represented by the position information to perform pest treatment.

8. The method for detecting camouflage of unmanned aerial vehicle by spectral remote sensing according to claim 1, It is characterized in that The target plot is a sub-region in the target area, and different sub-regions in the target area have different plot types. The acquiring a first hyperspectral image of the target plot of the target plot type includes: Acquire an initial hyperspectral image of the target area collected by the drone, and perform format conversion on the initial hyperspectral image to obtain a pseudo-color image after format conversion; Perform image segmentation on the pseudo-color image to obtain a target pseudo-color image corresponding to the target land parcel, so as to determine the first hyperspectral image according to the target pseudo-color image.

9. The method for detecting camouflage of unmanned aerial vehicle by spectral remote sensing according to claim 8, It is characterized in that Performing image segmentation on the pseudo-color image to obtain a target pseudo-color image corresponding to the target land parcel includes: Determining a target image segmentation model corresponding to the target land parcel type from a plurality of pre-trained image segmentation models; The pseudo-color image is input into the target image segmentation model to obtain a target pseudo-color image corresponding to the target land mass output by the target image segmentation model.

Citation Information

Patent Citations

  • Monitoring method of farmland cotton aphid damage grade model based on unmanned aerial vehicle imaging

    CN111062251A

  • Method and system for performing data analysis for plant phenotyping

    CN111357009A

  • Hyperspectral identification method for cotton phytotoxicity and leaf mite damage

    CN114694041A

  • Method of individual tree crown segmentation from airborne lidar data using novel gaussian filter and energy function minimization

    WO2022067598A1