Water body range determination method and device and electronic equipment

Through dual-polarization synthetic aperture radar SAR images and region growing algorithm, the problem of inaccurate water body range determination in flood disaster monitoring is solved, and more accurate and rapid water body range identification is achieved, which is suitable for flood disaster emergency monitoring.

CN118566924APending Publication Date: 2024-08-30STATE GRID BEIJING ELECTRIC POWER CO +2
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202410691413.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-30
Publication Date
2024-08-30

AI Technical Summary

Technical Problem

In the current flood disaster monitoring, the water body range is inaccurately determined, and it is difficult to balance the accuracy and timeliness of the results. Especially under environmental heterogeneity conditions, the threshold method is prone to misjudgment, and the classifier method is long and costly to train. High, it is difficult to meet the needs of large-scale rapid monitoring.

Method used

Dual-polarization synthetic aperture radar SAR images are used to obtain the dual-polarization water index and objective function to roughly extract the water body and determine the growth seed points. Combined with texture features and digital terrain model data, the region growing algorithm is used to gradually expand the scope of the water body. Eliminate misidentified areas and achieve more accurate determination of water body range.

Benefits of technology

It improves the accuracy and timeliness of determining the scope of water bodies, reduces the impact of noise and mountain shadows, reduces training costs, meets the needs for rapid monitoring of large-scale floods, and is suitable for emergency monitoring of flood disasters.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118566924A
    Figure CN118566924A
Patent Text Reader

Abstract

The invention discloses a water body range determination method and device and electronic equipment. The method comprises the following steps: acquiring a dual-polarization synthetic aperture radar SAR image of a predetermined area; dual-polarized water body indexes corresponding to a plurality of pixel points in the dual-polarized SAR image are determined, and a target function corresponding to the dual-polarized SAR image is determined, and the target function is a function used for determining a water body area; performing water body crude extraction according to the dual-polarization water body indexes respectively corresponding to the plurality of pixel points to obtain an initial water body range result; determining a growth seed point according to the initial water body range result; and determining a target water body extraction result of the predetermined area according to the growth seed point and the target function. According to the method and the device, the technical problem that the determined range is inaccurate when the water body range is determined in the prior art is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of data processing, and in particular to a method, device and electronic equipment for determining a water body range. Background Art

[0002] Flood disasters are one of the most frequent natural disasters today. Due to their wide impact range and great losses, they often pose a serious threat to the national economy and the safety of people's lives and property.

[0003] With the development of remote sensing technology, remote sensing images, with their fast speed, strong timeliness, and large-scale repeated observations, provide important means and data support for flood information acquisition. Remote sensing flood detection mainly uses optical images and radar images. Optical remote sensing has a short wavelength and is easily affected by weather such as clouds, rain, and haze. It is difficult for sensors to accurately obtain clear images of disaster areas. In comparison, the synthetic aperture radar system has a longer operating band, can penetrate clouds, is less affected by weather conditions and light levels, can be imaged under low visibility meteorological conditions, has all-weather and all-day working capabilities, and has become a hot spot for remote sensing flood detection today.

[0004] At present, the main methods for SAR image flood monitoring are threshold method and classifier method. The classifier method is mainly based on machine learning. Although the machine learning method has high recognition accuracy, the results are limited by the selection of features, and the process of training samples and models will take a long time, which is difficult to meet the needs of rapid monitoring of large-scale floods. The advantage of the threshold method is that the method is simple and fast, which can meet emergency needs, but it is often easily affected by environmental heterogeneity, resulting in misjudgment of water bodies. Therefore, balancing the accuracy and timeliness of the results in flood emergency disaster monitoring and improving the applicability of flood monitoring results has become a problem that needs to be solved.

[0005] To address the above-mentioned problems, no effective solution has been proposed yet. Summary of the invention

[0006] The embodiments of the present invention provide a method, device and electronic device for determining a water body range, so as to at least solve the technical problem that when determining a water body range in the related art, the determined range is inaccurate.

[0007] According to one aspect of an embodiment of the present invention, a method for determining a water body range is provided, comprising: acquiring a dual-polarization synthetic aperture radar (SAR) image of a predetermined area; determining dual-polarization water body indices corresponding to a plurality of pixel points in the dual-polarization SAR image, and determining a target function corresponding to the dual-polarization SAR image, wherein the target function is a function for determining a water body area; performing rough water body extraction based on the dual-polarization water body indices corresponding to the plurality of pixel points to obtain an initial water body range result; determining a growth seed point based on the initial water body range result; and determining a target water body extraction result for the predetermined area based on the growth seed point and the target function.

[0008] Optionally, determining the objective function corresponding to the dual-polarized SAR image includes: determining a texture feature matrix corresponding to the dual-polarized SAR image; determining a texture feature distance and a spatial distance between predetermined elements in the texture feature matrix; and determining the objective function based on the texture feature distance and the spatial distance.

[0009] Optionally, the target water body extraction result of the predetermined area is determined based on the growth seed point and the objective function, including: determining the threshold value corresponding to the growth seed point when the maximum value of the objective function is determined; expanding outward with the growth seed point as the origin, and when expanding to the next pixel point, comparing the pixel point parameter corresponding to the next pixel point with the threshold to obtain the comparison result corresponding to the next pixel point, until the comparison results corresponding to the multiple pixel points are obtained; and determining the target water body extraction result based on the comparison results corresponding to the multiple pixel points.

[0010] Optionally, obtaining a dual-polarization synthetic aperture radar SAR image of a predetermined area includes: obtaining remote sensing data of the predetermined area; performing horizontal polarization processing and horizontal and vertical polarization processing on the remote sensing data to obtain the dual-polarization SAR image, wherein the horizontal polarization processing is a processing in which both the radar transmitting and receiving antennas are polarized in the horizontal direction, and the vertical polarization processing is a processing in which the radar transmitting is polarized in the horizontal direction and the receiving antenna is polarized in the vertical direction.

[0011] Optionally, determining the target water body extraction result of the predetermined area based on the growth seed point and the objective function includes: determining the water body extraction result to be processed in the predetermined area based on the growth seed point and the objective function; acquiring digital terrain model data of the predetermined area; and eliminating misidentified areas in the water body extraction result to be processed by combining a morphological open-then-close operation and the digital terrain model data to obtain the target water body extraction result, wherein the misidentified area includes at least one of the following: an island area and a mountain shadow area.

[0012] Optionally, determining growth seed points based on the initial water body range result includes: determining the dual-polarization water body index variance and the central pixel gradient amplitude corresponding to the dual-polarization SAR image based on the initial water body range result; and determining the growth seed points using the nearest mean point method based on the dual-polarization water body index variance and the central pixel gradient amplitude as constraints.

[0013] Optionally, determining growth seed points according to the initial water body range result includes: dividing the dual-polarization SAR image into multiple sub-areas, and determining growth seed points corresponding to the multiple sub-areas respectively according to the initial water body range result.

