A comprehensive investigation method and system for black and odorous water bodies in arid and semi-arid areas

Through image processing technology that combines satellite remote sensing and drone equipment, we can identify obstructions at the edge of the water area and analyze water quality changes, which solves the problem of low accuracy in the investigation of black and odorous water bodies in the existing technology, and achieves efficient and effective detection of black and odorous water bodies. Accurate investigation.

CN118396340BActive Publication Date: 2024-08-23SOUTH CHINA INST OF ENVIRONMENTAL SCI MEP +1
View PDF 8 Cites 0 Cited by

Patent Information

Application Number
CN202410823954.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-25
Publication Date
2024-08-23
Estimated Expiration
2044-06-25

AI Technical Summary

Technical Problem

The existing black and odorous water investigation technology is relatively simple and fails to effectively analyze the changing trends of black and odorous water bodies, resulting in low identification and investigation accuracy.

Method used

Satellite remote sensing combined with UAV equipment is used to obtain image data. Classification models and image prediction models are used to identify the types of occlusion species at the edge of the water, generate water quality prediction maps, obtain the change rate and location information of black and smelly water characteristics, and recommend manual inspection plans.

Benefits of technology

It improves the accuracy and efficiency of the investigation of black and odorous water bodies, reduces investigation errors caused by occlusion, and enables precise positioning of black and odorous water body characteristics and recommendation of manual inspection plans.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118396340B
    Figure CN118396340B
Patent Text Reader

Abstract

The present invention discloses a method and system for comprehensively checking black and odorous water bodies in arid and semi-arid areas, belonging to the field of image processing technology, including: obtaining a first image set of the checked area, classifying and locating all target areas, extracting all second image sets containing the target areas in the first image set; sequentially splicing and combining second images with adjacent shooting angles in the second image set to generate multiple complete images, obtaining all target areas in the complete image and setting them as water areas, and obtaining the location range of the water area; inputting a water quality image sequence into an image prediction model to generate a water quality prediction map of the water area at the prediction time; obtaining the water quality change rate and location information containing black and odorous water body characteristics in the water area, and recommending a manual inspection plan. The present invention can more accurately and comprehensively locate the location information of black and odorous water bodies in the checked area, thereby avoiding the phenomenon of missing the black and odorous water bodies and inaccurate positioning.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of image processing, and in particular relates to a method and system for comprehensively checking black and odorous water bodies in arid and semi-arid areas. Background Art

[0002] Black and odorous water refers to sewage with a strong odor and black appearance formed by the accumulation and decay of a large amount of organic and inorganic matter in urban or natural water bodies, which seriously affects human health and the natural environment. The existing black and odorous water body inspection technology mainly includes public reporting clues, satellite remote sensing identification and on-foot inspection. Since the inspection objects are not limited, the number of black and odorous water bodies inspected is incomplete and the inspection accuracy is not high. Therefore, it is necessary to systematically analyze the factors affecting river water volume, combine long-term water quality monitoring, establish an automatic identification method for river water bodies in arid and semi-arid areas, and determine the list and map of urban water systems through land use type determination, satellite remote sensing interpretation, water system existence period identification and automatic water system delineation, so as to solve the problems of inconsistent black and odorous water body inspection methods and incomplete inspection quantity, thereby reducing the manpower and material costs brought by comprehensive inspection of black and odorous water bodies.

[0003] For example, Chinese patent CN113780071B discloses a remote sensing identification system and method for black and odorous water bodies, including a communication network composed of a main control device and multiple monitoring devices, wherein the multiple monitoring devices are respectively arranged at the points to be identified, and are used to obtain the dissolved oxygen, ammonia nitrogen value, transparency and chromaticity of the water area according to a predetermined period, calculate the normalized index of the water area and store it; the main control device is used to send a broadcast instruction, judge the normalized index returned by the monitoring device, and when the normalized index is within the first preset range, determine that the corresponding water area is the target water body, and send a black and odorous water body identification request; a remote sensing image acquisition module is used to obtain the remote sensing image of the target water body from the original remote sensing image; a black and odorous water body confirmation module is used to calculate the black and odorous water body index of the target water body according to the remote sensing reflectivity of the target water body in each band, and when the black and odorous water body index is within the second preset range, the target water body is determined to be a black and odorous water body. For another example, Chinese patent CN116403112A discloses a method and device for demarcating the scope of black and odorous water bodies in rural areas, which belongs to the field of remote sensing technology. The invention first obtains the initial screening area of ​​settlements based on national basic geographic information data and land use classification data, and extracts settlement patches based on remote sensing image data. The initial screening area of ​​settlements is divided into grids, and the grids are first preliminarily screened according to the percentage of the area of ​​settlement patches in the grid to the area of ​​the grid, and then the grids are secondary screened according to the proportion of settlement patches in the grid and its eight surrounding grids. All retained grids are merged and buffered to obtain the scope of rural black and odorous water investigation. The invention determines the investigation scope of rural black and odorous water bodies based on remote sensing image data, land use type data and national basic geographic information data, etc., which can realize the rapid and accurate delineation of the investigation scope of rural black and odorous water bodies, and provide technical support for rural ecological environment management.

[0004] However, the above-mentioned existing methods for identifying and checking black and odorous water bodies are relatively simple, and the changing trends of black and odorous water bodies are not analyzed. In actual situations, the evolution process and range changes of black and odorous water bodies will also affect the accuracy of identification and checking. Summary of the invention

[0005] In order to solve the above problems, the present invention provides a method and system for comprehensively checking black and odorous water bodies in arid and semi-arid areas to solve the problems in the prior art.

[0006] In order to achieve the above-mentioned purpose of the invention, the present invention proposes a method for comprehensively checking black and odorous water bodies in arid and semi-arid areas, comprising:

[0007] Satellite remote sensing locates the inspection area based on meteorological characteristics, and the UAV equipment sequentially obtains first images of the inspection area based on preset shooting angle intervals and generates a first image set, inputs the first image set into a classification model to classify and locate all target areas, extracts all the first images containing the target area from the first image set, defines them as second images, and combines all the second images into a second image set;

[0008] The second images with adjacent shooting angles in the second image set are sequentially spliced ​​and combined to generate a plurality of complete images, all target areas in the complete images are obtained and set as water areas, and it is identified whether there is any occlusion at the edge of the water area. If not, the position range of the water area is obtained. If so, the type of occlusion between the water areas in the complete image is identified, and whether the water areas are connected based on the type of occlusion. If connected, the plurality of water areas are combined and expanded, and the position range of the water area is obtained.

[0009] The satellite remote sensing obtains a water quality image sequence of the water area based on the position range and a preset first time interval, and inputs the water quality image sequence into an image prediction model based on a corresponding time series to generate a water quality prediction map of the water area at a prediction time;

[0010] The water quality change rate and location information of the black and odorous water body characteristics in the water area are obtained based on the water quality prediction map, and a manual inspection plan is recommended based on the water quality change rate and the location information.

[0011] Furthermore, obtaining the target area includes the following steps:

[0012] A water body label is set, a training data set is established based on the water body label, the classification model is generated based on the training data set, the first image set is input into the classification model, the classification model segments all the first images in the first image set to generate multiple first sub-regions, and identifies the first sub-region corresponding to the water body label, and sets the first sub-region corresponding to the water body label as the target area.

[0013] Furthermore, generating the complete image comprises the following steps:

[0014] Setting two second images adjacent to each other at any shooting angle in the second image set as images to be combined, respectively extracting first feature points of the images to be combined and setting them as target feature points, and calculating displacement vectors of the target feature points in the images to be combined;

[0015] Setting a region frame, dividing the image to be combined into a plurality of second sub-regions based on the region frame, obtaining a vector similarity value of each second sub-region based on the displacement vector, setting a first number based on the size of the region frame, arranging the vector similarity values ​​in order from large to small, selecting second sub-regions corresponding to the maximum vector similarity value in order based on the first number and setting them as edge regions, and aligning and splicing two second images in the image to be combined based on the same edge region to generate a combined image;

[0016] A second number of all second images with adjacent shooting angles in the second image set is obtained, and based on the second number, the above steps are repeated to align and splice the combined image with the remaining second images, and a plurality of the complete images are generated.

[0017] Further, obtaining the vector similarity value of the second sub-region includes the following steps:

[0018] The displacement vector L is calculated based on a first formula, which is: ,in, and are respectively the spatial coordinates of the matching target feature points of the adjacent images to be combined;

[0019] The vector similarity value M is calculated based on a second formula, where the second formula is: , wherein n is the number of the target feature points contained in the second sub-region of the first second image in the image to be combined, is the displacement vector of the i-th target feature point in the second sub-region, It is the modulus operator symbol.

[0020] Further, it is identified whether there is any obstruction at the edge of the water area based on the following steps:

[0021] The edge pixel points and corresponding pixel values ​​of all the water areas in the complete image are respectively obtained, the shortest distance between the water areas is obtained, and the pixel points corresponding to the shortest distance are sequentially connected to generate a pixel connection line, and the pixel points of the water area are respectively extracted at the two end points of the pixel connection line based on a preset third quantity and are respectively set as a first pixel group and a second pixel group, and the average difference of the pixel values ​​corresponding to the first pixel group and the second pixel group is respectively obtained, and if the difference between the two average differences is less than or equal to a preset first threshold value, there is occlusion at the edge of the water area, otherwise, there is no occlusion at the edge of the water area.

[0022] Furthermore, obtaining the location range of the water area includes the following steps:

[0023] If the type of the obstruction is not a bridge type, it is determined that the water area is not connected, two comparison images corresponding to the complete image are obtained based on a preset second time interval, and are respectively defined as a first comparison image and a second comparison image, an image coordinate system is constructed, and pixel positions of the same water area in the first comparison image and the second comparison image are respectively obtained based on the image coordinate system, and the pixel positions contained in the water area in the two comparison images are superimposed and expanded so that a first area of ​​the water area composed of the pixel positions is the largest, and the largest first area is set as the position range of the water area;

[0024] If the type of obstruction is the bridge type, the water areas are connected, and the minimum obstruction range contained in the bridge is obtained based on the image coordinate system, and the minimum obstruction range is set as the obstruction area, the edge pixel value of the water area connected to the bridge is obtained, the mode of the edge pixel values ​​is obtained, and the mode of the edge pixel values ​​is set as the pixel value of the obstruction area, the water area connected to the bridge and the obstruction area are combined and extended, and set as the location range of the water area.

[0025] Further, the water quality prediction map is generated based on the following steps:

[0026] The water quality image sequence includes a water quality distribution map and a corresponding time series of the same water area. The water quality distribution map refers to a spectral color image of the water area acquired by a remote sensing satellite. The image prediction model is a neural network model constructed by multiple neurons. The water quality distribution map is input into the image prediction model based on the time series. The image prediction model divides the water quality distribution map according to a preset shape and size based on the same pixel coordinates to generate a block sequence, and obtains a pixel value sequence of the block sequence. The image prediction model calculates a weight coefficient based on the pixel value sequence, and outputs a pixel prediction value of the block sequence based on the weight coefficient, and all the pixel prediction values ​​are combined based on the shape and size to generate the water quality prediction map.

[0027] Furthermore, setting up a manual troubleshooting plan includes the following steps:

[0028] A severity level of black and odorous water bodies is established, and based on the water quality change rate and the severity level of the black and odorous water bodies, a distribution sub-area and a corresponding severity level of the black and odorous water body characteristics in the water area are obtained; based on the location information of the water area, the longitude and latitude coordinates of the distribution sub-area are located; and the predicted time, the severity level and the longitude and latitude coordinates corresponding to the distribution sub-area are sent to the terminal to generate an inspection plan.

[0029] Furthermore, obtaining the water quality change rate includes the following steps:

[0030] Obtain the planned distribution area and the corresponding population density of the screening area, obtain the location distance between the planned distribution area and the distribution sub-area, set the planned distribution area with the smallest location distance as the influence area of ​​the distribution sub-area, and set the population density corresponding to the influence area as the risk value of the distribution sub-area, and set the water area corresponding to the distribution sub-area with the risk value greater than or equal to a preset density threshold as a high-risk area, and the high-risk area includes densely populated areas and newly developed construction areas;

[0031] The water quality change rate V is calculated based on the third formula, and the third formula is: ,in, and is the weight coefficient, m is the number of pixels contained in the distribution sub-region, t is the prediction time, is the pixel value of the j-th pixel point in the distribution sub-area of ​​the water quality prediction map, is the pixel value of the j-th pixel point in the distribution sub-area of ​​the last water quality distribution map of the water quality image sequence, is the risk value of the impact area corresponding to the distribution sub-area.

[0032] The present invention also provides a comprehensive investigation system for black and odorous water bodies in arid and semi-arid areas, which is used to implement the above-mentioned comprehensive investigation method for black and odorous water bodies in arid and semi-arid areas. The system mainly includes:

