CN116129145B - A method and system for extracting sandy coastlines from high-resolution remote sensing images - Google Patents

A method and system for extracting sandy coastlines from high-resolution remote sensing images Download PDF

Info

Publication number
CN116129145B
CN116129145B CN202310395276.3A CN202310395276A CN116129145B CN 116129145 B CN116129145 B CN 116129145B CN 202310395276 A CN202310395276 A CN 202310395276A CN 116129145 B CN116129145 B CN 116129145B
Authority
CN
China
Prior art keywords
image
ndwi
coastline
sequence
time
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202310395276.3A
Other languages
Chinese (zh)
Other versions
CN116129145A (en
Inventor
杨章锋
吴光林
张会领
王笑纷
曾春华
毛鸿飞
田艳
赫岩莉
田正林
林金波
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Ocean University
Original Assignee
Guangdong Ocean University
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Ocean University filed Critical Guangdong Ocean University
Priority to CN202310395276.3A priority Critical patent/CN116129145B/en
Publication of CN116129145A publication Critical patent/CN116129145A/en
Application granted granted Critical
Publication of CN116129145B publication Critical patent/CN116129145B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/40Extraction of image or video features
    • G06V10/44Local feature extraction by analysis of parts of the pattern, e.g. by detecting edges, contours, loops, corners, strokes or intersections; Connectivity analysis, e.g. of connected components
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/40Extraction of image or video features
    • G06V10/62Extraction of image or video features relating to a temporal dimension, e.g. time-based feature extraction; Pattern tracking
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V20/00Scenes; Scene-specific elements
    • G06V20/10Terrestrial scenes
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02ATECHNOLOGIES FOR ADAPTATION TO CLIMATE CHANGE
    • Y02A10/00TECHNOLOGIES FOR ADAPTATION TO CLIMATE CHANGE at coastal zones; at river basins
    • Y02A10/40Controlling or monitoring, e.g. of flood or hurricane; Forecasting, e.g. risk assessment or mapping

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Image Processing (AREA)

Abstract

本公开提供了一种高分辨率遥感影像的砂质海岸线提取方法及系统,获取多个不同时刻的遥感图像,将遥感图像转化为NDWI图像并将NDWI图像组成NDWI图像序列,对NDWI图像序列进行贯穿处理得到海岸线提取点,根据海岸线提取点得到修正海岸线,有益于提高海岸线的准确性。

Figure 202310395276

This disclosure provides a method and system for extracting sandy coastlines from high-resolution remote sensing images, which acquires multiple remote sensing images at different times, converts the remote sensing images into NDWI images and composes the NDWI images into NDWI image sequences, and performs NDWI image sequence Through the processing, the coastline extraction points are obtained, and the coastline is corrected according to the coastline extraction points, which is beneficial to improve the accuracy of the coastline.

Figure 202310395276

Description

一种高分辨率遥感影像的砂质海岸线提取方法及系统A method and system for extracting sandy coastlines from high-resolution remote sensing images

技术领域technical field

本公开属于数据处理领域,具体涉及一种高分辨率遥感影像的砂质海岸线提取方法及系统。The disclosure belongs to the field of data processing, and in particular relates to a method and system for extracting sandy coastlines from high-resolution remote sensing images.

背景技术Background technique

随着遥感技术的不断发展和应用,高分辨率遥感影像在海岸线提取方面得到了广泛的应用。传统的海岸线提取方法主要采用阈值分割或者边缘检测的方法进行,但是由于海岸线的复杂地形以及受到光照等因素的影响,传统的方法容易出现误差较大的情况。因此,近年来出现了很多针对海岸线提取的新方法。例如,一些学者提出了使用卷积神经网络(CNN)对遥感影像进行分类,以提高准确性;还有一些学者提出了基于深度学习的方法,使用全卷积网络(FCN)对遥感影像进行语义分割,并据此提取海岸线。然而,这些方法也存在一些限制和不足。例如,在公开号为CN113221813B的专利文献中所述的一种海岸线遥感提取方法,由于海岸线地形的复杂性和变化性,以及遥感影像本身的噪声和模糊性等因素,这些方法在实际应用中仍然存在一定的误差。另外,一些算法需要大量的人工标注数据,导致其在实际应用中难以推广和普及。同时,这些算法需要高性能计算设备进行计算,增加了运行成本和时间成本。With the continuous development and application of remote sensing technology, high-resolution remote sensing images have been widely used in coastline extraction. Traditional coastline extraction methods mainly use threshold segmentation or edge detection methods, but due to the complex terrain of coastlines and the influence of factors such as illumination, traditional methods are prone to large errors. Therefore, many new methods for coastline extraction have emerged in recent years. For example, some scholars have proposed to use convolutional neural network (CNN) to classify remote sensing images to improve accuracy; some scholars have proposed a method based on deep learning to use fully convolutional network (FCN) to classify remote sensing images. Split, and extract the coastline accordingly. However, these methods also have some limitations and deficiencies. For example, a coastline remote sensing extraction method described in the patent document CN113221813B, due to the complexity and variability of the coastline topography, as well as factors such as noise and ambiguity of the remote sensing image itself, these methods are still in practice. There are certain errors. In addition, some algorithms require a large amount of manually labeled data, making it difficult to promote and popularize them in practical applications. At the same time, these algorithms require high-performance computing equipment for calculation, which increases operating costs and time costs.

发明内容Contents of the invention

本发明的目的在于提出一种高分辨率遥感影像的砂质海岸线提取方法及系统,以解决现有技术中所存在的一个或多个技术问题,至少提供一种有益的选择或创造条件。The purpose of the present invention is to propose a method and system for extracting sandy coastlines from high-resolution remote sensing images, so as to solve one or more technical problems in the prior art, and at least provide a beneficial option or create conditions.

本公开提供了一种高分辨率遥感影像的砂质海岸线提取方法及系统,获取多个不同时刻的遥感图像,将遥感图像转化为NDWI图像并将NDWI图像组成NDWI图像序列,对NDWI图像序列进行贯穿处理得到海岸线提取点,根据海岸线提取点得到修正海岸线,有益于提高海岸线的准确性。This disclosure provides a method and system for extracting sandy coastlines from high-resolution remote sensing images, which acquires multiple remote sensing images at different times, converts the remote sensing images into NDWI images and composes the NDWI images into NDWI image sequences, and performs NDWI image sequence Through the processing, the coastline extraction points are obtained, and the coastline is corrected according to the coastline extraction points, which is beneficial to improve the accuracy of the coastline.

为了实现上述目的,根据本公开的一方面,提供一种高分辨率遥感影像的砂质海岸线提取方法,所述方法包括以下步骤:In order to achieve the above purpose, according to one aspect of the present disclosure, a method for extracting a sandy coastline from a high-resolution remote sensing image is provided, and the method includes the following steps:

S100,获取多个不同时刻的遥感图像;S100, acquiring multiple remote sensing images at different times;

S200,将遥感图像转化为NDWI图像,并将NDWI图像组成NDWI图像序列;S200, converting the remote sensing image into an NDWI image, and composing the NDWI image into an NDWI image sequence;

S300,对NDWI图像序列进行贯穿处理,得到海岸线提取点;S300, performing penetration processing on the NDWI image sequence to obtain coastline extraction points;

S400,根据海岸线提取点得到修正海岸线。S400, obtain the corrected coastline according to the coastline extraction points.

进一步地,在S100中,所述多个不同时刻中各时刻间的时间间隔相同,所述多个不同时刻中各时刻的排列的顺序为按照时间先后的顺序,其中各张遥感图像分别对应各个时刻,其中每一个时刻有且仅有对应一张遥感图像,所述遥感图像为对海岸线的高分辨率遥感影像。Further, in S100, the time intervals between the times in the multiple different times are the same, and the arrangement of the times in the multiple different times is in chronological order, where each remote sensing image corresponds to each Each moment has one and only one corresponding remote sensing image, and the remote sensing image is a high-resolution remote sensing image of the coastline.

进一步地,在S200中,将各个时刻的遥感图像通过计算归一化水指数(NormalizedDifference Water Index)分别转化为各张NDWI图像,并将得到的各张NDWI图像按顺序地组成NDWI图像序列,所述各张NDWI图像上的像素值已经过灰度化与归一化处理可映射为属于[0,1]的数值,可优选地,像素值越趋近0越接近黑色而像素值越趋近1则越接近白色,越接近黑色表示NDWI图像上对应位置水分含量越少,越接近白色表示NDWI图像上对应位置水分含量越多。Further, in S200, the remote sensing images at each moment are converted into NDWI images by calculating the normalized difference water index (Normalized Difference Water Index), and the obtained NDWI images are sequentially composed into an NDWI image sequence, so The pixel values on each of the above NDWI images have been grayscaled and normalized and can be mapped to values belonging to [0,1]. Preferably, the closer the pixel value is to 0, the closer to black and the closer the pixel value is to 1 means the closer to white, the closer to black means the less water content in the corresponding position on the NDWI image, and the closer to white means the more water content in the corresponding position on the NDWI image.

进一步地,在S300中,对NDWI图像序列进行贯穿处理,得到海岸线提取点的方法为:Further, in S300, the method of performing penetration processing on the NDWI image sequence to obtain coastline extraction points is as follows:

记所述NDWI图像序列为序列NDseq,所述NDWI图像序列中作为其元素的NDWI图像数量记为t,令所述NDWI图像序列中元素的序号为q,q属于1到t区间,所述多个不同时刻中各时刻的序号与序号q保持一致,所述NDWI图像序列中序号为第q个的元素为ND(q);Note that the NDWI image sequence is a sequence NDseq, the number of NDWI images as its elements in the NDWI image sequence is denoted as t, and the sequence number of the element in the NDWI image sequence is q, and q belongs to the interval from 1 to t, and the number of The sequence number of each moment in different moments is consistent with the sequence number q, and the sequence number is the qth element in the described NDWI image sequence is ND(q);

在所述NDWI图像序列中的各NDWI图像皆为大小为n行m列的图像矩阵,其中各NDWI图像中以i为行的序号并以j为列的序号,i属于1到n区间,j属于1到m区间,ND(q)中第i行第j列位置的数值表示为ND(q)[i,j];Each NDWI image in the NDWI image sequence is an image matrix with a size of n rows and m columns, wherein in each NDWI image, i is the serial number of the row and j is the serial number of the column, i belongs to the interval from 1 to n, and j Belonging to the interval from 1 to m, the value at the position of row i and column j in ND(q) is expressed as ND(q)[i,j];

将所述NDWI图像序列中最末的元素的下一个指向最首的元素,即将最末的元素ND(t)的下一个指向最首的元素ND(1),这样操作是由于潮汐的变化是周期性回返往复的,潮汐进退对于海岸线的模糊形象干扰因素是很大的,如此首尾相接的数据序列能够更好地反应海岸线的周期性数据分布,方便后续对海岸线的提取;The next of the last element in the NDWI image sequence is pointed to the first element, that is, the next of the last element ND(t) is pointed to the first element ND(1). This operation is because the change of the tide is Periodically back and forth, the tidal advance and retreat is a great interference factor for the blurred image of the coastline, so the end-to-end data sequence can better reflect the periodic data distribution of the coastline, and facilitate the subsequent extraction of the coastline;

函数TimeGAP(,)表示计算括号中后面序号的时刻距离前面序号的时刻经过的时间间隔,具体为:TimeGAP(1,q)表示序号q的时刻距离序号1的时刻经过的时间间隔,TimeGAP(1,t)表示序号t的时刻距离序号1的时刻经过的时间间隔,TimeGAP(q-1,q)表示序号q的时刻距离序号q的上一个时刻q-1的时刻经过的时间间隔,其中当TimeGAP(q-1,q)的q表示序号1的时刻时则有所述序号q的上一个时刻q-1的时刻为序号t的时刻,即序号q的时刻减去序号1的时刻的时间间隔,所述时间间隔仅取绝对值而无正负之分,例如,序号q的时刻为一天的23:00,序号1的时刻为同一天的3:00,则序号q的时刻减去序号1的时刻的时间间隔为20小时,若序号t的时刻为同一天的24:00,当TimeGAP(q-1,q)的q表示序号1的时刻时则有TimeGAP(q-1,q)等于TimeGAP(t,1)即为21小时,此时TimeGAP(1,t)也等于21小时;The function TimeGAP(,) indicates the time interval between the moment of the serial number in the bracket and the time of the previous serial number, specifically: TimeGAP(1,q) indicates the time interval between the time of serial number q and the time of serial number 1, TimeGAP(1 ,t) represents the time interval between the time of serial number t and the time of serial number 1, and TimeGAP(q-1,q) represents the time interval of the time of serial number q from the time of serial number q to the previous time q-1 of serial number q, where when When the q of TimeGAP(q-1,q) represents the time of serial number 1, the time of the previous time q-1 of the serial number q is the time of serial number t, that is, the time of the time of serial number q minus the time of serial number 1 interval, the time interval is only an absolute value without positive or negative points, for example, the time of serial number q is 23:00 of a day, and the time of serial number 1 is 3:00 of the same day, then the time of serial number q is subtracted from the serial number The time interval of time 1 is 20 hours. If the time of serial number t is 24:00 of the same day, when the q of TimeGAP(q-1,q) represents the time of serial number 1, there will be TimeGAP(q-1,q) Equal to TimeGAP(t,1) is 21 hours, at this time TimeGAP(1,t) is also equal to 21 hours;

计算各NDWI图像的时序贯穿度,具体为:Calculate the time series penetration of each NDWI image, specifically:

记ND(q)的时序贯穿度为perpet(q),获取所述ND(q)在NDWI图像序列中的上一个元素ND(q-1)及其各像素值ND(q-1)[i,j],在经过无量纲化处理后,perpet(q)的计算公式可为:Denote the timing penetration of ND(q) as perpet(q), and obtain the last element ND(q-1) of the ND(q) in the NDWI image sequence and its pixel values ND(q-1)[i ,j], after dimensionless processing, the calculation formula of perpet(q) can be:

Figure SMS_1
Figure SMS_1

其中,exp为计算以自然常数e为底的指数函数,exp(| ND(q)[i,j]-ND(q-1)[i,j]| )是序号q与其前一个序号的NDWI图像中相同行列位置的数值之差取绝对值后的指数化表示,其分母中则是通过遍历i与j于各行列位置中,计算序号q与其前一个序号的NDWI图像中各个相同行列位置的数值之差取绝对值后的指数化表示并进行累加求和,这样可以更好地提取出各个位置对应的归一化水指数随着时间地点改变而改变的数值特征分布规律,分母部分有遍历累加的符号,在分母部分用中括号括起来以表示分别先对序号j、i的遍历循环并求和,然后分子的数值再除以所述分母部分,TimeGAP(q-1,q)/TimeGAP(1,t)表示序号q与其前一个序号的时刻的时间间隔占总的时间变化间隔(TimeGAP(1,t))的比例,可以提取时间变化的波动程度,结合归一化水指数随着时间地点改变而改变的数值特征分布规律与时间变化的波动程度计算出时序贯穿度,将海岸线的轮廓特征在图像序列上的数据特征突破各时刻贯穿起来,有利于准确捕捉因为时间变化造成潮汐进退而产生模糊的海岸线的轮廓特征,提高了砂质海岸线提取的贴合的精度,时序贯穿度数值越大则表示该张NDWI图像对于海岸线的轮廓特征的响应程度越高,越有利于用于提高提取的精度;Among them, exp is to calculate the exponential function based on the natural constant e, and exp(| ND(q)[i,j]-ND(q-1)[i,j]| ) is the NDWI of serial number q and its previous serial number The difference between the numerical values of the same row and column position in the image is expressed as an exponential representation after taking the absolute value, and the denominator is calculated by traversing i and j in each row and column position, and calculating the number of the same row and column position in the NDWI image of the serial number q and its previous serial number The difference between the values is taken as an exponential representation after taking the absolute value and accumulated and summed, so that the distribution of the numerical characteristics of the normalized water index corresponding to each position can be better extracted as the time and place change. The denominator part has traversal The accumulated symbol is enclosed in square brackets in the denominator part to indicate that the traversal loops of the sequence numbers j and i are firstly summed up, and then the value of the numerator is divided by the denominator part, TimeGAP(q-1,q)/TimeGAP (1,t) represents the ratio of the time interval between the serial number q and the time of the previous serial number to the total time change interval (TimeGAP(1,t)), which can extract the fluctuation degree of time change, combined with the normalized water index as Time-series penetration is calculated based on the distribution of numerical features due to changes in time and location and the degree of fluctuation in time changes, and the coastline contour features are penetrated through the data features of the image sequence at each moment, which is conducive to accurately capturing the tides caused by time changes. The contour features of the coastline are blurred, which improves the matching accuracy of sandy coastline extraction. The larger the time-series penetration value, the higher the response of the NDWI image to the contour features of the coastline, which is more conducive to improving Extraction accuracy;

可计算NDWI图像序列中各NDWI图像的时序贯穿度的算术平均值、中位数或众数作为NDWI图像序列的时序贯穿度阈值(这样可有利于取得其中正常分布的平均水平),将所述NDWI图像序列中对应的时序贯穿度达到(数值大于或等于)所述时序贯穿度阈值的NDWI图像筛选出来作为超阈值图像,筛选出来后的超阈值图像仍保留其在所述NDWI图像序列中对应的各时序贯穿度;The arithmetic mean, median or mode of the time-series penetration of each NDWI image in the NDWI image sequence can be calculated as the time-series penetration threshold of the NDWI image sequence (this can be beneficial to obtain the average level of the normal distribution in it), and the In the NDWI image sequence, the NDWI images whose time-series penetration reaches (the value is greater than or equal to) the threshold of the time-series penetration are screened out as super-threshold images, and the screened super-threshold images still retain their corresponding values in the NDWI image sequence. The time series penetration of ;

对每张超阈值图像分别在其每一个像素点的像素值上乘以其对应的时序贯穿度,以此将各张超阈值图像分别转化为时序贯穿度图像,再计算各时序贯穿度图像一并进行哈达玛积相乘后得到的矩阵为累积图像矩阵,(从计算时序贯穿度到计算各时序贯穿度图像一并进行哈达玛积相乘后得到累积图像矩阵,一直广泛使用的都是数值、数组间的乘法,这里利用Hadamard product对各图像矩阵之间进行点对点的数值相乘,也是利用了多个变量相乘的数值线性是连续可导的,这种数值线性相关对于海岸线提取是很有帮助的);For each super-threshold image, multiply the pixel value of each pixel by its corresponding time-series penetration, so as to convert each super-threshold image into a time-series penetration image, and then calculate the time-series penetration images together The matrix obtained after multiplying the Hadamard product is the cumulative image matrix, (from the calculation of the time series penetration to the calculation of each time series penetration image together with the Hadamard product multiplication to obtain the cumulative image matrix, which has been widely used all the time. For the multiplication between arrays, here the Hadamard product is used to perform point-to-point numerical multiplication between the image matrices, and the numerical linearity of the multiplication of multiple variables is also continuously derivable. This numerical linear correlation is very useful for coastline extraction. helpful);

在所述累积图像矩阵上,对各行列位置的数值通过二值化算法转化为或正或反的数值,然后选出其中转化为正的数值的行列位置的点作为海岸线提取点,其中所述或正或反的数值可以是或0或1的数值、逻辑是与逻辑非、布尔值(或True或False的数值)等能够表示逻辑上相反关系的数值或符号等,具体可为:对各行列位置的数值通过二值化算法(Binarization)或者决策树分类算法(例如,基于Keras的二分类网络、基于sklearn的cart_tree决策树等)再进行映射转化为或0或1的数值,然后选出其中转化为1的数值的行列位置的点作为海岸线提取点。对比单纯直接就用二值化算法或者决策树分类算法转化然后直接用原始的NDWI图像进行提取海岸线的做法,本发明所述方法在使用了归一化水指数随着时间地点改变而改变的数值特征分布规律与时间变化的波动程度之上,计量了海岸线的周期性数据分布,有利于避开时间影响进一步提高海岸线的准确性。On the cumulative image matrix, the value of each row and column position is converted into a positive or negative value through a binarization algorithm, and then the point of the row and column position converted into a positive value is selected as the coastline extraction point, wherein the The positive or negative value can be the value of 0 or 1, logic and logical not, Boolean value (or the value of True or False), etc., which can represent the value or symbol of the logically opposite relationship, specifically: for each The value of the row and column position is converted into a value of 0 or 1 through a binarization algorithm (Binarization) or a decision tree classification algorithm (for example, a binary classification network based on Keras, a cart_tree decision tree based on sklearn, etc.), and then selected The points in the rows and columns of the values converted to 1 are used as coastline extraction points. Compared with the method of directly using the binarization algorithm or the decision tree classification algorithm to convert and then directly extract the coastline with the original NDWI image, the method of the present invention uses the value of the normalized water index that changes with time and place. Based on the feature distribution law and the fluctuation degree of time changes, the periodic data distribution of the coastline is measured, which is beneficial to avoid the influence of time and further improve the accuracy of the coastline.

进一步地,在S400中,根据海岸线提取点得到修正海岸线的方法为:对海岸线提取点通过曲线拟合或插值得到的曲线作为所述修正海岸线。Further, in S400, the method of obtaining the corrected coastline according to the coastline extraction points is: using the curve obtained by curve fitting or interpolation on the coastline extraction points as the corrected coastline.

本公开还提供了一种高分辨率遥感影像的砂质海岸线提取系统,所述一种高分辨率遥感影像的砂质海岸线提取系统包括:处理器、存储器及存储在所述存储器中并可在所述处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现所述一种高分辨率遥感影像的砂质海岸线方法中的步骤,所述一种高分辨率遥感影像的砂质海岸线提取系统可以运行于桌上型计算机、笔记本电脑、掌上电脑及云端数据中心等计算设备中,可运行的系统可包括,但不仅限于,处理器、存储器、服务器集群,所述处理器执行所述计算机程序运行在以下系统的单元中:The present disclosure also provides a system for extracting sandy coastlines from high-resolution remote sensing images. The system for extracting sandy coastlines from high-resolution remote sensing images includes: a processor, a memory, and a memory that is stored in the memory and can be stored in the memory. A computer program running on the processor, when the processor executes the computer program, the steps in the sandy coastline method of the high-resolution remote sensing image are realized, and the sandy coastline of the high-resolution remote sensing image is The quality coastline extraction system can run on computing devices such as desktop computers, notebook computers, palmtop computers, and cloud data centers, and the operable systems can include, but are not limited to, processors, memories, and server clusters. The processors execute Said computer program runs in units of the following systems:

图像获取单元,用于获取多个不同时刻的遥感图像;An image acquisition unit, configured to acquire a plurality of remote sensing images at different times;

序列化单元,用于将遥感图像转化为NDWI图像,并将NDWI图像组成NDWI图像序列;A serialization unit is used to convert the remote sensing image into an NDWI image, and form the NDWI image into an NDWI image sequence;

提取单元,用于对NDWI图像序列进行贯穿处理,得到海岸线提取点;The extraction unit is used to perform penetration processing on the NDWI image sequence to obtain coastline extraction points;

修正输出单元,用于根据海岸线提取点得到修正海岸线。The correction output unit is used to obtain the correction coastline according to the coastline extraction points.

本公开的有益效果为:本公开提供的高分辨率遥感影像的砂质海岸线提取方法及系统,通过将多个不同时刻的遥感图像转化为NDWI图像序列,并对NDWI图像序列进行贯穿处理,得到海岸线提取点,并进一步得到修正海岸线。相对于现有的方法,本公开提供的方法还具有计算量小、人工干预少、准确性高等优点,有望在实际应用中得到更广泛的推广和应用。The beneficial effects of the present disclosure are: the sandy coastline extraction method and system of high-resolution remote sensing images provided by the present disclosure, by converting multiple remote sensing images at different times into NDWI image sequences, and performing through-through processing on the NDWI image sequences, to obtain Coastline extraction points, and further get corrected coastlines. Compared with the existing methods, the method provided in the present disclosure also has the advantages of less calculation, less manual intervention, and high accuracy, and is expected to be more widely promoted and applied in practical applications.

附图说明Description of drawings

通过对结合附图所示出的实施方式进行详细说明,本公开的上述以及其他特征将更加明显,本公开附图中相同的参考标号表示相同或相似的元素,显而易见地,下面描述中的附图仅仅是本公开的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图,在附图中:The above and other features of the present disclosure will be more apparent through a detailed description of the embodiments shown in the drawings. The same reference numerals in the drawings of the present disclosure represent the same or similar elements. Obviously, the appended The drawings are only some embodiments of the present disclosure. For those of ordinary skill in the art, other drawings can also be obtained according to these drawings without creative work. In the drawings:

图1所示为一种高分辨率遥感影像的砂质海岸线提取方法的流程图;Figure 1 shows a flow chart of a method for extracting sandy coastlines from high-resolution remote sensing images;

图2所示为一种高分辨率遥感影像的砂质海岸线提取系统的系统结构图。Figure 2 shows a system structure diagram of a sandy coastline extraction system for high-resolution remote sensing images.

具体实施方式Detailed ways

以下将结合实施例和附图对本公开的构思、具体结构及产生的技术效果进行清楚、完整的描述,以充分地理解本公开的目的、方案和效果。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。The concept, specific structure and technical effects of the present disclosure will be clearly and completely described below in conjunction with the embodiments and drawings, so as to fully understand the purpose, scheme and effect of the present disclosure. It should be noted that, in the case of no conflict, the embodiments in the present application and the features in the embodiments can be combined with each other.

在本发明的描述中,若干的含义是一个或者多个,多个的含义是两个以上,大于、小于、超过等理解为不包括本数,以上、以下、以内等理解为包括本数。如果有描述到第一、第二只是用于区分技术特征为目的,而不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征的数量或者隐含指明所指示的技术特征的先后关系。In the description of the present invention, several means one or more, and multiple means more than two. Greater than, less than, exceeding, etc. are understood as not including the original number, and above, below, within, etc. are understood as including the original number. If the description of the first and second is only for the purpose of distinguishing the technical features, it cannot be understood as indicating or implying the relative importance or implicitly indicating the number of the indicated technical features or implicitly indicating the order of the indicated technical features relation.

如图1所示为根据本发明的一种高分辨率遥感影像的砂质海岸线提取方法的流程图,下面结合图1来阐述根据本发明的实施方式的一种高分辨率遥感影像的砂质海岸线提取方法及系统。As shown in Figure 1, it is a flow chart of a sandy coastline extraction method of a high-resolution remote sensing image according to the present invention, and the sandy quality of a high-resolution remote sensing image according to an embodiment of the present invention will be described below in conjunction with Figure 1 Coastline extraction method and system.

本发明中包括了一种高分辨率遥感影像的砂质海岸线提取方法,所述方法具体包括以下步骤:The present invention includes a method for extracting a sandy coastline from a high-resolution remote sensing image, and the method specifically includes the following steps:

S100,获取多个不同时刻的遥感图像;S100, acquiring multiple remote sensing images at different times;

S200,将遥感图像转化为NDWI图像,并将NDWI图像组成NDWI图像序列;S200, converting the remote sensing image into an NDWI image, and composing the NDWI image into an NDWI image sequence;

S300,对NDWI图像序列进行贯穿处理,得到海岸线提取点;S300, performing penetration processing on the NDWI image sequence to obtain coastline extraction points;

S400,根据海岸线提取点得到修正海岸线。S400, obtain the corrected coastline according to the coastline extraction points.

进一步地,在S100中,所述多个不同时刻中各时刻间的时间间隔相同,所述多个不同时刻中各时刻的排列的顺序为按照时间先后的顺序,其中各张遥感图像分别对应各个时刻,其中每一个时刻有且仅有对应一张遥感图像,所述遥感图像为对海岸线的高分辨率遥感影像。Further, in S100, the time intervals between the times in the multiple different times are the same, and the arrangement of the times in the multiple different times is in chronological order, where each remote sensing image corresponds to each Each moment has one and only one corresponding remote sensing image, and the remote sensing image is a high-resolution remote sensing image of the coastline.

进一步地,在S200中,将各个时刻的遥感图像通过计算归一化水指数分别转化为各张NDWI图像,并将得到的各张NDWI图像按顺序地组成NDWI图像序列,所述各张NDWI图像上的像素值已经过灰度化与归一化处理为属于0,1的数值,其中,像素值越趋近0越接近黑色而像素值越趋近1则越接近白色,越接近黑色表示NDWI图像上对应位置水分含量越少,越接近白色表示NDWI图像上对应位置水分含量越多。(可优选地,各时刻间的时间间隔可为1个小时。)Further, in S200, the remote sensing images at each moment are converted into individual NDWI images by calculating the normalized water index, and the obtained NDWI images are sequentially composed into an NDWI image sequence, and each NDWI image The pixel value above has been grayscaled and normalized to a value belonging to 0,1. Among them, the closer the pixel value is to 0, the closer it is to black, and the closer the pixel value is to 1, the closer it is to white, and the closer it is to black, it means NDWI The less water content in the corresponding position on the image, the closer to white, the more water content in the corresponding position on the NDWI image. (Preferably, the time interval between each moment can be 1 hour.)

进一步地,在S300中,对NDWI图像序列进行贯穿处理,得到海岸线提取点的方法为:Further, in S300, the method of performing penetration processing on the NDWI image sequence to obtain coastline extraction points is as follows:

记所述NDWI图像序列为序列NDseq,所述NDWI图像序列中作为其元素的NDWI图像数量记为t,令所述NDWI图像序列中元素的序号为q,q属于1到t区间,可优选地,1到t区间可为1小时到24或25小时的区间,最好形成一个闭合的可循环的时间周期,所述多个不同时刻中各时刻的序号与序号q保持一致,所述NDWI图像序列中序号为第q个的元素为ND(q);Note that the NDWI image sequence is a sequence NDseq, the number of NDWI images as its elements in the NDWI image sequence is denoted as t, and the sequence number of the element in the NDWI image sequence is q, and q belongs to the interval from 1 to t, preferably , the interval from 1 to t can be the interval from 1 hour to 24 or 25 hours, preferably forming a closed and recyclable time period, the sequence number of each moment in the multiple different moments is consistent with the sequence number q, and the NDWI image The qth element in the sequence is ND(q);

在所述NDWI图像序列中的各NDWI图像皆为大小为n行m列的图像矩阵,其中各NDWI图像中以i为行的序号并以j为列的序号,i属于1到n区间,j属于1到m区间,ND(q)中第i行第j列位置的数值表示为ND(q)[i,j];Each NDWI image in the NDWI image sequence is an image matrix with a size of n rows and m columns, wherein in each NDWI image, i is the serial number of the row and j is the serial number of the column, i belongs to the interval from 1 to n, and j Belonging to the interval from 1 to m, the value at the position of row i and column j in ND(q) is expressed as ND(q)[i,j];

将所述NDWI图像序列中最末的元素的下一个指向最首的元素,即将最末的元素ND(t)的下一个指向最首的元素ND(1),这样操作是由于潮汐的变化是周期性回返往复的,潮汐进退对于海岸线的模糊形象干扰因素是很大的,如此首尾相接的数据序列能够更好地反应海岸线的周期性数据分布,方便后续对海岸线的提取;The next of the last element in the NDWI image sequence is pointed to the first element, that is, the next of the last element ND(t) is pointed to the first element ND(1). This operation is because the change of the tide is Periodically back and forth, the tidal advance and retreat is a great interference factor for the blurred image of the coastline, so the end-to-end data sequence can better reflect the periodic data distribution of the coastline, and facilitate the subsequent extraction of the coastline;

函数TimeGAP(,)表示计算括号中后面序号的时刻距离前面序号的时刻经过的时间间隔,具体为:TimeGAP(1,q)表示序号q的时刻距离序号1的时刻经过的时间间隔,即序号q的时刻减去序号1的时刻的时间间隔;TimeGAP(1,t)表示序号t的时刻距离序号1的时刻经过的时间间隔;TimeGAP(q-1,q)表示序号q的时刻距离序号q的上一个时刻q-1的时刻经过的时间间隔;其中,当TimeGAP(q-1,q)的q表示序号1的时刻时,则有所述序号q的上一个时刻q减1的时刻为序号t的时刻,相当于说,在序号q的序列化排列上,由于序号t和序号1首尾相接,当q等于1时有q减1等于t;所述时间间隔仅取绝对值而无正负之分;例如,序号q的时刻为一天的23:00,序号1的时刻为同一天的3:00,则序号q的时刻减去序号1的时刻的时间间隔为20小时,若序号t的时刻为同一天的24:00,当TimeGAP(q-1,q)的q表示序号1的时刻时则有TimeGAP(q-1,q)等于TimeGAP(t,1)即为21小时,此时TimeGAP(1,t)也等于21小时;The function TimeGAP(,) indicates the time interval between the moment of the serial number in the brackets and the time of the previous serial number, specifically: TimeGAP(1,q) indicates the time interval between the time of the serial number q and the time of the serial number 1, that is, the serial number q The time interval between the time of serial number 1 and the time of serial number 1 is subtracted; TimeGAP(1,t) indicates the time interval between the time of serial number t and the time of serial number 1; TimeGAP(q-1,q) indicates the distance between the time of serial number q and the time of serial number q The time interval elapsed at the moment of the last moment q-1; wherein, when the q of TimeGAP(q-1,q) represents the moment of sequence number 1, the moment of the previous moment q minus 1 of the sequence number q is the sequence number At the time of t, it is equivalent to saying that in the serialized arrangement of serial number q, since serial number t and serial number 1 are connected end to end, when q is equal to 1, q minus 1 is equal to t; the time interval only takes the absolute value without positive Negative points; for example, the time of serial number q is 23:00 of a day, and the time of serial number 1 is 3:00 of the same day, then the time interval of the time of serial number q minus the time of serial number 1 is 20 hours, if the serial number t The moment of time is 24:00 of the same day, when the q of TimeGAP(q-1,q) represents the moment of serial number 1, then TimeGAP(q-1,q) is equal to TimeGAP(t,1) which is 21 hours, here TimeGAP(1,t) is also equal to 21 hours;

计算各NDWI图像的时序贯穿度,具体为:Calculate the time series penetration of each NDWI image, specifically:

记ND(q)的时序贯穿度为perpet(q),获取所述ND(q)在NDWI图像序列中的上一个元素ND(q-1)及其各像素值ND(q-1)[i,j],在经过无量纲化处理后,perpet(q)的计算公式为:Denote the timing penetration of ND(q) as perpet(q), and obtain the last element ND(q-1) of the ND(q) in the NDWI image sequence and its pixel values ND(q-1)[i ,j], after dimensionless processing, the calculation formula of perpet(q) is:

Figure SMS_2
Figure SMS_2

其中,exp()为计算以自然常数e为底的指数函数,exp(| ND(q)[i,j]-ND(q-1)[i,j] | )是序号q与其前一个序号的NDWI图像中相同行列位置的数值之差取绝对值后的指数化表示,其分母中则是通过遍历i与j于各行列位置中,计算序号q与其前一个序号的NDWI图像中各个相同行列位置的数值之差取绝对值后的指数化表示并进行累加求和,这样可以更好地提取出各个位置对应的归一化水指数随着时间地点改变而改变的数值特征分布规律,TimeGAP(q-1,q)/TimeGAP(1,t)表示序号q与其前一个序号的时刻的时间间隔占总的时间变化间隔(TimeGAP(1,t))的比例,可以提取时间变化的波动程度,结合归一化水指数随着时间地点改变而改变的数值特征分布规律与时间变化的波动程度计算出时序贯穿度,将海岸线的轮廓特征在图像序列上的数据特征突破各时刻贯穿起来,有利于准确捕捉因为时间变化造成潮汐进退而产生模糊的海岸线的轮廓特征,提高了砂质海岸线提取的贴合的精度,时序贯穿度数值越大则表示该张NDWI图像对于海岸线的轮廓特征的响应程度越高,越有利于用于提高提取的精度;Among them, exp() is to calculate the exponential function based on the natural constant e, and exp(| ND(q)[i,j]-ND(q-1)[i,j] | ) is the serial number q and its previous serial number The difference between the numerical values of the same row and column position in the NDWI image is expressed as an exponential representation after taking the absolute value. The denominator is calculated by traversing i and j in each row and column position, and calculating the same row and column in the NDWI image with the serial number q and its previous serial number The difference between the numerical values of the positions is taken as the absolute value of the exponential representation and accumulated and summed, so that the distribution of the numerical characteristics of the normalized water index corresponding to each position changes with time and place can be better extracted, TimeGAP( q-1,q)/TimeGAP(1,t) indicates the ratio of the time interval between the serial number q and its previous serial number to the total time change interval (TimeGAP(1,t)), which can extract the fluctuation degree of time change, Combining the distribution of numerical features of the normalized water index with the change of time and place and the degree of fluctuation of time changes, the time series penetration is calculated, and the data features of the coastline contour features on the image sequence are broken through at each time, which is beneficial to Accurately capture the outline features of coastlines that are blurred due to tidal advance and retreat due to time changes, and improve the matching accuracy of sandy coastline extraction. The larger the time-series penetration value, the more responsive the NDWI image is to the outline features of the coastline. The higher the value, the more beneficial it is to improve the accuracy of extraction;

计算NDWI图像序列中各NDWI图像的时序贯穿度的算术平均值作为NDWI图像序列的时序贯穿度阈值,将所述NDWI图像序列中对应的时序贯穿度达到(数值大于或等于)所述时序贯穿度阈值的NDWI图像筛选出来作为超阈值图像,筛选出来后的超阈值图像仍保留其在所述NDWI图像序列中对应的各时序贯穿度;Calculate the arithmetic mean of the time-series penetration of each NDWI image in the NDWI image sequence as the time-series penetration threshold of the NDWI image sequence, and make the corresponding time-series penetration in the NDWI image sequence reach (the value is greater than or equal to) the time-series penetration The thresholded NDWI image is screened out as a super-threshold image, and the screened super-threshold image still retains its corresponding time series penetration in the NDWI image sequence;

对每张超阈值图像分别在其每一个像素点的像素值上乘以其对应的时序贯穿度,以此将各张超阈值图像分别转化为时序贯穿度图像,再计算各时序贯穿度图像一并进行哈达玛积相乘后得到的矩阵为累积图像矩阵,(从计算时序贯穿度到计算各时序贯穿度图像一并进行哈达玛积相乘后得到累积图像矩阵,一直广泛使用的都是数值、数组间的乘法,这里利用Hadamard product对各图像矩阵之间进行点对点的数值相乘,也是利用了多个变量相乘的数值线性是连续可导的,由此具有数学分析上的可解释性,这跟基于机器学习、深度神经网络等的非线性非连续可导的不可解释性数学模型是不一样的,这种可解释的数值线性相关对于海岸线提取是更有保障的);For each super-threshold image, multiply the pixel value of each pixel by its corresponding time-series penetration, so as to convert each super-threshold image into a time-series penetration image, and then calculate the time-series penetration images together The matrix obtained after multiplying the Hadamard product is the cumulative image matrix, (from the calculation of the time series penetration to the calculation of each time series penetration image together with the Hadamard product multiplication to obtain the cumulative image matrix, which has been widely used all the time. For the multiplication between arrays, here the Hadamard product is used to perform point-to-point numerical multiplication between the image matrices, and the numerical linearity of the multiplication of multiple variables is continuously derivable, which is interpretable in mathematical analysis. This is different from the non-linear, non-continuous, derivable and inexplicable mathematical models based on machine learning, deep neural network, etc. This kind of interpretable numerical linear correlation is more guaranteed for coastline extraction);

在所述累积图像矩阵上,对各行列位置的数值通过二值化算法转化为或正或反的数值,然后选出其中转化为正的数值的行列位置的点作为海岸线提取点,其中所述或正或反的数值可以是或0或1的数值、逻辑是与逻辑非、布尔值等可以表示逻辑上相反关系的数值或符号等,具体可为:对各行列位置的数值通过二值化算法(Binarization)或者决策树分类算法(例如,基于Keras的二分类网络、基于sklearn的cart_tree决策树)进行映射转化为或0或1的数值,然后选出其中转化为1的数值的行列位置的点作为海岸线提取点。对比单纯直接就用二值化算法或者决策树分类算法转化然后直接用原始的NDWI图像进行提取海岸线的做法,本发明所述方法在使用了归一化水指数随着时间地点改变而改变的数值特征分布规律与时间变化的波动程度之上,计量了海岸线的周期性数据分布,有利于避开时间影响进一步提高海岸线的准确性。On the cumulative image matrix, the value of each row and column position is converted into a positive or negative value through a binarization algorithm, and then the point of the row and column position converted into a positive value is selected as the coastline extraction point, wherein the The positive or negative value can be the value of 0 or 1, logic is and logical not, Boolean value, etc. can represent the value or symbol of the logically opposite relationship, etc., specifically: the value of each row and column position through binarization Algorithm (Binarization) or decision tree classification algorithm (for example, Keras-based binary classification network, sklearn-based cart_tree decision tree) is mapped to a value of 0 or 1, and then the row and column position of the value converted to 1 is selected Points are used as coastline extraction points. Compared with the method of directly using the binarization algorithm or the decision tree classification algorithm to convert and then directly extract the coastline with the original NDWI image, the method of the present invention uses the value of the normalized water index that changes with time and place. Based on the feature distribution law and the fluctuation degree of time changes, the periodic data distribution of the coastline is measured, which is beneficial to avoid the influence of time and further improve the accuracy of the coastline.

进一步地,在S400中,根据海岸线提取点得到修正海岸线的方法为:对海岸线提取点通过曲线拟合(Least Squares)或插值(Spline Interpolation)得到的曲线作为所述修正海岸线。Further, in S400, the method of obtaining the corrected coastline according to the coastline extraction points is: using the curve obtained by curve fitting (Least Squares) or interpolation (Spline Interpolation) on the coastline extraction points as the corrected coastline.

本发明中还包括了一种高分辨率遥感影像的砂质海岸线提取系统,所述一种高分辨率遥感影像的砂质海岸线提取系统运行于桌上型计算机、笔记本电脑、掌上电脑或云端数据中心的任一计算设备中,所述计算设备包括:处理器、存储器及存储在所述存储器中并在所述处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现所述一种高分辨率遥感影像的砂质海岸线提取方法中的步骤,可运行的系统可包括,但不仅限于,处理器、存储器、服务器集群等。The present invention also includes a sandy coastline extraction system for high-resolution remote sensing images, the sandy coastline extraction system for high-resolution remote sensing images runs on desktop computers, notebook computers, palmtop computers or cloud data In any computing device in the center, the computing device includes: a processor, a memory, and a computer program stored in the memory and running on the processor, and the processor implements the computer program when executing the computer program. In the steps of a method for extracting sandy coastlines from high-resolution remote sensing images, an operable system may include, but not limited to, a processor, a memory, a server cluster, and the like.

本公开的实施例提供的一种高分辨率遥感影像的砂质海岸线提取系统,如图2所示,该实施例的一种高分辨率遥感影像的砂质海岸线提取系统包括:处理器、存储器以及存储在所述存储器中并可在所述处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现上述一种高分辨率遥感影像的砂质海岸线提取方法实施例中的步骤,所述处理器执行所述计算机程序运行在以下系统的单元中:An embodiment of the present disclosure provides a system for extracting a sandy coastline from a high-resolution remote sensing image, as shown in FIG. 2 , the system for extracting a sandy coastline from a high-resolution remote sensing image in this embodiment includes: a processor, a memory and a computer program stored in the memory and operable on the processor, when the processor executes the computer program, the steps in the above embodiment of a sandy coastline extraction method for high-resolution remote sensing images are realized , the processor executes the computer program running in the following system units:

图像获取单元,用于获取多个不同时刻的遥感图像;An image acquisition unit, configured to acquire a plurality of remote sensing images at different times;

序列化单元,用于将遥感图像转化为NDWI图像,并将NDWI图像组成NDWI图像序列;A serialization unit is used to convert the remote sensing image into an NDWI image, and form the NDWI image into an NDWI image sequence;

提取单元,用于对NDWI图像序列进行贯穿处理,得到海岸线提取点;The extraction unit is used to perform penetration processing on the NDWI image sequence to obtain coastline extraction points;

修正输出单元,用于根据海岸线提取点得到修正海岸线。The correction output unit is used to obtain the correction coastline according to the coastline extraction points.

其中,优选地,本发明中所有未定义的变量,若未有明确定义,均可为人工设置的阈值。Among them, preferably, all undefined variables in the present invention, if not clearly defined, can be manually set thresholds.

所述一种高分辨率遥感影像的砂质海岸线提取系统可以运行于桌上型计算机、笔记本电脑、掌上电脑及云端数据中心等计算设备中。所述一种高分辨率遥感影像的砂质海岸线提取系统包括,但不仅限于,处理器、存储器。本领域技术人员可以理解,所述例子仅仅是一种高分辨率遥感影像的砂质海岸线提取方法及系统的示例,并不构成对一种高分辨率遥感影像的砂质海岸线提取方法及系统的限定,可以包括比例子更多或更少的部件,或者组合某些部件,或者不同的部件,例如所述一种高分辨率遥感影像的砂质海岸线提取系统还可以包括输入输出设备、网络接入设备、总线等。The sandy coastline extraction system for high-resolution remote sensing images can be run on computing devices such as desktop computers, notebook computers, palmtop computers, and cloud data centers. The sandy coastline extraction system for high-resolution remote sensing images includes, but is not limited to, a processor and a memory. Those skilled in the art can understand that the above example is only an example of a method and system for extracting a sandy coastline from a high-resolution remote sensing image, and does not constitute an introduction to a method and system for extracting a sandy coastline from a high-resolution remote sensing image. limited, may include more or less components, or combine certain components, or different components, for example, the sandy coastline extraction system for high-resolution remote sensing images may also include input and output devices, network interfaces input devices, buses, etc.

所称处理器可以是中央处理单元(Central Processing Unit,CPU),还可以是其他通用处理器、数字信号处理器 (Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现场可编程门阵列 (Field-Programmable Gate Array,FPGA) 或者其他可编程逻辑器件、分立元器件门电路或者晶体管逻辑器件、分立硬件组件等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等,所述处理器是所述一种高分辨率遥感影像的砂质海岸线提取系统的控制中心,利用各种接口和线路连接整个一种高分辨率遥感影像的砂质海岸线提取系统的各个分区域。The so-called processor can be a central processing unit (Central Processing Unit, CPU), and can also be other general-purpose processors, digital signal processors (Digital Signal Processor, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC), on-site Programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete component gate circuits or transistor logic devices, discrete hardware components, etc. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor, etc., and the processor is the control center of the sandy coastline extraction system of the high-resolution remote sensing image, using various interfaces Each sub-region of a high-resolution remote sensing image sandy coastline extraction system is connected with lines.

所述存储器可用于存储所述计算机程序和/或模块,所述处理器通过运行或执行存储在所述存储器内的计算机程序和/或模块,以及调用存储在存储器内的数据,实现所述一种高分辨率遥感影像的砂质海岸线提取方法及系统的各种功能。所述存储器可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据手机的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器可以包括高速随机存取存储器,还可以包括非易失性存储器,例如硬盘、内存、插接式硬盘,智能存储卡(Smart Media Card, SMC),安全数字(Secure Digital, SD)卡,闪存卡(Flash Card)、至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。The memory can be used to store the computer programs and/or modules, and the processor realizes the one by running or executing the computer programs and/or modules stored in the memory and calling the data stored in the memory. A method for extracting sandy coastline from high-resolution remote sensing images and various functions of the system. The memory may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required by at least one function (such as a sound playback function, an image playback function, etc.) and the like; the storage data area may store Data created based on the use of the mobile phone (such as audio data, phonebook, etc.), etc. In addition, the memory can include high-speed random access memory, and can also include non-volatile memory, such as hard disk, internal memory, plug-in hard disk, smart memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) card , a flash memory card (Flash Card), at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage devices.

本公开提供了一种高分辨率遥感影像的砂质海岸线提取方法及系统,获取多个不同时刻的遥感图像,将遥感图像转化为NDWI图像并将NDWI图像组成NDWI图像序列,对NDWI图像序列进行贯穿处理得到海岸线提取点,根据海岸线提取点得到修正海岸线,有益于提高海岸线的准确性。This disclosure provides a method and system for extracting sandy coastlines from high-resolution remote sensing images, which acquires multiple remote sensing images at different times, converts the remote sensing images into NDWI images and composes the NDWI images into NDWI image sequences, and performs NDWI image sequence Through the processing, the coastline extraction points are obtained, and the coastline is corrected according to the coastline extraction points, which is beneficial to improve the accuracy of the coastline.

尽管本公开的描述已经相当详尽且特别对几个所述实施例进行了描述,但其并非旨在局限于任何这些细节或实施例或任何特殊实施例,从而有效地涵盖本公开的预定范围。此外,上文以发明人可预见的实施例对本公开进行描述,其目的是为了提供有用的描述,而那些目前尚未预见的对本公开的非实质性改动仍可代表本公开的等效改动。While the description of the present disclosure has been presented with considerable detail and in particular has described a few described embodiments, it is not intended to be limited to any such details or embodiments or to any particular embodiment, effectively encompassing the intended scope of the present disclosure. Furthermore, the disclosure has been described above in terms of embodiments foreseeable by the inventors for the purpose of providing a useful description, and insubstantial modifications of the disclosure which are not presently foreseeable may still represent equivalent modifications of the disclosure.

Claims (4)

1. The method for extracting the sandy coastline of the high-resolution remote sensing image is characterized by comprising the following steps of:
s100, acquiring a plurality of remote sensing images at different moments;
s200, converting the remote sensing image into an NDWI image, and forming the NDWI image into an NDWI image sequence;
s300, carrying out penetration processing on the NDWI image sequence to obtain coastline extraction points;
s400, obtaining a corrected coastline according to the coastline extraction points;
in S200, remote sensing images at each moment are respectively converted into corresponding NDWI images through calculating normalized water indexes, and the obtained NDWI images sequentially form an NDWI image sequence, wherein pixel values on the NDWI images are values belonging to [0,1] after being subjected to graying and normalization processing;
in S300, the method for obtaining the coastline extraction point by performing the penetration processing on the NDWI image sequence includes:
recording the NDWI image sequence as a sequence NDseq, recording the number of NDWI images serving as elements in the NDWI image sequence as t, enabling the sequence number of the elements in the NDWI image sequence to be q, keeping the sequence number of each moment in a plurality of different moments consistent with the sequence number q, and enabling the element with the q-th sequence number in the sequence NDseq to be ND (q);
each NDWI image in the NDWI image sequence is an image matrix with the size of n rows and m columns, i is the serial number of a row and j is the serial number of a column in each NDWI image, and the numerical value of the j-th column position of the i-th row in ND (q) is represented as ND (q) [ i, j ];
directing the next of the last element in the NDWI image sequence to the first element;
the function TimeGAP (,) represents the time interval that the time of the subsequent sequence number in the bracket is calculated to pass from the time of the preceding sequence number;
calculating the time sequence penetration degree of each NDWI image: recording the time sequence penetration degree of ND (q) as a period (q), and acquiring the last element ND (q-1) of ND (q) in the NDWI image sequence and the numerical value ND (q-1) [ i, j ] of the element ND (q), wherein the calculation formula of period (q) is as follows:
Figure QLYQS_1
calculating an arithmetic average value of time sequence penetration of each NDWI image in an NDWI image sequence as a time sequence penetration threshold of the NDWI image sequence, and screening out the NDWI images of which the corresponding time sequence penetration in the NDWI image sequence reaches the time sequence penetration threshold as super-threshold images;
multiplying each super-threshold image by the corresponding time sequence penetration degree on the pixel value of each pixel point of each super-threshold image so as to convert each super-threshold image into time sequence penetration degree images, and multiplying each time sequence penetration degree image together by Hadamard product to obtain an accumulated image matrix;
on the cumulative image matrix, the numerical value of each row and column position is converted into a numerical value with the positive or the negative through a binarization algorithm, wherein the numerical value with the positive or the negative represents the numerical value or sign with the logical inverse relation, the numerical value including the numerical value of 0 or 1, the logical AND logic NOT and the Boolean value, and then the point of the row and column position converted into the positive numerical value is selected as a coastline extraction point.
2. The method for extracting a coastline from a sand of a high-resolution remote sensing image according to claim 1, wherein in S100, time intervals among the time points in the plurality of different time points are the same, the order of arrangement of the time points in the plurality of different time points is in time sequence, each remote sensing image corresponds to each time point, wherein each time point corresponds to only one remote sensing image, and the remote sensing image is the high-resolution remote sensing image of the coastline.
3. The method for extracting a coastline from a sand of a high-resolution remote sensing image according to claim 1, wherein in S400, the method for obtaining a corrected coastline according to the coastline extraction point comprises: and taking a curve obtained by curve fitting or interpolation on the coastline extraction points as the corrected coastline.
4. A sandy coastline extraction system of high resolution remote sensing image, characterized in that the sandy coastline extraction system of high resolution remote sensing image is operated in any computing device of a desktop computer, a notebook computer or a cloud data center, the computing device comprising: a processor, a memory and a computer program stored in the memory and running on the processor, the processor implementing the steps in a method for extracting a sandy coastline of a high resolution remote sensing image as claimed in any one of claims 1 to 2 when the computer program is executed.
CN202310395276.3A 2023-04-14 2023-04-14 A method and system for extracting sandy coastlines from high-resolution remote sensing images Active CN116129145B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310395276.3A CN116129145B (en) 2023-04-14 2023-04-14 A method and system for extracting sandy coastlines from high-resolution remote sensing images

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310395276.3A CN116129145B (en) 2023-04-14 2023-04-14 A method and system for extracting sandy coastlines from high-resolution remote sensing images

Publications (2)

Publication Number Publication Date
CN116129145A CN116129145A (en) 2023-05-16
CN116129145B true CN116129145B (en) 2023-06-23

Family

ID=86306622

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310395276.3A Active CN116129145B (en) 2023-04-14 2023-04-14 A method and system for extracting sandy coastlines from high-resolution remote sensing images

Country Status (1)

Country Link
CN (1) CN116129145B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109034083A (en) * 2018-08-03 2018-12-18 青岛大学 A kind of natural Extracting costline method and apparatus based on more scape remote sensing images
CN109577272A (en) * 2018-12-20 2019-04-05 国家海洋局第二海洋研究所 Chiltern water front restorative procedure
CN110097101A (en) * 2019-04-19 2019-08-06 大连海事大学 A kind of remote sensing image fusion and seashore method of tape sorting based on improvement reliability factor
CN110991393A (en) * 2019-12-17 2020-04-10 北京航天泰坦科技股份有限公司 Method and device for remote sensing monitoring and analysis of coastline transition
CN113139550A (en) * 2021-03-29 2021-07-20 山东科技大学 Remote sensing image coastline extraction method based on deep semantic segmentation network
CN114627372A (en) * 2022-02-24 2022-06-14 中国电子科技集团公司第五十四研究所 Method for rapidly detecting wide remote sensing image ship target based on intra-domain transfer learning

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8238658B2 (en) * 2009-01-21 2012-08-07 The United States Of America, As Represented By The Secretary Of The Navy Boundary extraction method
US20130039574A1 (en) * 2011-08-09 2013-02-14 James P. McKay System and method for segmenting water, land and coastline from remote imagery
CN104732215A (en) * 2015-03-25 2015-06-24 广西大学 Remote-sensing image coastline extracting method based on information vector machine
EP3113470B1 (en) * 2015-07-02 2020-12-16 Nokia Technologies Oy Geographical location visual information overlay
CN105374041A (en) * 2015-11-18 2016-03-02 国家海洋局第一海洋研究所 Method of extracting sandy coastline by using multiple periods of remote sensing images
CN105572694A (en) * 2015-12-23 2016-05-11 国家海洋局第一海洋研究所 Motorized high precision sandy shoreline and mud shoreline measuring device
CN108446489A (en) * 2018-03-17 2018-08-24 北京师范大学 Measurement method and its processing unit of the Coastline Changes to wetland influence on groundwater
JP6977873B2 (en) * 2018-04-05 2021-12-08 日本電気株式会社 Image processing device, image processing method, and image processing program
CN111310681B (en) * 2020-02-24 2021-03-16 中国科学院地理科学与资源研究所 A remote sensing extraction method of mangrove distribution incorporating geoscience knowledge
CN113205016B (en) * 2021-04-21 2022-05-17 武汉大学 River and lake shoreline change detection method of constant residual error type Unet and remote sensing water body index
CN216994848U (en) * 2022-04-08 2022-07-19 广东海洋大学 An aerial photography drone for coastline extraction

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109034083A (en) * 2018-08-03 2018-12-18 青岛大学 A kind of natural Extracting costline method and apparatus based on more scape remote sensing images
CN109577272A (en) * 2018-12-20 2019-04-05 国家海洋局第二海洋研究所 Chiltern water front restorative procedure
CN110097101A (en) * 2019-04-19 2019-08-06 大连海事大学 A kind of remote sensing image fusion and seashore method of tape sorting based on improvement reliability factor
CN110991393A (en) * 2019-12-17 2020-04-10 北京航天泰坦科技股份有限公司 Method and device for remote sensing monitoring and analysis of coastline transition
CN113139550A (en) * 2021-03-29 2021-07-20 山东科技大学 Remote sensing image coastline extraction method based on deep semantic segmentation network
CN114627372A (en) * 2022-02-24 2022-06-14 中国电子科技集团公司第五十四研究所 Method for rapidly detecting wide remote sensing image ship target based on intra-domain transfer learning

Also Published As

Publication number Publication date
CN116129145A (en) 2023-05-16

Similar Documents

Publication Publication Date Title
CN111310861B (en) A license plate recognition and location method based on deep neural network
Han et al. Polycrystalline silicon wafer defect segmentation based on deep convolutional neural networks
CN107038416B (en) A Pedestrian Detection Method Based on Improved HOG Feature of Binary Image
CN110501278B (en) Cell counting method based on YOLOv3 and density estimation
CN102982534B (en) Canny edge detection dual threshold acquiring method based on chord line tangent method
CN111784721A (en) Method and system for intelligent segmentation and quantification of ultrasound endoscopic images based on deep learning
CN110245697B (en) Surface contamination detection method, terminal device and storage medium
CN114708434A (en) Cross-domain remote sensing image semantic segmentation method based on adaptation and self-training in iterative domain
CN116703932A (en) CBAM-HRNet model wheat spike grain segmentation and counting method based on convolution attention mechanism
CN110929558B (en) Pedestrian re-identification method based on deep learning
CN110689060A (en) Heterogeneous image matching method based on aggregation feature difference learning network
CN111461121A (en) A method for identifying electrical representation numbers based on YOLOV3 network
Li et al. A new automatic real-time crop row recognition based on SoC-FPGA
CN117930012A (en) Battery consistency assessment method and device, computer equipment and storage medium
CN110659724B (en) Construction Method of Deep Convolutional Neural Network for Target Detection Based on Target Scale
CN104050674B (en) Salient region detection method and device
CN116481429A (en) A log volume detection method based on target detection
CN112053320A (en) Intelligent diagnosis model construction method for rectal cancer lymph node metastasis
CN116129145B (en) A method and system for extracting sandy coastlines from high-resolution remote sensing images
CN114821140A (en) Image clustering method, terminal device and storage medium based on Manhattan distance
CN108960246B (en) Binarization processing device and method for image recognition
CN114299305A (en) A Salient Object Detection Algorithm for Aggregating Dense and Attentional Multiscale Features
CN118334525A (en) Reliability evaluation method for modern marine ranch site selection based on decision tree model
Zhao et al. Depth enhanced cross-modal cascaded network for RGB-D salient object detection
CN110598732B (en) Plant health detection method and device based on image recognition

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant