A water body classification method and device based on shape and water body submergence frequency characteristics

By acquiring remote sensing image data, calculating and segmenting water body indices, extracting shape and inundation frequency information, and using a random forest classifier to classify surface water bodies, the problem of lack of fine classification in remote sensing datasets is solved, and efficient and accurate water body type identification is achieved.

CN117611888BActive Publication Date: 2024-11-05YUNNAN NORMAL UNIV
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202311567441.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-11-23
Publication Date
2024-11-05
Estimated Expiration
2043-11-23

AI Technical Summary

Technical Problem

Existing technologies lack fine-grained classification of surface water remote sensing datasets, and the water classification system is not comprehensive enough to provide complete information on surface water types. Furthermore, manual identification methods are inefficient and costly.

Method used

By acquiring remote sensing image data, water body index calculation and segmentation are performed, surface water shape features and inundation frequency information are extracted, and water bodies are classified using a random forest classifier, including Otsu's threshold segmentation and multi-scale segmentation. Fine classification is then performed by combining shape and inundation frequency features.

Benefits of technology

It has enabled refined classification of surface water bodies, improved classification accuracy, and provided technical support for water resource management and ecological environment monitoring.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117611888B_ABST
    Figure CN117611888B_ABST
Patent Text Reader

Abstract

The present invention relates to a water body classification method based on shape and water body flooding frequency characteristics in the field of water resources research technology. The method comprises: acquiring remote sensing image data, performing image segmentation on the remote sensing image data, obtaining water body image data, and extracting surface water body shape feature information and water body flooding frequency information based on the water body image data, thereby classifying the surface water body based on the water body shape feature information and water body flooding frequency information using a random forest classifier. The scheme performs refined classification of surface water bodies based on shape features and water body flooding frequency features, realizes more accurate water body classification, and provides favorable technical guarantees for water resources management and accurate monitoring and evaluation of the ecological environment.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of water resource research, and in particular to a method and device for classifying water bodies based on shape and water body submergence frequency characteristics. Background Art

[0002] Water body classification research is of great significance to water environment protection and industrial production.

[0003] Currently, many remote sensing data sets related to surface water bodies lack more refined classifications. Most of them only treat surface water bodies as a single surface cover type. The water body classification system is not comprehensive enough and cannot provide complete surface water body type information.

[0004] In addition, many studies use manual identification and manual editing methods to produce surface water datasets, which is inefficient, time-consuming and costly.

[0005] Therefore, a water body classification method based on shape characteristics and water body flooding frequency characteristics is needed to overcome the above problems. Summary of the invention

[0006] One of the purposes of the present application is to provide a method and device for water body classification based on shape and water body submergence frequency characteristics to solve the problems raised in the above background technology.

[0007] According to an embodiment of one aspect of the present invention, a method for classifying a water body based on shape t and water body submergence frequency characteristics is provided, comprising:

[0008] Acquisition of remote sensing image data;

[0009] Calculating a water body index on the remote sensing image data, and segmenting the water body index calculation result to obtain water body image data;

[0010] Extracting surface water body shape feature information and water body flooding frequency information based on the water body image data;

[0011] Based on the water body shape feature information and water body inundation frequency information, a random forest classifier is used to classify the surface water body.

[0012] Preferably, the step of segmenting the water body index calculation result to obtain water body image data comprises:

[0013] The water index calculation results are segmented by threshold using the Otsu method to obtain a water-background binary classification map;

[0014] Performing image grayscale threshold segmentation on the binary classification image to separate the water body from the background;

[0015] The separated water body is segmented using a multi-scale segmentation method to obtain water body image data.

[0016] Preferably, the step of classifying the surface water body using a random forest classifier based on the water body shape feature information and the water body flooding frequency information comprises:

[0017] Based on the water body shape feature information, a random forest classifier is used to perform a first-level classification of the surface water body;

[0018] Based on the water body flooding frequency information, a random forest classifier is used to perform a second-level classification of the surface water body.

[0019] Preferably, the first level of classification is used to distinguish whether the water body category belongs to one of the first preset categories, and the first preset category includes: lakes, rivers, reservoirs, ponds, rice fields and ditches.

[0020] Preferably, the second level classification is used to distinguish whether the water body category belongs to one of the second preset categories, and the second preset category includes: permanent water body, seasonally changing water body and maximum water body.

[0021] Preferably, before extracting the surface water body shape feature information based on the water body image data, the method further includes:

[0022] The shape features are selected from several surface water body geometric shape features through feature importance calculation.

[0023] Preferably, the selected shape features include:

[0024] compactness, area, length, boundary index and shape index;

