A river surface reconstruction method based on river network

Through the river water surface reconstruction method based on the river network, combined with the water body index method and mathematical morphology, the problems of fragmentation and flow interruption in river channel monitoring are solved, and efficient water surface data reconstruction is achieved, which is suitable for river hydrological analysis, especially in mountainous areas. Outstanding results.

CN118429554BActive Publication Date: 2024-10-15CHINA INST OF WATER RESOURCES & HYDROPOWER RES
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410449019.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-04-15
Publication Date
2024-10-15
Estimated Expiration
2044-04-15

AI Technical Summary

Technical Problem

The existing technology has problems such as low efficiency and poor real-time performance in river range monitoring. It is especially difficult to accurately locate the river channel boundary under extreme conditions, and the water surface extraction model results are fragmented due to reasons such as the same objects and different species, and the river section is cut off. There are spots and breaks, and there is a lack of effective water surface reconstruction methods.

Method used

The river water surface reconstruction method based on the river network is used to extract water surface data through the water body index method. It combines mathematical morphology and river network analysis to perform spatial connection, remove redundant patches and fill gaps to form complete river water surface data, improving reconstruction efficiency and accuracy.

Benefits of technology

It effectively removes redundant patches and reconstructs broken flows, which improves the integrity and accuracy of river water surface data. It is suitable for river-related hydrological analysis, especially in mountainous terrain, showing better applicability and effect.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118429554B_ABST
    Figure CN118429554B_ABST
Patent Text Reader

Abstract

The present invention discloses a river water surface reconstruction method based on a river network, including water surface extraction and river network extraction based on hydrological analysis; then the river water surface reconstruction based on mathematical morphology: that is, based on the extracted river network and water surface data, spatial connection is performed to identify the river network intersecting with the water surface; all river networks are searched and traversed and the spatial relationship is judged, the non-intersecting river networks and water surfaces are removed, and the redundant patches are removed to extract the effective river network; the effective river network and the water surface data containing gaps are merged and the gaps are filled using the mathematical morphology method to finally obtain the complete river water surface. The present invention combines the river network data extracted based on the hydrological analysis with the water surface data obtained by the water body index method to perform water surface reconstruction, while ensuring the water surface reconstruction effect, effectively improving the reconstruction effect. It can effectively remove redundant patches and reconstruct the interruption of flow. In addition, the river water surface is extracted in a targeted manner, which can be used for river-related hydrological analysis and water surface data monitoring when data is insufficient and covered by clouds.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of water conservancy engineering, and in particular to the technical field of river monitoring and river range monitoring, and specifically is a river water surface reconstruction method based on a river network. Background Art

[0002] The scope of the river channel is the basis of river monitoring. Currently, there is a lack of monitoring data on the scope of the river channel. Accurately locating the river channel boundary is an important part of river channel measurement. It has important application value for the judgment and monitoring of flood disasters, and is of great significance to water conservancy project construction, water resources development and utilization, and river water situation monitoring.

[0003] Traditional river monitoring and survey methods mainly rely on manual measurement. However, some areas are subject to unfavorable factors such as changeable climate, rugged roads and harsh geographical environment. Therefore, manual measurement methods have problems such as low efficiency and poor real-time performance. Especially under extreme conditions such as floods and rainstorms, it is difficult to ensure the monitoring of rivers. With the development of satellite remote sensing technology, earth science research such as hydrology has made breakthrough progress. Remote sensing technology has the unique advantage of being able to obtain all-round, multi-temporal, large-area river range, river width, water level and other information in a timely and stable manner. It has expanded the source of raw data in hydrology, provided a new technical and methodological framework for river monitoring, and can provide continuous river dynamic change information to relevant departments.

[0004] At present, the research on river channel extraction based on remote sensing is very extensive. Existing research mainly focuses on edge detection method, contour model segmentation method, neural network model, deep learning, etc. Existing research has found that the use of digital elevation model data (DEM) and river surface data in river channel extraction is insufficient. The method of extracting the river range based on water surface result data and DEM data has not been retrieved yet.