[0033] An image acquisition module, wherein satellite remote sensing locates the inspection area based on meteorological features, and the UAV equipment sequentially acquires first images of the inspection area based on preset shooting angle intervals and generates a first image set, inputs the first image set into a classification model to classify and locate all target areas, extracts all the first images containing the target area from the first image set, defines them as second images, and combines all the second images into a second image set;

[0034] a water area positioning module, which sequentially stitches and combines the second images with adjacent shooting angles in the second image set to generate a plurality of complete images, obtains all target areas in the complete images and sets them as water areas, identifies whether there is any occlusion at the edge of the water area, and if not, obtains the position range of the water area; if so, identifies the type of occlusion between each of the water areas in the complete image, determines whether the water areas are connected based on the type of occlusion, and if connected, expands the combination of the plurality of water areas and obtains the position range of the water area;

[0035] A water quality prediction module, wherein the satellite remote sensing obtains a water quality image sequence of the water area based on the position range and a preset first time interval, and inputs the water quality image sequence into an image prediction model based on a corresponding time series to generate a water quality prediction map of the water area at a prediction time;

[0036] The inspection and positioning module obtains the water quality change rate and location information containing black and odorous water characteristics in the water area based on the water quality prediction map, and recommends a manual inspection plan based on the water quality change rate and the location information.

[0037] Compared with the prior art, the beneficial effects of the present invention are at least as follows:

[0038] The present invention firstly acquires a first image set of the inspection area by setting the shooting angle interval of the drone equipment, and then screens a second image set containing the target area in the first image set through a classification model, thereby reducing the amount of data for subsequent image inspections, and only analyzing the image range containing the target area. Finally, multiple complete images are generated by combining the second image sets, and occlusion identification is performed on multiple water areas contained in the complete images, thereby avoiding the phenomenon of inspection errors in the water area due to occlusion, thereby improving the accuracy of water area inspection.

[0039] The present invention also outputs a water quality prediction map of the water area within the prediction time through the water quality image sequence and image prediction model of the water area, so as to obtain the change rate of the black and odorous water body characteristics in the water quality, that is, the water quality change rate, and accurately locate the inspection coordinates through the position information of the black and odorous water body characteristics in the water area, and then recommend a manual inspection plan, so as to realize the inspection efficiency and inspection accuracy of the black and odorous water bodies in the inspection area. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] Figure 1 A flowchart of the steps of a method for comprehensively checking black and odorous water bodies in arid and semi-arid areas according to the present invention;

[0041] Figure 2 A schematic diagram of a method for acquiring a first image set in the present invention;

[0042] Figure 3 A schematic diagram of a displacement vector for obtaining target features in the present invention;

[0043] Figure 4 A schematic diagram of identifying and determining the edge of a water area in the present invention;

[0044] Figure 5 A schematic diagram of the location range of the water area obtained in the present invention;

[0045] Figure 6 This is a structural diagram of a comprehensive investigation system for black and odorous water bodies in arid and semi-arid areas according to the present invention. DETAILED DESCRIPTION

[0046] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention.

[0047] It is understood that the terms "first", "second", etc. used in this application may be used herein to describe various elements, but unless otherwise specified, these elements are not limited by these terms. These terms are only used to distinguish a first element from another element. For example, without departing from the scope of this application, a first xx script may be referred to as a second xx script, and similarly, a second xx script may be referred to as a first xx script.

[0048] like Figure 1 As shown, a comprehensive method for checking black and odorous water bodies in arid and semi-arid areas includes:

[0049] Step S1: Satellite remote sensing locates the inspection area based on meteorological characteristics. The UAV equipment sequentially obtains the first image of the inspection area based on the preset shooting angle interval and generates a first image set. The first image set is input into the classification model to classify and locate all target areas. All first images containing the target area are extracted from the first image set and defined as second images. All second images are combined into a second image set.

[0050] Specifically, different classification characteristics such as different natural geographical features, social and economic development conditions, the status of pollution control facilities and clues to water environment problems will result in different methods for detecting black and odorous water bodies. The present invention provides a method for detecting black and odorous water bodies in waters of arid and semi-arid areas. In this embodiment, meteorological characteristics include but are not limited to arid and semi-arid areas, and the corresponding meteorological characteristics can be obtained through meteorological information and geographic distribution maps. The investigation area refers to an area that contains meteorological characteristics, such as low precipitation and large variability, generally large daily and annual temperature differences, and areas where evaporation may be much greater than precipitation, with much wind and sand, little cloud cover, and strong sunshine. In order to more comprehensively obtain the actual image of the investigation area and avoid missing areas, the drone equipment can capture the first image of the investigation area in sequence by setting the angle interval of the flight shooting, so that the investigation area is captured in all directions at 360°. For example, Figure 2 As shown, the drone device A takes the center C of the inspection area G as the center of the circle, and based on the fixed resolution of the drone device and with a shooting angle interval E of 15°, it successively surrounds the inspection area to generate first images P1 and P2, where the first image refers to the ground imaging of the inspection area, the first images are all generated by shooting with the same resolution, and the first image set refers to the collection of all first images.

[0051] A classification model refers to a model used for image processing, which can identify and classify a first image containing a target area in a first image set, wherein the target area refers to an area containing water flow, such as a river, a pond, and a ditch; and set the first image containing the target area as a second image, and the second image set refers to a set of all second images. By using the classification model to classify and filter out the second image set that only contains the target area in the first image set, and eliminate the first image that does not contain the target area, the error of the subsequent image recognition process can be reduced, and the image data of all target areas can be accurately collected.

[0052] Step S2: sequentially stitch together the second images with adjacent shooting angles in the second image set to generate a plurality of complete images, obtain all target areas in the complete image and set them as water areas, identify whether there is any obstruction at the edge of the water area, if not, obtain the location range of the water area, if so, identify the type of obstruction between the water areas in the complete image, determine whether the water areas are connected based on the type of obstruction, if connected, expand the combination of multiple water areas, and obtain the location range of the water area.