[0025] The surface water body shape feature information extracted based on the water body image data is the selected shape feature information.

[0026] Preferably, the water body flooding frequency information is obtained by superimposing water body images at different times and calculating the water body flooding frequency WIF of each pixel in the entire time series. The calculation method is as follows:

[0027]

[0028] N represents the number of pixel values ​​of all good observations, W ij is a binary variable, representing the image j Medium Pixels i The flooding status, 1 means flooding, 0 means not flooding, O ij Representing images j Medium Pixels iThe observation status of , 1 means observed, 0 means not observed.

[0029] Preferably, before performing image segmentation on the remote sensing image data, the method further comprises:

[0030] Preprocessing and correcting the remote sensing image data.

[0031] According to an embodiment of another aspect of the present invention, there is provided a water body classification device based on shape and water body submergence frequency characteristics, comprising:

[0032] The first unit is used to obtain remote sensing image data;

[0033] The second unit is used to calculate the water body index of the remote sensing image data and segment the water body index calculation result to obtain water body image data;

[0034] A third unit is used to extract surface water shape feature information and water flooding frequency information based on the water body image data;

[0035] The fourth unit is used to classify the surface water body by using a random forest classifier based on the water body shape feature information and the water body flooding frequency information.

[0036] Beneficial effects of the present invention:

[0037] The embodiment of the present invention obtains remote sensing image data, performs image segmentation on the remote sensing image data, obtains water body image data, and extracts surface water body shape feature information and water body flooding frequency information based on the water body image data, thereby classifying the surface water body based on the water body shape feature information and water body flooding frequency information using a random forest classifier. This solution performs refined classification of surface water bodies based on shape features and water body flooding frequency features, achieves more accurate water body classification, and provides favorable technical guarantees for water resource management and accurate monitoring and evaluation of the ecological environment.

[0038] Those skilled in the art will appreciate that although the following detailed description will be made with reference to the illustrated embodiments and drawings, the present application is not limited to these embodiments. Rather, the scope of the present application is broad and is intended to be limited only by the appended claims. BRIEF DESCRIPTION OF THE DRAWINGS

[0039] Other features, objects and advantages of the present application will become more apparent by reading the detailed description of non-limiting embodiments made with reference to the following drawings:

[0040] Figure 1 is a flow chart of a method for classifying water bodies based on shape and water body submergence frequency characteristics according to an embodiment of the present invention;

[0041] Figure 2 is a classification diagram of surface water types according to an embodiment of the present invention;

[0042] Figure 3 is a comparison diagram of lake classification results according to an embodiment of the present invention;

[0043] Figure 4 is a comparison diagram of river classification results according to an embodiment of the present invention;

[0044] Figure 5 is a comparison diagram of reservoir classification results according to an embodiment of the present invention;

[0045] Figure 6 is a comparison diagram of classification results of paddy fields and ponds according to an embodiment of the present invention;

[0046] Figure 7 It is a schematic diagram of the framework structure of a water classification device according to an embodiment of the present invention.

[0047] Those skilled in the art will appreciate that although the following detailed description will be made with reference to the illustrated embodiments and drawings, the present application is not limited to these embodiments. Rather, the scope of the present application is broad and is intended to be limited only by the appended claims. DETAILED DESCRIPTION

[0048] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are 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 are within the scope of protection of the present invention.

[0049] The terms "first", "second", etc. in the specification and claims of the present invention are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable when appropriate, so that the embodiments of the present invention can be implemented in an order other than those illustrated or described here, and the objects distinguished by "first", "second", etc. are generally of one type, and the number of objects is not limited. For example, the first object can be one or more. In addition, the term "and / or" in the specification and claims is used to describe the association relationship of associated objects, indicating that three relationships can exist. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the objects associated before and after are in an "or" relationship. In the embodiments of the present invention, the term "multiple" refers to two or more, and other quantifiers are similar.

[0050] It should be mentioned before discussing the exemplary embodiments in more detail that some exemplary embodiments are described as processes or methods depicted as flow charts. Although the flow charts describe the operations as sequential processes, many of the operations therein can be implemented in parallel, concurrently or simultaneously. In addition, the order of the operations can be rearranged. The process can be terminated when its operation is completed, but can also have additional steps not included in the accompanying drawings. The process can correspond to a method, function, procedure, subroutine, subprogram, etc.

[0051] The methods discussed below (some of which are illustrated by flow charts) may be implemented by hardware, software, firmware, middleware, microcode, hardware description language, or any combination thereof. When implemented by software, firmware, middleware, or microcode, the program code or code segments to perform the necessary tasks may be stored in a machine or computer readable medium (such as a storage medium). (One or more) processors may perform the necessary tasks.

