Mulching film area identification method based on remote sensing operation

Through remote sensing equipment collection and parameter adjustment of the HSV color model, the mulch area is quickly identified and calculated, which solves the problems of high equipment requirements and complex calculations in the existing technology, and achieves efficient and accurate mulch area identification.

CN118552601APending Publication Date: 2024-08-27NORTHWEST A & F UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410621220.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-20
Publication Date
2024-08-27

AI Technical Summary

Technical Problem

Existing mulch area identification technology has high equipment requirements, complex and time-consuming calculations, and lacks a simple and effective identification method.

Method used

Using a mulch area identification method based on remote sensing operations, the original image is collected through remote sensing equipment, and the six parameters of the HSV color model are adjusted to turn the mulch-independent area into black. After verifying that the color range is valid, it is converted into an HSV binary image for filtering and calculation. Pixel area and unit pixel area to quickly identify mulch area.

Benefits of technology

It realizes the calculation of mulch area with low equipment requirements, fast recognition speed and high accuracy, saving measurement time and improving the intelligence of agriculture.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118552601A
    Figure CN118552601A
Patent Text Reader

Abstract

The invention provides a mulching film area identification method based on remote sensing operation. The method comprises the following steps: collecting an original image containing a mulching film through remote sensing equipment; the method comprises the following steps: adjusting six parameters of a mulching film in an original image under an hsv color model until an area irrelevant to the mulching film in the original image becomes black, and recording the six parameters; verifying whether the color range corresponding to the six recorded parameters is valid or not; when the verification result is valid and the format of the original image is HSV, obtaining an HSV binary image; performing filtering operation on the HSV binary image; calculating the pixel area A of the mulching film in the image after the filtering operation; calculating an actual area B represented by a unit pixel area; and multiplying the pixel area A by the actual area B to obtain the actual area A * B of the mulching film in the original image. The mulching film area can be calculated without entering a farmland during mulching film measurement, the accuracy of the calculation result is high, the time required for measuring the length, width and area of the mulching film is saved, and the agricultural intelligence degree is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of ground film area calculation, and in particular to a ground film area identification method based on remote sensing operation. Background Art

[0002] The existing technologies for identifying ground film area mainly include the following three technical solutions: (1) using an unmanned aerial vehicle equipped with a hyperspectral imager to obtain the reflectance spectrum image of the seed cotton film, and then deriving the ground film area by comparing the difference in reflected light between the soil and the film; (2) using a machine learning image classification algorithm to extract the features of the film for identification; and (3) using a lidar to measure the height information of the ground surface, thereby detecting the protrusion of the film and identifying the existence and coverage of the film.

[0003] The technical defects of the above three technical solutions are as follows: (1) The equipment requirements are relatively high. A drone equipped with a hyperspectral imager is required to identify ground film. In addition, the drone hyperspectral imager can only identify ground film well. The area calculation still needs to be processed with the help of Photoshop before the image can be conveniently calculated; (2) Machine learning requires the collection of ground film features for identification training, which takes a lot of time; (3) The equipment requirements are still relatively high. LiDAR is required for subsequent ground film identification.

[0004] At present, there is no simple method that can effectively identify the film area. Therefore, a new film area identification method is needed to solve the technical problems existing in the above three technical solutions. Summary of the invention

[0005] The present invention aims to solve at least one of the technical problems existing in the prior art or related art.

[0006] To this end, the purpose of the present invention is to propose a method for identifying ground film area based on remote sensing operation.