[0014] According to one aspect of an embodiment of the present invention, a water body range determination device is provided, comprising: an acquisition module, used to acquire a dual-polarization synthetic aperture radar SAR image of a predetermined area; a first determination module, used to determine dual-polarization water body indices corresponding to multiple pixel points in the dual-polarization SAR image, and determine an objective function corresponding to the dual-polarization SAR image, wherein the objective function is a function for determining a water body area; a second determination module, used to perform coarse water body extraction based on the dual-polarization water body indices corresponding to the multiple pixel points, to obtain an initial water body range result; a third determination module, used to determine a growth seed point based on the initial water body range result; and a fourth determination module, used to determine a target water body extraction result of the predetermined area based on the growth seed point and the objective function.

[0015] According to one aspect of an embodiment of the present invention, there is provided an electronic device, comprising: a processor; and a memory for storing instructions executable by the processor; wherein the processor is configured to execute the instructions to implement any of the above-described methods for determining a water body range.

[0016] According to one aspect of an embodiment of the present invention, a computer-readable storage medium is provided. When instructions in the computer-readable storage medium are executed by a processor of an electronic device, the electronic device is enabled to execute any of the above-mentioned methods for determining a water body range.

[0017] In an embodiment of the present invention, a dual-polarization synthetic aperture radar SAR image of a predetermined area is obtained. The dual-polarization water body indexes corresponding to a plurality of pixel points in the dual-polarization SAR image are determined, and the objective function corresponding to the dual-polarization SAR image is determined, wherein the objective function is a function for determining the water body area. According to the dual-polarization water body indexes corresponding to the plurality of pixel points, a rough water body extraction is performed to obtain an initial water body range result. According to the initial water body range result, a growth seed point is determined. According to the growth seed point and the objective function, a target water body extraction result of the predetermined area is determined. In this embodiment, a dual-polarization synthetic aperture radar SAR image is used, which can simultaneously transmit and receive two electromagnetic waves of different polarizations (such as horizontal polarization and vertical polarization) to obtain reflection information of the ground or target area. This technology can provide richer ground object information and improve the image interpretation capability and target recognition accuracy. The dual-polarization water body index of each pixel point is also determined, and the difference between the water body and other ground objects is reflected by the index, so as to more accurately identify and extract water body information. By growing seed points and combining the objective function, starting from the growing seed points, the algorithm gradually diffuses to the surrounding areas, finds and merges pixels with similar properties, and then accurately determines the range of the water body. This solves the technical problem of inaccurate range determination in related technologies. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] The drawings described herein are used to provide a further understanding of the present invention and constitute a part of this application. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the drawings:

[0019] Figure 1 is a flow chart of a method for determining a water body range according to an embodiment of the present invention;

[0020] Figure 2 A flowchart of a method for extracting flood range from dual-polarization SAR images based on a local optimal region growing algorithm provided in an optional embodiment of the present invention;

[0021] Figure 3 A schematic diagram of the structure of a dual-polarization SAR image flood range extraction device based on a local optimal region growing algorithm provided in an optional embodiment of the present invention;

[0022] Figure 4 The original SAR image of a lake area in the example, the Otsu threshold segmentation extraction result, the extraction result of the method proposed in this example, and the schematic diagram of the final result after optimization;

[0023] Figure 5 The original SAR image of a mountain water body in the example, the Otsu threshold segmentation extraction result, the extraction result of the method proposed in this example and the schematic diagram of the final result after optimization;

[0024] Figure 6 The original SAR image of a river area in the example, the Otsu threshold segmentation extraction result, the extraction result of the method proposed in this example and the schematic diagram of the final result after optimization;

[0025] Figure 7 4 is a structural block diagram of a device for determining a water body range according to an embodiment of the present invention. DETAILED DESCRIPTION

[0026] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.

[0027] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0028] The following is an explanation of the terms mentioned in this application:

[0029] Otsu threshold: usually refers to the threshold in an image threshold segmentation method, also known as Otsu's method. This method was proposed by Japanese scholar Nobuyuki Otsu in 1979 to automatically determine the optimal threshold of an image to segment the image into background and foreground. Otsu's method is based on the grayscale histogram of the image and determines the optimal threshold by maximizing the inter-class variance, so that the difference between the two parts after segmentation is maximized. This method is usually used for binarization operations in image processing, which can effectively separate the target from the background in the image.

[0030] DTM data: It is the abbreviation of Digital Terrain Model, which is a digital model used to describe the surface terrain features. DTM data usually contains the height information of the terrain, which can be used to analyze the terrain features such as undulation, slope, elevation, etc. DTM data is widely used in geographic information systems (GIS), land planning, water resources management, environmental protection and other fields.

[0031] DWI variance: refers to the difference in signal intensity between different pixels or regions in Diffusion Weighted Imaging (DWI). In DWI, the diffusion rate of water molecules is used to depict tissue structure and lesions. DWI variance can reflect the diffusion properties and morphological characteristics of different tissues or regions, which is of great significance for diagnosing diseases and evaluating treatment effects. The larger the DWI variance, the greater the difference in diffusion properties between different tissues or regions.

[0032] DEM data: It is the abbreviation of Digital Elevation Model, which is a data format commonly used in Geographic Information System (GIS). DEM data is a numerical terrain surface model that describes the elevation information of the surface in three-dimensional space, usually represented in the form of raster or point cloud. DEM data can be used to analyze terrain, landforms, hydrology and other geographic processes, and is an important basic data for many geographic analysis and spatial modeling applications.

[0033] SLC format data: is a format for storing and transmitting data. It is a simple text format, commonly used to store and exchange geospatial data. SLC format data usually contains a series of rows and columns, each row represents a data record, and each column represents a data field. This format is commonly used to store remote sensing data, geographic information system data, terrain data, etc. SLC format data can be easily read and parsed and is suitable for many different applications.

[0034] Example 1

[0035] According to an embodiment of the present invention, an embodiment of a method for determining a water body range is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.

[0036] Figure 1 is a flow chart of a method for determining a water body range according to an embodiment of the present invention. Figure 1 As shown, the method comprises the following steps:

[0037] Step S102, acquiring a dual-polarization synthetic aperture radar SAR image of a predetermined area;

[0038] In step S102 provided in the present application, a dual-polarization synthetic aperture radar SAR image is involved. A dual-polarization synthetic aperture radar (SAR) image is an image of the ground or target area obtained using dual-polarization synthetic aperture radar technology. Among them, dual-polarization SAR technology is an advanced radar imaging technology that obtains reflection information of the ground or target area by simultaneously transmitting and receiving two electromagnetic waves of different polarizations (such as horizontal polarization and vertical polarization). This technology can provide richer ground object information and improve the image interpretation ability and target recognition accuracy. Dual-polarization SAR images have high resolution: the dual-polarization SAR system uses the movement of the radar platform through the synthetic aperture principle to form a large synthetic aperture, thereby improving the resolution and imaging quality of the radar. This enables the SAR image to clearly display the detailed features of the ground or target area. The dual-polarization SAR system has the ability to penetrate clouds and fog and image at night, and can obtain high-quality image data under various weather conditions. This makes SAR images have a wide range of application value in disaster monitoring, environmental monitoring, reconnaissance and other fields. Dual-polarization SAR images can simultaneously obtain reflection information of two different polarizations, which can reflect different physical characteristics of the ground or target area (such as surface roughness, water content, vegetation type, etc.). By analyzing this information, we can further understand the distribution and characteristics of objects on the ground or in the target area. Therefore, dual-polarization synthetic aperture radar SAR images can more accurately determine the scope of water bodies.