[0053] Specifically, in this embodiment, the adjacent shooting angles refer to the angles of successive shooting being adjacent and having only one shooting angle interval, and two images with adjacent shooting angles will have overlapping shooting areas, for example, Figure 2 As shown in the figure, R is the overlapping shooting area of ​​the first images P1 and P2 with adjacent shooting angles, so the second images with adjacent angles can be spliced ​​and combined based on the shooting angle to generate a complete image, where a complete image refers to a plurality of target area spliced ​​images. The target area can be completely acquired through the complete image. In order to distinguish the target areas before and after the splicing combination, all the target areas in the complete image are set as water areas, where the water areas of each complete image are all the water areas in the inspection area. In order to more accurately identify the water area in the complete image, it is necessary to determine whether there is any obstruction on the edge of the water area, such as trees, building shadows, etc. The position range refers to the shape and size of the water area contained in the image and the coordinate position corresponding to the drone equipment; when there is an obstruction between the water areas in the complete image, it is necessary to determine whether the water areas are connected based on the type of obstruction. For example, the type of obstruction includes but is not limited to bridges, houses, and ground. If the type of obstruction is a bridge, it means that there may be a connection between the water areas. If so, the corresponding multiple water areas are combined and expanded, that is, merged into one water area to obtain the corresponding position range. Through the above steps, multiple water areas in the complete image are identified and combined, which can effectively improve the accuracy of subsequent water area inspections and avoid the phenomenon of missing water areas due to occlusion.

[0054] Step S3: Satellite remote sensing obtains a water quality image sequence of the water area based on the location range and a preset first time interval, and inputs the water quality image sequence into an image prediction model based on a corresponding time series to generate a water quality prediction map of the water area at the prediction time.

[0055] Specifically, in this embodiment, the high-resolution imaging spectrometer in the remote sensing satellite can accurately identify the degree of absorption spectrum of the water area through high spectral resolution, and display the result through color image, which can accurately identify the water quality distribution in the water area to generate a water quality distribution map. For example, in the visible and near-infrared spectrum range, black and odorous water bodies and other normal water bodies have obvious differences in spectral characteristics and chromaticity. The water quality image sequence refers to the image set generated by the water quality distribution map based on the time series combination corresponding to the first time interval. For example, if the first time interval is set to 24 hours, the remote sensing satellite generates a water quality distribution map of the water area every 24 hours based on the location range of the water area, and sets a plurality of water quality distribution maps as a water quality image sequence; the image prediction model refers to the accurate prediction of the future through existing image data, including but not limited to grayscale prediction, time series prediction and other methods, for example, a neural network model based on machine learning; the prediction time refers to the future time, and the prediction time is set to the same time length as the first time interval. The water quality prediction map refers to the output result of the image prediction model, and its output result is the water quality distribution map of the water area at the future prediction time, and is set as the water quality prediction map. The specific implementation method will be described later.

[0056] Step S4: Based on the water quality prediction map, the water quality change rate and location information containing black and odorous water characteristics in the water area are obtained, and a manual inspection plan is recommended based on the water quality change rate and location information.

[0057] Specifically, in this embodiment, the black and odorous water body characteristics refer to characteristic areas with obvious colors in the water quality distribution map. For example, the black and odorous water body characteristics include but are not limited to low transparency, high ammonia nitrogen content and low dissolved oxygen, which make the red, green and blue bands of remote sensing reflectivity have obvious color changes. The water quality change rate refers to the value calculated by comparing the changes in pixel values ​​in the water quality distribution map and the water quality prediction map within a preset time, which can clearly show the change range and degree of black and odorous water bodies in the water area. The location information refers to the pixel coordinates corresponding to the area with black and odorous water body characteristics in the water area within the location range of the water area.

[0058] The severity of the black and odorous water bodies in the water area can be set in combination with the size of the water quality change rate. The black and odorous water bodies can be accurately located through the location information. If the severity is high, the location information will be sent to the terminal. After manual reception, an inspection plan will be formulated and the area of ​​the black and odorous water bodies will be inspected on the spot.

[0059] As a preferred technical solution of the present invention, obtaining the target area includes the following steps:

[0060] A water body label is set, a training data set is established based on the water body label, a classification model is generated based on the training data set, the first image set is input into the classification model, the classification model segments all the first images in the first image set to generate multiple first sub-regions, and identifies the first sub-region corresponding to the water body label, and sets the first sub-region corresponding to the water body label as the target region.

[0061] Specifically, in this embodiment, by setting the label type, the classification model can classify and identify areas with the same characteristics in the image. For example, a water body label is set, and all areas containing water flow in the training data set are set as water body labels. The classification model learns and identifies the image features of the areas with water body labels in the training data set based on a neural network. The larger the number of training data sets, the more significant the training effect of the classification model and the higher the accuracy of classification and recognition. The first sub-region refers to the segmented area in the first image. The classification model first segments all first images in the first image set into multiple first sub-regions based on image edge segmentation, then identifies the image features of the first sub-regions, and classifies each first sub-region based on the image features contained in the water body label. Finally, the first sub-region belonging to the water body label is set as the target area, wherein image edge segmentation refers to the process of segmentation by feature points when the classification model performs image processing.

[0062] As a preferred technical solution of the present invention, generating a complete image includes the following steps:

[0063] Two second images adjacent to each other at any shooting angle in the second image set are set as images to be combined, first feature points of the images to be combined are respectively extracted and set as target feature points, and displacement vectors of the target feature points in the images to be combined are calculated.

[0064] A region frame is set, and the image to be combined is divided into multiple second sub-regions based on the region frame, a vector similarity value of each second sub-region is obtained based on the displacement vector, a first quantity is set based on the size of the region frame, the vector similarity values ​​are arranged in sequence from large to small, and the second sub-regions corresponding to the maximum vector similarity value are selected in sequence based on the first quantity and set as edge regions, and two second images in the image to be combined are aligned and spliced ​​based on the same edge region to generate a combined image.

[0065] A second number of all second images with adjacent shooting angles in the second image set is obtained, and based on the second number, the above steps are repeated to align and splice the combined image with the remaining second images, and a plurality of complete images are generated.

[0066] Specifically, in the present embodiment, the second images included in the second image set are images in which the target area exists, wherein the target area may belong to the same water flow area. In order to analyze the target area more comprehensively, it is necessary to combine the second images in the second image set. Two second images with adjacent shooting angles will have overlapping shooting areas. Therefore, the two second images with adjacent shooting angles are set as images to be combined. The first feature points refer to the feature points of the images to be combined respectively generated by the SVM feature extraction model. The images to be combined each contain multiple first feature points. Since the images to be combined are acquired by drone devices with the same resolution, each of the target feature points will move in the two second images in the image to be combined, that is, the displacement vector of the target feature point. The corresponding second images are matched by matching the target feature points, such as Figure 3 As shown, there are target areas b11 and b21 in the images to be combined B1 and B2 respectively, wherein the target feature point d11 of the target area b11 is transformed into the target feature point d21 of the target area d21 after displacement.