[0005] The present invention studies river channel extraction based on this direction. In the process of water surface extraction, it is found that the results calculated by the water surface extraction model method cause two common problems: fragmentation and flow interruption due to various reasons, such as: different spectra for the same object, dry flow in river sections, and small water flow. Therefore, the river channel range extraction research is realized based on water surface result data and DEM data. One of the important links is to first explore the method of water surface reconstruction. At present, research in this area is immature and there is a lot of room for improvement. Reducing workload, improving work results, and enhancing accuracy are all directions to be improved. Different water surface reconstruction methods generally have different terrain adaptability, which also requires further research. Summary of the invention

[0006] The purpose of the present invention is to provide a method for river water surface reconstruction based on a river network, to reconstruct the river water surface data extracted by a conventional index method, to connect the broken flow, to remove redundant debris, to form complete river water surface data, to ensure the water surface reconstruction effect while improving the reconstruction efficiency.

[0007] A river water surface reconstruction method based on a river network comprises the following steps:

[0008] Step 1: Water surface extraction: water surface extraction is performed on multispectral data and / or radar data using a water body index method to obtain water surface data;

[0009] Step 2: River network extraction based on hydrological analysis: Extract river networks based on DEM data and classify them (see the river network data structure diagram for details). Fig.17 ), using flow thresholds to distinguish rivers from non-rivers;

[0010] Step 3: Reconstruct river water surface based on mathematical morphology and river network: Specifically include the following steps: 3-1 Spatial connection to remove redundant patches and perform river network screening: Based on the river network extracted in step 2 and the water surface data obtained in step 1, perform spatial connection to identify the river network intersecting with the water surface; search and traverse all river networks and determine the spatial relationship between river networks and water surface patches at all levels, remove non-intersecting river networks and water surfaces, qualitatively remove redundant patches, and extract effective river networks (see the technical route for details). Fig.14 , 15 ) and water surface data; the water surface data has different situations of interruption, that is, it contains gaps (see Figure 1 );

[0011] 3-2 Based on the effective river network and water surface data obtained in step 3-1, the mathematical morphology method is used to merge and fill the gaps (i.e., the broken flow) to finally obtain the complete river water surface; the gap filling refers to the gaps in the broken flow, and the effect is shown in Figure 1 .

[0012] Furthermore, the water index method in step 1 includes a normalized water index method and a bipolarized water index method; the normalized water index calculation formula is as follows:

[0013]

[0014] Where: NDWI is the normalized water index, GREEN is the green light band reflectance, and NIR is the near infrared band reflectance;

[0015] The dual polarization water index method has the following formula:

[0016] K SDWI =ln(10*VV*VH)

[0017] Where: K SDWIIndicates the result value of band operation, VV and VH represent Sentinel-1 dual-polarization data;

[0018] Furthermore, in step 1, the threshold segmentation is performed using the OTSU algorithm.

[0019] Furthermore, in step 1, the water surface extraction result is processed by dilation and erosion to process these redundant patches and single ground object raster vectorization, the input is the raster data of the water surface result, and the output is vector data; the parameters include: the minimum number of pixels of the ground object patch, the patches greater than the specified number of pixels are regarded as the water surface area; the gap radius, the gaps less than the specified radius will be initially filled. Among them, the morphological erosion and dilation operation is a set operation, which is a pure digital transformation. This makes the morphological operation into an algebraic operation and simplifies the abstract image transformation process. Both the erosion operation and the dilation operation have translation invariance. The dilation operation is to translate the image first, and then use the experimentally given structural element probe to dilate the image. This process is reversible. In mathematical morphological image processing, opening and closing operations are the main operations and transformations in mathematical morphology. Mathematical morphology is the basic theory of mathematical morphological image processing. Erosion and dilation are two basic operators. The comprehensive use of erosion and dilation can realize other image operations such as opening and closing operations. Among them: ① Erosion causes the boundary to shrink inward; ② Dilation causes the boundary to expand outward.

[0020] The process of B corroding A and then dilating A is called opening operation. Corrosion first and then dilation is used to eliminate broken spots. A is the input image, B is the structural element, and B is used to perform opening operation on A. The symbol It is represented as follows:

[0021]

[0022] The closing operation, which is expansion followed by corrosion, is used to connect the disconnected flow. The closing operation is the dual of the opening operation and is the opposite of the opening operation. The closing operation of B on A can be expressed as A·B, that is,

[0023]

