CN114463202B - Vegetation index time series reconstruction method combining matrix completion and trend filtering - Google Patents
Vegetation index time series reconstruction method combining matrix completion and trend filtering Download PDFInfo
- Publication number
- CN114463202B CN114463202B CN202210037286.5A CN202210037286A CN114463202B CN 114463202 B CN114463202 B CN 114463202B CN 202210037286 A CN202210037286 A CN 202210037286A CN 114463202 B CN114463202 B CN 114463202B
- Authority
- CN
- China
- Prior art keywords
- matrix
- time series
- data
- vegetation index
- ndvi
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T5/00—Image enhancement or restoration
- G06T5/70—Denoising; Smoothing
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T5/00—Image enhancement or restoration
- G06T5/50—Image enhancement or restoration using two or more images, e.g. averaging or subtraction
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/10—Image acquisition modality
- G06T2207/10032—Satellite or aerial image; Remote sensing
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/30—Subject of image; Context of image processing
- G06T2207/30181—Earth observation
- G06T2207/30188—Vegetation; Agriculture
-
- Y—GENERAL 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
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02A—TECHNOLOGIES FOR ADAPTATION TO CLIMATE CHANGE
- Y02A90/00—Technologies having an indirect contribution to adaptation to climate change
- Y02A90/10—Information and communication technologies [ICT] supporting adaptation to climate change, e.g. for weather forecasting or climate simulation
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Image Processing (AREA)
Abstract
本发明提供了一种结合矩阵补全和趋势滤波的植被指数时间序列重建方法,包括如下步骤:首先通过植被指数产品中的质量标记数据确定时间序列数据中的缺失位置,然后针对单个像素的植被指数序列,通过矩阵变化从一维向量变成二维矩阵,接着针对每个像素变换后的矩阵,建立低秩矩阵补全的最优化能量方程,通过非精确增广拉格朗日算法实现矩阵补全,得到初步不含数据缺失的时间序列补全矩阵。最后再将该补全矩阵进行向量化,在一维向量的基础上建立加权趋势滤波的能量优化方程,通过交替方向乘子法实现模型的求解,从而进一步滤除残留的噪声,得到平滑干净的高质量植被指数时间序列数据,实现长时间遥感植被指数序列的高精度重建。
The present invention provides a vegetation index time series reconstruction method combining matrix completion and trend filtering, comprising the following steps: firstly, determining the missing position in the time series data through the quality mark data in the vegetation index product, then, for the vegetation index sequence of a single pixel, transforming from a one-dimensional vector to a two-dimensional matrix through matrix change, then, for each pixel after the transformation, establishing the optimal energy equation for low-rank matrix completion, and implementing matrix completion through the inexact augmented Lagrangian algorithm to obtain a preliminary time series completion matrix without data missing. Finally, the completion matrix is vectorized, and an energy optimization equation for weighted trend filtering is established on the basis of the one-dimensional vector, and the model is solved through the alternating direction multiplier method, thereby further filtering out the residual noise, obtaining smooth and clean high-quality vegetation index time series data, and realizing high-precision reconstruction of long-term remote sensing vegetation index series.
Description
技术领域Technical Field
本发明涉及遥感技术和植被生态技术领域,尤其涉及一种结合矩阵补全和趋势滤波的植被指数时间序列重建方法。The invention relates to the field of remote sensing technology and vegetation ecological technology, and in particular to a vegetation index time series reconstruction method combining matrix completion and trend filtering.
背景技术Background Art
遥感植被指数是研究陆地生态系统植被状态和变化的重要指标,能够反应大尺度区域植被结构和功能的长时间动态变化。在过去的几十年里,随着大量的光学遥感卫星和传感器成像仪的升空,如Landsat、AVHRR、MODIS、SPOT等,形成了系列具备长达十余年甚至几十年的遥感植被指数时间序列,包括归一化植被指数NDVI、增强植被指数EVI等。目前这些标准的NDVI时间序列产品,在植被动态监测、农业估产、土地覆盖变化、陆地碳循环领域得到了广泛应用,对于生态环境建设、全球变化应对与认知起到了重要支撑。然而,光学传感器成像过程中,不可避免的会受到传感器故障、云、气溶胶、及大气条件等的影响,从而在植被指数时间序列中存在较多的噪声和信息缺失。虽然目前MODIS、AVHRR、SPOT等这些标准植被指数产品都会使用最大值合成方法来减少噪声和缺失的影响,但仍会存在着较多的偏差,极大的影响了其后续应用。Remote sensing vegetation index is an important indicator for studying the status and changes of vegetation in terrestrial ecosystems, and can reflect the long-term dynamic changes of vegetation structure and function in large-scale regions. In the past few decades, with the launch of a large number of optical remote sensing satellites and sensor imagers, such as Landsat, AVHRR, MODIS, SPOT, etc., a series of remote sensing vegetation index time series with a duration of more than ten years or even decades have been formed, including the normalized vegetation index NDVI and the enhanced vegetation index EVI. At present, these standard NDVI time series products have been widely used in the fields of vegetation dynamic monitoring, agricultural yield estimation, land cover change, and terrestrial carbon cycle, and have played an important role in supporting ecological environment construction, global change response and cognition. However, in the process of optical sensor imaging, it is inevitable that it will be affected by sensor failure, clouds, aerosols, and atmospheric conditions, resulting in a lot of noise and information missing in the vegetation index time series. Although the current standard vegetation index products such as MODIS, AVHRR, and SPOT use the maximum synthesis method to reduce the impact of noise and missing information, there are still many deviations, which greatly affects their subsequent applications.
为此,国内外学者发展了系列时域滤波方法来去除遥感植被指数时间序列中的噪声和缺失问题,主要可以分为以下几类:首先是基于函数拟合方法,通过预先设定的函数形式,对整个植被指数时间序列进行拟合,从而去除噪声的影响,典型的方法如非对称高斯函数(AG)、双逻辑曲线(DL)等方法。这类方法在表征植被生长的季节性规律变化模式方面具有独特的优势,从而被广泛应用于物候信息的提取,但在季节性变化不规律以及复杂的植被区域应用能力有限。第二个类别是基于局部滑动窗口的滤波方法,通过局部开窗口对目标时间序列进行平滑滤波,如IDR迭代插值、Savitzky-Golay(SG滤波)等方法,这两者有更高的计算效率,但其不同参数的选择对结果影响较大。第三类是频率域的方法,包括谐波分析(HANTS)、小波变换等方法,他们的参数确定也是一个较大的问题。此外,还有其他不能归到以上三类方法,如基于数据同化的方法法、Whittaker滤波等。To this end, scholars at home and abroad have developed a series of time domain filtering methods to remove noise and missing problems in remote sensing vegetation index time series, which can be mainly divided into the following categories: First, based on the function fitting method, the entire vegetation index time series is fitted through a pre-set function form to remove the influence of noise. Typical methods include asymmetric Gaussian function (AG) and double logic curve (DL). This type of method has unique advantages in characterizing the seasonal regular change pattern of vegetation growth, and is therefore widely used in the extraction of phenological information, but has limited application capabilities in areas with irregular seasonal changes and complex vegetation. The second category is the filtering method based on the local sliding window, which smoothes the target time series through local windowing, such as IDR iterative interpolation and Savitzky-Golay (SG filtering). These two methods have higher computational efficiency, but the selection of different parameters has a greater impact on the results. The third category is the frequency domain method, including harmonic analysis (HANTS), wavelet transform and other methods, and their parameter determination is also a big problem. In addition, there are other methods that cannot be classified into the above three categories, such as methods based on data assimilation and Whittaker filtering.
这些时域滤波方法因模型简单、效率较高,在植被相关研究中得到了广泛应用,但它们通常存在难以处理时间上连续缺失的问题,从而无法得到高质量NDVI时间序列数据。These time-domain filtering methods have been widely used in vegetation-related research due to their simple models and high efficiency, but they usually have the problem of difficulty in handling continuous missing data in time, making it impossible to obtain high-quality NDVI time series data.
发明内容Summary of the invention
本发明提出了一种结合矩阵补全和趋势滤波的植被指数时间序列重建方法,用以解决现有技术中无法得到高质量NDVI时间序列数据的技术问题。由于本发明提出的方法考虑了NDVI时间序列数据物候周期性和平滑性特点,因而可以得到高质量NDVI时间序列数据。The present invention proposes a vegetation index time series reconstruction method combining matrix completion and trend filtering to solve the technical problem that high-quality NDVI time series data cannot be obtained in the prior art. Since the method proposed in the present invention takes into account the phenological periodicity and smoothness characteristics of NDVI time series data, high-quality NDVI time series data can be obtained.
本发明所采用的技术方案是:结合矩阵补全和趋势滤波的植被指数时间序列重建方法,该方法包括以下步骤:The technical solution adopted by the present invention is: a vegetation index time series reconstruction method combining matrix completion and trend filtering, the method comprising the following steps:
S1:输入植被指数时间序列原始数据y以及与之对应的质量标记数据f,质量标记数据用以表征植被指数时间序列原始数据中每个像素的质量;S1: Input the original vegetation index time series data y and the corresponding quality mark data f, the quality mark data is used to characterize the quality of each pixel in the original vegetation index time series data;
S2:针对每个像素的植被指数序列,通过矩阵变化从一维向量变成二维矩阵Y,其中,两个维度分别代表时间序列的年份覆盖长度和一年内的监测频次,用以表征植被的季节性变化特征及年际周期变化相似性,构建的二维矩阵为NDVI时间序列数据矩阵;然后基于质量标记数据,找出二维矩阵中的缺失数据,将对应位置记录为缺失;S2: For each pixel's vegetation index sequence, the one-dimensional vector is transformed into a two-dimensional matrix Y through matrix transformation, where the two dimensions represent the annual coverage length of the time series and the monitoring frequency within a year, respectively, to characterize the seasonal variation characteristics of vegetation and the similarity of inter-annual periodic variation. The constructed two-dimensional matrix is the NDVI time series data matrix; then, based on the quality marker data, the missing data in the two-dimensional matrix is found, and the corresponding position is recorded as missing;
S3:针对每个像素变换后的二维矩阵,建立低秩矩阵补全的最优化能量方程,通过非精确增广拉格朗日算法实现矩阵补全,得到初步不含数据缺失的时间序列补全矩阵X;S3: For each pixel transformed two-dimensional matrix, the optimal energy equation for low-rank matrix completion is established, and the matrix completion is realized by the inexact augmented Lagrangian algorithm to obtain the preliminary time series completion matrix X without data missing;
S4:将补全矩阵X向量化,得到不含缺失的NDVI时间序列数据x;S4: vectorize the completed matrix X to obtain the NDVI time series data x without missing items;
S5.基于不含缺失的NDVI时间序列数据和质量标记数据f,建立加权趋势滤波的优化方程,通过交替方向乘子法实现噪声滤除,得到平滑干净的高质量NDVI时间序列数据z,作为重建后的NDVI时间序列数据。S5. Based on the NDVI time series data without missing items and the quality marker data f, an optimization equation for weighted trend filtering is established. Noise filtering is achieved through the alternating direction multiplier method to obtain smooth, clean, high-quality NDVI time series data z as the reconstructed NDVI time series data.
在一种实施方式中,步骤S1中,输入的植被指数时间序列原始数据y有n年,每年具有k个时间序列点,y和f的总长度为kn。In one embodiment, in step S1, the input vegetation index time series raw data y has n years, each year has k time series points, and the total length of y and f is kn.
在一种实施方式中,当植被指数时间序列原始数据y为MODIS植被指数产品MOD13中的数据时,NDVI数据分为干净像元、可能干净的像元、云覆盖像元以及雪覆盖像元四类,质量标记分别为0,1,2,3。In one embodiment, when the vegetation index time series raw data y is data in the MODIS vegetation index product MOD13, the NDVI data is divided into four categories: clean pixels, possibly clean pixels, cloud-covered pixels, and snow-covered pixels, and the quality marks are 0, 1, 2, and 3 respectively.
在一种实施方式中,步骤S2包括:In one embodiment, step S2 includes:
S2.1:将植被指数时间序列原始数据矩阵化,形成k行n列的矩阵其中每列为一年的NDVI时间序列数据,包括k个时间序列点数据,共有n列;S2.1: Raw vegetation index time series data Matrixization, forming a matrix with k rows and n columns Each column is one year's NDVI time series data, including k time series point data, with a total of n columns;
S2.2:根据质量标记数据f,找出其中被云覆盖以及雪覆盖的像元,并将找出的像元标记为缺失像元,矩阵Y中的对应元素记录为缺失元素,将其他像元标记为干净像元,矩阵Y中的对应元素记录为干净元素。S2.2: According to the quality marking data f, find out the pixels covered by clouds and snow, mark the found pixels as missing pixels, and record the corresponding elements in the matrix Y as missing elements. Mark other pixels as clean pixels, and record the corresponding elements in the matrix Y as clean elements.
在一种实施方式中,步骤S3包括:In one embodiment, step S3 includes:
S3.1:针对每个像素变换后的二维矩阵,建立低秩矩阵补全的最优化能量方程:S3.1: For each pixel transformed two-dimensional matrix, establish the optimal energy equation for low-rank matrix completion:
式中,为待求的补全矩阵,i表示矩阵的第i行,j表示第j列,用下标(i,j)表示元素的位置,将Y中干净元素的位置(i,j)的集合表示为Ω;In the formula, is the required completion matrix, i represents the i-th row of the matrix, j represents the j-th column, the subscript (i, j) represents the position of the element, and the set of the positions (i, j) of the clean elements in Y is denoted as Ω;
S3.2:采用矩阵的核范数最小化代替矩阵的秩最小化,将式(1)转化成凸优化问题,即:S3.2: We use the minimization of the matrix nuclear norm instead of the minimization of the matrix rank to transform equation (1) into a convex optimization problem, namely:
式中,||X||*为矩阵的核范数;Where ||X|| * is the nuclear norm of the matrix;
S3.3:利用非精确增广拉格朗日算法求解,首先通过引入辅助变量E,将式(2)转化成等价形式:S3.3: Solve using the inexact augmented Lagrangian algorithm. First, by introducing the auxiliary variable E, equation (2) is transformed into an equivalent form:
再构建式(3)的增广拉格朗日函数,即:Reconstruct the augmented Lagrangian function of equation (3), that is:
式中,M为拉格朗日乘子,μ为惩罚参数,式(4)通过下述交替迭代步骤获得最优解:Where M is the Lagrange multiplier, μ is the penalty parameter, and equation (4) obtains the optimal solution through the following alternating iterative steps:
其中,上标k表示迭代次数,ρ表示一个大于1的常数,用于更新惩参数μ,PΩ(·)为矩阵投影算子,S1/μk(·)为奇异值阈值算子,通过上述迭代求解获得的最优解X,为NDVI时间序列数据补全矩阵。Wherein, the superscript k represents the number of iterations, ρ represents a constant greater than 1, which is used to update the penalty parameter μ, P Ω (·) is the matrix projection operator, S 1 /μ k (·) is the singular value threshold operator, and the optimal solution X obtained by the above iterative solution is the NDVI time series data completion matrix.
在一种实施方式中,步骤S4包括:In one embodiment, step S4 includes:
将NDVI时间序列数据补全矩阵转变成时间序列向量NDVI时间序列数据补全矩阵中不含缺失数据。Complete the matrix with NDVI time series data Convert to time series vector The NDVI time series data completion matrix does not contain missing data.
在一种实施方式中,步骤S5包括:In one embodiment, step S5 includes:
S5.1:根据质量标记数据f,将干净像元的权重设置为1,将缺失重建像元的权重设置为0.8,建立加权趋势滤波的优化方程为:S5.1: According to the quality mark data f, the weight of the clean pixel is set to 1, the weight of the missing reconstructed pixel is set to 0.8, and the optimization equation of the weighted trend filter is established as:
式中,为待求的去噪结果,λ为正则化参数,W为对角矩阵,对角元素为对应像元的权重,D为二阶差分矩阵;In the formula, is the desired denoising result, λ is the regularization parameter, W is a diagonal matrix, the diagonal elements are the weights of the corresponding pixels, and D is the second-order difference matrix;
S5.2:利用交替方向乘子法求解,首先将式(6)转化成带约束的模型:S5.2: Using the alternating direction multiplier method, first transform equation (6) into a constrained model:
再构建式(7)的增广拉格朗日函数,即:Reconstruct the augmented Lagrangian function of equation (7), that is:
式中,m为拉格朗日乘子,β为惩罚参数,式(6)通过下述交替迭代步骤获得最优解,Where m is the Lagrange multiplier, β is the penalty parameter, and equation (6) obtains the optimal solution through the following alternating iterative steps:
其中,θ表示一个大于1的常数,用于更新惩参数β,Among them, θ represents a constant greater than 1, which is used to update the penalty parameter β.
为软阈值函数,上标k表示迭代次数通过上述迭代求解获得的最优解z,为最终的NDVI时间序列数据重建结果。 is a soft threshold function, and the superscript k represents the number of iterations. The optimal solution z obtained through the above iterative solution is the final reconstruction result of NDVI time series data.
本申请实施例中的上述一个或多个技术方案,至少具有如下一种或多种技术效果:The above one or more technical solutions in the embodiments of the present application have at least one or more of the following technical effects:
(1)NDVI时间序列数据具有明显的物候周期性特点,因此NDVI时间序列数据构建成的矩阵具有显著的低秩性特点,从而通过低秩矩阵补全可以实现对缺失值的填,本发明能有效地填补NDVI时间序列中的缺失值,特别是对于时序连续缺失值有很好的补全效果。(1) NDVI time series data has obvious phenological periodicity characteristics, so the matrix constructed from NDVI time series data has significant low-rank characteristics, so that missing values can be filled through low-rank matrix completion. The present invention can effectively fill the missing values in the NDVI time series, especially for the continuous missing values in the time series.
(2)此外,考虑NDVI时间序列数据具有平滑性特点,因此通过加权趋势滤波进一步地滤除噪声,本发明能有效地去除NDVI时间序列中的噪声,获得平滑的NDVI时间序列结果,同时保持最大值点、最小值点等关键点。(2) In addition, considering that the NDVI time series data has the characteristic of smoothness, the noise is further filtered out through weighted trend filtering. The present invention can effectively remove the noise in the NDVI time series and obtain a smooth NDVI time series result while maintaining key points such as the maximum point and the minimum point.
总之,本发明提出的结合低秩矩阵补全和加权趋势滤波的NDVI时间序列数据重建方法能有效提高NDVI时间序列数据的质量,有很强的稳定性和通用性。In summary, the NDVI time series data reconstruction method combining low-rank matrix completion and weighted trend filtering proposed in the present invention can effectively improve the quality of NDVI time series data and has strong stability and versatility.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
图1为本发明实施例中基于低秩矩阵补全和加权趋势滤波的时序NDVI重建方法流程图;FIG1 is a flow chart of a method for reconstructing time series NDVI based on low-rank matrix completion and weighted trend filtering in an embodiment of the present invention;
图2为本发明实施例中时间序列NDVI矩阵的奇异值变化图;FIG2 is a diagram showing the variation of singular values of a time series NDVI matrix according to an embodiment of the present invention;
图3为本发明实施例中时间序列NDVI数据原始数据和重建结果对比图。FIG. 3 is a comparison diagram of the original data and the reconstruction results of the time series NDVI data in an embodiment of the present invention.
具体实施方式DETAILED DESCRIPTION
本申请发明人通过大量的研究与实践发现:现有技术中的时域滤波方法因模型简单、效率较高,在植被相关研究中得到了广泛应用,但它们通常存在难以处理时间上连续缺失的问题。这是因为这些方法是对每个像素的植被指数序列进行单独处理,因此当时间序列中存在时间连续缺失时候,目标像素很难有充分的参考进行有效的重建,从而难以获取理想的结果。鉴于此,有必要发展新的时域滤波方法,在保证处理效率的同时,能够有效的保证不同缺失情况的处理精度。通过结合低秩矩阵补全和加权趋势滤波,对植被指数时间序列进行整体建模,同时通过矩阵变化有效利用时间序列中其他年份的参考信息,能够实现植被指数时间序列的高质量、高效处理。The inventors of this application have found through extensive research and practice that the time domain filtering methods in the prior art have been widely used in vegetation-related research due to their simple models and high efficiency, but they usually have the problem of difficulty in handling continuous missing time. This is because these methods process the vegetation index sequence of each pixel separately. Therefore, when there are continuous missing time in the time series, it is difficult to have sufficient reference for effective reconstruction of the target pixel, making it difficult to obtain ideal results. In view of this, it is necessary to develop a new time domain filtering method that can effectively guarantee the processing accuracy of different missing situations while ensuring processing efficiency. By combining low-rank matrix completion and weighted trend filtering, the vegetation index time series is modeled as a whole, and the reference information of other years in the time series is effectively utilized through matrix changes, so that high-quality and efficient processing of the vegetation index time series can be achieved.
本发明提供了一种结合低秩矩阵补全和加权趋势滤波的时间序列NDVI数据重建方法,考虑了NDVI时间序列数据物候周期性和平滑性特点,能有效填补NDVI时间序列数据中的缺失数据并滤除噪声,获得高质量的NDVI时间序列数据。The present invention provides a time series NDVI data reconstruction method combining low-rank matrix completion and weighted trend filtering, which takes into account the phenological periodicity and smoothness characteristics of NDVI time series data, can effectively fill in the missing data in the NDVI time series data and filter out noise, and obtain high-quality NDVI time series data.
为了达到上述目的,本发明的主要构思如下:In order to achieve the above object, the main concepts of the present invention are as follows:
针对长时序遥感植被指数序列,首先通过植被指数产品中的质量标记数据确定时间序列数据中的缺失位置,然后针对单个像素的植被指数序列,通过矩阵变化从一维向量变成二维矩阵,两个维度分别代表时间序列的年份覆盖长度以及一年内的监测频次,即表征了植被的季节性变化特征及年际周期变化相似性,从而能够在除了时间邻域外给缺失像元提供更多的参考信息,实现不同缺失情景下的高精度重建。针对每个像素变换后的矩阵,建立低秩矩阵补全的最优化能量方程(见公式(1)),通过非精确增广拉格朗日算法实现矩阵补全,得到初步不含数据缺失的时间序列补全矩阵。最后再将该补全矩阵进行向量化,在一维向量的基础上建立加权趋势滤波的能量优化方程(见公式(6)),通过交替方向乘子法实现模型的求解,从而进一步滤除残留的噪声,得到平滑干净的高质量植被指数时间序列数据,实现长时间遥感植被指数序列的高精度重建。For the long-term remote sensing vegetation index series, the missing position in the time series data is first determined by the quality mark data in the vegetation index product. Then, for the vegetation index series of a single pixel, the matrix is transformed from a one-dimensional vector to a two-dimensional matrix. The two dimensions represent the annual coverage length of the time series and the monitoring frequency within a year, which characterizes the seasonal variation characteristics of vegetation and the similarity of inter-annual periodic variation. In addition to the time neighborhood, more reference information can be provided for the missing pixels, and high-precision reconstruction can be achieved under different missing scenarios. For each pixel after the transformation, the optimal energy equation for low-rank matrix completion is established (see formula (1)). The matrix completion is achieved by the inexact augmented Lagrangian algorithm to obtain a preliminary time series completion matrix without missing data. Finally, the completion matrix is vectorized, and the energy optimization equation for weighted trend filtering is established on the basis of the one-dimensional vector (see formula (6)). The model is solved by the alternating direction multiplier method, thereby further filtering out the residual noise and obtaining smooth and clean high-quality vegetation index time series data, realizing high-precision reconstruction of long-term remote sensing vegetation index series.
为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
本发明实施例提供了结合矩阵补全和趋势滤波的植被指数时间序列重建方法,包括:The embodiment of the present invention provides a vegetation index time series reconstruction method combining matrix completion and trend filtering, including:
S1:输入植被指数时间序列原始数据y以及与之对应的质量标记数据f,质量标记数据用以表征植被指数时间序列原始数据中每个像素的质量;S1: Input the original vegetation index time series data y and the corresponding quality mark data f, the quality mark data is used to characterize the quality of each pixel in the original vegetation index time series data;
S2:针对每个像素的植被指数序列,通过矩阵变化从一维向量变成二维矩阵Y,其中,两个维度分别代表时间序列的年份覆盖长度和一年内的监测频次,用以表征植被的季节性变化特征及年际周期变化相似性,构建的二维矩阵为NDVI时间序列数据矩阵;然后基于质量标记数据,找出二维矩阵中的缺失数据,将对应位置记录为缺失;S2: For each pixel's vegetation index sequence, the one-dimensional vector is transformed into a two-dimensional matrix Y through matrix transformation, where the two dimensions represent the annual coverage length of the time series and the monitoring frequency within a year, respectively, to characterize the seasonal variation characteristics of vegetation and the similarity of inter-annual periodic variation. The constructed two-dimensional matrix is the NDVI time series data matrix; then, based on the quality marker data, the missing data in the two-dimensional matrix is found, and the corresponding position is recorded as missing;
S3:针对每个像素变换后的二维矩阵,建立低秩矩阵补全的最优化能量方程,通过非精确增广拉格朗日算法实现矩阵补全,得到初步不含数据缺失的时间序列补全矩阵X;S3: For each pixel transformed two-dimensional matrix, the optimal energy equation for low-rank matrix completion is established, and the matrix completion is realized by the inexact augmented Lagrangian algorithm to obtain the preliminary time series completion matrix X without data missing;
S4:将补全矩阵X向量化,得到不含缺失的NDVI时间序列数据x;S4: vectorize the completed matrix X to obtain the NDVI time series data x without missing items;
S5.基于不含缺失的NDVI时间序列数据和质量标记数据f,建立加权趋势滤波的优化方程,通过交替方向乘子法实现噪声滤除,得到平滑干净的高质量NDVI时间序列数据z,作为重建后的NDVI时间序列数据。S5. Based on the NDVI time series data without missing items and the quality marker data f, an optimization equation for weighted trend filtering is established. Noise filtering is achieved through the alternating direction multiplier method to obtain smooth, clean, high-quality NDVI time series data z as the reconstructed NDVI time series data.
如图1所示,为本发明提供的一种结合低秩矩阵补全和加权趋势滤波的NDVI时间序列数据重建方法的流程图。As shown in FIG1 , it is a flow chart of a method for reconstructing NDVI time series data combining low-rank matrix completion and weighted trend filtering provided by the present invention.
具体实施过程中,植被指数时间序列原始数据y为NDVI时间序列数据,质量标记数据f标记了y中每个像素的质量情况。In the specific implementation process, the original vegetation index time series data y is the NDVI time series data, and the quality mark data f marks the quality of each pixel in y.
S2:通过植被指数产品中的质量标记数据确定时间序列数据中的缺失位置,然后针对单个像素的植被指数序列,通过矩阵变化从一维向量变成二维矩阵(NDVI时间序列数据矩阵),其中的两个维度分别代表时间序列的年份覆盖长度以及一年内的监测频次,即表征了植被的季节性变化特征及年际周期变化相似性,从而能够在除了时间邻域外给缺失像元提供更多的参考信息,实现不同缺失情景下的高精度重建。S2: The missing position in the time series data is determined by the quality marker data in the vegetation index product. Then, for the vegetation index sequence of a single pixel, the one-dimensional vector is transformed into a two-dimensional matrix (NDVI time series data matrix) through matrix transformation. The two dimensions represent the annual coverage length of the time series and the monitoring frequency within a year, which characterizes the seasonal variation characteristics of vegetation and the similarity of interannual periodic changes. In this way, more reference information can be provided for the missing pixels in addition to the time neighborhood, and high-precision reconstruction can be achieved under different missing scenarios.
步骤S3针对每个像素变换后的矩阵,建立低秩矩阵补全的最优化能量方程(见公式(1)),通过非精确增广拉格朗日算法实现矩阵补全,得到初步不含数据缺失的时间序列补全矩阵。再通过步骤S4将该补全矩阵进行向量化,最后通过步骤S5在一维向量的基础上建立加权趋势滤波的能量优化方程(见公式(6)),通过交替方向乘子法实现模型的求解,从而进一步滤除残留的噪声,得到平滑干净的高质量植被指数时间序列数据,实现长时间遥感植被指数序列的高精度重建。In step S3, for each pixel transformed matrix, the optimal energy equation for low-rank matrix completion (see formula (1)) is established, and the matrix completion is realized by the inexact augmented Lagrangian algorithm to obtain a preliminary time series completion matrix without data missing. Then, the completion matrix is vectorized by step S4, and finally, the energy optimization equation of weighted trend filtering is established on the basis of the one-dimensional vector by step S5 (see formula (6)). The model is solved by the alternating direction multiplier method, thereby further filtering out the residual noise, obtaining smooth and clean high-quality vegetation index time series data, and realizing high-precision reconstruction of long-term remote sensing vegetation index series.
请参见图2,为本发明实施例中时间序列NDVI矩阵的奇异值变化图。Please refer to FIG2 , which is a diagram showing the variation of singular values of the time series NDVI matrix in an embodiment of the present invention.
从图2可以看出,矩阵Y的奇异值曲线下降非常快,因此矩阵Y具有显著的低秩特性,从而可以通过低秩矩阵补全重建缺失数据。建立低秩矩阵补全的优化方程,通过非精确增广拉格朗日算法实现矩阵补全,得到NDVI时间序列数据补全矩阵X。As can be seen from Figure 2, the singular value curve of matrix Y decreases very quickly, so matrix Y has a significant low-rank characteristic, so the missing data can be reconstructed by low-rank matrix completion. The optimization equation for low-rank matrix completion is established, and the matrix completion is realized by the inexact augmented Lagrangian algorithm to obtain the NDVI time series data completion matrix X.
在一种实施方式中,步骤S1中,输入的植被指数时间序列原始数据y有n年,每年具有k个时间序列点,y和f的总长度为kn。In one embodiment, in step S1, the input vegetation index time series raw data y has n years, each year has k time series points, and the total length of y and f is kn.
NDVI时间序列数据以年为周期呈现出周期相似性特点。The NDVI time series data show periodic similarity characteristics with an annual cycle.
在一种实施方式中,当植被指数时间序列原始数据y为MODIS植被指数产品MOD13中的数据时,NDVI数据分为干净像元、可能干净的像元、云覆盖像元以及雪覆盖像元四类,质量标记分别为0,1,2,3。In one embodiment, when the vegetation index time series raw data y is data in the MODIS vegetation index product MOD13, the NDVI data is divided into four categories: clean pixels, possibly clean pixels, cloud-covered pixels, and snow-covered pixels, and the quality marks are 0, 1, 2, and 3 respectively.
在一种实施方式中,步骤S2包括:In one embodiment, step S2 includes:
S2.1:将植被指数时间序列原始数据矩阵化,形成k行n列的矩阵其中每列为一年的NDVI时间序列数据,包括k个时间序列点数据,共有n列;S2.1: Raw vegetation index time series data Matrixization, forming a matrix with k rows and n columns Each column is one year's NDVI time series data, including k time series point data, with a total of n columns;
S2.2:根据质量标记数据f,找出其中被云覆盖以及雪覆盖的像元,并将找出的像元标记为缺失像元,矩阵Y中的对应元素记录为缺失元素,将其他像元标记为干净像元,矩阵Y中的对应元素记录为干净元素。S2.2: According to the quality marking data f, find out the pixels covered by clouds and snow, mark the found pixels as missing pixels, and record the corresponding elements in the matrix Y as missing elements. Mark other pixels as clean pixels, and record the corresponding elements in the matrix Y as clean elements.
在一种实施方式中,步骤S3包括:In one embodiment, step S3 includes:
S3.1:针对每个像素变换后的二维矩阵,建立低秩矩阵补全的最优化能量方程:S3.1: For each pixel transformed two-dimensional matrix, establish the optimal energy equation for low-rank matrix completion:
式中,为待求的补全矩阵,i表示矩阵的第i行,j表示第j列,用下标(i,j)表示元素的位置,将Y中干净元素的位置(i,j)的集合表示为Ω;In the formula, is the required completion matrix, i represents the i-th row of the matrix, j represents the j-th column, the subscript (i, j) represents the position of the element, and the set of the positions (i, j) of the clean elements in Y is denoted as Ω;
S3.2:采用矩阵的核范数最小化代替矩阵的秩最小化,将式(1)转化成凸优化问题,即:S3.2: We use the minimization of the matrix nuclear norm instead of the minimization of the matrix rank to transform equation (1) into a convex optimization problem, namely:
式中,||X||*为矩阵的核范数;Where ||X|| * is the nuclear norm of the matrix;
S3.3:利用非精确增广拉格朗日算法求解,首先通过引入辅助变量E,将式(2)转化成等价形式:S3.3: Solve using the inexact augmented Lagrangian algorithm. First, by introducing the auxiliary variable E, equation (2) is transformed into an equivalent form:
再构建式(3)的增广拉格朗日函数,即:Reconstruct the augmented Lagrangian function of equation (3), that is:
式中,M为拉格朗日乘子,μ为惩罚参数,式(4)通过下述交替迭代步骤获得最优解:Where M is the Lagrange multiplier, μ is the penalty parameter, and equation (4) obtains the optimal solution through the following alternating iterative steps:
其中,上标k表示迭代次数,ρ表示一个大于1的常数,用于更新惩参数μ,PΩ(·)为矩阵投影算子,S1/μk(·)为奇异值阈值算子,通过上述迭代求解获得的最优解X,为NDVI时间序列数据补全矩阵。Wherein, the superscript k represents the number of iterations, ρ represents a constant greater than 1, which is used to update the penalty parameter μ, P Ω (·) is the matrix projection operator, S 1 /μ k (·) is the singular value threshold operator, and the optimal solution X obtained by the above iterative solution is the NDVI time series data completion matrix.
具体来说,由于步骤3.1建立的优化方程是非凸的,因此通过S3.2用矩阵的核范数最小化代替矩阵的秩最小化,将式(1)转化成凸优化问题。Specifically, since the optimization equation established in step 3.1 is non-convex, the rank minimization of the matrix is replaced by the nuclear norm minimization of the matrix through S3.2, and equation (1) is transformed into a convex optimization problem.
S3.3中的步骤1~6为求解X的算法。Steps 1 to 6 in S3.3 are the algorithm for solving X.
在一种实施方式中,步骤S4包括:In one embodiment, step S4 includes:
将NDVI时间序列数据补全矩阵转变成时间序列向量NDVI时间序列数据补全矩阵中不含缺失数据。Complete the matrix with NDVI time series data Convert to time series vector The NDVI time series data completion matrix does not contain missing data.
在一种实施方式中,步骤S5包括:In one embodiment, step S5 includes:
S5.1:根据质量标记数据f,将干净像元的权重设置为1,将缺失重建像元的权重设置为0.8,建立加权趋势滤波的优化方程为:S5.1: According to the quality mark data f, the weight of the clean pixel is set to 1, the weight of the missing reconstructed pixel is set to 0.8, and the optimization equation of the weighted trend filter is established as:
式中,为待求的去噪结果,λ为正则化参数,W为对角矩阵,对角元素为对应像元的权重,D为二阶差分矩阵;In the formula, is the desired denoising result, λ is the regularization parameter, W is a diagonal matrix, the diagonal elements are the weights of the corresponding pixels, and D is the second-order difference matrix;
S5.2:利用交替方向乘子法求解,首先将式(6)转化成带约束的模型:S5.2: Using the alternating direction multiplier method, first transform equation (6) into a constrained model:
再构建式(7)的增广拉格朗日函数,即:Reconstruct the augmented Lagrangian function of equation (7), that is:
式中,m为拉格朗日乘子,β为惩罚参数,式(6)通过下述交替迭代步骤获得最优解,Where m is the Lagrange multiplier, β is the penalty parameter, and equation (6) obtains the optimal solution through the following alternating iterative steps:
其中,θ表示一个大于1的常数,用于更新惩参数β,Among them, θ represents a constant greater than 1, which is used to update the penalty parameter β.
为软阈值函数,a,b表示该函数的两个变量,上标k表示迭代次数通过上述迭代求解获得的最优解z,为最终的NDVI时间序列数据重建结果。 is a soft threshold function, a and b represent the two variables of the function, and the superscript k represents the number of iterations. The optimal solution z obtained by the above iterative solution is the final reconstruction result of the NDVI time series data.
由于优化方程(6)不能直接获得解析解,因此利用交替方向乘子法求解,首先将式(6)转化成带约束的模型:Since the optimization equation (6) cannot be directly solved analytically, the alternating direction multiplier method is used to solve it. First, equation (6) is transformed into a constrained model:
请参见图3,为本发明实施例中时间序列NDVI数据原始数据和重建结果对比图。Please refer to FIG3 , which is a comparison diagram of the original data and the reconstruction result of the time series NDVI data in an embodiment of the present invention.
应当理解的是,上述针对较佳实施例的描述较为详细,并不能因此而认为是对本发明专利保护范围的限制,本领域的普通技术人员在本发明的启示下,在不脱离本发明权利要求所保护的范围情况下,还可以做出替换或变形,均落入本发明的保护范围之内,本发明的请求保护范围应以所附权利要求为准。It should be understood that the above description of the preferred embodiment is relatively detailed and cannot be regarded as limiting the scope of patent protection of the present invention. Under the enlightenment of the present invention, ordinary technicians in this field can also make substitutions or modifications without departing from the scope of protection of the claims of the present invention, which all fall within the scope of protection of the present invention. The scope of protection requested for the present invention shall be based on the attached claims.
Claims (7)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202210037286.5A CN114463202B (en) | 2022-01-13 | 2022-01-13 | Vegetation index time series reconstruction method combining matrix completion and trend filtering |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202210037286.5A CN114463202B (en) | 2022-01-13 | 2022-01-13 | Vegetation index time series reconstruction method combining matrix completion and trend filtering |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN114463202A CN114463202A (en) | 2022-05-10 |
| CN114463202B true CN114463202B (en) | 2024-11-08 |
Family
ID=81410122
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202210037286.5A Active CN114463202B (en) | 2022-01-13 | 2022-01-13 | Vegetation index time series reconstruction method combining matrix completion and trend filtering |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN114463202B (en) |
Families Citing this family (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN114936202B (en) * | 2022-05-16 | 2023-07-11 | 中国地质大学(武汉) | Reconstruction method and device for polar region albedo remote sensing data and computer equipment |
| CN116776089B (en) * | 2023-04-19 | 2025-05-13 | 中国地质调查局水文地质环境地质调查中心 | Data processing method and device, electronic equipment and storage medium |
| CN117388872B (en) * | 2023-09-05 | 2024-03-19 | 武汉大学 | A method and system for maintaining the coordinate frame of the Beidou ground-based augmentation system reference station |
| CN120318364B (en) * | 2025-06-17 | 2025-09-02 | 武汉大学 | Cross-scale remote sensing vegetation index reconstruction method based on time sequence tensor constraint |
Citations (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN112380998A (en) * | 2020-11-16 | 2021-02-19 | 华北电力大学(保定) | Low-voltage transformer area missing data completion method based on matrix completion |
Family Cites Families (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US8145677B2 (en) * | 2007-03-27 | 2012-03-27 | Faleh Jassem Al-Shameri | Automated generation of metadata for mining image and text data |
| US10212410B2 (en) * | 2016-12-21 | 2019-02-19 | Mitsubishi Electric Research Laboratories, Inc. | Systems and methods of fusing multi-angle view HD images based on epipolar geometry and matrix completion |
| CN110472525B (en) * | 2019-07-26 | 2021-05-07 | 浙江工业大学 | Noise detection method for time series remote sensing vegetation index |
-
2022
- 2022-01-13 CN CN202210037286.5A patent/CN114463202B/en active Active
Patent Citations (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN112380998A (en) * | 2020-11-16 | 2021-02-19 | 华北电力大学(保定) | Low-voltage transformer area missing data completion method based on matrix completion |
Also Published As
| Publication number | Publication date |
|---|---|
| CN114463202A (en) | 2022-05-10 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN114463202B (en) | Vegetation index time series reconstruction method combining matrix completion and trend filtering | |
| CN116580318B (en) | Soil nutrient inversion method, device, equipment and medium for crop coverage area | |
| CN112381013B (en) | Urban vegetation inversion method and system based on high-resolution remote sensing image | |
| CN112348812B (en) | Method and device for measuring forest stand age information | |
| CN113723255A (en) | Hyperspectral image classification method and storage medium | |
| CN117689959B (en) | Remote sensing classification method for fusing vegetation life cycle features | |
| CN116051936B (en) | Chlorophyll Concentration Ordered Completion Method Based on Spatiotemporal Separation of External Attention | |
| CN114937173A (en) | Hyperspectral image rapid classification method based on dynamic graph convolution network | |
| CN115880487A (en) | Forest laser point cloud branch and leaf separation method based on deep learning method | |
| CN116224327A (en) | A Phase Unwrapping Method for Large Gradient Deformation Area in Mining Area Based on Learning Network | |
| CN116972814A (en) | Shallow sea water depth detection method, equipment and storage medium based on active and passive remote sensing fusion | |
| CN117690017B (en) | A method for extracting single-season and double-season rice considering phenological time sequence characteristics | |
| CN118941962A (en) | Anomaly detection method for hyperspectral images based on anomaly suppression encoder | |
| CN119339226A (en) | A robust object classification method and system based on multimodal relationship modeling and fusion network | |
| CN118887257A (en) | Infrared small target tracking method, system, device and medium | |
| CN114529951B (en) | On-site fingerprint feature point extraction method based on deep learning | |
| CN113378924B (en) | Remote sensing image supervision and classification method based on space-spectrum feature combination | |
| CN118864277B (en) | Remote sensing image fusion method and system based on geographic weighted principal component analysis | |
| CN118097313B (en) | Hyperspectral image classification method based on active learning in frequency domain | |
| Khandelwal et al. | Cloudnet: A deep learning approach for mitigating occlusions in landsat-8 imagery using data coalescence | |
| Ning et al. | Extraction of Rice-planted Area Based on MobileUnet Model and Radarsat-2 Data | |
| CN119762394A (en) | A multi-scale component-based image restoration method | |
| CN118781432A (en) | A hyperspectral image classification method based on refined spatial-spectral joint feature extraction | |
| Li et al. | Prompt learning and multi-scale attention for infrared and visible image fusion | |
| Liu et al. | Research on multi-focus image fusion algorithm based on total variation and quad-tree decomposition |
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 |