[0039] Step S104, determining dual-polarization water body indices corresponding to a plurality of pixel points in the dual-polarization SAR image, and determining an objective function corresponding to the dual-polarization SAR image, wherein the objective function is a function for determining a water body area;

[0040] In step S104 provided in the present application, a dual-polarization water index is involved. The dual-polarization water index (SDWI or wi) is an index used to extract water information from dual-polarization synthetic aperture radar (SAR) images. The dual-polarization water index is an index calculated based on the backscatter coefficients of the two polarization modes HH (horizontal transmission-horizontal reception) and VH (vertical transmission-horizontal reception) in the dual-polarization SAR image. It aims to expand the difference between water bodies and other ground objects, so as to more accurately identify and extract water information.

[0041] By calculating the dual-polarization water index of each pixel and setting a suitable threshold, pixels with higher dual-polarization water index values ​​can be identified as water bodies, thereby realizing automatic extraction of water bodies. For example, in flood monitoring in District A of City A, after experimental comparison, 13.74 was selected as the threshold segmentation point to extract water bodies. The dual-polarization water index can be used not only to extract water bodies, but also to define the boundary between water and land. By comparing the water index values ​​of different pixels, it can be determined which pixels belong to water bodies and which belong to land, thereby realizing the precise definition of the boundary between water and land and more accurately determining the scope of water bodies. Moreover, the dual-polarization water index can be used to monitor changes in water bodies, such as floods and changes in lake water levels. By comparing the dual-polarization water index images at different time points, the dynamic changes of water bodies can be analyzed, and then the water bodies can be continuously monitored to avoid unexpected situations.

[0042] It should be noted that when determining the dual-polarization water index, data preprocessing can be performed first, including radiation calibration, filtering and denoising, geometric correction and other steps to ensure the quality and accuracy of the data.

[0043] Among them, an objective function corresponding to the dual-polarization SAR image is also involved. The objective function is a function for determining the water body area, which will be introduced in detail later. The objective function can assist the growth point to determine a more accurate water body area.

[0044] Step S106, performing rough water extraction according to the dual-polarization water indexes corresponding to the plurality of pixel points to obtain an initial water range result;

[0045] In step S106 provided in the present application, a process of performing rough water extraction based on the dual-polarization water indexes corresponding to a plurality of pixel points to obtain an initial water range result is described. That is, pixels whose dual-polarization water index values ​​are greater than a set threshold are identified as water pixels, thereby obtaining an initial water range result.

[0046] It should be noted that the extracted initial water body range can also be post-processed, such as removing small spots, smoothing boundaries, etc., to further improve the extraction results.

[0047] Step S108, determining a growth seed point according to the initial water body range result;

[0048] In step S108 provided in the present application, by determining one or more seed points, the algorithm can start from these points, gradually spread to the surroundings, find and merge pixels with similar properties. When determining the growth seed points, appropriate selection can be made, because the location selection of the seed points will directly affect the growth trend and shape of the subsequent area. Reasonable seed point selection can more accurately capture the outline and characteristics of the target area.

[0049] For seed point selection, you can select it in the following ways:

[0050] Manual selection: Traditional seed point selection methods are mostly based on the prior knowledge of the experimenter. This method is simple and easy, but has poor adaptability, and each selected position may deviate greatly from the previous one.

[0051] Automatic selection: The algorithm automatically detects feature points or significant areas in the image as seed points. This method can reduce human intervention and improve the adaptability of the algorithm. For example, in the image segmentation task, the edges, corners or areas with obvious texture features in the image can be automatically detected as seed points.

[0052] After determining the seed point, the seed point can also be verified, that is, after determining the seed point, the seed point needs to be verified to ensure that it meets the requirements of the growth criterion. This usually involves checking and comparing the pixel points around the seed point to determine whether they meet properties similar to the seed point.

[0053] It should be noted that there can be multiple seed points, and each area to be segmented can be set with one or more seed points. The number of seed points will affect the efficiency and accuracy of the algorithm. Too many seed points may cause the algorithm to run for a long time, while too few seed points may not accurately capture the characteristics of the target area. Therefore, the selection is balanced.

[0054] Step S110, determining the target water body extraction result of the predetermined area according to the growth seed point and the objective function.

[0055] In step S110 provided in the present application, the target water body extraction result of the predetermined area is determined based on the growth seed point and the objective function, so as to obtain a more accurate target water body extraction result.

[0056] Through the above steps S102-S110, a dual-polarization synthetic aperture radar SAR image of a predetermined area is obtained. The dual-polarization water body indexes corresponding to multiple pixel points in the dual-polarization SAR image are determined, and the objective function corresponding to the dual-polarization SAR image is determined, wherein the objective function is a function for determining the water body area. According to the dual-polarization water body indexes corresponding to multiple pixel points, a rough water body extraction is performed to obtain an initial water body range result. According to the initial water body range result, a growth seed point is determined. According to the growth seed point and the objective function, the target water body extraction result of the predetermined area is determined. In this embodiment, a dual-polarization synthetic aperture radar SAR image is used, which can simultaneously transmit and receive two electromagnetic waves of different polarizations (such as horizontal polarization and vertical polarization) to obtain reflection information of the ground or target area. This technology can provide richer ground object information and improve the image interpretation capability and target recognition accuracy. The dual-polarization water body index of each pixel point is also determined, and the difference between the water body and other ground objects is reflected by the index, so as to more accurately identify and extract water body information. By growing seed points and combining the objective function, starting from the growing seed points, the algorithm gradually diffuses to the surrounding areas, finds and merges pixels with similar properties, and then accurately determines the range of the water body. This solves the technical problem of inaccurate range determination in related technologies.

[0057] As an optional embodiment, determining the objective function corresponding to the dual-polarization SAR image includes: determining a texture feature matrix corresponding to the dual-polarization SAR image; determining a texture feature distance and a spatial distance between predetermined elements in the texture feature matrix; and determining the objective function based on the texture feature distance and the spatial distance.

[0058] In this embodiment, the steps of determining the objective function corresponding to the dual-polarized SAR image are described. In this process, the texture feature matrix corresponding to the dual-polarized SAR image can be first determined, and the texture feature distance and the spatial distance between the predetermined elements in the texture feature matrix can be determined, so as to determine the objective function according to the texture feature distance and the spatial distance.