[0067] The area frame refers to a division method based on the image size setting, and the shape and size of the area frame can be set according to the shooting angle interval and the resolution of the drone equipment; the second sub-area refers to the area where the two second images in the image to be combined are divided based on the area frame, and the first number refers to the number of second sub-areas divided by the area frame into which the two second images in the image to be combined are divided, for example, Figure 3 As shown, the area frame H divides the images to be combined B1 and B2 into four second sub-areas in sequence; the vector similarity value is to extract a second sub-area from each of the two second images of the image to be combined and set it as the area to be compared. Since the target feature points have spatial relationship characteristics, that is, the target feature points extracted from different images of the same scene are the same, it can be calculated by obtaining the displacement vector of the same target feature point in the area to be compared; the vector similarity value can be used to obtain the matching second sub-area, wherein the higher the vector similarity value, the higher the matching degree of the corresponding area to be compared; the overlapping areas of the two second images in the image to be combined are all edge areas of the image, therefore, it is necessary to obtain the second sub-area corresponding to the edge area, and the two second images in the image to be combined can be combined and spliced ​​through the edge area; the second number refers to the number of second images with adjacent shooting angles in the second image set, and the above steps are repeated until all second images with adjacent shooting angles in the second image set are spliced ​​and combined to generate multiple complete images.

[0068] As a preferred technical solution of the present invention, obtaining the vector similarity value of the second sub-region includes the following steps:

[0069] The displacement vector L is calculated based on the first formula, which is: ,in, and are respectively the spatial coordinates of the matching target feature points of adjacent images to be combined.

[0070] The vector similarity value M is calculated based on the second formula, which is: , where n is the number of target feature points contained in the second sub-region of the first second image in the image to be combined, is the displacement vector of the i-th target feature point in the second sub-region, It is the modulus operator symbol.

[0071] Specifically, in this embodiment, the movement of the same target feature point in different second images can be calculated through the displacement vector, including but not limited to the change direction and change amplitude of the movement, for example Figure 3 The direction of the arrow in the middle refers to the displacement vector of the feature point, and the spatial coordinates are the feature point coordinates automatically generated by the SVM feature extraction model when extracting the target feature points. In the first formula, the displacement vector L is represented by the difference between the spatial coordinates of the matching target feature points.

[0072] In the second formula, for example, Figure 3 As shown, the second sub-region D11 of the first second image B1 of the image to be combined has 2 target feature points, and the second sub-regions D21 and D22 of the second second image B2 each have 2 target feature points. The vector similarity values ​​of the second sub-region D11 and the second sub-regions D21 and D22 are calculated by the second formula, and the second sub-regions with the largest vector similarity values ​​are matched and aligned with each other.

[0073] As a preferred technical solution of the present invention, it is possible to identify whether there is any obstruction at the edge of the water area based on the following steps:

[0074] The edge pixel points and corresponding pixel values ​​of all water areas in the complete image are respectively obtained, the shortest distance between the water areas is obtained, and the pixel points corresponding to the shortest distance are sequentially connected to generate a pixel connection line, and the pixel points of the water area are respectively extracted at the two end points of the pixel connection line based on a preset third number and are respectively set as the first pixel group and the second pixel group, and the average difference of the pixel values ​​corresponding to the first pixel group and the second pixel group is respectively obtained. If the difference between the two average differences is less than or equal to a preset first threshold value, there is occlusion at the edge of the water area, otherwise, there is no occlusion at the edge of the water area.

[0075] Specifically, in this embodiment, the shortest distance refers to the shortest distance between edge pixels of different water areas in the same complete image, wherein the shortest distance is calculated by the number of pixels included. Since the difference between the pixel values ​​of the water area with occlusion is small, that is, the pixel values ​​included in adjacent sub-areas in the same water area are similar, it is determined whether there is occlusion at the edge of the water area by comparing the pixel values. For example, Figure 4As shown, the number of pixels included in the shortest distance U12 is 20, then the third number is set to 20, and the connection between the water areas q1 and q2 and the shortest distance U12 is taken as two endpoints, and the endpoints are taken as the center of the circle, and 10 pixels are taken as the radius. The first pixel group and the second pixel group are respectively extracted in the water areas q1 and q2, that is, the pixel groups included in Q1 and Q2, and the average values ​​of all pixel values ​​in the first pixel group and the second pixel group are respectively calculated, for example, 100 and 150 respectively, and the corresponding average value difference is 150-100=50, and the first threshold is set to 60, wherein, if the difference in the average values ​​is less than the first threshold, it is determined that there is occlusion between the two water areas q1 and q2.

[0076] As a preferred technical solution of the present invention, obtaining the location range of the water area includes the following steps:

[0077] If the type of obstruction is not a bridge, it is determined that the water area is not connected, and two comparison images corresponding to the complete image are obtained based on a preset second time interval, and are respectively defined as a first comparison image and a second comparison image, and an image coordinate system is constructed. Based on the image coordinate system, the pixel positions of the same water area in the first comparison image and the second comparison image are respectively obtained, and the pixel positions contained in the water area in the two comparison images are superimposed and expanded so that the first area of ​​the water area composed of the pixel positions is the largest, and the largest first area is set as the position range of the water area.

[0078] If the type of obstruction is a bridge, the water areas are connected, and the minimum obstruction range contained in the bridge is obtained based on the image coordinate system, and the minimum obstruction range is set as the obstruction area, the edge pixel value of the water area connected to the bridge is obtained, the mode of the edge pixel value is obtained, and the mode of the edge pixel value is set as the pixel value of the obstruction area, the water area connected to the bridge and the obstruction area are combined and expanded, and set as the location range of the water area.

[0079] Specifically, in this embodiment, the bridge type can indicate that two water areas in the complete image may belong to the same water area, that is, there are obscured water areas in the complete image. For the accuracy of subsequent water area inspection, the obscured area needs to be analyzed and processed. The second time interval refers to a preset length of time. The first comparison image and the second comparison image both refer to comparison images corresponding to the complete image obtained at different time periods through the above steps. The comparison images can be used to analyze whether there are changes in the position range of each water area in the complete image. For example, if the second time interval is set to 3 hours, the first comparison image and the second comparison image are obtained at intervals of 3 hours respectively; the image coordinate system is used to obtain the coordinate points of each pixel point in the image. Since the complete image and the two comparison images have the same water area, superposition extension refers to extending the first comparison image and the second comparison image based on the pixel position of the water area. Because the edge pixel position of the same water area will change in image imaging at different times, it is necessary to expand the pixel position of the water area. For example, Figure 5 As shown, the first comparison image k1 and the second comparison image k2 are expanded to a maximum first area K based on the pixel positions of the water area, and the number range of all pixel points contained in the first area K is the position range of the water area.