[0024] Usually due to the influence of noise, the boundary of the image after thresholding is often not smooth, the object area has some noise holes, and the background area is scattered with some small noise objects. The water surface extraction results also have the same problem. This study uses dilation and erosion to preliminarily process these redundant patches and interruptions, and preliminarily reconstruct the areas with smaller interruption gaps.

[0025] Furthermore, in step 2, the input is DEM data (.tif), the output is river network vector data (.shp), and the watershed area is set according to the situation in the study area.

[0026] Furthermore, the mathematical morphology method described in step three 3-2 includes expansion and erosion, opening operation and closing operation.

[0027] Furthermore, in step 3-2, a corresponding connection algorithm is generated according to different discontinuity conditions; for the broken spots and various forms of interruption that cannot be qualitatively removed, a gap construction algorithm is used to connect and reconstruct the interruption water surface using a river network or multiple line segments (manually drawn), where the width of the gap river section is calculated by the average river width of the river sections at both ends, where the average river width calculation formula of the river sections at both ends is as follows:

[0028]

[0029] Where: W: width of the river section; S: area of ​​the river section; L: perimeter of the river section; the sum of the areas S1+S2 of the river sections at both ends is S, and the sum of the perimeters L1+L2 of the river sections at both ends is L.

[0030] The advantages and beneficial effects of the present invention are:

[0031] The present invention combines river network data extracted based on hydrological analysis with water surface data obtained by water body index method to reconstruct water surface, which ensures the water surface reconstruction effect and effectively improves the reconstruction efficiency. It can effectively remove redundant patches and reconstruct interrupted flow. In addition, the river water surface is extracted in a targeted manner, which can be used for subsequent river-related hydrological analysis. BRIEF DESCRIPTION OF THE DRAWINGS

[0032] The present invention will be further described below in conjunction with the accompanying drawings and embodiments.

[0033] Figure 1 The situation of the cut-off water surface and the effect of reconstruction;

[0034] Figure 2 This is the result map of the Dawen River network extraction: Figure 2 (a) is the overall river network extraction result. Figure 2 (b) Figure 2 (c) is the local extraction result of the river network;

[0035] Figure 3 is the multi-segment feature of Dawen River: Figure 3 (a) is the overall multi-line segment extraction result. Figure 3 (b) Figure 3 (c) is the local extraction result of multi-line segments;

[0036] Figure 4 This is the GF-1 water surface extraction result map of the Dawen River Basin;

[0037] Figure 5 Reconstruction of the water surface of the GF-1 river network in the Dawen River Basin;

[0038] Figure 6 It is the multi-segment water surface reconstruction of GF-1 in Dawen River Basin;

[0039] Figure 7 The rendering of the reconstruction of the Dawen River surface: Figure 7 (a1) is the water surface extraction result, Figure 7 (a2) is the water surface reconstruction result based on the river network: Figure 7 (a3) is the water surface reconstruction result of the multi-segment connection method.

[0040] Figure 8 Extraction map of the river network in the upper Huaihe River study area: Figure 8 (a) is the overall river network extraction result. Figure 8 (b) Figure 8 (c) is the local extraction result of the river network;

[0041] Fig. 9 It is a multi-segment feature of the upper reaches of the Huaihe River. Fig. 9 (a) is the overall multi-line segment extraction result. Fig. 9 (b) Fig. 9 (c) is the local result of multi-segment elements;

[0042] Fig.10 Extract data for the GF-1 water surface in the upper reaches of the Huaihe River;

[0043] Fig.11 This is the result of GF-1 river network water surface reconstruction in the upper reaches of Huaihe River;

[0044] Fig.12 This is the result of GF-1 multi-segment water surface reconstruction in the upper reaches of the Huaihe River;

[0045] Fig.13 The rendering of the reconstruction of the upper reaches of the Huaihe River: Fig.13 (a1), Fig.13 (b1) is the water surface result extracted by the water index method; Fig.13 (a2), Fig.13 (b2) is the result of river network water surface reconstruction; Fig.13 (a3), Fig.13 (b3) is the water surface reconstruction result using the direct line method;

[0046] Fig.14 A technical roadmap for river surface reconstruction;

[0047] Fig.15 River network screening and plaque removal technology roadmap;

[0048] Fig.16 This is a diagram illustrating the calculation of the average river width of a river section;

