Coastline automatic extraction method and system based on multi-source remote sensing and DEM data
By combining multi-source remote sensing data and a region growing algorithm, an integrated pixel water body index is constructed to realize the intelligent extraction and differentiation of coastlines, solve the problems of low efficiency and inconsistent accuracy of coastline identification in the existing technology, and provide high-precision coastline Data is used for management and protection.
Patent Information
- Application Number
- CN202410738007.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-07
- Publication Date
- 2024-09-06
- Estimated Expiration
- 2044-06-07
AI Technical Summary
Existing technologies are inefficient in accurately identifying and extracting coastlines, with varying accuracy and high cost. They also lack coastline recognition technology based on high-precision World Imagery images, which poses problems especially in large-scale applications.
An intelligent coastline extraction method based on the region growing algorithm is adopted, combined with World Imagery high-precision remote sensing image data, Sentinel-1 synthetic aperture radar surface image product data, Sentinel-2 multispectral surface reflectance product data and Copernicus digital elevation model data. By constructing an integrated pixel water index, the region growing algorithm is used to extract coastline data, and the rectangularity index is used to distinguish seawalls and natural coastlines.
It significantly improves the accuracy and efficiency of coastline identification, can distinguish seawalls and natural coastlines from extracted coastlines, provides scientific basis for coastline management and protection, and reduces costs, using free public resources for coastline extraction and management.
Smart Images