[0052] The terms used herein are only for describing specific embodiments and are not intended to limit exemplary embodiments. Unless the context clearly indicates otherwise, the singular forms "one", "one" and "item" used herein are also intended to include plural numbers. It should also be understood that the terms "include" and / or "comprise" used herein specify the existence of stated features, integers, steps, operations, units and / or components, without excluding the existence or addition of one or more other features, integers, steps, operations, units, components and / or combinations thereof.

[0053] It should also be noted that, in some alternative implementations, the functions / actions mentioned may occur in a different order than that indicated in the accompanying drawings. For example, depending on the functions / actions involved, two figures shown in succession may actually be performed substantially simultaneously or may sometimes be performed in the reverse order.

[0054] During the research, the inventors found that many remote sensing datasets related to surface water bodies currently lack more refined classification. The surface water body elements in the global land cover remote sensing data products, the global surface water body thematic datasets, etc., mostly only treat surface water bodies as a single surface cover type. The water body classification system is not comprehensive enough and cannot provide complete surface water body type information. For example, water body types such as lakes, rivers, and reservoirs cannot be identified separately, and seasonal changes in surface water bodies cannot be reflected. In addition, many studies use manual identification and manual editing methods to produce surface water body datasets, which are inefficient, time-consuming, and costly.

[0055] Therefore, breaking through the limitation of existing methods that are difficult to achieve fine classification of surface water bodies in complex environments and establishing an efficient and refined method for surface water body type identification is a key requirement for meeting the fine management of water resources and accurate monitoring and evaluation of the ecological environment.

[0056] Based on this, the present application proposes a water body classification method based on shape and water body submergence frequency characteristics to solve the above problems. The technical solution of the present application is further described in detail below in conjunction with the accompanying drawings.

[0057] like Figure 1 FIG. 1 is a flow chart of a method for classifying a water body based on shape and water body submergence frequency characteristics provided by an embodiment of the present application. The method includes the following operations:

[0058] S10, acquiring remote sensing image data;

[0059] The method for obtaining remote sensing image data described in the embodiment of the present application can be implemented based on existing optical satellites. For example, Sentinel-2 is a high-resolution optical satellite in the Sentinel series, consisting of two satellites, 2A and 2B, with a revisit period of 5 days. The revisit period in high-latitude areas is only 3 days, which can meet the revisit requirements and coverage requirements. It is widely used in global high-resolution surface parameter inversion, repeated observations and disaster monitoring research. The multispectral imager (MSI) carried by the Sentinel-2 satellite includes 13 spectral bands such as visible light, near infrared and short-wave infrared. The image width is 290km and the spatial resolution is 10m, 20m, and 60m. The remote sensing data used in this application is the Sentinel-2 Level2A product from January 1, 2021 to December 31, 2021. The Level-2A image is a standard product of surface reflectivity and has been orthorectified by the bottom atmospheric reflectivity (BOA).

[0060] To ensure the accuracy of data processing, the embodiment of the present application will preprocess and correct the acquired remote sensing image data. The preprocessing includes: band merging, cloud removal, mosaicking and cropping, etc.; the correction includes: atmospheric correction, radiation correction, geometric correction and / or resampling, etc.

[0061] S11, calculating a water body index on the remote sensing image data, segmenting the water body index calculation result, and obtaining water body image data;

[0062] The method for calculating the water index of the remote sensing image data may include the following steps:

[0063] 1) extracting environmental background feature information from the remote sensing image data;

[0064] The environmental background characteristic information includes but is not limited to: Normalized Difference Vegetation Index (NDVI), Modified Normalized Difference Water Index (MNDWI), Normalized Difference Built-up Index (NDBI) and Modified Bare Soil Index (MBSI).

[0065] The method for extracting environmental background feature information from remote sensing image data described in an embodiment of the present application includes: first, calculating the environmental background features of the remote sensing image data; then, dividing the remote sensing image into 50 categories at equal intervals based on the value of each environmental background feature; then calculating the number of pixels in each category, each environmental background feature will generate a 50×1 environmental background feature information vector, and finally obtaining the statistical information of four environmental background features by superimposing a 200×1 environmental background feature information vector.

[0066] 2) performing similarity calculation on the environmental background feature information based on prior knowledge of the background environment to determine the environmental type of the water body area to be analyzed;

