A coastline extraction method based on long-term remote sensing images
By using a method based on long-term remote sensing images and using tasseled cap transformation and MSIC and OTSU algorithms to extract coastlines, it solves the problem of difficulty in accurately locating coastlines in instantaneous remote sensing images, achieves precise positioning and dynamic change monitoring of coastlines, and contributes to coastal zone management. Provides scientific basis.
Patent Information
- Application Number
- CN202410251567.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-03-06
- Publication Date
- 2024-10-01
- Estimated Expiration
- 2044-03-06
AI Technical Summary
Existing methods for extracting coastline remote sensing information mainly rely on instantaneous remote sensing images, making it difficult to accurately locate the water-land boundary line at the average spring tide level, and are affected by periodic tides, resulting in inaccurate positioning.
A method based on long-term remote sensing images is used to obtain brightness, greenness and humidity indices through data preprocessing and tassel transformation. The MSIC and OTSU algorithms are used to perform rough extraction of the coastline, and refined extraction is performed by removing the influence of small areas of water to improve coastline positioning. Accuracy.
It achieves precise positioning of the spatial position of the coastline, improves the accuracy of coastline positioning, can better reflect the dynamic changes of the coastline, and provides scientific basis and technical support for the management of coastal zone resources.
Smart Images

Figure CN118230154B_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of information extraction of remote sensing images, and more specifically, to a coastline extraction method based on long-time series remote sensing images. Background Art
[0002] The coastline is the boundary between the sea and the land. It is recognized by the International Geographic Information Commission as one of the 27 most important geographical indicators. The change of its spatial position reflects the dynamic process between human development and protection of the coastline. In China's marine management, the coastline is defined as the boundary between the sea and the land at the average high tide level of the spring tide over many years. Due to the combined effects of global climate change and high-intensity human activities, more than half of the world's beaches have been eroded and retreated, leading to a series of problems such as beach retreat, ground subsidence, and impaired ecological functions. These changes not only profoundly affect the surface morphology, but also have a direct impact on the socio-economic development of coastal areas. Therefore, it is crucial to continuously monitor and scientifically manage the coastline.
[0003] Field measurement and photogrammetry are traditional methods for surveying and mapping coastlines. This method uses tools such as rangefinders, global positioning systems (GPS), and aerial or satellite images to accurately determine the geographic location of the coastline by calibrating and measuring coastline feature points. Although this method has high accuracy, it is limited by weather and geographical conditions, and has problems such as low efficiency, high labor costs, and long working cycles. It is difficult to meet the needs of large-scale and dynamic coastline surveys. In contrast, remote sensing technology can provide the data required for surveys by obtaining large-scale, long-time series of surface information. It is not limited by weather and geographical conditions, has higher efficiency and lower labor costs, and has become an indispensable and important means for coastline surveys. At present, the methods for extracting coastline remote sensing information can be mainly divided into the following five categories: threshold segmentation-based methods, index-based methods, image classification-based methods, region growing-based methods, and deep learning-based methods. The threshold segmentation-based method separates water bodies and land through specific thresholds. The operation is simple, but it is easily affected by spectrally similar objects, resulting in inaccurate segmentation results. The index-based method calculates remote sensing indices such as the Normalized Difference Water Index (NDWI) and the Modified Normalized Difference Water Index (MNDWI) to improve the difference between water bodies and other landforms. This method is suitable for areas where the terrain, landforms and other features are relatively uniform and do not change much. The image classification-based method uses a classifier to divide surface objects into different categories, taking into account multiple spectral and spatial features, and is suitable for coastline surveys in complex scenes. The region growing-based method starts from one or more seed points, gradually grows and merges similar pixels to form a larger area. This method requires less preliminary preparation, but the results are easily affected by seed point selection and parameter settings. In recent years, deep learning-based methods have been widely used in coastline extraction and have performed well on large-scale data sets, but different scenarios often require different training samples to support them. These methods have their own advantages, and the choice of which method depends on the specific research area, data characteristics and research purpose.
[0004] There are currently a variety of coastline remote sensing information extraction methods for different research purposes, and they have been successful in specific fields or under specific conditions. However, existing methods mainly use instantaneous remote sensing images as data sources, which are affected by periodic tides and are difficult to accurately locate the land-water boundary at the average high tide level. Summary of the invention
[0005] The purpose of the present invention is to overcome the deficiencies in the prior art and provide a coastline extraction method based on long-term remote sensing images.
[0006] In the first aspect, a coastline extraction method based on long-term remote sensing images is provided, comprising:
[0007] Step 1: Obtain remote sensing images covering the study area, and after data preprocessing, construct high-quality dense time series remote sensing images;
[0008] Step 2, performing tasseled cap transformation on the high-quality dense time-series remote sensing image to obtain a brightness index, a greenness index and a humidity index, and constructing a humidity index stack based on the humidity index;
[0009] Step 3: Use MSIC algorithm and OTSU algorithm to perform rough coastline extraction;
[0010] Step 4: Remove the impact of small water areas and perform precise coastline extraction.
[0011] As a preference, it also includes:
[0012] Step 5: Evaluate the accuracy of the coastline extraction results.
[0013] Preferably, in step 1, the data preprocessing includes: using quality band QA and CFMASK function to remove cloud and shadow effects.
[0014] Preferably, step 3 comprises:
[0015] Step 3.1, using the MSIC algorithm to operate the humidity index stack to generate a humidity maximum synthetic image; the formula of the MSIC algorithm is:
[0016] MSIC=max{F1,F2...F n}
[0017] Where MSIC is the maximum spectral index composite image; F1, F2, ..., F n Input spectral index of remote sensing images for different phases;
[0018] Step 3.2: Use the OTSU algorithm to operate the maximum humidity synthetic image to obtain a segmentation threshold; perform land and water segmentation based on the segmentation threshold to obtain a rough coastline extraction result; the formula of the OTSU algorithm is:
[0019] g=ω0*ω1*(μ0-μ1) 2
[0020] Where g is the inter-class variance of the foreground image and the background image, ω0 is the ratio of the number of pixels in the foreground image to the total pixels in the image, μ0 is the average grayscale value of the foreground image, ω1 is the ratio of the number of pixels in the background image to the total pixels in the image, and μ1 is the average grayscale value of the background image.
[0021] Preferably, step 4 comprises:
[0022] Step 4.1. Set the minimum size of inland water bodies according to the characteristics of the study area;
[0023] Step 4.2, dividing the minimum size of the inland water body by the actual ground area corresponding to a single pixel of the remote sensing image to obtain a pixel threshold to ensure consistency of calculation on images with different spatial resolutions;
[0024] Step 4.3, perform eight-neighborhood connection on water pixels, connect adjacent water pixels into a larger water area, and identify continuous water areas;
[0025] Step 4.3: Delete all objects smaller than the pixel threshold to obtain the final water area boundary.
[0026] Preferably, in step 5, the root mean square error (RMSE) is used for accuracy evaluation.
[0027] Preferably, in step 5, the result of the coastline extraction is compared with the coastline extraction results obtained by NDWI method, MNDWI method and visual interpretation method.
[0028] In a second aspect, a coastline extraction system based on long-term remote sensing images is provided, which is used to execute any of the coastline extraction methods based on long-term remote sensing images described in the first aspect, including:
[0029] The preprocessing module is used to obtain remote sensing images covering the study area and construct high-quality dense time-series remote sensing images after data preprocessing;
[0030] A transformation module, used for performing tasseled cap transformation on the high-quality dense time-series remote sensing image to obtain a brightness index, a greenness index and a humidity index, and constructing a humidity index stack based on the humidity index;
[0031] The first extraction module is used to perform rough coastline extraction using the MSIC algorithm and the OTSU algorithm;
[0032] The second extraction module is used to remove the impact of small water areas and perform precise coastline extraction.
[0033] In a third aspect, a computer storage medium is provided, wherein a computer program is stored in the computer storage medium; when the computer program is executed on a computer, the computer executes any of the coastline extraction methods based on long-term remote sensing images described in the first aspect.
[0034] The beneficial effects of the present invention are as follows: in order to solve the problem that instantaneous remote sensing images are difficult to accurately detect the spatial position of the coastline, the present invention develops a coastline precision positioning model that takes into account the water content of the ground objects, fully utilizes all remote sensing images covering the study area, and obtains the humidity index based on the tasseled cap transformation to accurately detect the spatial position of the coastline. The process of the present invention is easy to implement, and is an effective supplement to the existing coastline extraction method. It is beneficial to improve the positioning accuracy of the coastline, reflect the dynamic changes of the coastline, and provide a scientific basis and technical support for the management of coastal resources. Therefore, it has important practical application significance. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] Figure 1 This is a flowchart of a coastline extraction method based on long-term remote sensing images;
[0036] Figure 2 This is a schematic diagram of the composite image of the maximum humidity;
[0037] Figure 3 This is a schematic diagram of the rough extraction results of the coastline;
[0038] Figure 4 This is a schematic diagram of the coastline extraction results;
[0039] Figure 5a This is a schematic diagram of the coastline extraction results using the visual interpretation method;
[0040] Figure 5b This is a schematic diagram of the coastline extraction results of the coastline extraction method based on long-term remote sensing images;
[0041] Figure 5c This is a schematic diagram of the coastline extraction results using the NDWI method;
[0042] Figure 5d This is a schematic diagram of the coastline extraction results using the MDNWI method;
[0043] Figure 6 The distribution map of points at different distances from the coastline using different methods. DETAILED DESCRIPTION
[0044] The present invention is further described below in conjunction with embodiments. The description of the following embodiments is only used to help understand the present invention. It should be noted that for ordinary persons in the art, without departing from the principle of the present invention, the present invention can also be modified in some ways, and these improvements and modifications also fall within the scope of protection of the claims of the present invention.
[0045] Embodiment 1:
[0046] A coastline extraction method based on long-term remote sensing images, comprising:
[0047] Step 1: Obtain remote sensing images covering the study area, and after data preprocessing, construct high-quality dense time series remote sensing images.
[0048] In step 1, the GEE cloud platform is used to screen remote sensing images covering the study area, and the quality band QA and CFMASK functions are used to remove the effects of clouds and shadows to build a high-quality image stack.
[0049] Specifically, GEE (Google Earth Engine) is a cloud-based platform that can access high-performance computing resources for processing very large geospatial data sets, making the study of earth science-related issues more effective and convenient. This application uses the 2022 Landsat 8 Top of Atmosphere Reflectance (TOA) dataset provided by the GEE cloud platform, with a total of 48 images. The cloud cover is set to 15%, and the quality band QA is used to remove the influence of clouds and shadows, and finally 16 remote sensing images covering the study area are obtained.
[0050] Step 2: Perform tasseled cap transformation on the high-quality dense time-series remote sensing image to obtain a brightness index, a greenness index and a humidity index, and construct a humidity index stack based on the humidity index.
[0051] Tasselled Cap Transformation (TCT) is a special linear transformation proposed by Kauth and Thomas in 1976. This method converts the original spectral bands into new bands by using fixed transformation matrix coefficients. These bands have specific directivity to surface features such as soil, vegetation, and water content. The formula of the tasseled cap transformation is as follows:
[0052] Y=CX
[0053] Where X and Y represent the pixel vectors before and after the tasseled cap transformation, and C represents the transformation matrix coefficient. The tasseled cap transformation can obtain the same number of components as the number of bands, where the first component is the brightness index, which characterizes the total reflectivity of the surface of the object. The second component is the greenness index, which characterizes the vegetation coverage of the surface and is usually used to monitor the distribution and health of vegetation. The third component is the humidity index, which characterizes the water content of the surface and is usually used to monitor and identify water bodies, wetland areas, and soil moisture changes. The remaining components are the yellowness index and possible noise (such as TCT4, TCT5, and TCT6 shown in Table 1). According to the characterization of the humidity index of the tasseled cap transformation, the more water the surface object contains, the larger the corresponding pixel humidity index, and vice versa.
[0054] The Landsat 8 tasseled cap transformation coefficients used in this study are shown in Table 1 below.
[0055] Table 1 TCT coefficients of Landsat 8 satellite reflectivity
[0056]
[0057] Step 3: Use MSIC algorithm and OTSU algorithm to perform rough coastline extraction.
[0058] Step 3 includes:
[0059] Step 3.1: Use the MSIC algorithm to operate the humidity index stack to generate a humidity maximum value synthetic image.
[0060] The Maximum Spectral Index Compositing (MSIC) algorithm is a method based on a time series image collection. The principle of the algorithm is to select a spectral index as a pixel-by-pixel sorting function and replace the value of each pixel in the image according to the maximum value of the selected spectral index in the entire image collection.
[0061] The formula of the MSIC algorithm is:
[0062] MSIC=max{F1,F2...F n}
[0063] Where MSIC is the maximum spectral index composite image; F1, F2, ..., F n Input spectral index of remote sensing images for different phases.
[0064] Figure 2 This is a synthetic image of the humidity maximum value generated based on the MSIC algorithm. Figure 2 It can be seen that high-water content features such as oceans, lakes, and rivers appear in bright tones, while low-water content features such as built-up areas and roads appear in dark tones.
[0065] Step 3.2: Use the OTSU algorithm to operate the maximum humidity synthetic image to obtain a segmentation threshold; perform land and water segmentation based on the segmentation threshold to obtain a rough coastline extraction result.
[0066] The maximum inter-class variance method (OTSU) is a non-parametric method that has been widely used in the fields of computer vision and image processing. This method automatically selects the optimal threshold in the grayscale histogram and divides the image into foreground and background, thereby achieving binary classification of the image.
[0067] The formula of the OTSU algorithm is:
[0068] g=ω0*ω1*(μ0-μ1) 2
[0069] Where g is the inter-class variance of the foreground image and the background image, ω0 is the ratio of the number of pixels in the foreground image to the total pixels in the image, μ0 is the average grayscale value of the foreground image, ω1 is the ratio of the number of pixels in the background image to the total pixels in the image, and μ1 is the average grayscale value of the background image.
[0070] Traverse the image grayscale values and use the OTSU algorithm to obtain the grayscale threshold T when the inter-class variance of the foreground image and the background image is the largest. The threshold T is used to segment the remote sensing image, and the formula is as follows:
[0071]
[0072] In the formula, I water is the segmented image, I wetness is the humidity index, and T is the optimal segmentation threshold obtained using the OTSU algorithm.
[0073] Based on the OTSU algorithm, the synthetic image of the maximum humidity value is operated and the segmentation threshold is 0.0761. The segmentation results are as follows Figure 3 As shown. Figure 3 It can be seen that water bodies (oceans, lakes, rivers) and land are well distinguished, and the boundary between water and land is clear.
[0074] Step 4: Remove the impact of small water areas and perform precise coastline extraction.
[0075] Water body information includes not only the ocean, but also areas with high water content such as ponds, lakes and rivers, which affect the accuracy of coastline positioning. Therefore, the influence of small areas of water such as ponds, lakes and rivers must be removed.
[0076] This application uses object-oriented thinking to remove interference from inland water information such as ponds, lakes, and rivers. Specifically, step 4 includes:
[0077] Step 4.1. Set the minimum size of inland water bodies according to the characteristics of the study area;
[0078] Step 4.2, dividing the minimum size of the inland water body by the actual ground area corresponding to a single pixel of the remote sensing image to obtain a pixel threshold to ensure consistency of calculation on images with different spatial resolutions;
[0079] Step 4.3, perform eight-neighborhood connection on water pixels, connect adjacent water pixels into a larger water area, and identify continuous water areas;
[0080] Step 4.3: Delete all objects smaller than the pixel threshold to obtain the final water area boundary, thereby removing the influence of small water areas such as ponds, lakes, and rivers.
[0081] For example, according to the characteristics of the study area and remote sensing images, the minimum size is set to 66 pixels, and the small area of water is removed from the threshold segmentation result. The results are as follows: Figure 4 As shown. Figure 4 It can be seen that while retaining the ocean and land boundary lines, small areas of water such as ponds, lakes, and rivers are removed, and the resulting sea and land boundary locations are more accurate.
[0082] Embodiment 2:
[0083] On the basis of Example 1, Example 2 of the present application provides a more specific coastline extraction method based on long-term remote sensing images, including:
[0084] Step 1: Obtain remote sensing images covering the study area, and after data preprocessing, construct high-quality dense time series remote sensing images.
[0085] Step 2: Perform tasseled cap transformation on the high-quality dense time-series remote sensing image to obtain a brightness index, a greenness index and a humidity index, and construct a humidity index stack based on the humidity index.
[0086] Step 3: Use MSIC algorithm and OTSU algorithm to perform rough coastline extraction.
[0087] Step 4: Remove the impact of small water areas and perform precise coastline extraction.
[0088] Step 5: Evaluate the accuracy of the coastline extraction results.
[0089] Accuracy evaluation is crucial in research and practice. It not only evaluates the quality of results, but also is an important basis for adjusting parameters and optimizing models. This study uses the root mean square error (RMSE) to evaluate the methods and results. The root mean square error is the deviation between the predicted value and the true value, and is more sensitive to outliers in the data. The formula for calculating the root mean square error is as follows:
[0090]
[0091] In the formula, N is the number of samples, Y is i is the predicted value, f(x i ) is the true value.
[0092] In addition, in order to objectively evaluate the effectiveness of the proposed method and the accuracy of the extracted results, the remote sensing images close to high tide were visually interpreted as the real coastline data. The results obtained by this technology, the NDWI method and the MNDWI method were compared with the visual interpretation results ( Figure 5a-5d ).pass Figure 5a-5dIt can be seen that compared with the visual interpretation results, the coastline extracted by this technology is accurate in position and has clear boundaries.
[0093] In terms of position accuracy evaluation, the visual interpretation results are used as the benchmark, and points (1200) with the same geographical location are selected on the coastline extracted by the proposed method, NDWI method, and MNDWI method, and the minimum distance to the visual interpretation results is calculated. The evaluation results are shown in Figure 2. Figure 6 As shown. Figure 6 It can be seen that the distance between the points selected by this technical method and the reference coastline is less than 90m, while that of the NDWI method and the MNDWI method is less than 300m. There are 1193, 1006 and 1010 points in the range of 0-30m for this technical method, the NDWI method and the MNDWI method, respectively, accounting for 99.42%, 83.83% and 84.17% of the total number of sample points, indicating that the results obtained by this method have smaller errors and stronger stability than those obtained by the NDWI method and the MNDWI method.
[0094] The average error and root mean square error of all selected points from the reference data are calculated, and the calculation results are shown in Table 2.
[0095] Table 2 Distance mean and root mean square error
[0096]
[0097]
[0098] As shown in Table 2, the average value and root mean square error of the NDWI method are 18.40m and 30.50m, respectively, and the average value and root mean square error of the MNDWI method are 18.03m and 30.12m, respectively. The average value and root mean square error calculated by the proposed method are 3.42m and 6.79m, respectively, and the average value and root mean square error are smaller than those of the NDWI method and the MNDWI method. Therefore, the effect of extracting the coastline using this technical method is better than that of the MDWI and MNDIW methods, with higher position accuracy and more accurate positioning.
[0099] In view of the problem that instantaneous remote sensing images are difficult to accurately detect the spatial position of the coastline, this technology uses the tasseled cap transformation to obtain the humidity index to accurately detect the spatial position of the coastline, and conducts experimental verification with Zhoushan Island as the study area. The results show that this method has good applicability and can accurately extract different types of coastlines. The spatial position of the obtained results is accurate, and the average distance and root mean square error with the reference data are 3.42m and 6.79m respectively, which are better than the results obtained by traditional methods. The present invention can provide technical support for the accurate extraction of coastline remote sensing information, which is of great significance to the scientific management and sustainable development of coastal resources.
[0100] It should be noted that the parts in this embodiment that are the same or similar to those in Embodiment 1 can be referenced to each other and will not be described in detail in this application.
[0101] Embodiment 3:
[0102] On the basis of Example 1, Example 3 of the present application provides a coastline extraction system based on long-time series remote sensing images, which is used to execute a coastline extraction method based on long-time series remote sensing images, including:
[0103] The preprocessing module is used to obtain remote sensing images covering the study area and construct high-quality dense time-series remote sensing images after data preprocessing;
[0104] A transformation module, used for performing tasseled cap transformation on the high-quality dense time-series remote sensing image to obtain a brightness index, a greenness index and a humidity index, and constructing a humidity index stack based on the humidity index;
[0105] The first extraction module is used to perform rough coastline extraction using the MSIC algorithm and the OTSU algorithm;
[0106] The second extraction module is used to remove the impact of small water areas and perform precise coastline extraction.
[0107] Specifically, the it provided in this embodiment is a system corresponding to the method provided in Example 1. Therefore, the parts in this embodiment that are the same or similar to those in Example 1 can be referenced to each other and will not be repeated in this application.
Claims
1. A coastline extraction method based on long-term remote sensing images, characterized in that: include: Step 1: Obtain remote sensing images covering the study area, and after data preprocessing, construct high-quality dense time series remote sensing images; Step 2, performing tasseled cap transformation on the high-quality dense time-series remote sensing image to obtain a brightness index, a greenness index and a humidity index, and constructing a humidity index stack based on the humidity index; Step 3: Use MSIC algorithm and OTSU algorithm to perform rough coastline extraction; Step 3 includes: Step 3.1, using the MSIC algorithm to operate the humidity index stack to generate a humidity maximum synthetic image; the formula of the MSIC algorithm is: MSIC=max{F1,F2,...,F n } Where MSIC is the maximum spectral index composite image; F1, F2, ..., F n Input spectral index of remote sensing images for different phases; Step 3.2: Use the OTSU algorithm to operate the maximum humidity synthetic image to obtain a segmentation threshold; perform land and water segmentation based on the segmentation threshold to obtain a rough coastline extraction result; the formula of the OTSU algorithm is: g=ω0*ω1*(μ0-μ1) 2 Where g is the inter-class variance of the foreground image and the background image, ω0 is the ratio of the number of pixels in the foreground image to the total pixels in the image, μ0 is the average gray value of the foreground image, ω1 is the ratio of the number of pixels in the background image to the total pixels in the image, and μ1 is the average gray value of the background image; Step 4: Remove the impact of small water areas and perform precise coastline extraction.
2. The coastline extraction method based on long-term remote sensing images according to claim 1 is characterized in that: Also includes: Step 5: Evaluate the accuracy of the coastline extraction results.
3. The coastline extraction method based on long-term remote sensing images according to claim 2 is characterized in that: In step 1, the data preprocessing includes: using the quality band QA and CFMASK function to remove the effects of clouds and shadows.
4. The coastline extraction method based on long-term remote sensing images according to claim 3 is characterized in that: In step 5, the root mean square error (RMSE) is used for accuracy evaluation.
5. The coastline extraction method based on long-term remote sensing images according to claim 4 is characterized in that: In step 5, the result of the coastline extraction is compared with the coastline extraction results obtained by the NDWI method, the MNDWI method and the visual interpretation method.
6. A coastline extraction system based on long-term remote sensing images, characterized in that: The method for extracting a coastline based on long-time remote sensing images according to any one of claims 1 to 5 comprises: The preprocessing module is used to obtain remote sensing images covering the study area and construct high-quality dense time-series remote sensing images after data preprocessing; A transformation module, used for performing tasseled cap transformation on the high-quality dense time-series remote sensing image to obtain a brightness index, a greenness index and a humidity index, and constructing a humidity index stack based on the humidity index; The first extraction module is used to perform rough coastline extraction using the MSIC algorithm and the OTSU algorithm; The second extraction module is used to remove the impact of small water areas and perform fine coastline extraction, including: setting the minimum size of inland water bodies according to the characteristics of the study area; The minimum size of the inland water body is divided by the actual ground area corresponding to a single pixel of the remote sensing image to obtain a pixel threshold to ensure consistency of calculation on images with different spatial resolutions; Perform eight-neighborhood connection on water pixels to connect adjacent water pixels into larger water areas to identify continuous water areas; Delete all objects smaller than the pixel threshold to obtain the final water area boundary.
7. A computer storage medium, characterized in that: The computer storage medium stores a computer program; when the computer program is executed on a computer, the computer executes the coastline extraction method based on long-time series remote sensing images as described in any one of claims 1 to 5.
Citation Information
Patent Citations
Method for full automatic extraction of water remote sensing information in coastal zone
CN102054274A
Remote sensing image coast line information extraction method and system based on tasseled cap transformation
CN107247927A
Coastline extraction method based on multi-temporal high-resolution remote sensing image
CN112861719A
Coastline change identification method based on multiple factors
WO2021258758A1
