CN107065006B - Seismic signal coding method based on online dictionary updating - Google Patents

Seismic signal coding method based on online dictionary updating Download PDF

Info

Publication number
CN107065006B
CN107065006B CN201710062515.8A CN201710062515A CN107065006B CN 107065006 B CN107065006 B CN 107065006B CN 201710062515 A CN201710062515 A CN 201710062515A CN 107065006 B CN107065006 B CN 107065006B
Authority
CN
China
Prior art keywords
data
dictionary
sparse
group
follows
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.)
Expired - Fee Related
Application number
CN201710062515.8A
Other languages
Chinese (zh)
Other versions
CN107065006A (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.)
Wuhan University WHU
Original Assignee
Wuhan University WHU
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 Wuhan University WHU filed Critical Wuhan University WHU
Priority to CN201710062515.8A priority Critical patent/CN107065006B/en
Publication of CN107065006A publication Critical patent/CN107065006A/en
Application granted granted Critical
Publication of CN107065006B publication Critical patent/CN107065006B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01VGEOPHYSICS; GRAVITATIONAL MEASUREMENTS; DETECTING MASSES OR OBJECTS; TAGS
    • G01V1/00Seismology; Seismic or acoustic prospecting or detecting
    • G01V1/28Processing seismic data, e.g. for interpretation or for event detection
    • G01V1/288Event detection in seismic signals, e.g. microseismics
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01VGEOPHYSICS; GRAVITATIONAL MEASUREMENTS; DETECTING MASSES OR OBJECTS; TAGS
    • G01V2210/00Details of seismic processing or analysis
    • G01V2210/10Aspects of acoustic signal generation or detection
    • G01V2210/14Signal detection