[0067] The main purpose of this step is to determine the environment type through similarity calculation, so as to construct the corresponding water body index based on the environment type, that is, to calculate the similarity between the image block of the water area to be analyzed and the background environment prior knowledge through the background similarity calculation method, and then judge whether the environment type of the image block is an urban or non-urban area. The embodiment of the present application can use the cosine similarity algorithm to calculate the similarity between background features and prior knowledge, so as to judge the type of background environment. Sentinel-2 with a resolution of 10 meters is selected as the data source, and the entire image is divided into non-overlapping sub-images at a scale of 200m×200m. Then, the environmental background similarity function is constructed to calculate the similarity between each input rule image block and the prior knowledge.

[0068] 3) Construct a water body index corresponding to the determined environment type.

[0069] The embodiment of this application constructs water body indexes suitable for different environments (urban / non-urban) by analyzing the spectral characteristics of typical objects, and then extracts surface water bodies in different environments by combining the background feature similarity algorithm. The water body index calculation method suitable for urban and non-urban areas constructed by this application based on the reflectance of eight typical spectral features of objects in different environments is as follows:

[0070] (1)

[0071] (2)

[0072] (3)

[0073] (4)

[0074] represents the reflectivity of red light band, Represents the reflectivity of the blue light band, represents the reflectivity of the green light band, Represents the reflectance in the NIR (near infrared) band, Indicates the reflectivity of SWIR1 (shortwave infrared 1) band, Indicates the reflectivity of SWIR2 (shortwave infrared 2) band, Represents the reflectance of the Vegetation RedEdge band. Indicates the reflectivity of the NIR narrow (near infrared narrow spectrum) band, Indicates the value of the maximum reflectance band in the bands Blue, Green, Red, NIR, SWIR1, and SWIR2. Indicates the value of the minimum reflectance band in the above bands; WEBI nc represents the non-urban background water index, WEBI c It represents the urban background water body index. If the background similarity is greater than 0.5, the environmental type of the water body area to be analyzed is urban background, and the water body index is calculated using the above formula (4). When the background similarity is less than 0.5, the environmental type of the water body area to be analyzed is non-urban background, and the water body index is calculated using the above formula (3).

[0075] After obtaining the water body index, the embodiment of the present application segments the index calculation result to obtain water body image data. The specific method may include:

[0076] First, the water index calculation results are segmented by threshold using the Otsu method to obtain a (water body-background) binary classification map;

[0077] Then, the above results are segmented by image grayscale threshold to separate the water body from the background. At this time, a large number of adjacent water bodies of different types are connected together.

[0078] Finally, the optimal segmentation scale is found, and the multi-scale segmentation method is used to segment the above results, and finally an independent single type of segmentation object is obtained, that is, the water body image data is obtained.

[0079] S12, extracting surface water shape feature information and water flooding frequency information based on the water body image data;