[0049] Fig.17 Schematic diagram of the river network map data structure. DETAILED DESCRIPTION

[0050] The present invention provides a river surface reconstruction method based on a river network. The Dawen River Basin and the Huai River Basin are selected as the research areas in the embodiment. The Dawen River Basin is a river with evenly distributed hills, plains and mountains, so its plain area is selected as the research object; the Huai River is a very important river in the eastern and central regions of my country, and its upper reaches are mountainous, so the upper reaches of the Huai River are selected as the research object.

[0051] The available data include digital elevation model data (DEM), GF-1-WFV data, Sentinel-1 data, and Sentinel-2 data, as shown in Table 1. The DEM data with various resolutions (12.5m, 5m) are from the Geospatial Data Cloud (Geospatial Data Cloud (gscloud.cn)); the GF-1-WFV optical multispectral image is from the Resource Satellite Center (http: / / www.cresda.com / CN / ); the Sentinel-1 data and Sentinel-2 water surface data are downloaded from the GEE platform (https: / / code.earthengine.google.com / ).

[0052] Table 1. Remote sensing data sources and information

[0053]

[0054] GF-1WFV 16m multispectral data preprocessing: GF-1WFV 16m data in the flood season from June to September 2022 in the study area were downloaded from the China Resources Satellite Application Center, and preprocessing such as orthorectification, radiation calibration, atmospheric correction, geometric correction, mosaicking, and cropping were performed to eliminate interference information for subsequent river water surface extraction.

[0055] Sentinel-1 data download and processing: Based on the GEE (Google Earth Engine) platform, download the Level-1 data (including VV and VH bands) in GRDH format in the interferometric wideswath (IW, used to observe land) imaging mode of Sentinel-1 data in the flood season from June to September 2022 in the study area. GEE officials have preprocessed the Sentinel-1 data, mainly including: updating orbit metadata using orbit files, eliminating GRD boundary noise, eliminating thermal noise, radiometric calibration, and terrain correction (orthorectification). Therefore, the data can be directly used on this platform to calculate the corresponding water body index (SDWI).

[0056] Download and process Sentinel-2 data: Based on the GEE platform, four bands (B2, B3, B4, and B8) of Sentinel-2 data for water surface extraction in the study area during the flood season from June to September 2022 were downloaded. GEE officials also preprocessed the Sentinel-2 data, so the data can be directly used on the platform to calculate the corresponding water body index (NDWI).

[0057] Preprocessing of DEM data: In addition to basic processing such as clipping and mosaicking, the quality of raster data varies greatly due to the variety of ways to obtain raster data. Some raster data of poor quality contain a large number of "noise" pixels, that is, when expressing the same type of geographic elements, the values ​​of individual pixels are inconsistent with the surrounding pixels. The existence of noisy raster pixels in the data brings great inconvenience to the use and analysis of the data. Therefore, DEM data is preprocessed by focus statistics, filtering, etc. to eliminate interference data. These tools can highlight the boundaries of elements while removing interference data, sharpen the edges of objects, minimize the degree of damage to the spatial pattern of pixels, and smooth the edges of regions.

[0058] The present invention specifically comprises the following steps:

[0059] Step 1: Water surface extraction: Use the water index method to extract water surface from multispectral data and radar data to obtain water surface data;

[0060] The water surface index method includes the normalized water index method and the bipolar water index method; the normalized water index calculation formula is as follows:

[0061]

[0062] In the formula: NDWI is the normalized water index, GREEN is the reflectance of the green band, and NIR is the reflectance of the near infrared band. The input of the normalized water surface index method is the green band and near infrared band of the preprocessed multispectral image, which is raster data, and the output is water surface raster data.

[0063] The dual polarization water surface index method has the following formula:

[0064] K SDWI =ln(10*VV*VH)

[0065] Where: K SDWI Represents the result value of band operation, VV and VH represent Sentinel-1 dual-polarization data; the dual-polarization water surface index method is used as the input of the HV and HH bands of the preprocessed radar data, which is raster data, and the output is water surface raster data, which is subsequently converted into vectors using conversion tools.

[0066] Threshold segmentation is performed using the OTSU algorithm.