[0080] The minimum occlusion range refers to the minimum possible connection area between any water areas in the complete image, for example Figure 4 As shown in the figure, the complete image contains two water areas q1 and q2, and the type of occluder between the water areas q1 and q2 is a bridge type, then the minimum occlusion range is q12; the edge pixel value refers to the pixel value of the edge pixel point connected to the type of occluder in the water area, for example, Figure 5 The edge pixel points of the middle water areas q1 and q2 and the occlusion types are Q1 and Q2 respectively. The mode of the pixel values ​​corresponding to Q1 and Q2 is obtained and set as the pixel value corresponding to the occlusion area. Thus, the two water areas q1 and q2 can be expanded into one water area q12 through the occlusion area.

[0081] As a preferred technical solution of the present invention, a water quality prediction map is generated based on the following steps:

[0082] The water quality image sequence includes a water quality distribution map of the same water area and a corresponding time series. The water quality distribution map refers to the spectral color image of the water area obtained by a remote sensing satellite. The image prediction model is a neural network model constructed by multiple neurons. The water quality distribution map is input into the image prediction model based on the time series. The image prediction model divides the water quality distribution map according to a preset shape and size based on the same pixel coordinates to generate a block sequence, and obtains a pixel value sequence of the block sequence. The image prediction model calculates a weight coefficient based on the pixel value sequence, and outputs a pixel prediction value of the block sequence based on the weight coefficient. All pixel prediction values ​​are combined based on the shape and size to generate a water quality prediction map.

[0083] Specifically, in this embodiment, the image prediction model can analyze and process the color distribution pixel values ​​of all water quality distribution maps in the water quality image sequence based on the neural network constructed by neurons. The size of the pixel value in the spectral color image has a change function based on the time series, and then outputs the prediction result corresponding to the prediction time. In order to improve the prediction accuracy of the image prediction model, the process includes segmenting the image based on shape and size to generate a corresponding pixel value sequence, generating a change function by a weight coefficient, outputting the pixel prediction value of the block sequence, combining all the block sequences, and setting the corresponding pixel prediction value to the pixel value contained in the water quality prediction map.

[0084] As a preferred technical solution of the present invention, setting a manual inspection plan includes the following steps:

[0085] Establish a severity level of black and odorous water bodies, obtain the distribution sub-areas and corresponding severity levels of black and odorous water body characteristics in the water area based on the water quality change rate and the severity level of black and odorous water bodies, locate the longitude and latitude coordinates of the distribution sub-areas based on the location information of the water area, and send the predicted time, severity and longitude and latitude coordinates corresponding to the distribution sub-areas to the terminal to generate an inspection plan.

[0086] Specifically, in this embodiment, the classification of the severity level of black and odorous water bodies can effectively locate the area of ​​black and odorous water bodies in the water area, for example, accurately locate the area with a high severity level of black and odorous water bodies in a certain water area; the water quality change rate refers to the change rate of the black and odorous water bodies in each water area analyzed by combining the image prediction model and the water quality image sequence. Through the water quality change rate, not only the severity level of the black and odorous water bodies in the water quality can be obtained, but also the change law of the black and odorous water bodies can be predicted, and the evolution source of the black and odorous water bodies can be found, for example, the source of factory wastewater; the investigation plan refers to the terminal manually arranging the investigation time, investigation location and the required investigation manpower and material resources of the black and odorous water bodies through the various data received, thereby improving the investigation efficiency and investigation accuracy of the black and odorous water bodies. For example, by systematically analyzing the factors affecting the water volume of rivers and combining long-term water quality monitoring, an automatic identification method for river water bodies in arid and semi-arid areas is established, and the urban water system list and water system map are determined through land use type determination, satellite remote sensing interpretation, water system existence period identification and water system automatic delineation. Based on the results of the previous water system delineation, sensory judgment, water quality monitoring, personnel interviews and riverside inspections were carried out at important river nodes. Sensory judgment, water quality monitoring, personnel interviews, and foot inspections were introduced into the automatic identification system of water systems in arid and semi-arid areas. Through step-by-step evaluation, water bodies that meet any one or more of the following conditions, such as poor sensory perception, unqualified personnel interview results, excessive water quality monitoring, and pollution emissions found during foot inspections, were identified as black and odorous water bodies. The establishment of an automatic identification method system provides technical support for the comprehensive investigation of black and odorous water bodies in arid and semi-arid areas, solves the problems of inconsistent methods for the investigation of black and odorous water bodies and incomplete investigations, and greatly reduces the manpower and material costs of comprehensive investigations.

[0087] As a preferred technical solution of the present invention, obtaining the water quality change rate includes the following steps:

[0088] Obtain the planned distribution area and the corresponding population density of the inspection area, obtain the location distance between the planned distribution area and the distribution sub-area, set the planned distribution area with the smallest location distance as the influence area of ​​the distribution sub-area, and set the population density corresponding to the influence area as the risk value of the distribution sub-area, and set the water area corresponding to the distribution sub-area with a risk value greater than or equal to a preset density threshold as a high-risk area, which includes densely populated areas and newly developed construction areas;

[0089] The water quality change rate V is calculated based on the third formula, which is: ,in, and is the weight coefficient, m is the number of pixels contained in the distribution sub-region, t is the prediction time, is the pixel value of the jth pixel in the distribution sub-area of ​​the water quality prediction map, is the pixel value of the jth pixel in the distribution sub-area of ​​the last water quality distribution map of the water quality image sequence, is the risk value of the impact area corresponding to the distribution sub-area.

[0090] Specifically, in this embodiment, the planned distribution area of ​​the investigation area is an area divided by urban planning maps and population registration data, for example, the city-county division of a certain area, and the planned distribution area includes the corresponding population density. The size of the population density can be used to determine the degree of influence of the planned distribution area on the water area, where population density = population number / area occupied. The location distance refers to the coordinate distance between the planned distribution area and the distribution sub-area. Under normal circumstances, the planned distribution area will have an impact risk on the distribution sub-area with the closest location distance. Therefore, the planned distribution area with the closest location distance to the distribution sub-area is set as the impact area of ​​the distribution sub-area, and the value corresponding to the population density is set as the risk value. The high-risk area refers to the planned distribution area with a population density greater than or equal to the density threshold.

[0091] In this embodiment, the water quality change rate is calculated by the rate of change of pixel values ​​in the same distribution sub-area of ​​the water quality prediction map and the last water quality distribution map in the water quality image sequence, where the last water quality distribution map refers to the water quality distribution map closest to the prediction time in the time series.