[0080] This application constructs a surface water classification system based on the water body formation mode and water body flooding frequency information, such as Figure 2 As shown, the first level classification ( Figure 2 The first level of classification (classification one) is based on the way surface water bodies are formed, which can be divided into natural water bodies, semi-artificial water bodies and artificial water bodies; the second level of classification (classification two) is based on the shape characteristics of water bodies, which can be divided into lakes, rivers, reservoirs, rice fields / ponds, and ditches; the third level of water bodies (classification three) is based on the frequency of water body inundation, which can be divided into seasonal wetlands, seasonal rivers, seasonal reservoirs, rice fields, non-seasonal lakes, non-seasonal rivers, non-seasonal reservoirs, ponds, ditches and other categories.

[0081] Different types of surface water bodies have different geometric shapes. For example, lakes are usually large irregular polygons, ponds and rice fields are mostly small regular rectangles, rivers are slender and curved linear water bodies, and reservoirs are complex polygons with curved boundaries. Therefore, water body shape characteristics can be used to make a preliminary distinction between the above five categories of water bodies.

[0082] It can be understood that the shape of a water body includes several features, and it is necessary to select the water body shape features used in the present invention from several features. The embodiment of the present application selects the shape features from several surface water body geometric shape features through feature importance calculation. For example, 10 commonly used water body shape features are first selected as the initial features for classification, and 5 features are selected from the 10 selected features through feature importance calculation to form a classification feature space, which is sorted according to importance, namely Compactness, Area, Length, Border index, and Shapeindex.

[0083] This application determines and classifies permanent water bodies (water bodies that do not change with the seasons and exist throughout the year, with the minimum flooding range of the water body), seasonal water bodies (water bodies whose flooding range changes with the seasons) and maximum water bodies (water bodies with the maximum flooding range of the water body) by calculating the frequency of water body pixels in the image (that is, the water body flooding frequency). The water body flooding frequency (WIF) refers to the ratio of the number of water body floodings that occur in a region to the total number of floodings in the time series. The water body flooding frequency information is calculated by superimposing water body maps at different times to calculate the water body flooding frequency of each pixel in the entire time series. The calculation method is as follows:

[0084]

[0085] N represents the number of pixel values ​​of all good observations, W ij is a binary variable, representing the image j Medium Pixels i The flooding status, 1 means flooding, 0 means not flooding, O ij Representing images j Medium Pixels i The observation status of , 1 means observed, 0 means not observed.

[0086] S13. Based on the water body shape feature information and water body inundation frequency information, the surface water body is classified using a random forest classifier.

[0087] It can be seen from the water body categories constructed in the present application that different categories of water bodies have different shape characteristics and water body flooding frequency characteristics. Therefore, the embodiment of the present application constructs a WCSF (Water Classification based on Shape features and Flooding frequency) method based on shape characteristics and water body flooding frequency characteristics to perform refined type identification of surface water bodies.

[0088] Different types of water bodies have different shape characteristics. First, the random forest classifier based on shape characteristics can identify five types of water bodies, including lakes, rivers, reservoirs, ponds / rice fields, and ditches. Secondly, non-seasonal lakes, non-seasonal rivers, and non-seasonal reservoirs are permanent water bodies that are covered almost all year round, while seasonal wetlands, seasonal rivers, and seasonal reservoirs are seasonally changing water bodies that are only covered by water during the flood season and are land during the dry season. Therefore, the above types of water bodies can be identified by a random forest classifier based on the frequency characteristics of water body inundation.

[0089] Therefore, the step of classifying the surface water body using a random forest classifier based on the water body shape feature information and the water body flooding frequency information in the embodiment of the present application includes the following two steps:

[0090] 1) Based on the water body shape feature information, a first-level classification of the surface water body is performed using a random forest classifier; the first-level classification is used to distinguish whether the water body category belongs to one of the first preset categories, and the first preset category includes: lakes, rivers, reservoirs, ponds, rice fields and ditches.

[0091] 2) Based on the water body flooding frequency information, a random forest classifier is used to perform a second-level classification of the surface water body. The second-level classification is used to distinguish whether the water body category belongs to one of the second preset categories, and the second preset category includes: permanent water body, seasonally changing water body and maximum water body.

[0092] This application realizes refined water body type recognition. First, the second category is recognized based on the shape characteristics, and then the third category is recognized based on the water body flooding frequency characteristics. Figure 2 According to the type correspondence in , once category two and category three are determined, category one is also determined.

[0093] In order to better demonstrate the water body classification effect of this application, several sets of experimental data are used for illustration below.

[0094] In the study area, 500 verification samples of nine types of water bodies were selected, including non-seasonal lakes, seasonal wetlands, non-seasonal rivers, seasonal rivers, non-seasonal reservoirs, seasonal reservoirs, ponds, rice fields, and ditches, totaling 4,500. Among them, seasonal water bodies were selected from the flood season from July to September, and non-seasonal water bodies were selected from the non-rainy season from November to December. In order to better analyze the accuracy of the classification results of the WCSF water body classification method of this application, the inventor selected four remote sensing data products related to the surface water body type for comparison with the extraction results of this article. Since the area of ​​artificial water bodies and ditches in the study area accounts for a small proportion, and few studies have been conducted on the extraction of ditches, only lakes, rivers, reservoirs, rice fields and ponds were selected for comparative analysis of classification details with existing data sets.

[0095] The overall accuracy of water body type identification using the method described in this application is 89.87%, and the kappa coefficient is 0.84. The classification accuracy of non-seasonal water bodies is generally higher than that of seasonal water bodies. The classification accuracy of non-seasonal lakes, non-seasonal rivers, non-seasonal reservoirs, rice fields, ponds, and ditches is more than 90%, among which the classification accuracy of non-seasonal lakes is the highest, with a producer accuracy (PA) of 92.46% and a user accuracy (UA) of 91.07%; followed by non-seasonal rivers, with a producer accuracy of 92.02% and a user accuracy of 91.58%; followed by non-seasonal reservoirs, with a producer accuracy of 91.58% and a user accuracy of 91.25%. The producer accuracy and user accuracy of artificial water bodies (rice fields, ponds, ditches) are both higher than 90%. The producer accuracy of ponds is 91.37%, and the user accuracy is 91.54%, the producer accuracy of ditches is 90.87%, and the user accuracy is 91.67%, and the producer accuracy of rice fields is 90.05%, and the user accuracy is 90.38%. The lowest classification accuracy is seasonal wetlands, with producer accuracy of 86.47% and user accuracy of 85.92%; followed by seasonal rivers, with producer accuracy of 88.71% and user accuracy of 89.16%; and finally seasonal reservoirs, with producer accuracy of 89.87% and user accuracy of 88.20%. The classification accuracy of the nine types of water bodies is shown in the following table