[0067] The water surface extraction results are processed by dilation and erosion to process these redundant patches and single ground object raster vectorization. The input is the raster data of the water surface result, and the output is vector data. The parameters include: the minimum number of pixels of the ground object patch. The patches with more than the specified number of pixels are regarded as water surface areas. For example, the patches with less than 300 pixels will be regarded as noise patches and removed; the island radius, for the patches with less than the number of pixels of the water surface patch, further removal is performed. When the parameter is 1, it is a 3*3 pixel block, when the parameter is 2, it is a 5*5 pixel block, and when the parameter is 3, it is a 7*7 pixel block. The pixel blocks smaller than the specified radius will be removed; the gap radius, the gap radius, when the parameter is 1, it is a 3*3 gap, when the parameter is 2, it is a 5*5 gap, and when the parameter is 3, it is a 7*7 gap. The gaps smaller than the specified radius will be filled.

[0068] Step 2: River network extraction based on hydrological analysis: Extract river networks based on DEM data and classify them, and use flow thresholds to distinguish rivers from non-rivers; river network analysis can qualitatively determine river paths, and its functions are: 1) Identify non-water surfaces and further remove debris through spatial connections; 2) Connect broken flows, which can be used as a basis for filling gaps. River network extraction can be performed based on ArcGIS software. In this step, the input is DEM data (.tif), and the output is river network vector data (.shp). The watershed area is set according to the situation in the study area, and the specific steps include the following:

[0069] 2-1 Filling depressions: Fill the depressions in the DEM data to create a DEM without depressions. The input data in this step is DEM data in .tif format.

[0070] 2-2 Flow direction: Input the DEM without sink points in step 2-2, and the output result is the flow direction raster;

[0071] 2-3 Flow statistics: accumulate the total number of each flow direction grid; input the grid data of flow direction analysis results, and set the output flow statistics grid (.tif);

[0072] 2-4 Flow threshold calculation: Flow threshold calculation is shown in the following formula:

[0073]

[0074] The pixel is the pixel of the input DEM raster data;

[0075] 2-5 classification: define rivers according to flow, use conditional functions, and perform threshold segmentation to distinguish rivers from non-rivers;

[0076] 2-6 River network classification: classify the river network;

[0077] 2-7 River network vectorization: Raster to vector tool, converts river network into line vector (.shp).

[0078] Step 3: River surface reconstruction based on mathematical morphology: Fig.14 , 15 Specifically, the following steps are included: 3-1 Spatial connection to remove redundant patches and perform river network screening: Based on the river network extraction data obtained in step 2 and the water surface data obtained in step 1, perform spatial connection to identify the river network intersecting with the water surface; search and traverse all river networks and determine the spatial relationship, remove non-intersecting river networks and water surfaces, remove redundant patches, and extract effective river networks and water surface data containing gaps;

[0079] 3-2 Based on the effective river network and its water surface data obtained in step 3-1, the mathematical morphology method is used to merge and fill the gaps to finally obtain the complete river water surface; the gap filling includes filling the gaps at the interruption of flow and filling the gaps at the intersection.

[0080] Mathematical morphology includes expansion and erosion, opening and closing operations. In this step, the corresponding connection algorithm is generated according to different discontinuities; for the debris and various forms of interruptions that cannot be qualitatively removed, the gap construction algorithm is used, in which the width of the gap section is calculated by the average width of the sections at both ends, and the average width of the sections at both ends is calculated as follows:

[0081]

[0082] Where: w: river section width; S: river section area; L: river section circumference.

[0083] like Fig.16 As shown, the dotted part is the gap river section, the sum of the areas of the river sections at both ends (S1+S2) is S, and the sum of the perimeters of the river sections at both ends (L1+L2) is L.

[0084] The specific embodiment of the present invention selects the flood season GF-1 data results to conduct a comparative experiment on water surface extraction and reconstruction methods, and compares the river water surface reconstruction method based on the river network of the present invention with the water surface reconstruction method based on the direct connection method of mathematical morphology. The river network extraction of the Dawen River and the upper reaches of the Huaihe River is carried out using 12.5mDEM.

[0085] The river surface reconstruction by direct line connection method is relatively more reliable. However, since multi-line elements need to be drawn manually, it is not as convenient as river network extraction, consumes a lot of manpower and time, is similar to manual operation, and is very inefficient. For rivers like the Dawen River, where the water surface is always a trickle, or even has long sections of dry river, the effectiveness of this method will also be reduced.