[0092] The present invention firstly acquires a first image set of the inspection area by setting the shooting angle interval of the drone equipment, and then screens a second image set containing the target area in the first image set through a classification model, thereby reducing the amount of data for subsequent image inspections, and only analyzing the image range containing the target area. Finally, multiple complete images are generated by combining the second image sets, and occlusion identification is performed on multiple water areas contained in the complete images, thereby avoiding the phenomenon of inspection errors in the water area due to occlusion, thereby improving the accuracy of water area inspection.

[0093] The present invention also outputs a water quality prediction map of the water area within the prediction time through the water quality image sequence and image prediction model of the water area, so as to obtain the change rate of the black and odorous water body characteristics in the water quality, that is, the water quality change rate, and accurately locate the inspection coordinates through the position information of the black and odorous water body characteristics in the water area, and then recommend a manual inspection plan, so as to realize the inspection efficiency and inspection accuracy of the black and odorous water bodies in the inspection area.

[0094] It is particularly noteworthy that the present invention can more accurately and comprehensively locate the location information of black and odorous water characteristics in the inspection area, thereby avoiding the phenomenon of missing inspections and inaccurate positioning of black and odorous water bodies.

[0095] like Figure 6As shown, the present invention also provides a comprehensive investigation system for black and odorous water bodies in arid and semi-arid areas, which is used to implement the above-mentioned comprehensive investigation method for black and odorous water bodies in arid and semi-arid areas. The system mainly includes:

[0096] In the image acquisition module, satellite remote sensing locates the inspection area based on meteorological characteristics. The UAV equipment sequentially acquires the first image of the inspection area based on the preset shooting angle interval and generates a first image set. The first image set is input into the classification model to classify and locate all target areas. All first images containing the target area are extracted from the first image set and defined as the second image. All second images are combined into a second image set.

[0097] The water area positioning module sequentially stitches and combines the second images with adjacent shooting angles in the second image set to generate multiple complete images, obtains all target areas in the complete image and sets them as water areas, identifies whether there is any obstruction at the edge of the water area, and if not, obtains the location range of the water area; if so, identifies the type of obstruction between each water area in the complete image, determines whether the water areas are connected based on the type of obstruction, and if connected, expands the combination of multiple water areas and obtains the location range of the water area.

[0098] The water quality prediction module uses satellite remote sensing to obtain a water quality image sequence of the water area based on a location range and a preset first time interval, and inputs the water quality image sequence into an image prediction model based on a corresponding time series to generate a water quality prediction map of the water area at the prediction time.

[0099] The investigation and positioning module obtains the water quality change rate and location information of the water body containing black and odorous water characteristics in the water area based on the water quality prediction map, and recommends a manual investigation plan based on the water quality change rate and location information.

[0100] It should be understood that, although each step in the flow chart of each embodiment of the present invention is shown in sequence according to the indication of the arrow, these steps are not necessarily performed in sequence according to the order indicated by the arrow. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be performed in other orders. Moreover, at least a portion of the steps in each embodiment may include a plurality of sub-steps or a plurality of stages, and these sub-steps or stages are not necessarily performed at the same time, but can be performed at different times, and the execution order of these sub-steps or stages is not necessarily performed in sequence, but can be performed in turn or alternately with at least a portion of other steps or sub-steps or stages of other steps.

[0101] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the above-mentioned program can be stored in a non-volatile computer-readable storage medium. When the program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application may include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in various forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).

[0102] The technical features of the above-mentioned embodiments can be combined arbitrarily. In order to make the description concise, not all possible combinations of the technical features in the above-mentioned embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0103] The above embodiments only express several implementation methods of the present invention, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the patent of the present invention. It should be pointed out that, for those of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present invention, and these all belong to the protection scope of the present invention. Therefore, the protection scope of the patent of the present invention shall be subject to the attached claims.

[0104] The above are only preferred embodiments of the present invention and are not intended to limit the present invention. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the protection scope of the present invention.

Claims

1. A comprehensive method for checking black and odorous water bodies in arid and semi-arid areas, characterized in that: The method comprises the following steps: Satellite remote sensing locates the investigation area based on meteorological characteristics, wherein the meteorological characteristics include drought and semi-arid characteristics, and the unmanned aerial vehicle equipment sequentially acquires first images of the investigation area based on preset shooting angle intervals and generates a first image set, inputs the first image set into a classification model to classify and locate all target areas, defines the first image containing the target area in the first image set as a second image, and combines all second images into a second image set; The second images with adjacent shooting angles in the second image set are sequentially spliced ​​and combined to generate a plurality of complete images, all target areas in the complete images are obtained and set as water areas, and it is identified whether there is any occlusion at the edge of the water area. If not, the position range of the water area is obtained. If so, the type of occlusion between the water areas in the complete image is identified, and whether the water areas are connected based on the type of occlusion. If connected, the plurality of water areas are combined and expanded, and the position range of the water area is obtained. The satellite remote sensing obtains a water quality image sequence of the water area based on the position range and a preset first time interval, and inputs the water quality image sequence into an image prediction model based on a corresponding time series to generate a water quality prediction map of the water area at a prediction time; Based on the water quality prediction map, the water quality change rate V and location information containing black and odorous water characteristics in the water area are obtained, and a manual inspection plan is recommended based on the water quality change rate V and the location information; Among them, setting up a manual troubleshooting plan includes the following steps: Establish a severity level of black and odorous water bodies, obtain the distribution sub-areas and corresponding severity levels of the black and odorous water body characteristics in the water area based on the water quality change rate V and the severity level of the black and odorous water body, locate the longitude and latitude coordinates of the distribution sub-areas based on the location information of the water area, and send the predicted time, the severity and the longitude and latitude coordinates corresponding to the distribution sub-areas to the terminal to generate an inspection plan; Wherein, obtaining the water quality change rate V comprises the following steps: Obtain the planned distribution area and the corresponding population density of the screening area, obtain the location distance between the planned distribution area and the distribution sub-area, set the planned distribution area with the smallest location distance as the influence area of ​​the distribution sub-area, and set the population density corresponding to the influence area as the risk value of the distribution sub-area, and set the water area corresponding to the distribution sub-area with the risk value greater than or equal to a preset density threshold as a high-risk area, and the high-risk area includes densely populated areas and newly developed construction areas; The water quality change rate V is calculated based on the third formula, and the third formula is: ,in, and is the weight coefficient, m is the number of pixels contained in the distribution sub-region, t is the prediction time, is the pixel value of the j-th pixel point in the distribution sub-area of ​​the water quality prediction map, is the pixel value of the j-th pixel point in the distribution sub-area of ​​the last water quality distribution map of the water quality image sequence, is the risk value of the impact area corresponding to the distribution sub-area.