[0096]

[0097] The comparison of lake classification results is shown in the figure below. Figure 3Shown

[0098] The area of ​​lakes in the urban agglomeration in the middle reaches of the Yangtze River in the China Lake Dataset (CLD) is 8709.56 square kilometers. The area of ​​lakes extracted in this experiment (including seasonal wetlands and non-seasonal lakes) is 9512.39 square kilometers. Figure 3 a and b are two areas with densely distributed lakes along the Yangtze River. Figure 3 It can be seen that the smaller lakes in the red dashed box are not extracted in the CLD. The lake extraction using the method of this application is more complete, and the smaller lakes are also identified in detail.

[0099] Comparison of river classification results Figure 4 Shown

[0100] The river area of ​​the urban agglomeration in the middle reaches of the Yangtze River in the Chinese Academy of Sciences wetland spatial distribution dataset (CAS_Wetlands) is 6620.47 square kilometers, and the extraction result of this method (including seasonal rivers and non-seasonal rivers) is 5979.49 square kilometers. Figure 4 As shown in the figure, a is a partial enlarged view of the Ganjiang River. The thinner rivers in the red dashed box are omitted in CAS_Wetlands, and the water body extraction of the Ganjiang River mainstream is incomplete. This method extracts more complete details. b is a partial enlarged view of rivers in the Poyang Lake Basin. The thin and long rivers are omitted in CAS_Wetlands, and the classification is more complete using the method of this application.

[0101] Comparison of reservoir classification results Figure 5 Shown

[0102] The total area of ​​reservoirs in the Yangtze River Middle Reaches Urban Agglomeration in the Global Reservoir and Dam Database (GRanD) is 1849.28 square kilometers, and the reservoir area extracted by this research method (including seasonal reservoirs and non-seasonal reservoirs) is 2584.42 square kilometers. Figure 5 As shown, a and b are the mountainous and hilly areas in the northern part of the study area. GRanD missed the reservoir in the red dotted box. The extraction results using the method of this application are closer to the actual results of manual vectorization, and the reservoir types in the study area are more completely identified.

[0103] Comparison of classification results of rice fields and ponds Figure 6 Shown

[0104] The China Water Cover Map (CWaC) shows that the rice field area is 13335.65 square kilometers and the pond area is 2060.72 square kilometers. In this study, the rice field area extracted is 9468.90 square kilometers and the pond area is 2091.59 square kilometers. Figure 6 As shown in the figure, a is the rice planting area in the Dongting Lake Basin of the Yangtze River Middle Reaches Urban Agglomeration. The rice extraction results in CWaC are relatively fragmented, and the boundaries of the rice fields are blurred. The extraction results using the method of this application are clearer, and the boundaries of the rice fields are complete. b is an enlarged view of the pond in the study area. Compared with the manual vectorization results, the water body at the edge of the pond in CWaC is mixed with the land part, and the intervals between the ponds are unclear. In the extraction results using the method of this application, the pond water body and the land are distinguished from each other, reducing the extraction error and improving the accuracy of pond identification.

[0105] The present application also provides a water body classification device based on shape and water body submergence frequency characteristics, such as Figure 7 The figure shows a schematic diagram of the framework structure of the device, wherein the device comprises:

[0106] The first unit 71 is used to obtain remote sensing image data;

[0107] The method for obtaining remote sensing image data described in the embodiment of the present application can be implemented based on existing optical satellites. For example, Sentinel-2 is a high-resolution optical satellite in the Sentinel series, consisting of two satellites, 2A and 2B, with a revisit period of 5 days. The revisit period in high-latitude areas is only 3 days, which can meet the revisit requirements and coverage requirements. It is widely used in global high-resolution surface parameter inversion, repeated observations and disaster monitoring research. The multispectral imager (MSI) carried by the Sentinel-2 satellite includes 13 spectral bands such as visible light, near infrared and short-wave infrared. The image width is 290km and the spatial resolution is 10m, 20m, and 60m. The remote sensing data used in this application is the Sentinel-2 Level2A product from January 1, 2021 to December 31, 2021. The Level-2A image is a standard product of surface reflectivity and has been orthorectified by the bottom atmospheric reflectivity (BOA).