[0007] In order to achieve the above-mentioned purpose, the technical solution of the present invention provides a method for identifying ground film area based on remote sensing operation, the method comprising: step S1: collecting an original image containing ground film by remote sensing equipment; step S2: adjusting six parameters of the ground film in the original image under the hsv color model until the area in the original image that is not related to the ground film becomes black, and recording the six parameters; wherein the six parameters are Hmin, Hmax, Smin, Smax, Vmin and Vmax; Hmin is the minimum value of the H parameter in the hsv color model, Hmax is the maximum value of the H parameter in the hsv color model, Smin is the minimum value of the S parameter in the hsv color model, Smax is the maximum value of the S parameter in the hsv color model, Vmin is the minimum value of the V parameter in the hsv color model, and Vmax is the maximum value of the V parameter in the hsv color model; step S3 : Verify whether the color range corresponding to the six parameters recorded in step S2 is valid; when the verification result is valid, execute step S4; step S4: when the format of the original image is HSV, the area in the original image that meets the color range corresponding to the six parameters is presented in white, and the area in the original image that does not meet the color range corresponding to the six parameters is presented in black to obtain an HSV binary image; step S5: filter the HSV binary image to present the area corresponding to the debris other than the ground film in the HSV binary image in black to obtain the image after the filtering operation; step S6: calculate the number of white pixels in the image after the filtering operation to calculate the pixel area A of the ground film; step S7: calculate the actual area B represented by the unit pixel area; step S8: after multiplying the pixel area A by the actual area B, the actual area of ​​the ground film in the original image is obtained as A*B.

[0008] Preferably, the number of white pixels in the image after the filtering operation is calculated by traversal processing.

[0009] Preferably, the original image containing the ground film is collected by a drone.

[0010] Preferably, the actual area B represented by the unit pixel area is calculated using the ground sampling interval of the drone; wherein the ground sampling interval represents the actual distance in real life corresponding to the unit pixel.

[0011] Preferably, the step of calculating the actual area B represented by the unit pixel area using the ground sampling interval specifically includes: calculating the ground sampling interval GSD of the drone according to a preset formula; performing a square operation on the ground sampling interval GSD to obtain the actual area B as GSD 2 ; Wherein, the preset formula is:

[0012]

[0013] Where H is the flight altitude of the UAV, f is the focal length of the UAV camera lens, and a is the pixel size of the UAV camera.

[0014] Preferably, the unit of the ground sampling interval is: meter per pixel or centimeter per pixel.

[0015] Preferably, when the verification result obtained in step S3 is invalid, the six parameters of the ground film in the original image under the HSV color model are continuously adjusted until the color range corresponding to the six parameters is valid.

[0016] Preferably, the step of verifying whether the color range corresponding to the six parameters is valid specifically includes: obtaining the number of ground films in the original image; intercepting a certain number of pictures containing only ground films in the original image; wherein the certain number is greater than or equal to half of the number of ground films, and the size of the intercepted pictures is random; obtaining parameter ranges of all intercepted pictures under the HSV color model, and taking the union of the acquired parameter ranges; wherein the parameter range after taking the union is referred to as the HSV parameter range of the intercepted picture; calculating the number X of pixels of the original image within the HSV parameter range of the intercepted picture; counting the number Y of pixels of the original image within the parameter range corresponding to the six parameters recorded in step S2; calculating the ratio of X to Y; when the ratio of X to Y is greater than a preset value, it is verified that the color range corresponding to the six parameters recorded in step S2 is valid; when the ratio of X to Y is less than or equal to the preset value, it is verified that the color range corresponding to the six parameters recorded in step S2 is invalid.

[0017] Preferably, the method for identifying ground film area based on remote sensing operation also includes: automatically acquiring the boundary of the ground film in the image after the filtering operation; automatically intercepting the area corresponding to the ground film in the original image according to the boundary, and automatically displaying the numerical value corresponding to the actual area of ​​the ground film.

[0018] Preferably, the preset value is 85%.

[0019] Beneficial effects of the present invention:

[0020] The method for identifying ground film area based on remote sensing operation provided by the present invention can collect an original image containing ground film by using common remote sensing equipment, and then adjust six parameters of the ground film in the original image under the HSV color model until the area in the original image that is not related to the ground film becomes black, and then record the six parameters; further, when verifying that the color range corresponding to the six recorded parameters is valid, the original image is converted into an HSV binary image, and a filtering operation is performed on the HSV binary image, so as to achieve the purpose of reducing the influence of debris other than the ground film in the original image on the ground film identification, and a relatively complete binary image of the ground film can be obtained after filtering; further, only by calculating the pixel area A of the ground film and the actual area B represented by the unit pixel area, the ground film can be quickly identified and the area calculated, the identification speed is fast, and no advance preparation is required, so that the ground film measurement does not need to enter the farmland to calculate the ground film area, and the calculation result has a high accuracy rate, and the time required for measuring the length and width of the ground film is greatly saved, thereby improving the degree of agricultural intelligence.