Landscapes

  • Engineering & Computer Science (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Environmental & Geological Engineering (AREA)
  • Remote Sensing (AREA)
  • Physics & Mathematics (AREA)
  • Emergency Management (AREA)
  • Business, Economics & Management (AREA)
  • Acoustics & Sound (AREA)
  • Geology (AREA)
  • General Life Sciences & Earth Sciences (AREA)
  • General Physics & Mathematics (AREA)
  • Geophysics (AREA)
  • Other Investigation Or Analysis Of Materials By Electrical Means (AREA)
  • Compression, Expansion, Code Conversion, And Decoders (AREA)

Abstract

A seismic signal coding method based on online dictionary updating belongs to a seismic signal data coding transmission method, solves the dictionary transmission problem caused by dictionary learning and sparse representation in seismic signal coding, and can be applied to various seismic signal measurement-based ground mapping. The invention comprises the following steps: (1) dividing input seismic signals into a plurality of groups according to a time sequence, and performing sparse coding on each group of data by using a dictionary in a cache to calculate a sparse coefficient; (2) quantizing and entropy coding the sparse coefficient in the step (1); (3) and reading the reconstructed data of the previous P transmitted groups from the cache, and performing dictionary learning by combining the sparse coefficients transmitted by the current group, thereby updating the dictionary required by sparse representation of the next group of data. According to the invention, by means of online dictionary updating, dictionary information does not need to be transmitted in real time under the premise of ensuring effective sparse representation of signals, so that data transmission data volume is effectively reduced, and the method can be suitable for various seismic signal high-speed acquisition application occasions.

Description

一种基于在线字典更新的地震信号编码方法A Seismic Signal Coding Method Based on Online Dictionary Update

技术领域technical field

本发明属于地震信号数据传输方法,具体涉及一种地震信号有损编码方法。The invention belongs to a seismic signal data transmission method, in particular to a seismic signal lossy coding method.

背景技术Background technique

基于地震信号测量的测绘技术是目前地底结构和矿产资源测量的有效方法之一。在每次测绘时,对地底进行地震信号测量将会产生超过100T以上的数据,而目前信号传输的带宽极为有限,因此有必要在传输前通过地震信号编码技术减少地震信号的数据量。现有技术中,提出了一种基于离散余弦变换的地震信号编码方法,它能够获得接近于3倍的压缩倍数。也有采用二维基于局部地震信号自适应的离散余弦变换技术,使得重建后的地震信号重要特征能够得以保存。更进一步地,采用自适应小波包的地震信号编码技术可以获得更高的压缩倍数和更好的重建质量由于其较好的方向保持特性,目前被广泛应用于地震信号的特征提取中。上述方法的主要思想是采用一种合适的基或者冗余的字典来表征地震信号,使得信号的表征是稀疏的。近年来,通过字典学习进行稀疏表示获得了广泛地关注,尤其是在图像编码中得到了广泛的应用在遥感图像中通过双稀疏模型去学习字典,从而获得了较好的编码效果。这些研究成果均表明了在地震信号编码中应用字典学习和稀疏表示的可行性。The surveying and mapping technology based on seismic signal measurement is one of the effective methods to measure the underground structure and mineral resources. In each survey, seismic signal measurement on the ground will generate more than 100T of data, and the bandwidth of current signal transmission is extremely limited, so it is necessary to reduce the amount of seismic signal data through seismic signal encoding technology before transmission. In the prior art, a seismic signal coding method based on discrete cosine transform is proposed, which can obtain a compression factor close to 3 times. There are also two-dimensional discrete cosine transform technology based on local seismic signal adaptation, so that the important features of the reconstructed seismic signal can be preserved. Furthermore, the seismic signal coding technology using adaptive wavelet packet can obtain higher compression factor and better reconstruction quality. Due to its better direction preservation characteristics, it is widely used in the feature extraction of seismic signals. The main idea of the above method is to use a suitable base or redundant dictionary to represent the seismic signal, so that the representation of the signal is sparse. In recent years, sparse representation through dictionary learning has received extensive attention, especially in image coding. It has been widely used in remote sensing images to learn dictionaries through double sparse models, thereby obtaining better coding results. These research results show the feasibility of applying dictionary learning and sparse representation in seismic signal coding.

传统基于字典学习和稀疏表示的编码方法往往包含如下两种主要方法:(1)通过离线学习的字典对实时获取的在线数据进行稀疏表示。对于该方法而言,预先需要存在一个离线训练集,并通过该离线训练集去获得所需的字典信息。因此,在线数据的稀疏表示是否有效极度依赖于离线数据和在线数据的相关性。对于实际地震信号测量而言,很难获得适用于不同情况的通用离线训练集。(2)使用实时在线数据训练字典,通过该字典对实时在线数据进行稀疏表示。在该方法中,有必要对字典进行传输,从而使得编解码端的稀疏表示过程能够同步。因此,字典信息的传输将会增加编码码流的大小,从而降低编码性能。Traditional coding methods based on dictionary learning and sparse representation often include the following two main methods: (1) sparse representation of online data acquired in real time through offline learned dictionaries. For this method, an offline training set needs to exist in advance, and the required dictionary information is obtained through the offline training set. Therefore, whether the sparse representation of online data is effective or not depends heavily on the correlation between offline data and online data. For actual seismic signal measurements, it is difficult to obtain a general offline training set applicable to different situations. (2) Use the real-time online data to train a dictionary, and use the dictionary to sparsely represent the real-time online data. In this method, it is necessary to transmit the dictionary, so that the sparse representation process at the codec side can be synchronized. Therefore, the transmission of dictionary information will increase the size of the encoded code stream, thereby reducing the encoding performance.

发明内容:Invention content:

本发明提出一种基于在线字典更新的地震信号编码方法,属于地震信号数据编码传输方法,解决地震信号编码中采用字典学习和稀疏表示带来的如何传输字典的问题,可以应用于各种基于地震信号测量的地底测绘中。The invention proposes a seismic signal coding method based on online dictionary update, which belongs to the seismic signal data coding transmission method, solves the problem of how to transmit the dictionary caused by adopting dictionary learning and sparse representation in seismic signal coding, and can be applied to various seismic signals based on Underground mapping for signal measurements.

本发明的一种基于在线字典更新的地震信号编码方法,包括编码步骤和解码步骤;其中,A seismic signal encoding method based on online dictionary update of the present invention includes an encoding step and a decoding step; wherein,

所述编码步骤包括:The encoding step includes:

步骤1、将输入地震信号按照时间顺序分成多个组,对每组数据采用缓存中的字典进行稀疏编码,具体是:Step 1. Divide the input seismic signals into multiple groups according to time sequence, and use the dictionary in the cache to perform sparse coding on each group of data, specifically:

步骤11、将近临T个迹的地震信号数据分为一组,对每组数据单独进行处理;假设当前组数据为Z组数据,其表示为Yz;将每个迹的数据等分为若干个单元,每个单元yi的长度为M×1,将yi按照列方式进行排序;因此,Yz=[y1,...yi,...yN];这里假设每个迹上记录的数据长度为U,那么有如下关系式:T×U=M×N;Step 11: Divide the seismic signal data of the adjacent T tracks into one group, and process each group of data separately; Suppose that the current group of data is the Z group of data, which is represented as Y z ; The data of each track is equally divided into several units, each unit yi has a length of M×1, and yi is sorted in columns; therefore, Y z =[y 1 ,...y i ,...y N ]; here it is assumed that each The length of the data recorded on the track is U, then there is the following relation: T×U=M×N;

步骤12、读取缓存中的字典Dz-1,给定稀疏系数矩阵WZ的稀疏性为L,对下式进行优化求解:Step 12: Read the dictionary D z-1 in the cache. Given that the sparsity of the sparse coefficient matrix W Z is L, optimize the solution to the following formula:

步骤2、对步骤S1中的稀疏系数进行量化及熵编码,具体包括:Step 2. Perform quantization and entropy coding on the sparse coefficients in step S1, specifically including:

步骤21、采用均匀量化方法对稀疏系数矩阵进行量化,具体如下:Step 21: Quantize the sparse coefficient matrix using a uniform quantization method, as follows:

wZ(i,j)代表稀疏系数矩阵WZ中坐标为(i,j)的系数数值,Δ代表量化步长,代表(i,j)的系数数值的量化结果,round(·)代表取整运算;w Z (i,j) represents the coefficient value with the coordinates (i, j) in the sparse coefficient matrix W Z , Δ represents the quantization step size, Represents the quantization result of the coefficient value of (i, j), and round( ) represents the rounding operation;

步骤22、创建由数值0和数值1组成的非零系数位置矩阵PT,创建方法如下:Step 22. Create a non-zero coefficient position matrix PT consisting of a value of 0 and a value of 1, and the creation method is as follows:

其中,abs(·)代表绝对值运算;Among them, abs( ) represents the absolute value operation;

步骤23、对非零系数位置矩阵PT采用算术编码;Step 23, using arithmetic coding on the non-zero coefficient position matrix PT;

步骤24、对非零系数(对应于PT(i,j)=1位置的采用Huffman编码;Step 24. For non-zero coefficients (corresponding to the position of PT(i,j)=1 Using Huffman coding;

步骤3、从缓存中读取前面P个已传输组的重建数据,结合当前组传输的稀疏系数进行字典学习,从而更新下一组数据稀疏表示所需的字典,具体包括:Step 3. Read the reconstructed data of the previous P transmitted groups from the cache, and perform dictionary learning in combination with the sparse coefficients transmitted by the current group, thereby updating the dictionary required for the sparse representation of the next group of data, including:

步骤31、计算P+1组重建数据p∈[Z-P,Z](当前组数据是Z组),计算方法如下:Step 31. Calculate the reconstruction data of P+1 group p∈[ZP,Z] (the current group of data is the Z group), the calculation method is as follows:

其中,中的单元 in, unit in

步骤32、按照如下优化过程求解所需字典DZStep 32: Solve the required dictionary D Z according to the following optimization process:

其中,ai代表描述组间相关性的常数,式(2)通过如下步骤迭代运算求解:in, a i represents a constant describing the correlation between groups. Equation (2) is solved by iterative operation as follows:

步骤321、固定DZ,W'可以通过前面所述的PS方法进行计算;Step 321, fix D Z , W' can be calculated by the PS method described above;

步骤322、固定W',DZ可以按照MOD方法进行更新:Step 322, fix W', D Z can be updated according to the MOD method:

步骤323、重复上述步骤321和步骤322至指定迭代次数,更新所需的字典DZStep 323, repeat the above-mentioned steps 321 and 322 to the specified number of iterations, and update the required dictionary D Z ;

所述解码步骤包括:The decoding step includes:

步骤4、对接收到的稀疏系数进行反量化及熵解码,生成非零系数矩阵W'Z,具体如下:Step 4. Perform inverse quantization and entropy decoding on the received sparse coefficients to generate a non-zero coefficient matrix W' Z , as follows:

步骤41、对非零系数编码码流进行Huffman解码,获得非零系数wcStep 41, performing Huffman decoding on the non-zero coefficient encoded code stream to obtain the non-zero coefficient w c ;

步骤42、对非零系数wc进行反量化,获得反量化系数w'c,具体如下:Step 42: Perform inverse quantization on the non-zero coefficient w c to obtain the inverse quantization coefficient w' c , as follows:

w'c=wc×Δw' c =w c ×Δ

步骤43、对非零系数位置矩阵PT编码码流进行算术解码,获得非零系数位置矩阵PT,结合步骤42中生成的反量化系数w'c,生成非零系数矩阵W'ZStep 43, perform arithmetic decoding on the non-zero coefficient position matrix PT encoded code stream to obtain the non-zero coefficient position matrix PT, and combine the inverse quantization coefficients w' c generated in step 42 to generate a non-zero coefficient matrix W'Z;

步骤5、进行地震信号重建,具体如下:Step 5. Perform seismic signal reconstruction, as follows:

步骤51、读取缓存中的字典Dz-1,生成重建信号Y'z,具体如下:Step 51: Read the dictionary D z-1 in the cache, and generate the reconstructed signal Y' z , as follows:

Y'z=Dz-1×W'Z Y' z =D z-1 ×W' Z

步骤52、对重建信号Y'z=[y'1...y'i...y'N](每个单元y'i的长度为M×1)进行重排列,将临近若干个单元按照列的方式首尾连在一起拼成一迹,因此,每迹的长度为总共有T迹;Step 52: Rearrange the reconstructed signal Y' z =[y' 1 ... y' i ... y' N ] (the length of each unit y' i is M×1), and arrange several adjacent units Join the end and end together to form a trace in the way of columns, so the length of each trace is There are a total of T traces;

步骤6、生成缓存中的字典Dz,用于下一组数据的重建,即:从缓存中读取前面P个已传输组的重建数据,结合当前组传输的稀疏系数进行字典学习,从而更新下一组数据稀疏表示所需的字典,具体包括:Step 6. Generate a dictionary D z in the cache for the reconstruction of the next group of data, that is: read the reconstructed data of the previous P transmitted groups from the cache, and perform dictionary learning in combination with the sparse coefficients transmitted by the current group, so as to update The next set of dictionaries required for the sparse representation of the data include:

步骤61、计算P+1组重建数据p∈[Z-P,Z](当前组数据是Z组),计算方法如下:Step 61. Calculate the reconstruction data of P+1 groups p∈[ZP,Z] (the current group of data is the Z group), the calculation method is as follows:

其中,中的单元 in, unit in

步骤62、按照如下优化过程求解所需字典DZStep 62: Solve the required dictionary D Z according to the following optimization process:

其中,ai代表描述组间相关性的常数,式(2)通过如下步骤迭代运算求解:in, a i represents a constant describing the correlation between groups. Equation (2) is solved by iterative operation as follows:

步骤621、固定DZ,W'可以通过前面所述的PS方法进行计算;Step 621, fix D Z , W' can be calculated by the PS method described above;

步骤622、固定W',DZ可以按照MOD方法进行更新:Step 622, fix W', D Z can be updated according to the MOD method:

步骤623、重复上述步骤321和步骤322至指定迭代次数,更新所需的字典DZStep 623: Repeat the above steps 321 and 322 to the specified number of iterations, and update the required dictionary D Z .

本发明通过在线字典更新的方式,在保证信号有效稀疏表示的前提条件下,并不需要实时传输字典信息,从而有效减少数据传输数据量,可以适用于各种地震信号高速采集应用场合。The method of online dictionary updating does not require real-time transmission of dictionary information under the premise of ensuring effective sparse representation of signals, thereby effectively reducing the amount of data transmission data, and can be applied to various seismic signal high-speed acquisition applications.

附图说明Description of drawings

图1是本发明的流程图;Fig. 1 is the flow chart of the present invention;

图2是测试地震信号数据中的部分信号;Fig. 2 is the partial signal in the test seismic signal data;

图3是学习的字典;Figure 3 is the learned dictionary;

图4是不同方法性能对比的结果。Figure 4 shows the results of the performance comparison of different methods.

具体实施方式Detailed ways

实施例:Example:

本发明主要包括:The present invention mainly includes:

S1:将输入地震信号按照时间顺序分成多个组,对每组数据采用缓存中的字典进行稀疏编码;S1: Divide the input seismic signal into multiple groups according to time sequence, and use the dictionary in the cache to sparsely encode each group of data;

S2:对步骤S1中的稀疏系数进行量化及熵编码;S2: carry out quantization and entropy coding to the sparse coefficients in step S1;

S3:从缓存中读取前面P个已传输组的重建数据,结合当前组传输的稀疏系数进行字典学习,从而更新下一组数据稀疏表示所需的字典。S3: Read the reconstructed data of the previous P transmitted groups from the cache, and perform dictionary learning in combination with the sparse coefficients transmitted by the current group, so as to update the dictionary required for the sparse representation of the next group of data.

更进一步地,步骤S1具体为:Further, step S1 is specifically:

S11:将近临T个迹的地震信号数据分为一组,对每组数据单独进行处理;假设当前组数据为Z组数据,其表示为Yz。将每个迹的数据等分为若干个单元,每个单元yi的长度为M×1,将yi按照列方式进行排序。因此,Yz=[y1,...yi,...yN]。这里假设每个迹上记录的数据长度为U,那么有如下关系式:T×U=M×N。S11: Divide the seismic signal data of the adjacent T traces into one group, and process each group of data separately; assuming that the current group of data is the Z group of data, which is represented as Y z . The data of each trace is equally divided into several units, the length of each unit yi is M×1, and the yi is sorted by column. Therefore, Y z =[y 1 , . . . y i , . . . y N ]. Assuming that the length of data recorded on each track is U, there is the following relational formula: T×U=M×N.

S12:读取缓存中的字典Dz-1,给定稀疏系数矩阵WZ的稀疏性为L,对下式进行优化求解:S12: Read the dictionary D z-1 in the cache, given that the sparsity of the sparse coefficient matrix W Z is L, optimize the solution to the following formula:

对于式(1)的求解,我们拟采用PS方法(“Partial search vector selection forsparse signal representation,”in NORSIG-03)。PS方法是基于OMP算法(正交匹配追踪,“Comparison of basis selection methods,”in Signals,Systems and Computers,1996.Conference Record of the Thirtieth Asilomar Conference on),因此,首先给出OMP算法的流程:For the solution of equation (1), we intend to use the PS method (“Partial search vector selection for sparse signal representation,” in NORSIG-03). The PS method is based on the OMP algorithm (orthogonal matching pursuit, "Comparison of basis selection methods," in Signals, Systems and Computers, 1996. Conference Record of the Thirtieth Asilomar Conference on), therefore, the flow of the OMP algorithm is first given:

PS方法将上述步骤(1)仅仅对最大相关性字典单元的搜索过程修改为对若干个极大相关性字典单元的搜索,从而提供更多的搜索判决获得较佳的稀疏向量。The PS method modifies the search process of only the largest relevancy dictionary unit in the above step (1) to a search of several maximal relevancy dictionary units, thereby providing more search decisions to obtain better sparse vectors.

步骤S2具体为:Step S2 is specifically:

S21:采用均匀量化方法对稀疏系数矩阵进行量化,具体如下:S21: Quantize the sparse coefficient matrix by a uniform quantization method, as follows:

wZ(i,j)代表稀疏系数矩阵WZ中坐标为(i,j)的系数数值,Δ代表量化步长,代表(i,j)的系数数值的量化结果,round(·)代表取整运算。w Z (i,j) represents the coefficient value with the coordinates (i, j) in the sparse coefficient matrix W Z , Δ represents the quantization step size, Represents the quantization result of the coefficient value of (i,j), and round(·) represents the rounding operation.

S22:创建由数值0和数值1组成的非零系数矩阵PT,创建方法如下:S22: Create a non-zero coefficient matrix PT consisting of a value of 0 and a value of 1. The creation method is as follows:

其中,abs(·)代表绝对值运算。Among them, abs( ) represents absolute value operation.

S23:对非零系数矩阵PT采用算术编码。S23: Use arithmetic coding on the non-zero coefficient matrix PT.

S24:对非零系数(对应于PT(i,j)=1位置的wr i,j)采用Huffman编码。S24: Huffman coding is used for the non-zero coefficients (w ri ,j corresponding to the position of PT(i,j)=1).

步骤S3具体为:Step S3 is specifically:

S31:计算P+1组重建数据p∈[Z-P,Z](当前组数据是Z组),计算方法如下:S31: Calculate the reconstruction data of P+1 groups p∈[ZP,Z] (the current group of data is the Z group), the calculation method is as follows:

其中,中的单元 in, unit in

S32:按照如下优化过程求解所需字典DZS32: Solve the required dictionary D Z according to the following optimization process:

其中,ai代表描述组间相关性的常数。in, a i represents a constant describing the correlation between groups.

式(2)可以通过如下步骤迭代运算求解:Equation (2) can be solved iteratively through the following steps:

1)固定DZ,W'可以通过前面所述的PS方法进行计算;1) fixed D Z , W' can be calculated by the PS method described above;

2)固定W',DZ可以按照MOD方法(“Method of Optimal Directions for FrameDesign,”in 1999 IEEE International Conference on Acoustics,Speech and SignalProcessing(ICASSP))进行更新:2) Fixed W', D Z can be updated according to the MOD method ("Method of Optimal Directions for FrameDesign," in 1999 IEEE International Conference on Acoustics, Speech and SignalProcessing (ICASSP)):

3)重复上述步骤1)和步骤2)至指定迭代次数,生成所需的更新字典DZ3) Repeat the above steps 1) and 2) to the specified number of iterations to generate the required update dictionary D Z .