[0059] When determining the texture feature matrix, eight statistics including mean, variance, homogeneity, contrast, non-similarity, entropy, angular second moment and correlation in the gray-level co-occurrence matrix are selected to form a feature matrix to characterize the SAR image texture.

[0060] When determining the texture feature distance and space distance, the Euclidean distance of the feature vector can be selected as the basis for judgment, and the texture features extracted above are combined with the image coordinate matrix (x, y) direction to form a texture-space five-dimensional matrix. In order to avoid a certain component in the vector having too much influence on clustering, before calculating the Euclidean distance between each pixel, the distance of each component of the five-dimensional vector is normalized, and then the normalized distance is combined into a composite distance, and the composite distance is used as the basis for judgment.

[0061] When determining the objective function as described above, the objective function can introduce the idea of ​​Shannon entropy, and combine the dual-polarization composite distance to express the entropy value of the image. When the objective function H is maximized, it means that the composite distance difference of the two polarization modes is the largest. The distance at this time is the maximum threshold for the seed point to grow. Therefore, the optimal solution of the objective function of each region is obtained based on the particle swarm optimization algorithm, and the region growth is performed with the corresponding threshold to obtain the optimal solution of the objective function and determine the range of the water body.

[0062] As an optional embodiment, the target water body extraction result of the predetermined area is determined based on the growth seed point and the objective function, including: determining the threshold corresponding to the growth seed point when the objective function is maximized; expanding outward with the growth seed point as the origin, and when expanding to the next pixel point, comparing the pixel point parameter corresponding to the next pixel point with the threshold to obtain the comparison result corresponding to the next pixel point, until the comparison results corresponding to multiple pixel points are obtained; and determining the target water body extraction result based on the comparison results corresponding to the multiple pixel points.

[0063] In this embodiment, the steps of determining the target water body extraction result are described, and the threshold corresponding to the growth seed point when the maximum value of the objective function is determined. The growth seed point is used as the origin to expand outward. When expanding to the next pixel point, the pixel point parameter corresponding to the next pixel point is compared with the threshold value to obtain the comparison result corresponding to the next pixel point, until the comparison results corresponding to multiple pixels are obtained. According to the comparison results corresponding to multiple pixels, the target water body extraction result is determined. That is, starting from one or more "seed points", the adjacent pixels are checked, and the pixels that meet the specific criteria (in this case, the threshold) are added to the growing area. Starting from the seed point, all its adjacent pixels (usually four neighborhoods or eight neighborhoods) are checked. The parameters of the adjacent pixels (such as brightness, color, etc.) are compared with the threshold. If the parameters of the adjacent pixels meet the threshold condition (that is, the parameters are within the threshold range), the pixel is added to the growing area and marked as visited. Repeat the above process for the newly added pixel, and continue to check its adjacent pixels until there are no more pixels that meet the conditions to be added. Eventually, the growing area will cover the water body part in the image. The water body extraction result can be viewed by displaying or saving the pixels of the growing area.

[0064] Determining the water body extraction results in this way allows different thresholds and criteria to be set according to specific applications and data. This enables the algorithm to adapt to different water body types and different image conditions. By carefully selecting thresholds and seed points, the region growing algorithm can accurately extract water body areas. This is very important for applications that require high-precision water body extraction (such as environmental monitoring, urban planning, etc.). The region growing algorithm is able to handle water body areas with complex structures and boundaries. In contrast, some extraction methods based on fixed shapes or templates may not be able to accurately handle these complex structures. The region growing algorithm can be combined with other image processing techniques (such as edge detection, filtering, etc.) to further improve the accuracy and efficiency of water body extraction. This enables the algorithm to be applicable to a wider range of application scenarios and data sets.

[0065] As an optional embodiment, obtaining a dual-polarization synthetic aperture radar SAR image of a predetermined area includes: obtaining remote sensing data of the predetermined area; performing horizontal polarization processing and horizontal and vertical polarization processing on the remote sensing data to obtain a dual-polarization SAR image, wherein the horizontal polarization processing is a processing in which both the radar transmitting and receiving antennas are polarized in the horizontal direction, and the vertical polarization processing is a processing in which the radar transmitting is polarized in the horizontal direction and the receiving antenna is polarized in the vertical direction.

[0066] In this embodiment, obtaining a dual-polarization synthetic aperture radar SAR image of a predetermined area includes: obtaining remote sensing data of the predetermined area; performing horizontal polarization processing and horizontal and vertical polarization processing on the remote sensing data to obtain a dual-polarization SAR image, wherein the horizontal polarization processing is the polarization processing of the radar transmitting and receiving antennas in the horizontal direction, and the vertical polarization processing is the processing of the radar transmitting in the horizontal direction and the receiving antenna in the vertical direction. To obtain the remote sensing data of the predetermined area, an effective data source can be selected, that is, a suitable remote sensing data source is selected according to the research needs and objectives. The geographic coordinate range of the predetermined area is determined using GIS software, and then the remote sensing data of the predetermined area is obtained. Then, a horizontal or vertical polarization processing mode is set, that is, the radar transmitting and receiving antennas are set in the horizontal direction. Thereby, the SAR processing flow is executed, including imaging, filtering, geometric correction and other steps, to obtain a SAR image processed with horizontal polarization. Horizontal and vertical polarization processing (dual-polarization SAR image) is also performed using SAR processing software to import remote sensing data.

[0067] Since dual-polarization SAR images provide information about the scattering mechanism of the target area, the shape, texture and material properties of the target can be inferred by comparing the echo signals of the two polarization modes, which helps to identify and analyze the target more accurately. Moreover, horizontal and vertical polarization processing can reduce the influence of ground clutter and atmospheric interference, improve the signal-to-noise ratio of the image, and make the image clearer. Dual-polarization SAR images have broad application prospects in environmental monitoring, urban planning, disaster assessment and other fields. For example, in urban planning, information such as urban green space and water bodies can be extracted through dual-polarization SAR images; in disaster assessment, dual-polarization SAR images can be used to monitor the occurrence and evolution of natural disasters such as floods and landslides. Through the preset polarization processing method, the generation and processing of SAR images can be automatically completed, reducing manual intervention and data processing time, and improving work efficiency.

[0068] As an optional embodiment, the target water body extraction result of the predetermined area is determined based on the growth seed point and the objective function, including: determining the water body extraction result to be processed in the predetermined area based on the growth seed point and the objective function; obtaining digital terrain model data of the predetermined area; combining morphological open-then-close operation and digital terrain model data to eliminate misidentified areas in the water body extraction result to be processed, and obtaining the target water body extraction result, wherein the misidentified area includes at least one of the following: an island area and a mountain shadow area.