[0021] Additional aspects and advantages of the invention will become apparent from the following description, or may be learned by practice of the invention. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] Figure 1 A schematic flow chart of a method for identifying a ground film area based on remote sensing operation according to an embodiment of the present invention is shown;

[0023] Figure 2 The original image containing ground film collected by a drone according to an embodiment of the present invention and the processed image are shown.

[0024] Figure 3 A schematic diagram of a window for adjusting six parameters of a ground film in an original image collected by a drone under an HSV color model according to an embodiment of the present invention is shown;

[0025] Figure 4 A schematic diagram showing a method of randomly intercepting a certain number of pictures containing only ground film from an original image taken by a drone according to an embodiment of the present invention;

[0026] Figure 5 A schematic diagram of a HSV binary image initially obtained according to an embodiment of the present invention is shown;

[0027] Figure 6 A schematic diagram of an image obtained after filtering the initially obtained HSV binary image according to an embodiment of the present invention is shown;

[0028] Figure 7 A schematic diagram showing a method of identifying ground film and calculating the area of ​​ground film in an original image taken by a drone according to an embodiment of the present invention. DETAILED DESCRIPTION

[0029] In order to more clearly understand the above-mentioned objectives, features and advantages of the present invention, the present invention is further described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be noted that the embodiments of the present application and the features in the embodiments can be combined with each other without conflict.

[0030] In the following description, many specific details are set forth to facilitate a full understanding of the present invention. However, the present invention may also be implemented in other ways different from those described herein. Therefore, the protection scope of the present invention is not limited to the specific embodiments disclosed below.

[0031] Figure 1 FIG. 1 is a schematic flow chart of a method for identifying ground film area based on remote sensing operation according to an embodiment of the present invention. Figure 1 As shown, the method for identifying ground film area based on remote sensing operation includes:

[0032] Step S1: collecting original images containing ground film through remote sensing equipment;

[0033] Step S2: adjusting six parameters of the ground film in the original image under the HSV color model until the area in the original image that is not related to the ground film becomes black, and recording the six parameters;

[0034] Step S3: Verify whether the color ranges corresponding to the six parameters recorded in step S2 are valid; if the verification result is valid, execute step S4;

[0035] Step S4: When the format of the original image is HSV, the area of ​​the original image that meets the color range corresponding to the six parameters is presented in white, and the area of ​​the original image that does not meet the color range corresponding to the six parameters is presented in black, so as to obtain an HSV binary image;

[0036] Step S5: performing a filtering operation on the HSV binary image to render the area corresponding to the debris other than the ground film in the HSV binary image in black, thereby obtaining an image after the filtering operation;

[0037] Step S6: Calculate the number of white pixels in the image after the filtering operation to calculate the pixel area A of the ground film;

[0038] Step S7: Calculate the actual area B represented by the unit pixel area;

[0039] Step S8: After multiplying the pixel area A by the actual area B, the actual area of ​​the ground film in the original image is obtained as A*B.

[0040] In this embodiment, the six parameters are Hmin, Hmax, Smin, Smax, Vmin and Vmax respectively; Hmin is the minimum value of the H parameter in the hsv color model, Hmax is the maximum value of the H parameter in the hsv color model, Smin is the minimum value of the S parameter in the hsv color model, Smax is the maximum value of the S parameter in the hsv color model, Vmin is the minimum value of the V parameter in the hsv color model, and Vmax is the maximum value of the V parameter in the hsv color model.

[0041] The method for identifying ground film area based on remote sensing operation provided by the present invention can collect an original image containing ground film by using common remote sensing equipment, and then adjust six parameters of the ground film in the original image under the HSV color model until the area in the original image that is not related to the ground film becomes black, and then record the six parameters; further, when verifying that the color range corresponding to the six recorded parameters is valid, the original image is converted into an HSV binary image, and a filtering operation is performed on the HSV binary image, so as to achieve the purpose of reducing the influence of debris other than the ground film in the original image on the ground film identification, and a relatively complete binary image of the ground film can be obtained after filtering; further, only by calculating the pixel area A of the ground film and the actual area B represented by the unit pixel area, the ground film can be quickly identified and the area calculated, the identification speed is fast, and no advance preparation is required, so that the ground film measurement does not need to enter the farmland to calculate the ground film area, and the calculation result has a high accuracy rate, and the time required for measuring the length and width of the ground film is greatly saved, thereby improving the degree of agricultural intelligence.