[0108] To ensure the accuracy of data processing, the embodiment of the present application will preprocess and correct the acquired remote sensing image data. The preprocessing includes: band merging, cloud removal, mosaicking and cropping, etc.; the correction includes: atmospheric correction, radiation correction, geometric correction and / or resampling, etc.

[0109] The second unit 72 is used to calculate the water body index of the remote sensing image data and segment the water body index calculation result to obtain water body image data;

[0110] The specific method of calculating the water body index and dividing the water body index calculation result is the same as described in the above method embodiment, and will not be repeated here.

[0111] The third unit 73 is used to extract surface water shape feature information and water flooding frequency information based on the water body image data;

[0112] This application constructs a surface water classification system based on the water body formation mode and water body flooding frequency information, such as Figure 2 As shown, it mainly includes: seasonal wetlands, seasonal rivers, seasonal reservoirs, rice fields, non-seasonal lakes, non-seasonal rivers, non-seasonal reservoirs, ponds, ditches and other categories.

[0113] Different types of surface water bodies have different geometric shapes. For example, lakes are usually large irregular polygons, ponds and rice fields are mostly small regular rectangles, rivers are slender and curved linear water bodies, and reservoirs are complex polygons with curved boundaries. Therefore, water body shape characteristics can be used to make a preliminary distinction between the above five categories of water bodies.

[0114] It can be understood that the shape of a water body includes several features, and it is necessary to select the water body shape feature used in the present invention from several features. The third unit 73 of the embodiment of the present application selects the shape feature from several surface water body geometric shape features through feature importance calculation. For example, firstly, 10 commonly used water body shape features are selected as the initial features for classification, and 5 features are selected from the 10 selected features through feature importance calculation to form a classification feature space, which is sorted according to importance, namely Compactness, Area, Length, Border index, and Shapeindex.

[0115] The third unit 73 of the present application determines and classifies permanent water bodies (0.75≤WIF≤1), seasonal water bodies (0.25≤WIF≤0.75) and maximum water bodies (0.25≤WIF≤1) by calculating the frequency of water body pixels in the image (that is, water body flooding frequency). The water body flooding frequency (WIF) refers to the ratio of the number of water body floodings that occur in a region to the total number of floodings in the time series. The water body flooding frequency information is obtained by superimposing water body maps at different times and calculating the water body flooding frequency of each pixel in the entire time series. The calculation method is as follows:

[0116]

[0117] N represents the number of pixel values ​​of all good observations, W ij is a binary variable, representing the image j Medium Pixels iThe flooding status, 1 means flooding, 0 means not flooding, O ij Representing images j Medium Pixels i The observation status of , 1 means observed, 0 means not observed.

[0118] The fourth unit 74 is used to classify the surface water body by using a random forest classifier based on the water body shape feature information and the water body flooding frequency information.

[0119] It can be seen from the water body categories constructed in the present application that different categories of water bodies have different shape characteristics and water body flooding frequency characteristics. Therefore, the embodiment of the present application constructs a method based on shape characteristics and water body flooding frequency characteristics to perform refined type identification of surface water bodies.

[0120] Different types of water bodies have different shape characteristics. First, the random forest classifier based on shape characteristics can identify five types of water bodies, including lakes, rivers, reservoirs, ponds / rice fields, and ditches. Secondly, non-seasonal lakes, non-seasonal rivers, and non-seasonal reservoirs are permanent water bodies that are covered almost all year round, while seasonal wetlands, seasonal rivers, and seasonal reservoirs are seasonally changing water bodies that are only covered by water during the flood season and are land during the dry season. Therefore, the above types of water bodies can be identified by a random forest classifier based on the frequency characteristics of water body inundation.

[0121] Therefore, the step of classifying the surface water body using a random forest classifier based on the water body shape feature information and the water body flooding frequency information in the embodiment of the present application includes the following two steps:

[0122] 1) Based on the water body shape feature information, a first-level classification of the surface water body is performed using a random forest classifier; the first-level classification is used to distinguish whether the water body category belongs to one of the first preset categories, and the first preset category includes: lakes, rivers, reservoirs, ponds, rice fields and ditches.

[0123] 2) Based on the water body flooding frequency information, a random forest classifier is used to perform a second-level classification of the surface water body. The second-level classification is used to distinguish whether the water body category belongs to one of the second preset categories, and the second preset category includes: permanent water body, seasonally changing water body and maximum water body.

[0124] In summary, the water body classification method and device described in the embodiment of the present invention first obtains remote sensing image data, performs image segmentation on the remote sensing image data, obtains water body image data, and extracts surface water body shape feature information and water body flooding frequency information based on the water body image data, thereby classifying the surface water body based on the water body shape feature information and water body flooding frequency information using a random forest classifier. This solution performs refined classification of surface water bodies based on shape features and water body flooding frequency features, achieves more accurate water body classification, and provides favorable technical guarantees for water resource management and accurate monitoring and evaluation of the ecological environment.