[0069] In this embodiment, a growth algorithm and a predefined objective function are used, starting from a growth seed point, extending to pixels that meet specific conditions to form a preliminary water body extraction result. In this process, the growth algorithm may be affected by factors such as noise and similarity of non-water body areas, so the digital terrain model data is obtained to obtain the DTM data of the predetermined area from a reliable geographic data source. The DTM data describes the surface elevation information, which is very useful for distinguishing water bodies from mountain shadows, highlands, etc. Combined with the DTM data to identify the misidentified area, the water body extraction result is compared with the DTM data to identify those areas (such as isolated island areas, mountain shadow areas) that are significantly higher than the surrounding areas and are mistakenly identified as water bodies. These areas are usually significantly different from the elevation and morphological features of real water bodies, so as to effectively distinguish them. The morphological open-then-close operation is applied to eliminate the misidentified areas, because the morphological operation is an image processing technology based on shape and structure. Among them, the opening operation (Erosion followed by Dilation) can eliminate small objects, separate independent objects in binary images, eliminate small patches, separate objects at thin points, and smooth the boundaries of larger objects without significantly changing their areas. The closing operation (Dilation followed by Erosion) can fill small holes, bridge small cracks, and connect adjacent objects. By adjusting the size of the structural elements of the morphological operation, those areas that are mistakenly identified as water bodies can be accurately eliminated to obtain the target water body extraction results. After the above steps, the misidentified areas are eliminated to obtain a more accurate target water body extraction result.

[0070] Through the above steps, the DTM data and morphological operations can be combined to accurately eliminate the misidentified areas and improve the accuracy of water body extraction. Moreover, the method has strong adaptability. It does not rely on specific water body characteristics or models and can adapt to different water body types and complex surface environments. It can also reduce noise interference. Morphological operations can eliminate noise and small objects in the image, further reducing misidentification. In addition, the degree of automation is high. The entire processing process can be automated through programming, reducing manual intervention and improving processing efficiency.

[0071] As an optional embodiment, the growth seed points are determined based on the initial water body range results, including: determining the dual-polarization water body index variance and the central pixel gradient amplitude corresponding to the dual-polarization SAR image based on the initial water body range results; and determining the growth seed points using the nearest mean point method based on the dual-polarization water body index variance and the central pixel gradient amplitude as constraints.

[0072] In this embodiment, the bipolarization water index variance is calculated for the initial water body range result obtained, and the determined variance can be used as a statistic of the water body characteristics in the region. The central pixel gradient amplitude can also be calculated, and the gradient amplitude reflects the speed of the change of the gray value of the pixel in the image. For each pixel in the initial water body range, its gradient amplitude is calculated. Based on the bipolarization water index variance and the central pixel gradient amplitude, a suitable threshold or range is set as a constraint condition. These constraints can help screen out pixels that are more likely to belong to the water body. The nearest mean point method is used to determine the growth seed point, which is a regional growth method based on pixel similarity. Within the initial water body range, according to the set constraints, the pixel points that meet the conditions are selected as the growth seed points. The selection of seed points is usually based on the similarity of features such as pixel value, gradient amplitude, and water body index variance.

[0073] By combining the characteristics of dual-polarized SAR images and using the water index variance and gradient amplitude as constraints, the pixels belonging to water bodies can be screened out more accurately. The nearest mean point method can perform regional growth based on pixel similarity, further improving the accuracy of water body extraction. It can also reduce the false recognition rate. By setting appropriate constraints, pixels that are mistakenly identified as water bodies (such as mountain shadows, highlands, etc.) can be eliminated. In addition, by combining dual-polarized SAR images with multi-source information such as water index variance and gradient amplitude, the characteristics of water bodies can be described more comprehensively, improving the robustness and reliability of water body extraction.

[0074] As an optional embodiment, determining growth seed points according to the initial water body range result includes: dividing the dual-polarization SAR image into multiple sub-areas, and determining growth seed points corresponding to the multiple sub-areas respectively according to the initial water body range result.

[0075] In this embodiment, the dual-polarization SAR image sub-region division divides the dual-polarization SAR image into multiple sub-regions according to certain rules (such as equal-sized grids, adaptive division based on image content, etc.). The purpose of this step is to decompose the large image processing task into multiple small, more manageable sub-tasks. Analyze the initial water body range results to determine the approximate distribution and position of the water body in the image. The initial water body range can be preliminarily obtained by threshold segmentation, edge detection and other methods. Determine the growth seed points corresponding to the sub-regions For each sub-region, check its overlap or proximity with the initial water body range. If the sub-region overlaps or is very close to the initial water body range, it is considered that the sub-region may contain water pixels. In such a sub-region, pixels that meet certain conditions (such as gray value, texture features, etc.) are selected as growth seed points. The selection of seed points can be based on the gray value, gradient, texture and other features of the pixels, as well as factors such as the degree of proximity to the initial water body range.

[0076] After dividing a large image into multiple sub-regions, each sub-region can be processed in parallel, which greatly improves processing efficiency. Through the correspondence between the sub-regions and the initial water body range, the growth seed points can be selected more accurately and the misrecognition rate can be reduced. This method does not rely on specific water body characteristics or models and can adapt to different water body types and complex surface environments. The selection and optimization of seed points within each sub-region can achieve precise control within the local range, further improving the accuracy and reliability of water body extraction.

[0077] Based on the above embodiments and optional embodiments, an optional implementation is provided, which is described in detail below.

[0078] In an optional embodiment of the present invention, a method for extracting flood range from dual-polarization SAR images based on a local optimal region growing algorithm is provided to solve the problem that the threshold method and the classifier method are difficult to balance accuracy and timeliness in flood emergency monitoring results, thereby improving the applicability of flood monitoring results.

[0079] In order to achieve the above object, the embodiments of the present invention provide the following technical solutions:

[0080] The embodiment of the present invention provides a method for extracting flood range from dual-polarization SAR images based on a local optimal region growing algorithm. Figure 2 A flowchart of a method for extracting flood range from dual-polarization SAR images based on a local optimal region growing algorithm provided in an optional embodiment of the present invention. Figure 3 A schematic diagram of the structure of a dual-polarization SAR image flood range extraction device based on a local optimal region growing algorithm provided in an optional embodiment of the present invention, Figure 4 This is a schematic diagram of the original SAR image of a lake area in the example, the Otsu threshold segmentation extraction result, the extraction result of the method proposed in this example, and the final result after optimization. Figure 5 The original SAR image of a mountain water body in the example, the Otsu threshold segmentation extraction result, the extraction result of the method proposed in this example, and the schematic diagram of the final result after optimization. Figure 6 The original SAR image of a river area in the example, the Otsu threshold segmentation extraction result, the extraction result of the method proposed in this example, and the schematic diagram of the optimized final result are introduced below:

[0081] Step 1: Obtain the dual-polarization SAR image of the area to be extracted and perform data preprocessing;

[0082] Step 2: Based on the dual-polarization water index, the Otsu threshold segmentation method is used to perform rough water extraction;

[0083] Step 3: Based on the gradient amplitude and DWI variance as constraints, the nearest mean point method is used to select the regional growth seed points;