[0086] The method of river surface reconstruction using the direct line method is as follows:

[0087] Direct connection water surface reconstruction is also based on mathematical morphology. The difference from the water surface reconstruction method based on river network is that multi-line elements need to be drawn manually, and then the patches are directly removed and the flow gaps are constructed. The specific steps include:

[0088] (1) Spatial analysis to remove unnecessary patches;

[0089] (2) Fill the indirect connection interruption gap.

[0090] Example 1

[0091] Based on the 12.5m resolution digital elevation model data (DEM) and hydrological analysis, the river network of the Dawen River Basin was extracted. The extraction results are shown in Figure 2 For multi-line data on disconnection, see Figure 3 Although there are some deviations Figure 2 (b) and (c), but the general direction of the river network is consistent with the actual river direction.

[0092] GF1 water surface extraction results (such as Figure 4 ), it can be seen that there are many broken patches and some interrupted flows. From the results of water surface reconstruction using river network data (such as Figure 5 ) and the results of water surface reconstruction using polyline segments (such as Figure 6 ) It can be clearly seen that both methods are very effective in removing redundant patches, but they are time-consuming when drawing multi-segment features, and errors and omissions are inevitable in the visual judgment process of the drawing, which are not suitable for the reconstruction of water surface data in a large area of ​​the basin.

[0093] The detailed extraction results of the two methods are shown in Figure 7 , water surface reconstruction by direct line method Figure 7 (a2), while the water surface reconstruction method based on river network extraction can be found in Figure 7 (a3). Both reconstruction methods have certain deviations. When the direct connection method is used to reconstruct the water surface, the multi-line elements that conform to the actual river cannot be determined due to the long dry area. As a result, when reconstructing the water surface, the dry area cannot be effectively reconstructed. The deviation of river network reconstruction is mainly caused by the deviation between the results of river network extraction and the actual river channel (such as Figure 5 ). It can be seen from the results of the river network reconstruction method that due to the inaccuracy of the river network, the water surface data of the actual river will be removed as patches during the water surface reconstruction process because it does not intersect with the river network in spatial position, and the patches intersecting with the wrong river network will be used as river surface data for water surface reconstruction, connecting to form a false river. Therefore, if the accuracy of river network extraction is improved, the water surface reconstruction method based on river network extraction is still very applicable and has a strong development prospect.

[0094] Example 2

[0095] Based on the 12.5m resolution digital elevation model data (DEM) and hydrological analysis, the river network of the upper reaches of the Huaihe River was extracted. The extraction results are shown in Figure 8 , for the multi-line segment data with broken flow, such as Fig. 9 It can be seen from the results that the results of river network extraction in mountainous areas are basically consistent with the actual geographical location and direction of the rivers, and there are fewer false rivers, which is obviously better than the river network extraction results in the plain area (Dawen River Basin).

[0096] The water surface extraction and reconstruction results of GF-1 in the upper reaches of the Huaihe River (such as Figures 10-12 ) shows that the water surface reconstruction effect in the mountainous area of ​​the upper reaches of the Huaihe River based on river network extraction is very good, without interruption, and the effect is similar to that of the multi-segment direct connection method, which can be further improved to improve the effect of removing patches. The water surface reconstruction effect based on the river network here is significantly better than that based on the river network in the Dawen River Basin. It can be seen that the effect of this method is highly correlated with the river network extraction results, and the effect of using it in mountainous areas is better than that in plains.

[0097] Detailed pictures of the reconstruction of the water surface of the upper Huaihe River can be found at Fig.13 The results show that the pseudo-rivers extracted from the river network based on hydrological analysis have a great impact on the water surface reconstruction results. Improving this will be more conducive to the water surface reconstruction effect based on river network extraction. The water surface reconstruction method based on river network has strong applicability and has great room for development.