[0125] It should be understood that the present invention is not limited to the exact construction that has been described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present invention is limited only by the appended claims.

[0126] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims

1. A water body classification method based on shape characteristics and water body flooding frequency characteristics, characterized in that: include: Acquisition of remote sensing image data; Calculating a water body index on the remote sensing image data, and segmenting the water body index calculation result to obtain water body image data; Extracting surface water body shape feature information and water body flooding frequency information based on the water body image data; Based on the water body shape feature information and water body inundation frequency information, using a random forest classifier to classify the surface water body; The step of classifying the surface water body using a random forest classifier based on the water body shape feature information and the water body flooding frequency information comprises: Based on the water body shape feature information, a random forest classifier is used to perform a first-level classification of the surface water body; Based on the water body flooding frequency information, a random forest classifier is used to perform a second-level classification of the surface water body; The first level of classification is used to distinguish whether the water body category belongs to one of the first preset categories, and the first preset category includes: lakes, rivers, reservoirs, ponds, rice fields and ditches; The second level classification is used to distinguish that the water body category belongs to one of the second preset categories, and the second preset category includes: permanent water body, seasonally changing water body and maximum water body; The water body flooding frequency information is obtained by superimposing water body images at different times and calculating the water body flooding frequency WIF of each pixel in the entire time series. The calculation method is as follows: N represents the number of pixel values ​​of all good observations, W ij is a binary variable, indicating the flooding state of pixel i in image j, 1 means flooding, 0 means not flooding, ij Represents the observation status of pixel i in image j, 1 means observed, and 0 means not observed.

2. The method according to claim 1, characterized in that The step of segmenting the water body index calculation result to obtain water body image data comprises: The water index calculation results are segmented by threshold using the Otsu method to obtain a water-background binary classification map; Performing image grayscale threshold segmentation on the binary classification image to separate the water body from the background; The separated water body is segmented using a multi-scale segmentation method to obtain water body image data.

3. The method according to claim 1, characterized in that Before extracting the surface water body shape feature information based on the water body image data, the method further includes: The shape features are selected from several surface water body geometric shape features through feature importance calculation.

4. The method according to claim 3, characterized in that The selected shape features include: compactness, area, length, boundary index and shape index; The surface water body shape feature information extracted based on the water body image data is the selected shape feature information.

5. The method according to claim 1, characterized in that Before performing image segmentation on the remote sensing image data, the method further includes: Preprocessing and correcting the remote sensing image data.

6. A water body classification device based on shape characteristics and water body submergence frequency characteristics, characterized in that: include: The first unit is used to obtain remote sensing image data; The second unit is used to calculate the water body index of the remote sensing image data and segment the water body index calculation result to obtain water body image data; A third unit is used to extract surface water shape feature information and water flooding frequency information based on the water body image data; A fourth unit is used to classify the surface water body using a random forest classifier based on the water body shape feature information and the water body flooding frequency information; The step of classifying the surface water body using a random forest classifier based on the water body shape feature information and the water body flooding frequency information comprises: Based on the water body shape feature information, a random forest classifier is used to perform a first-level classification of the surface water body; Based on the water body flooding frequency information, a random forest classifier is used to perform a second-level classification of the surface water body; The first level of classification is used to distinguish whether the water body category belongs to one of the first preset categories, and the first preset category includes: lakes, rivers, reservoirs, ponds, rice fields and ditches; The second level classification is used to distinguish that the water body category belongs to one of the second preset categories, and the second preset category includes: permanent water body, seasonally changing water body and maximum water body; The water body flooding frequency information is obtained by superimposing water body images at different times and calculating the water body flooding frequency WIF of each pixel in the entire time series. The calculation method is as follows: N represents the number of pixel values ​​of all good observations, W ij is a binary variable, indicating the flooding state of pixel i in image j, 1 means flooding, 0 means not flooding, ij Represents the observation status of pixel i in image j, 1 means observed, and 0 means not observed.

Citation Information

Patent Citations

  • Agricultural land extraction method based on time sequence Gaofen No.1 remote sensing image

    CN110852262A

  • Surface water body product generation method and system based on Google Earth Engine cloud platform

    CN111738144A

  • Machine learning water body extraction method fusing multiple features of visible light-infrared-radar images

    CN116385842A

  • System and method for performing accurate hydrologic determination using disparate weather data sources

    US20190018918A1