[0084] Step 4: Extract texture features of different polarization modes respectively and construct SAR texture feature matrix;

[0085] Step 5: Construct the regional growth objective function based on entropy theory;

[0086] Step 6: Divide the area to be extracted into N×N local regions, find the optimal solution of the objective function of each region based on the particle swarm optimization algorithm, and perform region growth with the corresponding threshold;

[0087] Step 7: Combine the morphological open-then-close operation with external DEM data to remove isolated island areas and misidentified mountain shadow areas in the water extraction results to obtain the final water extraction results.

[0088] Furthermore, in step 1, the preprocessing of the dual-polarization SAR image includes radiation correction, multi-view transformation, filtering processing and geocoding.

[0089] Furthermore, in step 2, the rough extraction of water includes the steps of:

[0090] Calculate the dual-polarization water index based on the dual-polarization image;

[0091] The maximum inter-class variance of the dual-polarization water index is calculated and used as the threshold to extract water bodies.

[0092] Furthermore, in step 3, the selection of seed points includes the steps of:

[0093] The gradient amplitude and variance of the dual-polarization water index are calculated as constraints for seed point selection;

[0094] In the water body range extracted in step 2, seed points are selected according to the nearest mean point method.

[0095] Furthermore, in step 4, constructing the SAR texture feature matrix includes the steps of:

[0096] Based on the gray-level co-occurrence matrix, eight statistics, including mean, variance, homogeneity, contrast, dissimilarity, entropy, angular second-order moment, and correlation, are calculated for the two polarization modes to characterize the texture features.

[0097] According to the principal component analysis method, the first three texture features of different polarization modes are determined as the final texture feature matrix.

[0098] Furthermore, in step 5, determining the objective function includes the steps of:

[0099] The texture feature distance and spatial distance of the two polarization modes are calculated separately, as well as the combined composite distance;

[0100] The objective function of region growing is constructed based on entropy theory.

[0101] Furthermore, in step 7, optimizing the region growing result includes the steps of:

[0102] The results of step 6 are optimized according to the morphological method of opening first and closing later, and isolated pixels in the results are removed;

[0103] The radar signal overlap shadow area is calculated based on the satellite incident angle, flight azimuth and slope aspect generated by the external DEM, and the slope threshold is defined. The area with a slope value greater than 15° is defined as the final mountain shadow area, and the mountain shadow misidentification area in the result of step 6 is removed.

[0104] like Figure 2 As shown, it shows a method for extracting flood range from dual-polarization SAR images based on a local optimal region growing algorithm provided by an optional embodiment of the present invention, comprising the following steps:

[0105] Step 1: Obtain the dual-polarization SAR image of the area to be extracted and perform data preprocessing;

[0106] The preprocessing of dual-polarization SAR images includes radiation correction, multi-view transformation, filtering and geocoding.

[0107] This example invention uses 10-meter resolution SLC format data from a single-view satellite, with HH and HV dual polarization. Based on the acquired data, basic SAR image data processing of two polarization modes is performed, such as radiation correction, multi-view transformation, filtering processing, geocoding and other pre-processing work. Figure 4-6 (a) is a partial area image of the HH polarization mode.

[0108] Step 2: Based on the dual-polarization water index, the Otsu threshold segmentation method is used to perform rough water extraction;

[0109] First, the dual polarization water index (DWI) is calculated according to the db values ​​of the two polarization modes. The calculation formula is:

[0110] DWI=ln(10*HH*HV)

[0111] Then, the water body rough extraction was performed according to the maximum inter-class variance method (Otsu), and the formula was:

[0112] e 2 (K)=P A (α-α A ) 2 +P B (α-α B ) 2

[0113] Among them, α is the mean of image DWI, αA and αB are the means of target A and background B respectively. When the result e2(K) is the largest, K is the optimal threshold. When the variance difference between the image of the region of interest and the background image is the largest, theoretically, the difference between the elements of the two types of images is the largest, the confusion between the categories is the smallest, and the misclassification error of the segmentation result is also the smallest. The Otsu method can quickly extract the approximate range of the water body and remove a large part of the non-water area, but its results often contain noise and non-water objects with the same backscattering characteristics as the water body (such as airport runways, smooth roads, etc.), so in this example, the Otsu result is only used as the selection range of the seed point.

[0114] Step 3: Based on the gradient amplitude and DWI variance as constraints, the nearest mean point method is used to select the regional growth seed points;

[0115] First, the initial water extraction result is extended a units up, down, left, and right respectively, and a square window with a side length of 2a+1 is set, and the sliding is performed with a step length of 2a+1 / 2; then the DWI variance and the gradient amplitude of the central pixel in the window are calculated, and the formulas are:

[0116]

[0117] Where σ is the variance, dwi(i,j) is the DWI value of the pixel point, and u is the mean DWI in the area; G(x,y) is the gradient amplitude of the pixel point, dl / dx is the rate of change of the pixel value in the x direction, and dl / dy is the rate of change of the pixel value in the y direction. In general, the seed point should be selected in the area where the variance and gradient amplitude are small. In this experiment, the mean of the variance and gradient amplitude is selected as the judgment criterion. Finally, the pixel point with the pixel value closest to the mean in the window is selected as the candidate seed point, and then the candidate seed points outside the rough water body range are eliminated to generate the final seed point set.

[0118] Step 4: Extract texture features of different polarization modes respectively and construct SAR texture feature matrix;

[0119] Table 1 is a correlation table of texture feature expressions and their descriptions. This example selects 8 statistics such as mean, variance, homogeneity, contrast, dissimilarity, entropy, angular second-order moment, and correlation in the gray-level co-occurrence matrix to form a feature matrix to characterize the SAR image texture. Since the backscattering information of SAR images of different polarization modes is slightly different, the texture features reflected are not exactly the same, so the principal component analysis of the feature matrices of the two polarization modes is first performed, and the first three principal components are extracted as the final statistics. After experiments, the image HH polarization mode used in this example extracts three statistics such as homogeneity, entropy and contrast; the HV polarization mode extracts three statistics such as homogeneity, dissimilarity and angular second-order moment. The expression form and description of the feature statistics are shown in the table below. In the table, i and j are the gray levels of the image, and Pi,j represents the probability of the appearance of a pixel with gray level j starting from the pixel with gray level i in the image. In this example, the SAR image db value is divided into 64 levels, and the directions are selected to move in four directions: 0°, 45°, 90°, and 135°. The window is selected as a 7×7 window to extract texture features.

[0120] Table 1

[0121]

[0122] Step 5: Construct the regional growth objective function based on entropy theory;

[0123] This example selects the Euclidean distance of the feature vector as the basis for judgment, and combines the texture features extracted above with the image coordinate matrix (x, y) direction to form a texture-space five-dimensional matrix. In order to avoid a certain component in the vector having too much influence on clustering, before calculating the Euclidean distance between pixels, the distances of each component of the five-dimensional vector are normalized, and then the normalized distances are combined into a composite distance, and the composite distance is used as the basis for judgment. The following two formulas are the texture feature distance dp and the spatial distance ds of the m and n elements in the matrix respectively:

[0124]

[0125] In the formula, p1, p2, and p3 are the first, second, and third principal components of the texture feature information of the elements in the matrix; x and y are the row and column coordinates of the elements. The composite distance D can be expressed as:

[0126]

[0127] Among them, dpm and dsm represent the maximum value of texture feature distance and spatial distance respectively, which can characterize the texture and spatial differences between pixels. The composite distances of the two polarization modes can be expressed as DHH and DHV respectively.

[0128] The determination of the objective function introduces the idea of ​​Shannon entropy. Combined with the dual-polarization composite distance, the entropy value of a local area can be expressed as:

[0129] H=-(D ′ HH *lnD ′ HH +D ′ HV *lnD ′ HV )

[0130] Among them, DHH' and DHV' are DHH / e and DHV / e respectively. To further ensure the segmentation effect, extreme metric values ​​are introduced, and the expression of the final objective function H is:

[0131] H=-((D ′ HH *lnD ′ HH +D ′ HV *lnD ′ HV )+maxD ′ HH ln(maxD ′ HH )+maxD ′ HV ln(maxD ′ HV )

[0132] +minD ′ HH ln(minD ′ HH )+minD ′ HV ln(minD ′ HV ))

[0133] When the objective function H is maximized, it means that the composite distance difference between the two polarization modes is the largest. The distance at this time is the maximum threshold for the seed point to grow.

[0134] Step 6: Divide the area to be extracted into N×N local regions, find the optimal solution of the objective function of each region based on the particle swarm optimization algorithm, and perform region growth with the corresponding threshold;

[0135] This example uses a local optimization regional growing algorithm, which divides the study area into N×N local areas. The N value can be roughly divided according to the impact size and terrain, etc. In this example, N = 2. In each local area, the optimal solution of the objective function is obtained.

[0136] In the search for the optimal solution, the particle swarm optimization algorithm (PSO) is used for optimization. The algorithm needs to set the initial population size M and the speed of the initial population:

[0137] V(0)=(V1(0),……,V M (0))

[0138] Initial position:

[0139] X(0)=(X1(0),……,X M (0))

[0140] Where Vi(0) and Xi(0) represent the initial velocity and initial position of the ith particle respectively. The update formulas of the velocity vector and position vector of the particle are:

[0141] V i (t) = k[V i (t-1)+C1rand(P i (t-1)-X i (t-1))+C2rand(G(t-1)-X i (t-1))]

[0142] X i (t) = [X i (t-1)+V i (t)]

[0143] Where [*] is the rounding function, rand represents a random value between [0,1], Vi(t) is the update speed of particle i in the tth iteration, which is required to be in [-Vmax, Vmax], and Vmax is the maximum update speed given in advance. Parameter k is the shrinkage factor, in this example k = 0.742, C1 and C2 are learning factors, C1 controls the ability of the particle to learn from itself, and C2 controls the ability of the particle to learn from the group. The initial state X(0) and initial speed V(0) of the particle group can be randomly selected, but X(0) is required to be in the solution space and V(0) is required to be in [-Vmax, Vmax]. Pi(t) represents the best position that particle i passes through in the tth iteration, and G(t) represents the best position that all particles pass through in the tth iteration in the process of finding the optimal solution. The optimal solution obtained in each local area is used as the growth criterion of the area for water extraction, and all growth areas are merged to obtain the final water extraction result.

[0144] Step 7: Combine the morphological open-then-close operation and external DEM data to remove the isolated island areas and mountain shadow misidentification areas in the water body extraction results to obtain the final water body extraction results;

[0145] Morphology defines four basic operations: dilation, erosion, opening, and closing. Assuming the structural element is A and the target image is B, the common edge detection operators are:

[0146]

[0147] Among them, A○B is an opening operation, A●B is a closing operation, and ⊕ is an expansion operation. This is a corrosion operation. In order to remove isolated pixels in the water body extraction results and fill the holes, this example uses an open-then-close operation to optimize the results.

[0148] For the mountain shadow areas that still exist in the water body extraction results, this example uses external DEM data as auxiliary information to remove them. The specific method is to align the SAR image with the DEM data, calculate the radar signal overlapping shadow area according to the satellite incidence angle and flight azimuth and the slope and aspect generated by the DEM, and define the slope threshold. The area with a slope value greater than 15° is defined as the final mountain shadow area. Filtering out this part of pixels from the extracted water body pixels is the final water body extraction result after optimization.

[0149] The whole process involves the crude extraction results of Otsu water, the extraction results of this example method, and the final results after optimization. Figure 4-6 (b)(c)(d) show the three results for lake area, mountain water body and river area respectively.

[0150] like Figure 3 As shown, it shows a dual-polarization SAR image flood range extraction device based on a local optimal region growing algorithm provided by an optional embodiment of the present invention, including a preprocessing device 200, and a first data preprocessing module 201, used to obtain dual-polarization satellite-borne SAR data and perform data preprocessing on it; a second data processing module 202, used to obtain the dual-polarization water body index of the area to be extracted, and extract the initial water body range according to the Otsu threshold method; a seed point selection module 203, used to calculate the gradient amplitude and variance of the dual-polarization water body index and extract seed points; a texture feature construction module 204, used to calculate texture feature statistics, and select major texture features to construct a texture feature matrix; a region growing module 205, used to construct an objective function, and calculate the optimal solution of the objective function of each local area to be extracted, and perform region growing starting from the seed point; a result optimization module 206, used to perform morphological opening and closing operations and mountain shadow removal operations to determine the final water body range.

[0151] Those skilled in the art will clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above may refer to the corresponding processes in the optional implementation manner of the aforementioned method and will not be repeated here.

[0152] Corresponding to the aforementioned dual-polarization SAR image flood range extraction method based on local optimal region growing algorithm, an optional implementation manner of the present application also provides an electronic device to which a dual-polarization SAR image flood range extraction device based on local optimal region growing algorithm is applied, and the electronic device can specifically be a computer, a mobile phone, a tablet computer, etc.

[0153] Through the above optional implementation, at least the following beneficial effects can be achieved:

[0154] Water body identification through dual-polarization SAR images can effectively reduce the impact of noise and mountain shadows compared to the commonly used threshold segmentation method, and can retain the texture and detail characteristics of water bodies. Compared with classifier methods such as machine learning, this method does not require training target samples, saving time and cost, and meeting the needs of rapid detection of large-scale floods. The results obtained by this method are more applicable and timely, and are suitable for emergency monitoring of flood disasters.

[0155] It should be noted that, for the aforementioned optional implementation methods of each method, for the sake of simplicity of description, they are all expressed as a series of action combinations, but those skilled in the art should know that the present invention is not limited by the described order of actions, because according to the present invention, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also know that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present invention.