[0098] In the implementation mode of the present invention, the river water surface reconstruction method based on the river network of the present invention is compared with the direct connection water surface reconstruction method. And the method experiments and comparisons are carried out based on the water surface extraction data of the Dawen River and the upper reaches of the Huaihe River. The results show that the water surface reconstruction method based on the river network of the present invention has a good removal effect on the debris extracted from the water surface, and the water surface reconstruction effect is good; the extraction results of the water surface reconstruction method based on the river network of the present invention are currently greatly affected by the terrain factors. This method has better suitability in mountainous areas, and can also reconstruct the water surface well for river sections with long dry-up periods. Compared with the direct connection water surface reconstruction method, it can better solve the problem of dry-up periods in long river sections, and does not require manual drawing, has a smaller workload, and greatly improves the work effect.

[0099] Finally, it should be noted that the above is only used to illustrate the technical solution of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the preferred arrangement scheme, a person skilled in the art should understand that the technical solution of the present invention may be modified or replaced by equivalents without departing from the spirit and scope of the technical solution of the present invention.

Claims

1. A river surface reconstruction method based on a river network, characterized in that: The following steps are involved: Step 1: Water surface extraction: water surface extraction is performed on multispectral data and / or radar data using a water body index method to obtain water surface data; Step 2: River network extraction based on hydrological analysis: Extract river networks based on DEM data and classify them, using flow thresholds to distinguish rivers from non-rivers; the input is DEM data, the output is river network vector data, and the watershed area is set according to the conditions of the study area; The specific steps include: 2-1 Filling depressions: Fill the depressions in the DEM data to create a DEM without depressions. The input data in this step is DEM data in .tif format. 2-2 Flow direction: Input the DEM without sink points in step 2-2, and the output result is the flow direction raster; 2-3 Flow statistics: accumulate the total number of each flow direction grid; input the grid data of flow direction analysis results, and set the output flow statistics grid; 2-4 Flow threshold calculation: Flow threshold calculation is shown in the following formula: The pixel is the pixel of the input DEM raster data; 2-5 classification: define rivers according to flow, use conditional functions, and perform threshold segmentation to distinguish rivers from non-rivers; 2-6 River network classification: classify the river network; 2-7 River network vectorization: raster to vector tool, convert river network into line vector; Step 3: Reconstruct river surface based on mathematical morphology and river network: The specific steps include: 3-1 Spatial connection to remove redundant patches and screen river networks: Based on the river network extracted in step 2 and the water surface data obtained in step 1, perform spatial connection to identify the river network that intersects with the water surface; search and traverse all river networks and determine the spatial relationship, remove non-intersecting river networks and water surfaces, remove redundant patches, and extract effective river networks and water surface data containing gaps; 3-2 Based on the effective river network and water surface data obtained in step 3-1, the mathematical morphology method is used to merge and fill the gaps to finally obtain the complete river water surface; the corresponding connection algorithm is generated according to different discontinuity conditions; for the broken spots and various forms of interruptions that cannot be qualitatively removed, the gap construction algorithm is used to connect and reconstruct the interruption water surface using the river network or multiple line segments, where the width of the gap river section is calculated by the average river width of the river sections at both ends. The calculation formula for the average river width of the river sections at both ends is as follows: Where: W: width of the river section; S: area of ​​the river section; L: perimeter of the river section; the sum of the areas S1+S2 of the river sections at both ends is S, and the sum of the perimeters L1+L2 of the river sections at both ends is L.

2. The river surface reconstruction method based on river network according to claim 1 is characterized in that: The water index method in step 1 includes a normalized water index method and a bipolar water index method; the normalized water index calculation formula is as follows: Where: NDWI is the normalized water index, GREEN is the green light band reflectance, and NIR is the near infrared band reflectance; The dual polarization water index method has the following formula: K SDWI =ln(10*VV*VH) Where: K SDWI Indicates the result value of the band operation. VV and VH represent Sentinel-1 dual-polarization data.

3. The river surface reconstruction method based on river network according to claim 2 is characterized in that: In step 1, the water surface extraction result is processed by dilation and erosion to process redundant patches and single ground objects such as interrupted flow, and the input is the raster data of the water surface result, and the output is vector data; The parameters include: the minimum number of pixels in the ground patch, patches with a number of pixels greater than the specified number are considered as water surface areas; gap radius, gaps smaller than the specified radius will be filled.

4. The river surface reconstruction method based on river network according to claim 1 is characterized in that: The mathematical morphology method described in step three 3-2 includes expansion and erosion, opening operation and closing operation.