Figure CN118608961A
Abstract
Description
Technical Field
[0001] The invention belongs to the field of automatic interpretation of geographic information, and in particular relates to a coastline remote sensing intelligent extraction method. Background Art
[0002] In the field of remote sensing image processing, especially in the accurate identification and extraction of coastlines, there is a significant technical demand. The efficient and accurate extraction of coastline data and the classification of coastline data have irreplaceable value for environmental monitoring, disaster prevention and mitigation, land use planning, etc. However, manual coastline identification is not only inefficient, but also faces problems such as inconsistent accuracy and high cost when applied on a large scale. In the field of coastline monitoring, there is currently a lack of coastline identification technology based on high-precision World Imagery images. Summary of the invention
[0003] The purpose of the present invention is to fill the gap in the prior art and propose a coastline remote sensing intelligent extraction method. The present invention is based on regional growing algorithm technology, uses World Imagery high-precision remote sensing image data, Sentinel-1 synthetic aperture radar surface image product data (Sentinel-1_SAR_GRD), Sentinel-2 multispectral surface reflectance product data (Sentinel-2_MSI_L2A), Copernicus digital elevation model (Copernicus DEM GLO-30), constructs an integrated pixel water index, uses regional growing algorithm to extract coastline data, and constructs a rectangular index to distinguish seawalls and natural coastlines to achieve intelligent extraction of coastlines. Input the regional boundary and the corresponding remote sensing image of the region to obtain the extraction result of coastline vector data.
[0004] Based on the above invention ideas, the technical solution provided by the present invention to achieve the invention object is a method for automatically extracting coastlines based on multi-source remote sensing and DEM data, comprising the following steps:
[0005] Step 1, constructing an integrated pixel water index based on multi-source data, wherein the multi-source data includes Sentinel-2_MSI_L2A, Sentinel-1_SAR_GRD, Copernicus DEM GLO-30, and World Imagery data;
[0006] Step 2, performing regional growth based on the integrated pixel water index to obtain the coastline data;
[0007] Step 3: Cluster the coastline data extraction results obtained in step 2 based on the sliding window, and then classify the coastline data based on the rectangular index to obtain the seawall and natural coastline.
[0008] Furthermore, the specific implementation of step 1 includes the following sub-steps:
[0009] Step 1.1, trimming multi-source data;
[0010] Step 1.2, use the clipped Sentinel-2 multispectral surface reflectance product data to calculate the Normalized Difference Water Index NDWI to obtain the raster data R1;
[0011] Step 1.3, extract the water mask band of the Copernicus digital elevation model data to obtain raster data R2, and extract the VH band of the Sentinel-1 synthetic aperture radar surface image product data to obtain raster data R3;
[0012] Step 1.4, apply the rgb2gray algorithm to the cropped World Imagery high-precision remote sensing image to obtain a grayscale image, obtain raster data R4, calculate the ratio of the contrast of the eight neighborhoods of the pixel in the grayscale image R4 to the mean as the texture image, and obtain raster data R5;
[0013] Step 1.5, by combining the R1 to R5 raster images, a five-band image (R1, R2, R3, R4, R5) is formed; on this basis, the five-band image pixel value of the pixel at the position (x, y) is defined as [V1, V2, V3, V4, V5], and this vector is defined as the integrated pixel water index, x and y represent the horizontal and vertical coordinates of the pixel on the image, Vn' represents the pixel value of this pixel in the Rn band, and n' is 1-5.
[0014] Furthermore, the calculation formula of the normalized difference water index NDWI is as follows:
[0015]
[0016] In formula (1), Rrs(560) and Rrs(842) are the green band and near-infrared band of the Sentinel-2 multispectral surface reflectance product data, and their corresponding central wavelengths are 560 nm and 842 nm, respectively.
[0017] Furthermore, the calculation formula for calculating the grayscale image of World Imagery is as follows:
[0018] Gray=0.2125*Red+0.7154*Green+0.0721*Blue (2)
[0019] In formula (2), Gray is the calculated grayscale image, Red, Green, and Blue are the pixel values of the red, green, and blue bands of the World Imagery remote sensing data, respectively;
[0020] The formula for calculating the World Imagery texture image is as follows:
[0021]
[0022] In formula (3), T is the calculated texture image, T (x,y) Represents the pixel value of the texture image at position (x, y), σ(Gray x,y,3 ) represents the standard deviation of the grayscale image within a 3×3 range centered at position (x, y), μ(Gray x,y,3 ) represents the average value of the grayscale image in a 3×3 range centered at position (x,y).
[0023] Furthermore, the specific implementation of step 2 includes the following sub-steps:
[0024] Step 2.1: Extract growth points based on integrated pixel water index
[0025] According to the integrated pixel water index obtained in step 1, the water area grid is extracted, and the extraction standard is:
[0026] (V1>0)&(V2==“ocean”|“lake”)&(V3<-20) (4) Generate fishing net points with an interval of a meters as growth points based on the extracted water area grid;
[0027] Step 2.2: Apply region growing algorithm based on integrated pixel water index
[0028] According to the integrated pixel water index obtained in step 1, the land area is extracted, and the extraction standard is:
[0029] (V1<0)&(V3>-20) (5) According to the user's choice, the region growing algorithm is applied, that is, formula (6). The region growing algorithm uses the fishing net point obtained in step 2.1 as the initial growth point and expands outward pixel by pixel. For the seed point p, when the four neighboring pixels q above, below, left and right satisfy the following formula, the pixel p is determined to be a water pixel:
[0030] |Gray p -Gray q |≤M (6)
[0031] Gray in formula (6) p Gray q Respectively represent Vn' in the integrated pixel water index corresponding to the seed points p and q, and M is the growth threshold set for regional growth;
[0032] Step 2.3: Remove small holes in the region growing results
[0033] Filter out the small holes in the region growing algorithm result obtained in step 2.2, vectorize the raster data after filling the holes, and extract the boundary line data;
[0034] Step 2.4, smoothing of the coastline
[0035] For step 2.3, the boundary line data obtained are smoothed using the Douglas-Peucker algorithm to obtain the coastline extraction result.
[0036] Furthermore, in step 2.2, an iteratively increased growth threshold M is used. The initial value of M is first set, and then M is increased by a fixed value in each iteration. The iteration is stopped when the area of the growing region in the land area exceeds q.
[0037] Furthermore, in step 2.3, the surface elimination component of ArcGIS is used to fill the independent holes whose area is smaller than k.
[0038] Furthermore, the specific implementation of step 3 is as follows:
[0039] Step 3.1: Clustering coastline data based on sliding windows
[0040] Cluster the coastline data extraction results obtained in step 2 based on the sliding window, interrupt the coastline data along a certain distance, and calculate the pixel average of the blue light band of the Sentinel-2 multispectral surface reflectance product data corresponding to each interrupted line data
[0041]
[0042] In formula (7), P(L1) is the pixel set covered by the interrupted line data L1 on the Sentinel-2 multispectral surface reflectance product data image, and the reflectance value of each pixel p in the blue band of the Sentinel-2 multispectral surface reflectance product data is recorded as B(p);
[0043] Starting from the starting point of the interrupted coastline data, based on the sliding window along the line, it is determined whether to merge the two continuous interrupted line data L1 and L2. When the following formula is satisfied, the two data are merged:
[0044]
[0045] In formula (8) and are the average values of blue light band pixels corresponding to L1 and L2, respectively, and N is a constant;
[0046] Based on the sliding window, it is iterated along the line until the end of the coastline is reached;
[0047] Step 3.2, classify the coastline data based on the rectangular index, classify the line data with rectangular features as seawalls, and classify other line data as natural coastlines.
[0048] Furthermore, the line data with rectangular features in step 3.2 is determined as follows:
[0049] Assume that the line data L1 consists of a vertex set P = {p1, p2, ..., p n}, n is the number of vertices, and each vertex p i There is an interior angle θ in,i and the exterior angle θ out,i And satisfy θ in,i +θ out,i =360°, for the convenience of calculation, take θ in,i and θ out,i The angle less than 180° is set as θ i , where 2≤i≤n-1; when the line data L1 satisfies the following formula, the line data L1 is considered to have a rectangular feature:
[0050]
[0051] In formula (9), I is the judgment function. When the internal condition |θ i Returns 1 if -90°|≤c°, otherwise returns 0.
[0052] The present invention also provides a coastline automatic extraction system based on multi-source remote sensing and DEM data, comprising the following modules:
[0053] An integrated pixel water index construction module is used to construct an integrated pixel water index based on multi-source data, wherein the multi-source data includes Sentinel-2 multispectral surface reflectance product data Sentinel-2_MSI_L2A, Sentinel-1 synthetic aperture radar surface image product data Sentinel-1_SAR_GRD, Copernicus digital elevation model data, and World Imagery data;
[0054] The coastline data acquisition module is used to obtain the coastline data by performing regional growth based on the integrated pixel water index;
[0055] The coastline classification module is used to cluster the obtained coastline data extraction results based on the sliding window, and then classify the coastline data based on the rectangular index to obtain the seawall and natural coastline.
[0056] The present invention uses World Imagery high-precision remote sensing image data, Sentinel-1 synthetic aperture radar surface image product data (Sentinel-1_SAR_GRD), Sentinel-2 multispectral surface reflectance product data (Sentinel-2_MSI_L2A), and Copernicus digital elevation model (Copernicus DEM GLO-30) to identify the coastline. World Imagery's high-resolution images (up to 0.6 meters) can capture surface features more finely, significantly improving the recognition accuracy of the coastline. The present invention can distinguish seawalls and natural coastlines from the extracted coastline, and help analyze the impact of human activities on changes in different types of coastlines, providing a scientific basis for coastline management and protection. The present invention shows significant advantages over traditional methods that rely on traditional remote sensing data. In addition, all basic data used in the present invention come from free and open resources, which further reduces costs and facilitates coastline extraction and management in a wide range of coastal areas. BRIEF DESCRIPTION OF THE DRAWINGS
[0057] Figure 1 The overall network structure and processing flow chart of an embodiment of the present invention.
[0058] Figure 2 These are experimental data diagrams of an embodiment of the present invention, where (a) is a World Imagery image, (b) is a Sentinel-2 image, (c) is a water mask band image, and (d) is a Sentinel-1 VH image.
[0059] Figure 3 It is the water area extracted according to the integrated pixel index in the embodiment of the present invention.
[0060] Figure 4 The results of region growing in the embodiment of the present invention are used to fill holes. (a) is the result of region growing, and (b) is the result of filling holes.
[0061] Figure 5 Comparison between the coastline extracted by the experiment of the embodiment of the present invention and the real coastline, (a) is the coastline extraction result, and (b) is the real coastline.
[0062] Figure 6 This is the coastline classification result extracted by the experiment of the embodiment of the present invention.
[0063] Figure 7 The coastline classification results of the experimental extraction of the wave-containing area according to the embodiment of the present invention, (a) is the WorldImagery image, and (b) is the coastline extraction result. DETAILED DESCRIPTION
[0064] The present invention is described in detail below with reference to examples and drawings, and some processing in the process is demonstrated. This example performs intelligent coastline extraction on a certain area. The World Imagery image was taken on January 30, 2023. In order to eliminate the interference of clouds and fog, the period from January 1, 2023 to March 1, 2023 was selected on Google Earth Engine to calculate the average reflectivity. The Sentinel-1 synthetic aperture radar surface image product data (Sentinel-1_SAR_GRD) and Sentinel-2 multispectral surface reflectance product data (Sentinel-2_MSI_L2A) were obtained, and the production date of the Copernicus digital elevation model (Copernicus DEM GLO-30) obtained was 2015. Based on ArcMap 10.8 software, the format of all data is unified into TIFF format.
[0065] Figure 1 A flow chart of a method provided by an embodiment of the present invention is shown.
[0066] Specifically, in one embodiment provided by the present invention, a coastline automatic extraction method based on multi-source remote sensing and DEM data comprises the following steps:
[0067] Step 1: Build an integrated pixel water index by integrating World Imagery high-precision remote sensing image data, Sentinel-1 synthetic aperture radar surface image product data (Sentinel-1_SAR_GRD), Sentinel-2 multispectral surface reflectance product data (Sentinel-2_MSI_L2A), and Copernicus DEM GLO-30;
[0068] Step 1.1, pre-process the original data, and cut the original remote sensing image data according to the region file data input by the user; the region file data is required to be in shapefile format, and the data type is surface data. The present invention uses the gdalwarp-cutline tool provided by the open GDAL library for processing. The cropped images are as follows Figure 2 shown.
[0069] Step 1.2, calculate the normalized difference water index
[0070] The normalized difference water index NDWI is calculated using the clipped Sentinel-2 multispectral surface reflectance product data to obtain the raster data R1.
[0071] Among them, NDWI is an effective water body detection indicator, which distinguishes water bodies from non-water body areas through the reflectance of green light and near-infrared bands;
[0072] Calculate the NDWI corresponding to the Sentinel-2 multispectral surface reflectance product data and obtain the raster data R1:
[0073]
[0074] In formula (1), Rrs(560) and Rrs(842) are the green band and near-infrared band of the Sentinel-2 multispectral surface reflectance product data, and their corresponding central wavelengths are 560nm and 842nm respectively;
[0075] Step 1.3, extract Copernicus digital elevation water mask data and Sentinel-1 synthetic aperture radar VH data
[0076] The water mask band (WBM) of the Copernicus digital elevation model data was extracted to obtain the raster data R2; the "VH" band of the Sentinel-1 synthetic aperture radar surface image product data was extracted to obtain the raster data R3. The VH (Vertical Transmit and Horizontal Receive, VH) polarization mode is more suitable for the sea-land distinction task than the VV (Vertical Transmit and Vertical Receive, VV) polarization mode.
[0077] Step 1.4, calculate the grayscale image and texture image of World Imagery data
[0078] The rgb2gray algorithm is applied to the World Imagery high-precision remote sensing image to obtain a grayscale image and obtain raster data R4.
[0079] The calculation formula for calculating the grayscale image of World Imagery is as follows:
[0080] Gray=0.2125*Red+0.7154*Green+0.0721*Blue (2)
[0081] In formula (2), Gray is the calculated grayscale image, Red, Green, and Blue are the pixel values of the red, green, and blue bands of the World Imagery remote sensing data, respectively;
[0082] Calculate the World Imagery texture image to obtain raster data R5.
[0083] The ratio of the contrast to the mean of the eight neighborhoods of the pixel in the grayscale image R4 is calculated as the texture image to obtain the raster data R5. The calculation formula for calculating the World Imagery texture image is as follows:
[0084]
[0085] In formula (3), T is the calculated texture image, T (x,y) Represents the pixel value of the texture image at position (x, y), σ(Gray x,y,3 ) represents the standard deviation of the grayscale image within a 3×3 range centered at position (x, y), μ(Gray x,y,3 ) represents the average value of the grayscale image in a 3×3 range centered at position (x,y).
[0086] By combining the raster images from R1 to R5, a five-band image (R1, R2, R3, R4, R5) is formed. On this basis, the five-band image pixel value of the pixel at the position (x, y) is defined as [V1, V2, V3, V4, V5], and this vector is defined as the integrated pixel water index, where x and y represent the horizontal and vertical coordinates of the pixel on the image, respectively, and Vn represents the pixel value of this pixel in the Rn band.
[0087] Step 2: Perform regional growth based on the integrated pixel water index to obtain the coastline
[0088] Step 2.1: Extract growth points based on integrated pixel water index
[0089] According to the integrated pixel water index obtained in step 1, the water area grid is extracted ( Figure 3 ), the extraction criteria are:
[0090] (V1>0)&(V2==“ocean”|“lake”)&(V3<-20) (4)
[0091] Generate fishing net points with an interval of a meters as growth points according to the extracted water area grid, where a is 100 in the present invention;
[0092] Step 2.2: Apply region growing algorithm based on integrated pixel water index
[0093] According to the integrated pixel water index obtained in step 1, the land area is extracted, and the extraction standard is:
[0094] (V1<0)&(V3>-20) (5)
[0095] The regional growing algorithm is applied according to the user's choice. The algorithm uses the fishing net point obtained in step 2.1 as the initial growth point and expands outward pixel by pixel. For the seed point p, when the four neighboring pixels q above, below, left and right satisfy the following formula, the pixel p is determined to be a water pixel:
[0096] |Gray p -Gray q |≤M (6)
[0097] Gray in formula (6)p Gray q Respectively represent Vn in the integrated pixel water index corresponding to the seed point p, q (n=4 when the user defines that the image has no waves, and n=5 when there are waves). This example uses V4 to implement the region growing algorithm, and M is the growth threshold set for the region growing;
[0098] In this step, the present invention uses an iteratively increased growth threshold M. The initial value of M in the present invention is 0.005. M increases by 0.005 in each iteration. When the area of the growth region in the land area exceeds q, the iteration is stopped. In the present invention, q is 1 km. 2 , thus achieving accurate extraction of the coastline;
[0099] Step 2.3: Remove small holes in the region growing results
[0100] Filter out the small holes in the region growing algorithm results obtained in step 2.2. Specifically, use the Eliminate Polygon Part of ArcGIS to fill the independent holes with an area smaller than k ( Figure 5 ), in the present invention, k is 1km 2 ;
[0101] The raster data after filling the holes is vectorized to extract the boundary line data.
[0102] Step 2.4, smoothing of the coastline
[0103] For step 2.3, the boundary line data obtained is smoothed using the Douglas-Peucker algorithm to obtain the coastline extraction result.
[0104] Test analysis: Compare the coastline extraction results with the actual coastline ( Figure 5 ), it can be seen that the spatial distribution of the two is basically the same, which shows the technical effectiveness of the present invention. After calculation, the average prediction error of the present invention in the example area is 2.7m, which proves that the present invention can effectively extract the coastline.
[0105] Step 3, clustering the coastline data extraction results obtained in step 2 based on the sliding window, and then classifying the coastline data based on the rectangular index to obtain the seawall and natural coastline;
[0106] The present invention first clusters and then classifies the extracted coastline. The coastline obtained after clustering is segmented. The classification is used to determine whether each segment of the coastline is a seawall or a natural coastline.
[0107] Step 3.1: Clustering coastline data based on sliding windows
[0108] The coastline data extraction results obtained in step 2 are clustered based on the sliding window, and the coastline data are interrupted along a certain distance. In the present invention, the interruption interval is set to 10 meters. The pixel average value of the blue light band of the Sentinel-2 multispectral surface reflectance product data corresponding to each interrupted line data is calculated.
[0109]
[0110] In formula (7), P(L1) is the pixel set covered by the interrupted line data L1 on the Sentinel-2 multispectral surface reflectance product data image, and the reflectance value of each pixel p in the blue band of the Sentinel-2 multispectral surface reflectance product data is recorded as B(p);
[0111] Starting from the starting point of the interrupted coastline data, based on the sliding window along the line, it is determined whether to merge the two continuous interrupted line data L1 and L2. When the following formula is satisfied, the two data are merged:
[0112]
[0113] In formula (8) and are the average values of the Blue band pixels corresponding to L1 and L2 respectively. In the present invention, N is taken as 0.05.
[0114] Based on the sliding window, the end point of the coastline is determined by iterative loop along the line.
[0115] Step 3.2, classify the coastline data based on the rectangular index, classify the line data with rectangular features as "seawall", and classify other line data as "natural coastline" ( Figure 7 ).
[0116] Based on the results of step 3.1, construct the rectangularity index:
[0117] Assume that the line data L1 consists of a vertex set P = {p1, p2, ..., p n}, where each vertex p i (for all 2≤i≤n-1) there is an interior angle θ in,i and the exterior angle θ out,i And satisfy θ in,i +θ out,i =360°, for the convenience of calculation, take θ in,i and θ out,i The angle less than 180° is set as θ i , when the line data L1 satisfies the following formula, the line data L1 is considered to have rectangular features:
[0118]
[0119] In formula (9), I is the judgment function. When the internal condition |θ i When -90°|≤c°, 1 is returned, otherwise 0 is returned. In the present invention, c is 10 and d is 2.
[0120] Line data with rectangular features are classified as "seawalls", and other line data are classified as "natural coastlines" ( Figure 6 ).
[0121] In view of the fact that there may be waves in the World Imagery image, the present invention provides an additional embodiment. This embodiment uses V5 to implement the region growing algorithm. The remaining steps and parameter values used are the same as those of the previous embodiment. The corresponding World Imagery image and coastline extraction results are shown in FIG. Figure 7 shown.
[0122] Based on multi-source remote sensing data and regional growing algorithms, the present invention realizes fully automatic intelligent extraction of coastlines, and has high precision in extracting both natural coastlines and seawalls, greatly reducing the complexity of extraction, improving the efficiency of extraction, and providing a scientific basis for coastal management and protection. It is understood that there are no mature products on the market that use high-precision World Imagery images to extract coastlines, and the present invention fills the corresponding market gap.
[0123] On the other hand, an embodiment of the present invention also provides a coastline automatic extraction system based on multi-source remote sensing and DEM data, including the following modules:
[0124] An integrated pixel water index construction module is used to construct an integrated pixel water index based on multi-source data, wherein the multi-source data includes Sentinel-2_MSI_L2A, Sentinel-1_SAR_GRD, Copernicus DEMGLO-30, and World Imagery data;
[0125] The coastline data acquisition module is used to obtain the coastline data by performing regional growth based on the integrated pixel water index;
[0126] The coastline classification module is used to cluster the obtained coastline data extraction results based on the sliding window, and then classify the coastline data based on the rectangular index to obtain the seawall and natural coastline.
[0127] The specific implementation method of each module is the same as each step and will not be described in detail in the embodiment of the present invention.
[0128] In specific implementation, the method proposed in the technical solution of the present invention can be implemented by technical personnel in this field using computer software technology to realize automatic operation process. System devices for implementing the method, such as computer-readable storage media storing the corresponding computer program of the technical solution of the present invention and computer equipment running the corresponding computer program, should also be within the scope of protection of the present invention.
[0129] The above description is only a preferred specific implementation manner of the present invention, but the scope of protection of the present invention is not limited thereto. Any modifications, equivalent substitutions and improvements made by any technician familiar with the technical field within the technical scope disclosed by the present invention should be included in the scope of protection of the invention.
Claims
1. A coastline automatic extraction method based on multi-source remote sensing and DEM data, characterized in that: The steps include: Step 1, constructing an integrated pixel water index based on multi-source data, wherein the multi-source data includes Sentinel-2_MSI_L2A, Sentinel-1_SAR_GRD, Copernicus DEM GLO-30, and World Imagery data; Step 2, performing regional growth based on the integrated pixel water index to obtain the coastline data; Step 3: Cluster the coastline data extraction results obtained in step 2 based on the sliding window, and then classify the coastline data based on the rectangular index to obtain the seawall and natural coastline.
2. The method for automatically extracting coastlines based on multi-source remote sensing and DEM data as claimed in claim 1, characterized in that: The specific implementation of step 1 includes the following sub-steps: Step 1.1, trimming multi-source data; Step 1.2, use the clipped Sentinel-2 multispectral surface reflectance product data to calculate the Normalized Difference Water Index NDWI to obtain the raster data R1; Step 1.3, extract the water mask band of the Copernicus digital elevation model data to obtain raster data R2, and extract the VH band of the Sentinel-1 synthetic aperture radar surface image product data to obtain raster data R3; Step 1.4, apply the rgb2gray algorithm to the cropped World Imagery high-precision remote sensing image to obtain a grayscale image, obtain raster data R4, calculate the ratio of the contrast of the eight neighborhoods of the pixel in the grayscale image R4 to the mean as the texture image, and obtain raster data R5; Step 1.5, by combining the R1 to R5 raster images, a five-band image (R1, R2, R3, R4, R5) is formed; on this basis, the five-band image pixel value of the pixel at the position (x, y) is defined as [V1, V2, V3, V4, V5], and this vector is defined as the integrated pixel water index, x and y represent the horizontal and vertical coordinates of the pixel on the image, Vn' represents the pixel value of this pixel in the Rn band, and n' is 1-5.
3. The method for automatically extracting coastlines based on multi-source remote sensing and DEM data as claimed in claim 2, characterized in that: The calculation formula of normalized difference water index NDWI is as follows: In formula (1), Rrs(560) and Rrs(842) are the green band and near-infrared band of the Sentinel-2 multispectral surface reflectance product data, and their corresponding central wavelengths are 560 nm and 842 nm, respectively.
4. The method for automatically extracting coastlines based on multi-source remote sensing and DEM data as claimed in claim 2, characterized in that: The calculation formula for calculating the grayscale image of World Imagery is as follows: Gray= 0.2125*Red + 0.7154*Green + 0.0721*Blue (2) In formula (2), Gray is the calculated grayscale image, Red, Green, and Blue are the pixel values of the red, green, and blue bands of the World Imagery remote sensing data, respectively; The formula for calculating the World Imagery texture image is as follows: In formula (3), T is the calculated texture image, T (,) Represents the pixel value of the texture image at position (x, y), σ(Gray x,y,3 ) represents the standard deviation of the grayscale image within a 3×3 range centered at position (x, y), μ(Gray x,y,3 ) represents the average value of the grayscale image in a 3×3 range centered at position (x,y).
5. The method for automatically extracting coastlines based on multi-source remote sensing and DEM data as claimed in claim 2, characterized in that: The specific implementation of step 2 includes the following sub-steps: Step 2.1: Extract growth points based on integrated pixel water index According to the integrated pixel water index obtained in step 1, the water area grid is extracted, and the extraction standard is: (V1>0)&(V2=="ocean" | "lake")&(V3<-20) (4) Generate fishing net points with an interval of a meters as growth points based on the extracted water area grid; Step 2.2: Apply region growing algorithm based on integrated pixel water index According to the integrated pixel water index obtained in step 1, the land area is extracted, and the extraction standard is: (V1<0)&(V3>-20) (5) According to the user's choice, the region growing algorithm is applied, that is, formula (6). The region growing algorithm uses the fishing net point obtained in step 2.1 as the initial growth point and expands outward pixel by pixel. For the seed point p, when the four neighboring pixels q above, below, left and right satisfy the following formula, the pixel p is determined to be a water pixel: |Gray p -Gray q |≤M (6) Gray p Gray q Respectively represent Vn' in the integrated pixel water index corresponding to the seed points p and q, and M is the growth threshold set for regional growth; Step 2.3: Remove small holes in the region growing results Filter out the small holes in the region growing algorithm result obtained in step 2.2, vectorize the raster data after filling the holes, and extract the boundary line data; Step 2.4, smoothing of the coastline For step 2.3, the boundary line data obtained are smoothed using the Douglas-Peucker algorithm to obtain the coastline extraction result.
6. The method for automatically extracting coastlines based on multi-source remote sensing and DEM data as claimed in claim 5, characterized in that: In step 2.2, an iteratively increasing growth threshold M is used. First, the initial value of M is set, and then M increases by a fixed value in each iteration. The iteration is stopped when the area of the growing region in the land area exceeds q.
7. The method for automatically extracting coastlines based on multi-source remote sensing and DEM data as claimed in claim 5, characterized in that: In step 2.3, the surface elimination component of ArcGIS is used to fill the independent holes whose area is less than k.
8. The method for automatically extracting coastlines based on multi-source remote sensing and DEM data as claimed in claim 2, characterized in that: The specific implementation of step 3 is as follows: Step 3.1: Clustering coastline data based on sliding windows Cluster the coastline data extraction results obtained in step 2 based on the sliding window, interrupt the coastline data along a certain distance, and calculate the pixel average of the blue light band of the Sentinel-2 multispectral surface reflectance product data corresponding to each interrupted line data In formula (7), P(L1) is the pixel set covered by the interrupted line data L1 on the Sentinel-2 multispectral surface reflectance product data image, and the reflectance value of each pixel p in the blue band of the Sentinel-2 multispectral surface reflectance product data is recorded as B(p); Starting from the starting point of the interrupted coastline data, based on the sliding window along the line, it is determined whether to merge the two continuous interrupted line data L1 and L2. When the following formula is satisfied, the two data are merged: In formula (8) and are the average values of blue light band pixels corresponding to L1 and L2, respectively, and N is a constant; Based on the sliding window, it is iterated along the line until the end of the coastline is reached; Step 3.2, classify the coastline data based on the rectangular index, classify the line data with rectangular features as seawalls, and classify other line data as natural coastlines.
9. The method for automatically extracting coastlines based on multi-source remote sensing and DEM data as claimed in claim 7, characterized in that: The method for determining line data with rectangular features in step 3.2 is as follows: Assume that the line data L1 consists of a vertex set P = {p1, p2, ···, p n }, n is the number of vertices, and each vertex p i There is an interior angle θ in,i and the exterior angle θ out,i And satisfy θ in,i +θ out,i =360°, for the convenience of calculation, take θ in,i and θ out,i The angle less than 180° is set as θ i , where 2≤i≤n-1; when the line data L1 satisfies the following formula, the line data L1 is considered to have a rectangular feature: In formula (9), I is the judgment function. When the internal condition |θ i Returns 1 if -90°|≤c°, otherwise returns 0.
10. An automatic coastline extraction system based on multi-source remote sensing and DEM data, characterized in that: Includes the following modules: An integrated pixel water index construction module is used to construct an integrated pixel water index based on multi-source data, wherein the multi-source data includes Sentinel-2 multispectral surface reflectance product data Sentinel-2_MSI_L2A, Sentinel-1 synthetic aperture radar surface image product data Sentinel-1_SAR_GRD, Copernicus digital elevation model data Copernicus DEM GLO-30, and World Imagery data; The coastline data acquisition module is used to obtain the coastline data by performing regional growth based on the integrated pixel water index; The coastline classification module is used to cluster the obtained coastline data extraction results based on the sliding window, and then classify the coastline data based on the rectangular index to obtain the seawall and natural coastline.
Citation Information
Patent Citations
Multi-observation-means networking optimization monitoring method for enteromorpha disaster coverage area
CN110503244A
Coastline extraction method based on multi-temporal high-resolution remote sensing image
CN112861719A
Ice analysis based on active and passive radar images
US20160125586A1
Cited By
Multi-source data fusion-based water body extraction method under mountainous complex terrain condition
CN118941969A
Method for acquiring instantaneous coastline position based on optical remote sensing image
CN119169083A