2. The method according to claim 1, characterized in that Acquiring the target area comprises the following steps: A water body label is set, a training data set is established based on the water body label, the classification model is generated based on the training data set, the first image set is input into the classification model, the classification model segments all the first images in the first image set to generate multiple first sub-regions, and identifies the first sub-region corresponding to the water body label, and sets the first sub-region corresponding to the water body label as the target area.

3. The method according to claim 1, characterized in that Generating the complete image comprises the following steps: Step 31: setting two second images adjacent to each other at any shooting angle in the second image set as images to be combined, respectively extracting first feature points of the images to be combined and setting them as target feature points, and calculating displacement vectors of the target feature points in the images to be combined; Step 32: setting a region frame, dividing the image to be combined into a plurality of second sub-regions based on the region frame, obtaining a vector similarity value of each second sub-region based on the displacement vector, setting a first number based on the size of the region frame, arranging the vector similarity values ​​in order from large to small, and selecting second sub-regions corresponding to the maximum vector similarity value in order based on the first number and setting them as edge regions, and aligning and splicing two second images in the image to be combined based on the same edge region to generate a combined image; Step 33: Obtain a second number of all second images with adjacent shooting angles in the second image set, repeat steps 31 and 32 based on the second number, align and splice the combined image with the remaining second images, and generate a plurality of the complete images.

4. The method according to claim 3, characterized in that Obtaining the vector similarity value of the second sub-region comprises the following steps: Calculate the displacement vector of the i-th target feature point in the adjacent images to be combined based on the first formula , the first formula is: ,in, and are respectively the spatial coordinates of the i-th target feature point matched in the adjacent images to be combined; The vector similarity value M is calculated based on a second formula, where the second formula is: , wherein n is the number of the target feature points contained in the second sub-region of the first second image in the image to be combined, is the displacement vector of the i-th target feature point in the second sub-region, It is the modulus operator symbol.

5. The method according to claim 1, characterized in that Identify whether there is occlusion at the edge of the water area based on the following steps: The edge pixel points and corresponding pixel values ​​of all the water areas in the complete image are respectively obtained, the shortest distance between the water areas is obtained, and the pixel points corresponding to the shortest distance are sequentially connected to generate a pixel connection line, and the pixel points of the water area are respectively extracted at the two end points of the pixel connection line based on a preset third quantity and are respectively set as a first pixel group and a second pixel group, and the average difference of the pixel values ​​corresponding to the first pixel group and the second pixel group is respectively obtained, and if the difference between the two average differences is less than or equal to a preset first threshold value, there is occlusion at the edge of the water area, otherwise, there is no occlusion at the edge of the water area.

6. The method according to claim 5, characterized in that Obtaining the location range of the water area includes the following steps: If the type of the obstruction is not a bridge type, it is determined that the water area is not connected, two comparison images corresponding to the complete image are obtained based on a preset second time interval, and are respectively defined as a first comparison image and a second comparison image, an image coordinate system is constructed, and pixel positions of the same water area in the first comparison image and the second comparison image are respectively obtained based on the image coordinate system, and the pixel positions contained in the water area in the two comparison images are superimposed and expanded so that a first area of ​​the water area composed of the pixel positions is the largest, and the largest first area is set as the position range of the water area; If the type of obstruction is the bridge type, the water areas are connected, and the minimum obstruction range contained in the bridge is obtained based on the image coordinate system, and the minimum obstruction range is set as the obstruction area, the edge pixel value of the water area connected to the bridge is obtained, the mode of the edge pixel values ​​is obtained, and the mode of the edge pixel values ​​is set as the pixel value of the obstruction area, the water area connected to the bridge and the obstruction area are combined and extended, and set as the location range of the water area.

7. The method according to claim 1, characterized in that The water quality prediction map is generated based on the following steps: The water quality image sequence includes a water quality distribution map and a corresponding time series of the same water area. The water quality distribution map refers to a spectral color image of the water area acquired by a remote sensing satellite. The image prediction model is a neural network model constructed by multiple neurons. The water quality distribution map is input into the image prediction model based on the time series. The image prediction model divides the water quality distribution map according to a preset shape and size based on the same pixel coordinates to generate a block sequence, and obtains a pixel value sequence of the block sequence. The image prediction model calculates a weight coefficient based on the pixel value sequence, and outputs a pixel prediction value of the block sequence based on the weight coefficient, and all the pixel prediction values ​​are combined based on the shape and size to generate the water quality prediction map.

8. A comprehensive investigation system for black and odorous water bodies in arid and semi-arid areas, used to implement the method according to any one of claims 1 to 7, characterized in that: The system includes the following modules: An image acquisition module, wherein satellite remote sensing locates the inspection area based on meteorological features, and the UAV equipment sequentially acquires first images of the inspection area based on preset shooting angle intervals and generates a first image set, inputs the first image set into a classification model to classify and locate all target areas, defines the first image in the first image set containing the target area as a second image, and combines all second images into a second image set; a water area positioning module, which sequentially stitches and combines the second images with adjacent shooting angles in the second image set to generate a plurality of complete images, obtains all target areas in the complete images and sets them as water areas, identifies whether there is any occlusion at the edge of the water area, and if not, obtains the position range of the water area; if so, identifies the type of occlusion between each of the water areas in the complete image, determines whether the water areas are connected based on the type of occlusion, and if connected, expands the combination of the plurality of water areas and obtains the position range of the water area; A water quality prediction module, wherein the satellite remote sensing obtains a water quality image sequence of the water area based on the position range and a preset first time interval, and inputs the water quality image sequence into an image prediction model based on a corresponding time series to generate a water quality prediction map of the water area at a prediction time; The inspection and positioning module obtains the water quality change rate V and location information containing black and odorous water characteristics in the water area based on the water quality prediction map, and recommends a manual inspection plan based on the water quality change rate V and the location information.

Citation Information

Patent Citations

  • A black and odorous water body remote sensing identification system and method

    CN113780071B

  • Rural black and odorous water investigation range delimiting method and device

    CN116403112A

  • Urban black and odorous water body monitoring method and device

    CN113436193A

  • Black and odorous water body identification method

    CN114913437A

  • Water body environment evaluation and prediction method and system based on deep learning

    CN117172430A