[0156] Through the description of the above implementation methods, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, a magnetic disk, or an optical disk), and includes a number of instructions for a terminal device (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods of various embodiments of the present invention.

[0157] Example 2

[0158] According to an embodiment of the present invention, a device for implementing the above-mentioned water body range determination method is also provided. Figure 7 is a structural block diagram of a device for determining a water body range according to an embodiment of the present invention. Figure 7 As shown, the device includes: an acquisition module 702, a first determination module 704, a second determination module 706, a third determination module 708 and a fourth determination module 710. The device is described in detail below.

[0159] An acquisition module 702 is used to acquire a dual-polarization synthetic aperture radar SAR image of a predetermined area; a first determination module 704 is connected to the acquisition module 702, and is used to determine the dual-polarization water body indexes corresponding to a plurality of pixel points in the dual-polarization SAR image, and determine the objective function corresponding to the dual-polarization SAR image, wherein the objective function is a function for determining the water body area; a second determination module 706 is connected to the first determination module 704, and is used to perform a rough water body extraction based on the dual-polarization water body indexes corresponding to a plurality of pixel points, and obtain an initial water body range result; a third determination module 708 is connected to the second determination module 706, and is used to determine a growth seed point based on the initial water body range result; a fourth determination module 710 is connected to the third determination module 708, and is used to determine a target water body extraction result of a predetermined area based on the growth seed point and the objective function.

[0160] It should be noted here that the above-mentioned acquisition module 702, the first determination module 704, the second determination module 706, the third determination module 708 and the fourth determination module 710 correspond to steps S102 to S110 in implementing the water body range determination method, and the instances and application scenarios implemented by the multiple modules and the corresponding steps are the same, but are not limited to the contents disclosed in the above-mentioned embodiment 1.

[0161] Example 3

[0162] According to another aspect of an embodiment of the present invention, there is also provided an electronic device, comprising: a processor; and a memory for storing instructions executable by the processor, wherein the processor is configured to execute the instructions to implement any of the above-mentioned methods for determining a water body range.

[0163] Example 4

[0164] According to another aspect of an embodiment of the present invention, a computer-readable storage medium is provided. When instructions in the computer-readable storage medium are executed by a processor of an electronic device, the electronic device can execute any of the above-mentioned methods for determining a water body range.

[0165] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.

[0166] In the above embodiments of the present invention, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0167] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only schematic. For example, the division of the units can be a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.

[0168] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple units. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.

[0169] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0170] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, server or network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, disk or optical disk and other media that can store program codes.

[0171] The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principle of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.

Claims

1. A method for determining a water body range, characterized in that: include: Acquire dual-polarization synthetic aperture radar SAR images of a predetermined area; Determine dual-polarization water body indices corresponding to a plurality of pixel points in a dual-polarization SAR image, and determine an objective function corresponding to the dual-polarization SAR image, wherein the objective function is a function for determining a water body area; Performing rough water extraction according to the dual-polarization water body indexes corresponding to the plurality of pixel points to obtain an initial water body range result; Determine the growth seed point according to the initial water body range result; The target water body extraction result of the predetermined area is determined according to the growth seed point and the objective function.

2. The method according to claim 1, characterized in that Determining an objective function corresponding to the dual-polarization SAR image includes: Determining a texture feature matrix corresponding to the dual-polarization SAR image; Determining texture feature distances and spatial distances between predetermined elements in the texture feature matrix; The objective function is determined according to the texture feature distance and the spatial distance.

3. The method according to claim 1, characterized in that Determining the target water body extraction result of the predetermined area according to the growth seed point and the objective function includes: When determining the maximum value of the objective function, the threshold corresponding to the growth seed point; Expanding outwards with the growth seed point as the origin, when expanding to the next pixel point, comparing the pixel point parameter corresponding to the next pixel point with the threshold value to obtain the comparison result corresponding to the next pixel point, until the comparison results corresponding to the multiple pixel points are obtained; The target water body extraction result is determined according to the comparison results respectively corresponding to the multiple pixel points.

4. The method according to claim 1, characterized in that Acquire dual-polarization synthetic aperture radar SAR images of a predetermined area, including: Acquiring remote sensing data of the predetermined area; The remote sensing data are subjected to horizontal polarization processing and horizontal and vertical polarization processing respectively to obtain the dual-polarization SAR image, wherein the horizontal polarization processing is the polarization processing in which the radar transmitting and receiving antennas are both in the horizontal direction, and the vertical polarization processing is the processing in which the radar transmitting is polarized in the horizontal direction and the receiving antenna is polarized in the vertical direction.

5. The method according to claim 1, characterized in that Determining the target water body extraction result of the predetermined area according to the growth seed point and the objective function includes: Determining the extraction result of the water body to be processed in the predetermined area according to the growth seed point and the objective function; Acquiring digital terrain model data of the predetermined area; The morphological open-then-close operation and the digital terrain model data are combined to eliminate the misidentified areas in the water body extraction result to be processed to obtain the target water body extraction result, wherein the misidentified areas include at least one of the following: isolated island areas and mountain shadow areas.

6. The method according to claim 1, characterized in that According to the initial water body range result, determine the growth seed point, including: Determine the dual-polarization water index variance and the central pixel gradient amplitude corresponding to the dual-polarization SAR image according to the initial water body range result; The growth seed point is determined by using the nearest mean point method based on the dual-polarization water index variance and the central pixel gradient amplitude as constraint conditions.

7. The method according to any one of claims 1 to 6, characterized in that: According to the initial water body range result, determine the growth seed point, including: The dual-polarization SAR image is divided into a plurality of sub-regions, and growth seed points corresponding to the plurality of sub-regions are determined according to the initial water body range result.

8. A water body range determination device, characterized in that: include: An acquisition module, used for acquiring a dual-polarization synthetic aperture radar SAR image of a predetermined area; A first determination module is used to determine dual-polarization water body indices corresponding to a plurality of pixel points in a dual-polarization SAR image, and determine an objective function corresponding to the dual-polarization SAR image, wherein the objective function is a function for determining a water body area; A second determination module is used to perform rough water extraction according to the dual-polarization water indexes corresponding to the plurality of pixel points to obtain an initial water range result; A third determination module is used to determine a growth seed point according to the initial water body range result; The fourth determination module is used to determine the target water body extraction result of the predetermined area according to the growth seed point and the objective function.

9. An electronic device, characterized in that: include: processor; a memory for storing instructions executable by the processor; Wherein, the processor is configured to execute the instructions to implement the water body range determination method as described in any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that: When the instructions in the computer-readable storage medium are executed by a processor of an electronic device, the electronic device is enabled to execute the water body range determination method as described in any one of claims 1 to 7.

Citation Information

Cited By

  • High-precision flood inundation area monitoring method based on dual-polarized SAR image

    CN118968320A

  • Region division method and device, computer equipment and storage medium

    CN121385884A