[0042] In one embodiment of the present invention, the number of white pixels in the image after the filtering operation is calculated by traversal processing.

[0043] In one embodiment of the present invention, an original image containing ground film is collected by a drone.

[0044] In this embodiment, a common drone equipped with an impact system can be used, thereby achieving the purpose of making the ground film area identification method of the present invention have low requirements on equipment.

[0045] In one embodiment of the present invention, the actual area B represented by the unit pixel area is calculated using the ground sampling interval of the drone; wherein the ground sampling interval represents the actual distance in real life corresponding to the unit pixel.

[0046] In this embodiment, the ground sampling distance (GSD) of the drone can be used to accurately calculate the actual area B represented by the unit pixel area. The calculation process is simple and the calculation result has a high accuracy rate.

[0047] In one embodiment of the present invention, the step of calculating the actual area B represented by the unit pixel area using the ground sampling interval specifically includes: calculating the ground sampling interval GSD of the drone according to a preset formula; performing a square operation on the ground sampling interval GSD to obtain the actual area B as GSD 2 ; Wherein, the preset formula is:

[0048]

[0049] Where H is the flight altitude of the UAV, f is the focal length of the UAV camera lens, and a is the pixel size of the UAV camera.

[0050] In this embodiment, after a relatively complete HSV binary image of the ground film is obtained through filtering operation, since the focal length f of the drone's camera lens and the pixel size a of the drone's camera are known, only the flight altitude of the drone is input to calculate the actual area B represented by the unit pixel area. In a specific embodiment, different drones have different adjustable parameters, so that the recognition result is more accurate.

[0051] In one embodiment of the present invention, the unit of the ground sampling interval is: meter per pixel or centimeter per pixel.

[0052] In one embodiment of the present invention, when the verification result obtained in step S3 is invalid, the six parameters of the ground film in the original image under the HSV color model are continuously adjusted until the color range corresponding to the six parameters is valid.

[0053] In one embodiment of the present invention, the step of verifying whether the color range corresponding to the six parameters is valid specifically includes: obtaining the number of ground films in the original image; intercepting a certain number of pictures containing only ground films in the original image; wherein the certain number is greater than or equal to half of the number of ground films, and the size of the intercepted pictures is random; obtaining the parameter range of all intercepted pictures under the HSV color model, and taking the union of the obtained parameter ranges; wherein the parameter range after taking the union is referred to as the HSV parameter range of the intercepted picture; calculating the number X of pixels of the original image within the HSV parameter range of the intercepted picture; counting the number Y of pixels of the original image within the parameter range corresponding to the six parameters recorded in step S2; calculating the ratio of X to Y; when the ratio of X to Y is greater than a preset value, it is verified that the color range corresponding to the six parameters recorded in step S2 is valid; when the ratio of X to Y is less than or equal to the preset value, it is verified that the color range corresponding to the six parameters recorded in step S2 is invalid.

[0054] In one embodiment of the present invention, the method for identifying ground film area based on remote sensing operation also includes: automatically acquiring the boundary of the ground film in the image after the filtering operation; automatically intercepting the area corresponding to the ground film in the original image according to the boundary, and automatically displaying the numerical value corresponding to the actual area of ​​the ground film.

[0055] In one embodiment of the present invention, the preset value is 85%.

[0056] In this embodiment, after multiple tests, it is found that when the preset value is 85%, the accuracy of the calculated ground film area is high. When the preset value is less than or equal to 85%, the accuracy of the calculated ground film area is low.

[0057] The technical solution of the present invention will be demonstrated with a specific embodiment below.

[0058] The present invention includes two parts of programs: hsv_dec and recognition. Among them, hsv_dec is responsible for processing the original image collected by the drone, obtaining the HSV color model presented by the ground film, and obtaining the six parameters of the ground film in the original image taken by the drone under the HSV color model. Other programs may also obtain the six parameters of the ground film in the original image taken by the drone under the HSV color model, such as obtaining the HSV parameters of the ground film by collecting pictures containing only the ground film (without roads, land and other miscellaneous interferences).