实施例1:Example 1:

1.测试地震信号数据来源于UTAM图像数据库(http://utam.gg.utah.edu/SeismicData/SeismicData.html),我们选用Find-Trapped-miners数据作为测试数据,它包含72个传感器,每个传感器包含135个迹;1. The test seismic signal data comes from the UTAM image database (http://utam.gg.utah.edu/SeismicData/SeismicData.html), we choose the Find-Trapped-miners data as the test data, which contains 72 sensors, each Each sensor contains 135 traces;

2.每个迹取1600个时间长度样本,每10个迹的数据为1组,部分测试数据如图1所示;2. Take 1600 time length samples for each trace, and the data of each 10 traces is one group, and some test data are shown in Figure 1;

1.假定当前组是第3组(前2组数据均已完成编码且相关数据已输出到解码端和缓存中),读取缓存中的字典D2进行稀疏编码,在该实施例中缓存中字典的大小均为16×64,稀疏性为1/16(非零系数占总体系数的比例),计算获得的W3中部分数据如下;1. Assuming that the current group is the third group (the first two groups of data have been encoded and the relevant data has been output to the decoding end and the cache), read the dictionary D2 in the cache for sparse encoding. In this embodiment, the cache is The size of the dictionary is all 16 × 64, and the sparsity is 1/16 (the proportion of non-zero coefficients to the overall coefficients). Part of the data in W 3 obtained by calculation is as follows;

00 00 00 00 00 00 00 00 00 00 00 00 00 191086.69191086.69 00 00 00 00 00 00 00 00 00 69516.6369516.63 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 263371.03263371.03 00 00 00 00 00 -275961.58-275961.58 248225.21248225.21 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

2.对W3进行量化,量化步长选用1024;对量化后中的非零数据采用Huffman编码,对非零元位置采用算术编码,我们通过SNR来衡量原始信号和重建信号的差异,此时的SNR是21.2dB。2. Quantize W 3 , and the quantization step size is 1024; Huffman coding is used for the non-zero data after quantization, and arithmetic coding is used for the non-zero element position. We measure the difference between the original signal and the reconstructed signal by SNR. The SNR is 21.2dB.

3.通过读取前两组重建数据和W3,进行字典更新,所更新的字典D3如图3所示。3. By reading the first two sets of reconstruction data and W 3 , the dictionary is updated, and the updated dictionary D 3 is shown in FIG. 3 .

实施例2:Example 2:

1.对第四组数据用第三组数据更新的字典D3进行稀疏表示,并更新字典D41. sparsely represent the fourth group of data with the dictionary D3 updated by the third group of data, and update the dictionary D4 ;

2.对第五组数据用第四组数据更新的字典D4进行稀疏表示,并更新字典D52. The fifth group of data is sparsely represented by the dictionary D 4 updated with the fourth group of data, and the dictionary D 5 is updated;

3.对上述每组数据进行量化及编码,计算码率并通过SNR衡量失真;3. Quantize and encode each group of data above, calculate the bit rate and measure the distortion through SNR;

4.调整不同稀疏性,重复上述3个步骤,得到不同码率下的失真情况。4. Adjust different sparsity and repeat the above 3 steps to get the distortion at different bit rates.

5.为了证明算法的有效性,我们同时对基于DCT,Curvelet和离线字典学习方法(K-SVD+ORMP)的地震信号编码算法进行了实验,得到不同算法的率失真情况,相关对比实验结果如图4所示。5. In order to prove the effectiveness of the algorithm, we also conducted experiments on the seismic signal coding algorithm based on DCT, Curvelet and offline dictionary learning method (K-SVD+ORMP), and obtained the rate-distortion of different algorithms. The related experimental results are as follows: shown in Figure 4.

本技术中所描述的具体实施例仅仅是对本发明精神作举例说明。本发明所属技术领域的技术人员可以对所描述的具体实施例做各种各样的修改或补充或采用类似的方式替代,但并不会偏离本发明的精神或者超越所附权利要求书所定义的范围。The specific embodiments described in this technology are merely illustrative of the spirit of the invention. Those skilled in the art to which the present invention pertains can make various modifications or additions to the described specific embodiments or substitute in similar manners, but will not deviate from the spirit of the present invention or go beyond the definitions of the appended claims range.

Claims (1)

1.一种基于在线字典更新的地震信号编码方法,其特征在于,包括编码步骤和解码步骤;其中,1. a seismic signal encoding method based on online dictionary update, is characterized in that, comprises encoding step and decoding step; Wherein, 所述编码步骤包括:The encoding step includes: 步骤1、将输入地震信号按照时间顺序分成多个组,对每组数据采用缓存中的字典进行稀疏编码,具体是:Step 1. Divide the input seismic signals into multiple groups according to time sequence, and use the dictionary in the cache to perform sparse coding on each group of data, specifically: 步骤11、将近临T个迹的地震信号数据分为一组,对每组数据单独进行处理;假设当前组数据为Z组数据,其表示为Yz;将每个迹的数据等分为若干个单元,每个单元yi的长度为M×1,将yi按照列方式进行排序;因此,Yz=[y1,...yi,...yN];这里假设每个迹上记录的数据长度为U,那么有如下关系式:T×U=M×N;Step 11: Divide the seismic signal data of the adjacent T tracks into one group, and process each group of data separately; Suppose that the current group of data is the Z group of data, which is represented as Y z ; The data of each track is equally divided into several units, each unit yi has a length of M×1, and yi is sorted in columns; therefore, Y z =[y 1 ,...y i ,...y N ]; here it is assumed that each The length of the data recorded on the track is U, then there is the following relation: T×U=M×N; 步骤12、读取缓存中的字典Dz-1,给定稀疏系数矩阵WZ的稀疏性为L,对下式进行优化求解:Step 12: Read the dictionary D z-1 in the cache. Given that the sparsity of the sparse coefficient matrix W Z is L, optimize the solution to the following formula: 步骤2、对步骤S1中的稀疏系数进行量化及熵编码,具体包括:Step 2. Perform quantization and entropy coding on the sparse coefficients in step S1, including: 步骤21、采用均匀量化方法对稀疏系数矩阵进行量化,具体如下:Step 21: Quantize the sparse coefficient matrix using a uniform quantization method, as follows: wZ(i,j)代表稀疏系数矩阵WZ中坐标为(i,j)的系数数值,Δ代表量化步长,代表(i,j)的系数数值的量化结果,round(·)代表取整运算;w Z (i,j) represents the coefficient value with the coordinates (i, j) in the sparse coefficient matrix W Z , Δ represents the quantization step size, Represents the quantization result of the coefficient value of (i, j), and round( ) represents the rounding operation; 步骤22、创建由数值0和数值1组成的非零系数位置矩阵PT,创建方法如下:Step 22. Create a non-zero coefficient position matrix PT consisting of a numerical value of 0 and a numerical value of 1. The creation method is as follows: 其中,abs(·)代表绝对值运算;Among them, abs( ) represents the absolute value operation; 步骤23、对非零系数位置矩阵PT采用算术编码;Step 23, using arithmetic coding on the non-zero coefficient position matrix PT; 步骤24、对非零系数采用Huffman编码,非零系数对应于PT(i,j)=1位置的 Step 24: Huffman coding is used for the non-zero coefficients, and the non-zero coefficients correspond to the position of PT(i, j)=1. 步骤3、从缓存中读取前面P个已传输组的重建数据,结合当前组传输的稀疏系数进行字典学习,从而更新下一组数据稀疏表示所需的字典,具体包括:Step 3. Read the reconstructed data of the previous P transmitted groups from the cache, and perform dictionary learning in combination with the sparse coefficients transmitted by the current group, so as to update the dictionary required for the sparse representation of the next group of data, including: 步骤31、计算P+1组重建数据p∈[Z-P,Z],当前组数据是Z组,计算方法如下:Step 31. Calculate the reconstruction data of P+1 group p∈[ZP,Z], the current group of data is the Z group, and the calculation method is as follows: 其中,中的单元 in, unit in 步骤32、按照如下优化过程求解所需字典DZStep 32: Solve the required dictionary D Z according to the following optimization process: 其中,ai代表描述组间相关性的常数,式(2)通过如下步骤迭代运算求解:in, a i represents a constant describing the correlation between groups. Equation (2) is solved by iterative operation as follows: 步骤321、固定DZ,W'通过PS方法进行计算;Step 321, fix D Z , W' is calculated by PS method; 步骤322、固定W',DZ可以按照MOD方法进行更新:Step 322, fix W', D Z can be updated according to the MOD method: 步骤323、重复上述步骤321和步骤322至指定迭代次数,更新所需的字典DZStep 323, repeat the above-mentioned steps 321 and 322 to the specified number of iterations, and update the required dictionary D Z ; 所述解码步骤包括:The decoding step includes: 步骤4、对接收到的稀疏系数进行反量化及熵解码,生成非零系数矩阵W'Z,具体如下:Step 4. Perform inverse quantization and entropy decoding on the received sparse coefficients to generate a non-zero coefficient matrix W' Z , as follows: 步骤41、对非零系数编码码流进行Huffman解码,获得非零系数wcStep 41, performing Huffman decoding on the non-zero coefficient encoded code stream to obtain the non-zero coefficient w c ; 步骤42、对非零系数wc进行反量化,获得反量化系数w'c,具体如下:Step 42: Perform inverse quantization on the non-zero coefficient w c to obtain the inverse quantization coefficient w' c , as follows: w'c=wc×Δw' c =w c ×Δ 步骤43、对非零系数位置矩阵PT编码码流进行算术解码,获得非零系数位置矩阵PT,结合步骤42中生成的反量化系数w'c,生成非零系数矩阵W'ZStep 43, perform arithmetic decoding on the non-zero coefficient position matrix PT encoded code stream to obtain the non-zero coefficient position matrix PT, and combine the inverse quantization coefficients w' c generated in step 42 to generate a non-zero coefficient matrix W'Z; 步骤5、进行地震信号重建,具体如下:Step 5. Perform seismic signal reconstruction, as follows: 步骤51、读取缓存中的字典Dz-1,生成重建信号Y'z,具体如下:Step 51: Read the dictionary D z-1 in the cache, and generate the reconstructed signal Y' z , as follows: Y'z=Dz-1×W'Z Y' z =D z-1 ×W' Z 步骤52、对重建信号Y'z=[y'1...y'i...y'N]进行重排列,每个单元y'i的长度为M×1,将临近若干个单元按照列的方式首尾连在一起拼成一迹,因此,每迹的长度为总共有T迹;Step 52: Rearrange the reconstructed signal Y' z =[y' 1 ... y' i ... y' N ], the length of each unit y' i is M×1, and arrange adjacent units according to The columns are connected end to end to form a trace, so the length of each trace is There are a total of T traces; 步骤6、生成缓存中的字典Dz,用于下一组数据的重建,即:从缓存中读取前面P个已传输组的重建数据,结合当前组传输的稀疏系数进行字典学习,从而更新下一组数据稀疏表示所需的字典,具体包括:Step 6. Generate a dictionary D z in the cache for the reconstruction of the next group of data, that is: read the reconstructed data of the previous P transmitted groups from the cache, and perform dictionary learning in combination with the sparse coefficients transmitted by the current group, so as to update The next set of dictionaries required for the sparse representation of the data include: 步骤61、计算P+1组重建数据p∈[Z-P,Z],当前组数据是Z组,计算方法如下:Step 61. Calculate the reconstruction data of P+1 groups p∈[ZP,Z], the current group of data is the Z group, and the calculation method is as follows: 其中,中的单元 in, unit in 步骤62、按照如下优化过程求解所需字典DZStep 62: Solve the required dictionary D Z according to the following optimization process: 其中,ai代表描述组间相关性的常数,式(2)通过如下步骤迭代运算求解:in, a i represents a constant describing the correlation between groups. Equation (2) is solved by iterative operation as follows: 步骤621、固定DZ,W'通过PS方法进行计算;Step 621, fix D Z , W' is calculated by PS method; 步骤622、固定W',DZ可以按照MOD方法进行更新:Step 622, fix W', D Z can be updated according to the MOD method: 步骤623、重复上述步骤321和步骤322至指定迭代次数,更新所需的字典DZStep 623: Repeat the above steps 321 and 322 to the specified number of iterations, and update the required dictionary D Z .
CN201710062515.8A 2017-01-23 2017-01-23 Seismic signal coding method based on online dictionary updating Expired - Fee Related CN107065006B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710062515.8A CN107065006B (en) 2017-01-23 2017-01-23 Seismic signal coding method based on online dictionary updating

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710062515.8A CN107065006B (en) 2017-01-23 2017-01-23 Seismic signal coding method based on online dictionary updating

Publications (2)

Publication Number Publication Date
CN107065006A CN107065006A (en) 2017-08-18
CN107065006B true CN107065006B (en) 2019-06-11

Family

ID=59598951

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710062515.8A Expired - Fee Related CN107065006B (en) 2017-01-23 2017-01-23 Seismic signal coding method based on online dictionary updating

Country Status (1)

Country Link
CN (1) CN107065006B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107664773B (en) * 2017-09-26 2019-06-25 武汉大学 A Seismic Signal Coding Method Based on Time Shift and Entropy Constraints
CN109581483A (en) * 2017-09-29 2019-04-05 中国石油化工股份有限公司 Processing Seismic Data and system based on rarefaction representation
CN112634454B (en) * 2021-03-08 2021-06-29 南京泛在实境科技有限公司 Point cloud classical building curved surface reconstruction method based on OLDL _ DWT

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102879818A (en) * 2012-08-30 2013-01-16 中国石油集团川庆钻探工程有限公司地球物理勘探公司 Improved method for decomposing and reconstructing seismic channel data
CN103489203A (en) * 2013-01-31 2014-01-01 清华大学 Image coding method and system based on dictionary learning
CN103594084A (en) * 2013-10-23 2014-02-19 江苏大学 Voice emotion recognition method and system based on joint penalty sparse representation dictionary learning
CN104517267A (en) * 2014-12-23 2015-04-15 电子科技大学 Infrared image enhancement and reestablishment method based on spectra inversion
CN105182417A (en) * 2015-09-11 2015-12-23 合肥工业大学 Surface wave separation method and system based on morphological component analysis
CN105701775A (en) * 2016-01-06 2016-06-22 山东师范大学 Image denoising method based on improved adaptive dictionary learning
CN106157254A (en) * 2015-04-21 2016-11-23 南京理工大学 Rarefaction representation remote sensing images denoising method based on non local self-similarity
CN106203414A (en) * 2016-07-01 2016-12-07 昆明理工大学 A kind of based on the method differentiating dictionary learning and the scene image character detection of rarefaction representation

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070053603A1 (en) * 2005-09-08 2007-03-08 Monro Donald M Low complexity bases matching pursuits data coding and decoding
US9684951B2 (en) * 2014-03-31 2017-06-20 Los Alamos National Security, Llc Efficient convolutional sparse coding

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102879818A (en) * 2012-08-30 2013-01-16 中国石油集团川庆钻探工程有限公司地球物理勘探公司 Improved method for decomposing and reconstructing seismic channel data
CN103489203A (en) * 2013-01-31 2014-01-01 清华大学 Image coding method and system based on dictionary learning
CN103594084A (en) * 2013-10-23 2014-02-19 江苏大学 Voice emotion recognition method and system based on joint penalty sparse representation dictionary learning
CN104517267A (en) * 2014-12-23 2015-04-15 电子科技大学 Infrared image enhancement and reestablishment method based on spectra inversion
CN106157254A (en) * 2015-04-21 2016-11-23 南京理工大学 Rarefaction representation remote sensing images denoising method based on non local self-similarity
CN105182417A (en) * 2015-09-11 2015-12-23 合肥工业大学 Surface wave separation method and system based on morphological component analysis
CN105701775A (en) * 2016-01-06 2016-06-22 山东师范大学 Image denoising method based on improved adaptive dictionary learning
CN106203414A (en) * 2016-07-01 2016-12-07 昆明理工大学 A kind of based on the method differentiating dictionary learning and the scene image character detection of rarefaction representation

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
"伪随机噪声编码震源的编码方式研究";唐杰;《中国地球物理2010-中国地球物理学会第二十六届年会、中国地震学会第十三次学术大会论文集》;20101231;第881页
"基于字典训练的小波域稀疏表示为地震去噪方法";邵婕 等;《石油地球物理勘探》;20160430;第51卷(第2期);第254-260页

Also Published As

Publication number Publication date
CN107065006A (en) 2017-08-18

Similar Documents

Publication Publication Date Title
US11610124B2 (en) Learning compressible features
CN113747163B (en) Image coding and decoding method and compression method based on context recombination modeling
CN113347422B (en) Coarse-grained context entropy coding method
CN112771541A (en) Data compression using integer neural networks
CN107065006B (en) Seismic signal coding method based on online dictionary updating
CN102938649A (en) Self-adaptive reconstruction and uncompressing method for power quality data based on compressive sensing theory
Zebang et al. Densely connected AutoEncoders for image compression
CN116071441A (en) Remote sensing image compression method based on end-to-end convolutional neural network
CN109194968B (en) Image compression sensing method fusing information source channel decoding
WO2023205969A1 (en) Point cloud geometric information compression method and apparatus, point cloud geometric information decompression method and apparatus, point cloud video encoding method and apparatus, and point cloud video decoding method and apparatus
Payani et al. Compression of seismic signals via recurrent neural networks: Lossy and lossless algorithms
CN101816178A (en) Method and apparatus for correcting quantized coefficients in decoder
CN107664773B (en) A Seismic Signal Coding Method Based on Time Shift and Entropy Constraints
CN108712653B (en) Unidirectional Distributed Video Decoding Method Based on Iterative Correlation Noise Refinement
Guo et al. Adaptive optimal dual frames for signal reconstruction with erasures
Mahapatra et al. Partitional K-means clustering based hybrid DCT-vector quantization for image compression
KR20230158597A (en) Online training-based encoder tuning in neural image compression.
CN114998457A (en) Image compression method, image decompression method and related equipment, readable storage medium
Sun et al. Hlic: Harmonizing optimization metrics in learned image compression by reinforcement learning
CN105551503B (en) Based on the preselected Audio Matching method for tracing of atom and system
Zhang et al. Research on ultrasonic image compression in logging while drilling: An asymmetric convolutional autoencoder
CN109246437B (en) An Image Compressed Sensing Method Based on Reed Solomon Code
Tian et al. Seismic signal compression through delay compensated and entropy constrained dictionary learning
CN114245117A (en) Multi-sampling rate multiplexing network reconstruction method, device, equipment and storage medium
CN109451314B (en) An Image Compressed Sensing Method Based on Graph Model

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
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20190611

Termination date: 20200123