[0059] The specific implementation steps of the remote sensing operation-based ground film area identification method of this embodiment are as follows:

[0060] (1) Collect original images containing ground film using drones.

[0061] (2) When the drone collects the original image containing the ground film (such as Figure 2 Left), after running the hsv_dec program, a window will be displayed (such as Figure 3 By dragging the six sliders in the window, the areas unrelated to the mulch in the original image collected by the drone will be turned black (as shown in Figure 2Right), at this time, the six parameters of the ground film in the original image under the hsv color model can be obtained, among which the six parameters are Hmin, Hmax, Smin, Smax, Vmin and Vmax; Hmin is the minimum value of the H parameter in the hsv color model, Hmax is the maximum value of the H parameter in the hsv color model, Smin is the minimum value of the S parameter in the hsv color model, Smax is the maximum value of the S parameter in the hsv color model, Vmin is the minimum value of the V parameter in the hsv color model, and Vmax is the maximum value of the V parameter in the hsv color model. After recording these six parameters, hsv_dec can end the operation. The function of the hsv_dec program is to obtain the six parameters of the ground film in the image taken by the drone under the HSV color model.

[0062] HSV (Hue, Saturation, Value) is a color space created by AR Smith in 1978 based on the intuitive characteristics of color, also known as the Hexcone Model. The HSV color system is an intuitive color model for users. For color, people will intuitively ask "What color? How deep? How bright?" The HSV color system intuitively represents this information. Each color is represented by hue (Hue, H), saturation (S) and value (V). The color parameters in this model are: hue (H), saturation (S), and brightness (V). Among them, the hue H parameter represents color information, that is, the position of the spectral color. This parameter is expressed as an angle, with a value range of 0° to 360. If calculated counterclockwise from red, red is 0°, green is 120°, and blue is 240°. Their complementary colors are: yellow is 60°, cyan is 180°, and purple is 300°; saturation S: the value range is 0.0~1.0; brightness V: the value range is 0.0 (black)~1.0 (white).

[0063] (3) Verify whether the color ranges corresponding to the six parameters recorded are valid; In order to verify whether the ranges corresponding to the six parameters of the ground film in the UAV image obtained under the HSV color model are available, such as Figure 3 As shown in the figure, here we need to randomly cut out a certain number of pictures of random size that only contain ground films from the original pictures taken by the drone, where the number is greater than or equal to half of the number of ground films ( Figure 2The number of ground films is 4, and the minimum number is 2), obtain the parameter range of all intercepted images under the hsv color model, and take the union of the obtained parameter ranges; wherein, the parameter range after taking the union is referred to as the intercepted image HSV parameter range. The ground films are all white, and the obtained union must be included in the range corresponding to the six parameters of the ground films under the HSV color model in the original image obtained by running the hsv_dec program. Calculate the number of pixels X in the original image taken by the drone within the HSV parameter range of the intercepted image; count the number of pixels Y in the original image taken by the drone within the parameter range corresponding to the six parameters recorded when running the hsv_dec program; calculate the ratio of X to Y X / Y×100%. Although the ground film is made of a uniform material, due to the influence of different lighting and different crops, the color presented by the randomly intercepted area will be different from that of other areas. After many experiments, when the ratio of X to Y is greater than 85%, the calculated area accuracy is the highest. Therefore, when the ratio of X to Y is greater than 85%, it is considered that the color range corresponding to the six parameters obtained by the hsv_dec program is available. Conversely, when the ratio of X to Y is less than or equal to 85%, it is considered that the color range corresponding to the six parameters obtained by the hsv_dec program is unavailable. When it is considered that the color range corresponding to the six parameters obtained by the hsv_dec program is unavailable, continue to adjust the six parameters of the mulch in the original image under the hsv color model until the color range corresponding to the six parameters is valid.

[0064] like Figure 4 As shown, random cut Figure 2 The HSV range union of the intercepted image area is obtained, and the number of pixels of the original image collected by the drone within this union range is 211282. The number of pixels of the original image collected by the drone within the parameter range corresponding to the six parameters obtained by the hsv_dec program is 243595, and the calculation ratio is 86.73%. It is considered that the range corresponding to the six parameters obtained by the hsv_dec program is available.

[0065] (4) When verifying that the color range corresponding to the six parameters obtained by the hsv_dec program is valid, input the six parameters obtained by the hsv_dec program into recognition, import the original image taken by the drone, and run the recognition program. The recognition program will first convert the RGB image taken by the drone into an HSV image, and then, in conjunction with the six parameters obtained by the hsv_dec program, render the areas in the original image taken by the drone that meet the color range corresponding to the six parameters in white, and render the areas in the original image taken by the drone that do not meet the color range corresponding to the six parameters in black, as shown in the following example. Figure 5 As shown, a HSV binary image is preliminarily obtained.

[0066] (5) Compared with the original image, it can be seen that not only the mulch part is white, but also the part with similar color in the soil is white. At this time, image processing is required, that is, filtering operation, which includes opening operation. After many attempts, this algorithm concluded that it is more appropriate to perform a 15*15 filtering operation on the HSV binary image obtained initially under the condition of using the DJI Phantom 4 drone. Figure 5 The part on the right that is not the ground film appears white. After filtering, Figure 6 As shown, Figure 6 The debris on the right that is not ground film has turned black. Therefore, the filtering operation has achieved the purpose of reducing the impact of debris outside the ground film on ground film identification.

[0067] In addition, different filtering operation modes will also affect the calculation of the ground film area, which will not be elaborated here.

[0068] (6) After filtering, Figure 6 The ground film in the Figure 7 As shown, since most ground films are rectangular, the boundaries of the ground films in the image after the filtering operation can be automatically obtained; the area corresponding to the ground films in the original image taken by the drone (the area selected by the green line) is automatically intercepted according to the boundaries, and the value corresponding to the actual area of ​​the ground films is automatically displayed.

[0069] Specifically, to calculate the actual area of ​​the ground film, we must first calculate the pixel area A of the ground film, that is, calculate the image after the filtering operation ( Figure 6 ) is the number of white pixels in the image after traversal processing ( Figure 6 ) can be obtained.

[0070] Furthermore, after obtaining the pixel area A of the ground film, we can use the ground sampling interval (GDS) to calculate the actual area of ​​the ground film in the original image taken by the drone. GSD indicates that the unit pixel corresponds to the actual distance in real life. The unit of the ground sampling interval is generally: meter per pixel or centimeter per pixel. For example: GSD is 5cm / pixel: it means that one pixel in the image represents an actual distance of 5cm in the real world. The GDS of each drone is different and can be calculated by the following formula:

[0071]

[0072] In the above formula, H is the flight altitude of the UAV, f is the focal length of the UAV camera lens, and a is the pixel size of the UAV camera.

[0073] The drone model used in this specific embodiment is DJI Phantom 4. Taking the pictures collected by the drone as an example, the flight altitude of DJI Phantom 4 is 51 meters, the focal length is 20 mm, and the pixel size is 1.55 microns. These parameters are input into the recognition program to automatically calculate the GDS of the drone. Square the obtained GDS to get the actual area B represented by the unit pixel area.

[0074] Finally, after multiplying the pixel area A by the actual area B, the actual area of ​​the ground film in the original image is obtained as A*B, which is displayed at the top of the recognition image (i.e., the original image taken by the drone) in square meters (e.g. Figure 7 shown).

[0075] According to actual measurement, the collected ground films are 50 meters long and 8.5 meters wide, and the total area of ​​the four ground films is 1700 meters. The area calculated by running the program in this specific embodiment is 1651 square meters, and the accuracy rate reaches 97.1%.

[0076] In summary, the present invention innovatively realizes a simple method for identifying the area of ​​ground film based on remote sensing operation. The present invention adopts drone collection, HSV color space, and filter image processing to realize accurate identification and area calculation of ground film. By combining HSV with drone GDS, the time required for measuring the area of ​​ground film is saved. The image recognition technology developed by the present invention is original in the fields of agriculture and environmental protection.

[0077] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.

Claims

1. A method for identifying ground film area based on remote sensing operation, characterized in that: include: Step S1: collecting original images containing ground film through remote sensing equipment; Step S2: adjusting six parameters of the ground film in the original image under the hsv color model until the area in the original image that is not related to the ground film becomes black, and recording the six parameters; wherein the six parameters are Hmin, Hmax, Smin, Smax, Vmin and Vmax; Hmin is the minimum value of the H parameter in the hsv color model, Hmax is the maximum value of the H parameter in the hsv color model, Smin is the minimum value of the S parameter in the hsv color model, Smax is the maximum value of the S parameter in the hsv color model, Vmin is the minimum value of the V parameter in the hsv color model, and Vmax is the maximum value of the V parameter in the hsv color model; Step S3: Verify whether the color ranges corresponding to the six parameters recorded in step S2 are valid; if the verification result is valid, execute step S4; Step S4: When the format of the original image is HSV, the area of ​​the original image that meets the color range corresponding to the six parameters is presented in white, and the area of ​​the original image that does not meet the color range corresponding to the six parameters is presented in black, so as to obtain an HSV binary image; Step S5: performing a filtering operation on the HSV binary image to render the area corresponding to the debris other than the ground film in the HSV binary image in black, thereby obtaining an image after the filtering operation; Step S6: Calculate the number of white pixels in the image after the filtering operation to calculate the pixel area A of the ground film; Step S7: Calculate the actual area B represented by the unit pixel area; Step S8: After multiplying the pixel area A by the actual area B, the actual area of ​​the ground film in the original image is obtained as A*B.

2. The method for identifying ground film area based on remote sensing operation according to claim 1, characterized in that: The number of white pixels in the image after the filtering operation is calculated through traversal processing.

3. The method for identifying ground film area based on remote sensing operation according to claim 1, characterized in that: The original image containing ground film is collected by drone.

4. The method for identifying ground film area based on remote sensing operation according to claim 3 is characterized in that: The actual area B represented by the unit pixel area is calculated using the ground sampling interval of the drone; wherein the ground sampling interval represents the actual distance in real life corresponding to the unit pixel.

5. The method for identifying ground film area based on remote sensing operation according to claim 4 is characterized in that: The step of calculating the actual area B represented by the unit pixel area using the ground sampling interval specifically includes: Calculate the ground sampling interval GSD of the UAV according to a preset formula; The ground sampling interval GSD is squared to obtain the actual area B as GSD 2 ; Wherein, the preset formula is: Where H is the flight altitude of the UAV, f is the focal length of the UAV camera lens, and a is the pixel size of the UAV camera.

6. The method for identifying ground film area based on remote sensing operation according to claim 4, characterized in that: The unit of the ground sampling interval is: meter per pixel or centimeter per pixel.

7. The method for identifying ground film area based on remote sensing operation according to claim 1, characterized in that: When the verification result obtained in step S3 is invalid, the six parameters of the ground film in the original image under the HSV color model are continuously adjusted until the color ranges corresponding to the six parameters are valid.

8. The method for identifying ground film area based on remote sensing operation according to any one of claims 1 to 7, characterized in that: The step of verifying whether the color ranges corresponding to the six parameters are valid specifically includes: Obtaining the amount of ground film in the original image; A certain number of pictures containing only ground films are intercepted from the original image; wherein the certain number is greater than or equal to half of the number of ground films, and the sizes of the intercepted pictures are random; Get the parameter range of all captured images under the HSV color model, and take the union of the obtained parameter ranges; the parameter range after taking the union is referred to as the HSV parameter range of the captured image; Calculate the number X of pixels of the original image within the HSV parameter range of the captured image; Counting the number Y of pixels of the original image within the parameter range corresponding to the six parameters recorded in step S2; Calculate the ratio of X to Y; When the ratio of X to Y is greater than a preset value, it is verified that the color range corresponding to the six parameters recorded in step S2 is valid; When the ratio of X to Y is less than or equal to a preset value, it is verified that the color range corresponding to the six parameters recorded in step S2 is invalid.

9. The method for identifying ground film area based on remote sensing operation according to any one of claims 1 to 7, characterized in that: Also includes: Automatically obtaining the boundary of the ground film in the image after the filtering operation; The area corresponding to the ground film in the original image is automatically intercepted according to the boundary, and the value corresponding to the actual area of ​​the ground film is automatically displayed.

10. The method for identifying ground film area based on remote sensing operation according to claim 8, characterized in that: The preset value is 85%.