[go: up one dir, main page]

CN101739666B - One-dimensional Hartley transform and match tracing based image sparse decomposition fast method - Google Patents

One-dimensional Hartley transform and match tracing based image sparse decomposition fast method Download PDF

Info

Publication number
CN101739666B
CN101739666B CN2009102167978A CN200910216797A CN101739666B CN 101739666 B CN101739666 B CN 101739666B CN 2009102167978 A CN2009102167978 A CN 2009102167978A CN 200910216797 A CN200910216797 A CN 200910216797A CN 101739666 B CN101739666 B CN 101739666B
Authority
CN
China
Prior art keywords
image
atom
dimensional
decomposition
atoms
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
CN2009102167978A
Other languages
Chinese (zh)
Other versions
CN101739666A (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.)
Southwest Jiaotong University
Original Assignee
Southwest Jiaotong 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 Southwest Jiaotong University filed Critical Southwest Jiaotong University
Priority to CN2009102167978A priority Critical patent/CN101739666B/en
Publication of CN101739666A publication Critical patent/CN101739666A/en
Application granted granted Critical
Publication of CN101739666B publication Critical patent/CN101739666B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Image Analysis (AREA)

Abstract

The invention discloses a one-dimensional Hartley transform and match tracing based image sparse decomposition fast algorithm. The algorithm comprises the following steps of: constructing a core atomic library, converting an original two-dimensional image into a one-dimensional real signal, sparsely decomposing the atoms in the atomic library into one-dimensional atoms, adopting the one-dimensional fast Hartley transform to realize the cross correlation operation of the image or image residual and the atoms, finding the best atom, and finally realizing the decomposition of the image. The algorithm has the advantages of realizing the fast sparse decomposition of the image and having good visual effect of the reconstructed image.

Description

基于一维快速哈特莱变换和匹配追踪的图像稀疏分解快速方法A Fast Method for Image Sparse Decomposition Based on One-dimensional Fast Hartley Transform and Matching Pursuit

技术领域 technical field

本发明涉及一种用于静止图像去噪、图像识别和图像压缩等方面的匹配追踪图像稀疏分解快速方法。The invention relates to a fast method for sparse decomposition of matching and tracking images used in still image denoising, image recognition, image compression and the like.

背景技术 Background technique

在数字图像处理的实际工程应用中,数字图像的表达或分解是一个关键环节。1994年,Mallat等人提出了图像稀疏分解的匹配追踪(Matching Pursuit,匹配追踪)方法(BERGEAU F,MALLAT S.Matching pursuit of images.Proceedings ofIEEE-SP.Piladel-phia,PA,USA,1994.330-333)。此后,稀疏分解在图像处理领域的应用得到不断发展。在图像稀疏分解中,选择何种类型的原子构造过完备原子库是实现时频搜索的关键。针对过完备原子库,为了更好地表示图像内容,研究者提出了非对称原子库、二维Gabor原子库等,同时新发展的Ridgelet、Curvelet、Bandelet和Contourlet等也可作为原子模型以形成过完备原子库。In the actual engineering application of digital image processing, the expression or decomposition of digital image is a key link. In 1994, Mallat et al proposed a matching pursuit (Matching Pursuit, matching pursuit) method for image sparse decomposition (BERGEAU F, MALLAT S. Matching pursuit of images. Proceedings of IEEE-SP. Piladel-phia, PA, USA, 1994.330-333 ). Since then, the application of sparse decomposition in the field of image processing has been continuously developed. In image sparse decomposition, the key to realize time-frequency search is to select which type of atoms to construct over-complete atomic library. For the over-complete atomic library, in order to better represent the image content, the researchers proposed the asymmetric atomic library, the two-dimensional Gabor atomic library, etc. At the same time, the newly developed Ridgelet, Curvelet, Bandelet, and Contourlet can also be used as atomic models to form an over-complete atomic library. Complete atomic library.

目前研究者已提出了多种图像稀疏分解算法,如基于匹配追踪的图像稀疏分解、BP算法、MOF算法和BOB算法等,其中最常用的方法是基于匹配追踪的图像稀疏分解。和其他图像稀疏分解算法一样,基于匹配追踪的图像稀疏分解也存在计算量巨大、运算速度慢的问题。研究发现基于匹配追踪的图像稀疏分解的主要运算量是分解中寻找最佳原子的匹配运算,即图像或图像残差与原子的内积运算。由于这种内积运算是在高维空间的内积运算(空间维数和图像大小相同),而且要进行很多次(每一步的内积运算次数与原子库中原子的个数相同)。因此,寻求图像稀疏分解中内积运算的快速算法是提高基于匹配追踪的图像稀疏分解速度的关键。为此,研究者提出采用遗传算法(李恒建,尹忠科,王建英.基于量子遗传算法的图像稀疏分解[J].西南交通大学学报.2007,42(1):19-23)来提高其计算速度,然而由于遗传算法是一局部搜索的优化算法,很难在全部原子中寻找最优时频原子,从而导致重构出的图像效果差;其他类似基于智能计算的方法都存在类似的问题(李恒建,尹忠科,张家树,王建英.基于混沌变异粒子群优化算法的图像稀疏分解[J].西南交通大学学报.2008,43(4)509-513);此外,有学者提出在过完备原子库上按原子结构的分类特性生成原子的快速算法(华泽玺,尹忠科,黄雄华.信号在过完备库上分解中原子形成的快速算法[J].西南交通大学学报,2005,40(3):402-405.),该方法一定程度上提高了运算速度,但是仍然需要大量的高维内积运算.;为实现在全局中找最佳原子,有学者提出利用快速傅里叶变换(Fast Fourier Transform,FFT)来实现互相关运算来寻找最佳原子,但是快速傅里叶变换涉及到复数运算,需将实数信号人为添加虚数变量,增加了计算的复杂度,计算速度提高有限;在快速傅里叶变换算法基础上,针对一维实信号,刘浩等提出利用快速哈特莱变换(FastHartley Transform,FHT)实现匹配追踪的快速算法(刘浩,潘伟.基于FHT的实信号稀疏分解快速算法[J].西南交通大学学报.2009,44(1)),这种算法在计算速度方面优于基于快速傅里叶变换的匹配追踪快速算法,又是一种全局搜索算法,避免了遗传算法只能做到局部最优搜索的局限性,然而它只能实现一维实信号分解。At present, researchers have proposed a variety of image sparse decomposition algorithms, such as image sparse decomposition based on matching pursuit, BP algorithm, MOF algorithm and BOB algorithm, among which the most commonly used method is image sparse decomposition based on matching pursuit. Like other image sparse decomposition algorithms, image sparse decomposition based on matching pursuit also has the problems of huge amount of calculation and slow operation speed. The study found that the main computation of image sparse decomposition based on matching pursuit is the matching operation of finding the best atom in the decomposition, that is, the inner product operation of image or image residual and atom. Because this inner product operation is an inner product operation in a high-dimensional space (the space dimension is the same as the image size), and it needs to be performed many times (the number of inner product operations in each step is the same as the number of atoms in the atomic library). Therefore, it is the key to improve the speed of image sparse decomposition based on matching pursuit to find a fast algorithm for inner product operation in image sparse decomposition. For this reason, researchers proposed to use genetic algorithm (Li Hengjian, Yin Zhongke, Wang Jianying. Image sparse decomposition based on quantum genetic algorithm [J]. Southwest Jiaotong University Journal. 2007, 42(1): 19-23) to improve its calculation speed , however, since the genetic algorithm is an optimization algorithm for local search, it is difficult to find the optimal time-frequency atom among all the atoms, resulting in a poor reconstructed image; other similar methods based on intelligent computing have similar problems (Li Hengjian , Yin Zhongke, Zhang Jiashu, Wang Jianying. Image sparse decomposition based on chaotic mutation particle swarm optimization algorithm [J]. Southwest Jiaotong University Journal. 2008, 43(4)509-513); A Fast Algorithm for Generating Atoms According to the Classification Properties of Atomic Structures (Hua Zexi, Yin Zhongke, Huang Xionghua. A Fast Algorithm for Atom Formation in Signal Decomposition on Overcomplete Library[J]. Journal of Southwest Jiaotong University, 2005, 40(3): 402 -405.), this method improves the calculation speed to a certain extent, but still requires a large number of high-dimensional inner product operations.; In order to find the best atom in the whole world, some scholars have proposed to use the Fast Fourier Transform (Fast Fourier Transform , FFT) to achieve cross-correlation operations to find the best atom, but the fast Fourier transform involves complex operations, and the real signal needs to be artificially added with imaginary variables, which increases the complexity of the calculation, and the calculation speed is limited; in the fast Fourier transform On the basis of the leaf transform algorithm, for one-dimensional real signals, Liu Hao et al. proposed a fast algorithm using Fast Hartley Transform (FHT) to realize matching pursuit (Liu Hao, Pan Wei. Fast Algorithm for Sparse Decomposition of Real Signals Based on FHT [J]. Journal of Southwest Jiaotong University. 2009, 44 (1)), this algorithm is superior to the matching pursuit fast algorithm based on fast Fourier transform in terms of calculation speed, and it is also a global search algorithm, which avoids the genetic algorithm It can only achieve the limitation of local optimal search, but it can only achieve one-dimensional real signal decomposition.

总之,采用匹配追踪方法进行图像的稀疏分解在静止图像的去噪、图像识别和图像压缩多个方面取得了成功,但目前还很难被推广而产业化,其主要原因是图像稀疏分解的匹配追踪计算量巨大,计算时间在现有条件下令人无法忍受。因此,图像稀疏分解快算法的研究已成为国内外近年来的前沿性研究课题,不仅具有重要的学术价值,也具有广泛的潜在应用前景。In a word, image sparse decomposition using matching pursuit method has achieved success in denoising of still images, image recognition and image compression, but it is still difficult to be promoted and industrialized at present, the main reason is that the matching of image sparse decomposition The amount of tracking calculation is huge, and the calculation time is unbearable under the existing conditions. Therefore, the research on fast image sparse decomposition algorithms has become a frontier research topic at home and abroad in recent years, which not only has important academic value, but also has broad potential application prospects.

发明内容 Contents of the invention

本发明的目的是提供一种基于一维快速哈特莱变换和匹配追踪的图像稀疏分解快速方法,该方法对图像的稀疏分解速度快,且重构图像视觉效果好。The object of the present invention is to provide a fast method for image sparse decomposition based on one-dimensional fast Hartley transformation and matching pursuit, which has a fast speed for image sparse decomposition and good visual effect of reconstructed image.

本发明解决其技术问题,所采用的技术方案为:基于一维快速哈特莱变换和匹配追踪的图像稀疏分解快速方法,包括如下步骤:The present invention solves its technical problem, and the adopted technical solution is: a fast method for image sparse decomposition based on one-dimensional fast Hartley transformation and matching pursuit, comprising the following steps:

(1)核心原子库的形成:(1) Formation of the core atomic library:

对大小为M×N的原始图像f,构造稀疏分解用的原子库,原子gγ由参数组γ=(θ,u,v,sx,sy)定义,其中θ代表原子的旋转角度,u、v分别为原子在x、y方向上的平移,sx、sy分别为原子在x、y方向上的伸缩;令u=M/2和v=N/2形成二维的核心原子库{gγ′},其中参数组γ′按以下方法离散化:For the original image f with a size of M×N, the atomic library for sparse decomposition is constructed. The atom g γ is defined by the parameter group γ=(θ, u, v, s x , s y ), where θ represents the rotation angle of the atom, u and v are the translation of the atom in the x and y directions respectively, s x and s y are the expansion and contraction of the atom in the x and y directions respectively; let u=M/2 and v=N/2 form a two-dimensional core atom library {g γ′ }, where the parameter set γ′ is discretized as follows:

γγ ′′ == (( θθ ,, Mm 22 ,, NN 22 ,, sthe s xx ,, sthe s ythe y )) == (( πθπθ ′′ maxmax (( Mm ,, NN )) ,, Mm 22 ,, NN 22 ,, 22 stysty 55 ,, 22 stysty 55 ))

其中1≤θ′≤max(M,N),0≤stx≤5log2M-5,0≤sty≤5log2N-5,θ′、stx、sty均在相应区间上取整数;Among them, 1≤θ′≤max(M, N), 0≤stx≤5log 2 M-5, 0≤sty≤5log 2 N-5, θ′, stx, and sty all take integers in the corresponding interval;

(2)原子与图像转化:(2) Atom and image conversion:

将(1)步形成的核心原子库中的所有原子gγ′转换成一维原子g′γ′;将大小为M×N的原始图像f转换成一维信号f′;Convert all atoms g γ′ in the core atomic library formed in step (1) into one-dimensional atoms g′ γ′ ; convert the original image f whose size is M×N into a one-dimensional signal f′;

(3)图像的初始分解:(3) Initial decomposition of the image:

对(2)步得到的图像的一维信号f′与所有一维原子g′γ′采用一维快速哈特莱变换算法做互相关运算,得到一维信号f′与过完备原子库{gγ}中所有一维原子g′γ的匹配系数pγ,并记录匹配系数pγ绝对值最大的一维原子

Figure GDA0000074865670000031
对应的参数组
Figure GDA0000074865670000032
和对应的匹配系数
Figure GDA0000074865670000033
将图像的一维信号f′减去最匹配原子
Figure GDA0000074865670000034
与匹配系数
Figure GDA0000074865670000035
的乘积,得到图像残差Rf′;The one-dimensional signal f' of the image obtained in step (2) and all the one-dimensional atoms g'γ' are cross-correlated using the one-dimensional fast Hartley transform algorithm to obtain the one-dimensional signal f' and the overcomplete atomic library {g The matching coefficient p γ of all one-dimensional atoms g′ γ in γ }, and record the one-dimensional atom with the largest absolute value of matching coefficient p γ
Figure GDA0000074865670000031
Corresponding parameter group
Figure GDA0000074865670000032
and the corresponding matching coefficient
Figure GDA0000074865670000033
Subtract the best matching atom from the one-dimensional signal f' of the image
Figure GDA0000074865670000034
and matching coefficient
Figure GDA0000074865670000035
The product of , get the image residual R f′ ;

(4)图像分解:(4) Image decomposition:

对当前得到的图像残差Rf′与所有一维原子g′γ′采用一维快速哈特莱变换算法做互相关运算,得到图像残差Rf′与过完备原子库{gγ}中每个原子的匹配系数pγ,并记录匹配系数pγ绝对值最大的原子

Figure GDA0000074865670000036
对应的参数组
Figure GDA0000074865670000037
和对应的匹配系数
Figure GDA0000074865670000038
其中i为图像分解的当前次数;将图像残差Rf′减去最匹配原子
Figure GDA0000074865670000039
与匹配系数
Figure GDA00000748656700000310
的乘积,得到更新后的图像残差Rf′;Use the one-dimensional fast Hartley transform algorithm to perform cross-correlation operation on the currently obtained image residual R f′ and all one-dimensional atoms g′ γ′ , and obtain the image residual R f′ and the overcomplete atomic library {g γ } The matching coefficient p γ of each atom, and record the atom with the largest absolute value of the matching coefficient p γ
Figure GDA0000074865670000036
Corresponding parameter group
Figure GDA0000074865670000037
and the corresponding matching coefficient
Figure GDA0000074865670000038
where i is the current number of image decompositions; the image residual R f' is subtracted from the best matching atom
Figure GDA0000074865670000039
and matching coefficient
Figure GDA00000748656700000310
The product of , get the updated image residual R f′ ;

重复以上的图像分解操作,当图像分解结果满足后续处理要求时,结束操作,得到原始图像f匹配追踪稀疏分解的结果 { ( P γ i , γ i ) = ( P γ i , θ i , u i , v i , s x i , s y i ) | i = 0,1,2 , . . . , n } , 其中n为图像分解操作的总次数。Repeat the above image decomposition operation, when the image decomposition result meets the subsequent processing requirements, end the operation, and obtain the original image f matching tracking sparse decomposition result { ( P γ i , γ i ) = ( P γ i , θ i , u i , v i , the s x i , the s the y i ) | i = 0,1,2 , . . . , no } , where n is the total number of image decomposition operations.

与现有技术相比,本发明的有益效果是:Compared with prior art, the beneficial effect of the present invention is:

一、本发明在每步为图像或图像残差寻找最佳原子的匹配运算中,将其与一组原子的内积运算转化为与一个原子的一次互相关运算,在降低运算次数的同时,还实现了在整个过完备原子库中的全部原子进行逐一比较,然后选取出真正的最佳原子,是一种全局最优算法。因此,本发明的重构图像视觉效果好,而且有效克服了基于遗传算法等智能计算方法的图像稀疏分解由于局部寻优,即在随机选取的一部分原子中寻找最佳原子(近似最优原子)而带来的结果随机性问题。同时,本发明采用一维快速哈特莱变换算法实现图像或图像残差与原子的互相关运算,不仅提高了图像稀疏分解的速度,而且降低了对数据存储容量的要求。离散哈特莱变换(Discrete Hartley Transform,DHT)是一种类似于离散傅里叶变换(Discrete Fourier Transform,DFT)的积分变换,具有DFT变换的大部分特性,但其正反变换的积分核相同。实函数的DHT变换仍是实函数,从而避免了变换过程中的复数运算,因此数据存储容量仅为FFT的一半,而且快速哈特莱变换可以采用FFT的结构形式,能够保障很高的运算速度,其运算量大约是FFT的一半。1. The present invention converts its inner product operation with a group of atoms into a cross-correlation operation with an atom in the matching operation of finding the best atom for the image or image residual at each step, while reducing the number of operations, It also realizes one-by-one comparison of all atoms in the entire over-complete atomic library, and then selects the real best atom, which is a global optimal algorithm. Therefore, the reconstructed image of the present invention has good visual effect, and effectively overcomes the image sparse decomposition based on intelligent computing methods such as genetic algorithm due to local optimization, that is, to find the best atom (approximately optimal atom) in a part of randomly selected atoms. The resulting randomness problem. At the same time, the present invention adopts a one-dimensional fast Hartley transformation algorithm to realize the cross-correlation operation between images or image residuals and atoms, which not only improves the speed of image sparse decomposition, but also reduces the requirement for data storage capacity. Discrete Hartley Transform (DHT) is an integral transformation similar to Discrete Fourier Transform (DFT), which has most of the characteristics of DFT transformation, but the integral kernel of its positive and negative transformation is the same . The DHT transformation of the real function is still a real function, thus avoiding the complex operation in the transformation process, so the data storage capacity is only half of the FFT, and the fast Hartley transformation can adopt the structure of the FFT, which can guarantee a high computing speed , and its calculation volume is about half of that of FFT.

二、本发明固定原子位置参u=M/2和v=N/2形成核心原子库,核心原子库中的原子个数远小于过完备原子库,降低了稀疏分解对存储量的要求,达到了计算量和存储量之间一个很好的平衡。同时,还能保持稀疏分解效果和时间不受影响。这是因为核心原子库包含了过完备原子库中所有不同形状的原子,取出核心原子库中的一个原子,在进行互相关运算时,通过平移(即参数u和v的连续变化取值)即可得到过完备原子库中具有相同形状,但其中心位置不同的一组原子,在每一组原子中寻找出匹配系数绝对值最大的原子,然后比较各组的匹配系数绝对值最大原子的匹配系数的绝对值,再从中找出匹配系数绝对值最大的原子,即在过完备原子库中的所有原子中寻找出最佳匹配原子,因此不会降低图像分解的质量;过完备原子库中的非核心原子库的原子仅是在互相关运算中临时通过平移产生,比较后的非最佳匹配原子不用储存与记录,其存储要求的容量小;而且,由于原子的平移几乎不需要计算量,所以整个稀疏分解过程的速度几乎不会变化。2. The present invention fixes the atomic position parameters u=M/2 and v=N/2 to form a core atomic library. The number of atoms in the core atomic library is far smaller than the overcomplete atomic library, which reduces the storage requirements of sparse decomposition and achieves A good balance between computation and storage is achieved. At the same time, the sparse decomposition effect and time can be kept unaffected. This is because the core atomic library contains all atoms of different shapes in the over-complete atomic library, and an atom in the core atomic library is taken out. A group of atoms with the same shape but different central positions in the over-complete atomic library can be obtained, and the atom with the largest absolute value of the matching coefficient is found in each group of atoms, and then the matching of the atoms with the largest absolute value of the matching coefficient of each group is compared The absolute value of the coefficient, and then find the atom with the largest absolute value of the matching coefficient, that is, find the best matching atom among all the atoms in the over-complete atom library, so the quality of image decomposition will not be reduced; the over-complete atom library The atoms in the non-core atomic library are only temporarily generated by translation in the cross-correlation operation, and the non-best matching atoms after comparison do not need to be stored and recorded, and the storage capacity required is small; moreover, since the translation of atoms requires almost no calculation, So the speed of the whole sparse decomposition process hardly changes.

三、本发明将原始图像或图像残差按一行一行地抽取首尾相接成转换成一维信号,同时核心原子库中的原子也按一行一行地抽取首尾相接转换成一维原子,既为后面用一维快速哈特莱变换进行分解和互相关运算提供了可能,又节省数据存储空间,同时还不会影响相邻像素点的相关性,图像匹配运算中效果也不会受到影响。3. The present invention converts the original image or image residual into a one-dimensional signal by extracting the end-to-end signal line by line. At the same time, the atoms in the core atom library are also extracted line-by-line and converted into a one-dimensional atom, which is used later. The one-dimensional fast Hartley transform provides the possibility for decomposition and cross-correlation operations, and saves data storage space, and at the same time, it will not affect the correlation of adjacent pixels, and the effect of image matching operations will not be affected.

总之,本发明方法作为一种全局搜索最优算法,结合过完备库的结构特性、匹配追踪技术和一维快速哈特莱变换技术,把二维图像转换成一维实信号,在提高图像稀疏分解质量、重构图像视觉效果好的情况下,还提高了稀疏分解的速度。即,实现了在解的质量方面和计算的复杂性方面取得一个较好的平衡。In a word, as a global search optimal algorithm, the method of the present invention combines the structural characteristics of the overcomplete library, the matching pursuit technology and the one-dimensional fast Hartley transformation technology to convert the two-dimensional image into a one-dimensional real signal, and improves the sparse decomposition of the image. When the quality and visual effect of the reconstructed image are good, the speed of sparse decomposition is also improved. That is, a better balance is achieved in terms of solution quality and computational complexity.

下面结合附图和具体实施方式对本发明作进一步详细说明。The present invention will be described in further detail below in conjunction with the accompanying drawings and specific embodiments.

附图说明 Description of drawings

图1为本发明方法对一实际图像进行分解时使用的原始图像及最终分解后的原子图、图像残差和重构图像。其中a分图为从标准Lena图像(128×128)中抽取的一小块大小为32×32的待处理原始图像;b分图为第30次图像分解时得到的最佳匹配原子的示意图;c分图是第30次图像分解后的残差图像;d分图是第30次图像分解后重建的结果,即重构的图像。Fig. 1 shows the original image used when decomposing an actual image by the method of the present invention, the final decomposed atom map, image residual and reconstructed image. Part a is a small block of 32×32 original image to be processed extracted from the standard Lena image (128×128); part b is a schematic diagram of the best matching atom obtained during the 30th image decomposition; Part c is the residual image after the 30th image decomposition; part d is the reconstruction result after the 30th image decomposition, that is, the reconstructed image.

图2为基于遗传算法的匹配追踪图像稀疏分解算法对图1的同一实际图像进行分解时使用的原始图像及最终分解后的原子图、图像残差和重构图像。其中a分图与图1的a分图为同一图像;b分图为第30次图像分解时得到的最佳匹配原子的示意图;c分图是第30次图像分解后的残差图像;d分图是第30次图像分解后重建的结果,即重构的图像。Figure 2 shows the original image used when the same actual image in Figure 1 is decomposed by the matching pursuit image sparse decomposition algorithm based on genetic algorithm, and the final decomposed atom map, image residual and reconstructed image. Part a is the same image as part a in Figure 1; part b is the schematic diagram of the best matching atom obtained during the 30th image decomposition; part c is the residual image after the 30th image decomposition; d The sub-image is the result of reconstruction after the 30th image decomposition, that is, the reconstructed image.

具体实施方式 Detailed ways

实施例Example

基于一维快速哈特莱变换和匹配追踪的图像稀疏分解快速方法,包括如下步骤:A fast method for image sparse decomposition based on one-dimensional fast Hartley transform and matching pursuit, including the following steps:

(1)核心原子库的形成:(1) Formation of the core atomic library:

对大小为M×N的原始图像f,构造稀疏分解用的原子库,非对称原子的基本形式表示如下:For the original image f with a size of M×N, the atomic library for sparse decomposition is constructed. The basic form of asymmetric atoms is expressed as follows:

gg (( xx ,, ythe y )) == (( 44 xx 22 -- 22 )) ee -- (( xx 22 ++ ythe y 22 ))

通过对基本非对称原子进行旋转、平移和伸缩变换,可以得到一系列原子gγ,从而形成原子库D={gγ}γ∈ΓA series of atoms g γ can be obtained by performing rotation, translation and telescopic transformation on basic asymmetric atoms, thus forming an atomic library D={g γ } γ∈Γ .

gg γγ == gg θθ (( xx -- uu sthe s xx ,, ythe y -- vv sthe s ythe y ))

从而,原子gγ可以由参数组γ=(θ,u,v,sx,sy)定义,其中θ代表原子的旋转角度,u、v分别为原子在x、y方向上的平移,sx、sy分别为原子在x、y方向上的伸缩;令u=M/2和v=N/2形成核心原子库{gγ′},其中参数组γ′按以下方法离散化:Thus, the atom g γ can be defined by the parameter group γ=(θ, u, v, s x , s y ), where θ represents the rotation angle of the atom, u and v are the translation of the atom in the x and y directions respectively, and s x and s y are respectively the expansion and contraction of atoms in the x and y directions; let u=M/2 and v=N/2 form the core atomic library {g γ′ }, where the parameter group γ′ is discretized as follows:

γγ ′′ == (( θθ ,, Mm 22 ,, NN 22 ,, sthe s xx ,, sthe s ythe y )) == (( πθπθ ′′ maxmax (( Mm ,, NN )) ,, Mm 22 ,, NN 22 ,, 22 stysty 55 ,, 22 stysty 55 ))

其中1≤θ′≤max(M,N),0≤stx≤5log2M-5,0≤sty≤5log2N-5,θ′、stx、sty均在相应区间上取整数。Among them, 1≤θ′≤max(M, N), 0≤stx≤5log 2 M-5, 0≤sty≤5log 2 N-5, θ′, stx, and sty all take integers in the corresponding interval.

在过完备原子库中,参数θ、sx和sy定义了一个原子的形状,而参数u和v定义了一个原子的中心位置。如果原子库中的不同原子具有相同的参数θ、sx、sy和不同的参数u、v,这样的原子各方面的特征都相同,只有中心点位置不同而已。从理论上讲,这种不同的原子包含在原子库中是完全必要的,但从实际计算的角度讲,原子库中包含众多这样的原子是根本没有必要的。它违背了原子库良好结构定义中的含义(一是原子库中应包含尽可能多的原子个数和种类,以达到稀疏分解的目的,获得稀疏分解的良好效果;二是原子库中应尽可能不包含相近似的原子,以满足存储量和计算量方面的要求)。因此,一个具有良好结构的原子库中,参数u和v应是不变的,且u=M/2,v=N/2。这样原子库的大小将大大减小,适合一般计算机内存的要求。在稀疏分解过程中,达到了计算量和存储量之间一个很好的平衡。In the overcomplete atom library, the parameters θ, s x and s y define the shape of an atom, while the parameters u and v define the center position of an atom. If different atoms in the atomic library have the same parameters θ, s x , s y and different parameters u, v, the characteristics of such atoms are the same in all aspects, only the position of the center point is different. Theoretically, it is absolutely necessary for such different atoms to be included in the atomic library, but from the point of view of practical calculation, it is not necessary at all for the atomic library to contain many such atoms. It violates the meaning of the good structure definition of the atomic library (first, the atomic library should contain as many atoms as possible in order to achieve the purpose of sparse decomposition and obtain a good effect of sparse decomposition; second, the atomic library should try to may not contain similar atoms to meet storage and computation requirements). Therefore, in an atomic library with a good structure, the parameters u and v should be constant, and u=M/2, v=N/2. In this way, the size of the atomic library will be greatly reduced, which is suitable for the requirements of general computer memory. During the sparse decomposition, a good balance between computation and storage is achieved.

(2)原子与图像转化:(2) Atom and image conversion:

将(1)步形成的核心原子库中的所有原子gγ′转换成一维原子g′γ′;将大小为M×N的原始图像f转换成一维信号f′;Convert all atoms g γ′ in the core atomic library formed in step (1) into one-dimensional atoms g′ γ′ ; convert the original image f whose size is M×N into a one-dimensional signal f′;

将二维图像数组按一行一行地抽取首尾相接成一维的数组,这样既方便后面用一维快速哈特莱变换进行分解和互相关运算,又节省数据存储空间。同时还不会影响相邻像素点的相关性,在做图像匹配运算中效果会好一些。The two-dimensional image array is extracted row by row to form a one-dimensional array, which is convenient for subsequent decomposition and cross-correlation operations with one-dimensional fast Hartley transform, and saves data storage space. At the same time, it will not affect the correlation of adjacent pixels, and the effect will be better in image matching operations.

(3)图像的初始分解:(3) Initial decomposition of the image:

对(2)步得到的图像的一维信号f′与所有一维原子g′γ′采用一维快速哈特莱变换算法做互相关运算,得到一维信号f′与过完备原子库{gγ}中所有一维原子g′γ的匹配系数pγ,并记录匹配系数pγ绝对值最大的一维原子对应的参数组

Figure GDA0000074865670000062
和对应的匹配系数将图像的一维信号f′减去最匹配原子与匹配系数
Figure GDA0000074865670000065
的乘积,得到图像残差Rf′;The one-dimensional signal f' of the image obtained in step (2) and all the one-dimensional atoms g'γ' are cross-correlated using the one-dimensional fast Hartley transform algorithm to obtain the one-dimensional signal f' and the overcomplete atomic library {g The matching coefficient p γ of all one-dimensional atoms g′ γ in γ }, and record the one-dimensional atom with the largest absolute value of matching coefficient p γ Corresponding parameter group
Figure GDA0000074865670000062
and the corresponding matching coefficient Subtract the best matching atom from the one-dimensional signal f' of the image and matching coefficient
Figure GDA0000074865670000065
The product of , get the image residual R f′ ;

(4)图像分解:(4) Image decomposition:

对当前步得到的图像残差Rf′与所有一维原子g′γ′采用一维快速哈特莱变换算法做互相关运算,得到图像残差Rf′与过完备原子库{gγ}中每个原子的匹配系数pγ,并记录匹配系数pγ绝对值最大的原子

Figure GDA0000074865670000066
对应的参数组
Figure GDA0000074865670000067
和对应的匹配系数
Figure GDA0000074865670000068
其中i为图像分解的当前次数;将图像残差Rf′减去最匹配原子与匹配系数的乘积,得到更新后的图像残差Rf′;The image residual R f′ obtained in the current step and all one-dimensional atoms g′ γ′ are cross-correlated using the one-dimensional fast Hartley transform algorithm to obtain the image residual R f′ and the overcomplete atomic library {g γ } The matching coefficient p γ of each atom in , and record the atom with the largest absolute value of the matching coefficient p γ
Figure GDA0000074865670000066
Corresponding parameter group
Figure GDA0000074865670000067
and the corresponding matching coefficient
Figure GDA0000074865670000068
where i is the current number of image decompositions; the image residual R f' is subtracted from the best matching atom and matching coefficient The product of , get the updated image residual R f′ ;

重复以上的图像分解操作,当图像分解结果满足后续处理要求时,结束操作,得到原始图像f匹配追踪稀疏分解的结果 { ( P γ i , γ i ) = ( P γ i , θ i , u i , v i , s x i , s y i ) | i = 0,1,2 , . . . , n } , 其中n为图像分解操作的总次数。Repeat the above image decomposition operation, when the image decomposition result meets the subsequent processing requirements, end the operation, and obtain the original image f matching tracking sparse decomposition result { ( P γ i , γ i ) = ( P γ i , θ i , u i , v i , the s x i , the s the y i ) | i = 0,1,2 , . . . , no } , where n is the total number of image decomposition operations.

在图像稀疏分解中,寻找最佳原子的过程,就是计算图像f或图像的残余Rf′在对应原子gγ′上的分量,即计算内积<Rf′,gγ′>,对具有参数θ、sx、sy的一个原子gγ′,u取值[0,M-1],v取值[0,N-1],则该原子要和图像或图像残差值作M×N次内积<Rf′,gγ′>计算,所以M×N次内积<Rf′,gγ′>计算可以转换成一次Rf′和gγ′的互相关运算。虽然从理论上讲,这样的转换,计算量几乎没有变化,但是计算效率却大大提高。由于利用快速哈特莱变换可以快速实现互相关运算,所以我们利用快速哈特莱变换对以上算法作进一步的改进,这样的改进,丝毫不会影响图像稀疏分解的效果,但却可以大大提高稀疏分解的速度。因为一般而言,用快速哈特莱变换算法实现互相关运算,可以使计算速度提高2~3个数量级。In the image sparse decomposition, the process of finding the best atom is to calculate the component of the image f or the residual R f′ of the image on the corresponding atom g γ′ , that is, to calculate the inner product <R f′ , g γ′ >, which has An atom g γ′ of the parameters θ, s x , s y , u takes the value [0, M-1], and v takes the value [0, N-1], then the atom needs to be compared with the image or image residual value as M ×N inner product <R f′ , g γ′ > calculation, so M×N inner product <R f′ , g γ′ > calculation can be converted into a cross-correlation operation of R f′ and g γ′ . Although theoretically speaking, such a conversion hardly changes the calculation amount, but the calculation efficiency is greatly improved. Since the fast Hartley transform can be used to quickly realize the cross-correlation calculation, we use the fast Hartley transform to further improve the above algorithm. Such improvement will not affect the effect of image sparse decomposition at all, but it can greatly improve the sparseness. speed of decomposition. Because in general, using the fast Hartley transform algorithm to realize the cross-correlation operation can increase the calculation speed by 2 to 3 orders of magnitude.

本发明的一维快速哈特莱变换实现互相关运算为现有算法,其原理如下:长度为L的有限长实序列x(n)的离散Hartley(DHT)变换定义为:The one-dimensional fast Hartley transformation of the present invention realizes that cross-correlation operation is an existing algorithm, and its principle is as follows: the discrete Hartley (DHT) transformation of the finite long real sequence x (n) that length is L is defined as:

X h ( k ) = DHT [ x ( n ) ] = &Sigma; n = 0 L - 1 x ( n ) cas 2 &pi;nk N , 其中k=0,1,...,L-1 x h ( k ) = DHT [ x ( no ) ] = &Sigma; no = 0 L - 1 x ( no ) cas 2 &pi;nk N , where k=0,1,...,L-1

对信号奇偶抽取,并考虑周期性得到DHT的快速运算方法,快速哈特莱变换:Extract the parity of the signal, and consider the periodicity to obtain the fast operation method of DHT, fast Hartley transform:

Xx hh (( kk )) == Xx 00 hh (( kk )) ++ coscos (( 22 &pi;&pi; LL kk )) Xx 11 hh (( kk )) ++ sinsin (( 22 &pi;&pi; LL kk )) Xx 11 hh (( LL 22 -- kk ))

可见,L=2K(K=1,2,…)长度的序列的DHT可以转换为2个L/2点的奇偶采样序列的DHT,而每个L/2长度序列的DHT又能转换为2个L/4长度序列的DHT,逐次分解下去,最终可分解到长度为2的序列的DHT。就像一维快速傅里叶变换能大大提高离散傅里叶变换速度一样,一维快速哈特莱变换大大地提高了离散哈特莱变换的速度。在快速哈特莱变换的每个蝶形单元,需要3次实数加法运算和2次实数乘法运算,而一维快速傅里叶的每个蝶形单元,由于有复数运算,共需6次实数加法运算和4次实数乘法运算,可见一维快速哈特莱变换比快速傅里叶变换运算速度更快。It can be seen that the DHT of a sequence of L=2 K (K=1, 2, ...) length can be converted into the DHT of 2 parity sampling sequences of L/2 points, and the DHT of each L/2 length sequence can be converted into The DHT of 2 L/4 length sequences can be decomposed successively, and finally can be decomposed into the DHT of a sequence of length 2. Just as the one-dimensional fast Fourier transform can greatly speed up the discrete Fourier transform, the one-dimensional fast Hartley transform can greatly speed up the discrete Hartley transform. In each butterfly unit of the fast Hartley transform, 3 real additions and 2 real multiplications are required, while each butterfly unit of the one-dimensional fast Fourier needs 6 real numbers in total due to complex operations Addition and 4 times of real number multiplication, it can be seen that the one-dimensional fast Hartley transform is faster than the fast Fourier transform.

设r(n)为x(n)和y(n)的循环互相关,令Rh(k)为r(n)的DHT,则有下述DHT循环互相关定理:Let r(n) be the circular cross-correlation of x(n) and y(n), let R h (k) be the DHT of r(n), then there is the following DHT circular cross-correlation theorem:

RR hh (( kk )) == Xx hh (( kk )) YY ee hh (( kk )) -- YY oo hh (( kk )) Xx hh (( NN -- kk ))

r ( n ) = IDHT [ R h ( k ) ] = 1 N DHT [ R h ( k ) ] , 其中n=0,1,...,L-1 r ( no ) = IDHT [ R h ( k ) ] = 1 N DHT [ R h ( k ) ] , where n=0,1,...,L-1

通过以上DHT循环互相关定理,可以快速实现互相关运算,从而把图像或图像的残差与一类原子的内积运算<Rf′,gγ′>转化为图像或图像残差与一个原子的一次互相关运算(即一次Rf′和gγ′的互相关运算),用一维快速哈特莱变换技术来实现这个互相关运算。Through the above DHT cyclic cross-correlation theorem, the cross-correlation operation can be quickly realized, so that the inner product operation <R f′ , g γ′ > between the image or image residual and a class of atoms can be transformed into an image or image residual and an atom A cross-correlation operation of (that is, a cross-correlation operation of R f' and g γ' ), the one-dimensional fast Hartley transform technique is used to realize this cross-correlation operation.

仿真实验Simulation

本发明的效果可以通过以下仿真实验结果进行验证:Effect of the present invention can be verified by the following simulation experiment results:

在相同的环境(计算机软,硬件配置)下进行本发明方法与遗传算法的仿真实验。鉴于遗传算法具有一定的随机性,为了实验数据具有参考价值,以下所有的遗传算法的数据,均是20次试验的平均值。The simulation experiment of the method of the present invention and the genetic algorithm is carried out under the same environment (computer software and hardware configuration). In view of the randomness of the genetic algorithm, for the reference value of the experimental data, all the data of the genetic algorithm below are the average value of 20 experiments.

图1为本发明方法对一实际图像进行仿真实验时使用的原始图像及最终分解后的原子图、图像残差和重构图像。其中a分图为从标准Lena图像(128×128)中抽取的一小块大小为32×32的待处理原始图像;b分图为第30次图像分解时得到的最佳匹配原子的示意图;c分图是第30次图像分解后的残差图像;d分图是第30次图像分解后重建的结果,即重构的图像。Fig. 1 is the original image used when the method of the present invention performs a simulation experiment on an actual image, the final decomposed atom map, image residual and reconstructed image. Part a is a small block of 32×32 original image to be processed extracted from the standard Lena image (128×128); part b is a schematic diagram of the best matching atom obtained during the 30th image decomposition; Part c is the residual image after the 30th image decomposition; part d is the reconstruction result after the 30th image decomposition, that is, the reconstructed image.

图2为基于遗传算法的匹配追踪图像稀疏分解算法对图1的同一实际图像进行仿真实验时使用的原始图像及最终分解后的原子图、图像残差和重构图像。其中a分图与图1的a分图为同一图像;b分图为第30次图像分解时得到的最佳匹配原子的示意图;c分图是第30次图像分解后的残差图像;d分图是第30次图像分解后重建的结果,即重构的图像。Figure 2 shows the original image used in the simulation experiment of the same actual image in Figure 1 using the matching pursuit image sparse decomposition algorithm based on genetic algorithm, the final decomposed atom map, image residual and reconstructed image. Part a is the same image as part a in Figure 1; part b is the schematic diagram of the best matching atom obtained during the 30th image decomposition; part c is the residual image after the 30th image decomposition; d The sub-image is the result of reconstruction after the 30th image decomposition, that is, the reconstructed image.

对比图1的c分图和图2的c分图可以看出,本发明算法最后得到的图像残差视觉效果不好,相比于基于遗传算法的匹配追踪图像稀疏分解算法要模糊许多,即图像残差的能量做到了最小化。说明本发明算法在相同的图像分解次数下,更好的逼近或近似的表示了原始图像。Comparing the c subgraph in Fig. 1 and the c subgraph in Fig. 2, it can be seen that the visual effect of the image residual obtained by the algorithm of the present invention is not good. The energy of the image residual is minimized. It shows that the algorithm of the present invention better approximates or approximates the original image under the same number of image decompositions.

对比图1的d分图和图2的d分图可以看出,在相同的图像分解次数下,基于遗传算法的匹配追踪图像稀疏分解算法的重构的图像视觉效果不是太好,有一些模糊不清。本发明方法的重构图像的视觉效果优于基于遗传算法的匹配追踪图像稀疏分解算法的重构图像。Comparing the sub-graph d of Figure 1 and the sub-graph d of Figure 2, it can be seen that under the same number of image decompositions, the reconstructed image visual effect of the matching pursuit image sparse decomposition algorithm based on the genetic algorithm is not very good, and there are some blurs unclear. The visual effect of the reconstructed image by the method of the invention is better than that of the reconstructed image based on the genetic algorithm-based matching pursuit image sparse decomposition algorithm.

以下的表1为不同图像分解次数下本发明算法与遗传算法的匹配追踪算法重构图像的PSNR(遗传算法试验的代数和个体数分别选为40、21)The following table 1 is the PSNR of the reconstructed image of the algorithm of the present invention and the matching pursuit algorithm of the genetic algorithm under different image decomposition times (the algebra and the number of individuals of the genetic algorithm test are selected as 40, 21 respectively)

表1Table 1

Figure GDA0000074865670000091
Figure GDA0000074865670000091

从表1可以看出:在同样的图像分解次数情况下,本发明方法重构图像的PSNR均比遗传算法的高。在图像分解次数为10次时,本发明方法重构图像的PSNR值要比遗传算法的高2.2161dB,当图像分解次数为90次时,本发明方法重构图像的PSNR值要比遗传算法的高5.7381dB。并且随着图像分解次数的增加,本发明方法较遗传算法的PSNR提高越明显。It can be seen from Table 1 that under the same image decomposition times, the PSNR of the reconstructed image by the method of the present invention is higher than that of the genetic algorithm. When the number of times of image decomposition was 10 times, the PSNR value of the reconstructed image by the method of the present invention was 2.2161dB higher than that of the genetic algorithm; 5.7381dB higher. And with the increase of image decomposition times, the PSNR of the method of the present invention is more obvious than that of the genetic algorithm.

以下的表2为不同PSNR情况下图像分解的完成时间。Table 2 below shows the completion time of image decomposition under different PSNR conditions.

表2Table 2

本发明方法随着图像分解次数增加PSNR值也增加,表2中两种算法的各5个PSNR值依次对应的图像分解次数为10,30,50,70,90;而遗传算法在与本发明方法的图像分解次数相同的情况下,通过增加代数和个体数实现上表相同的PSNR值。The method of the present invention increases PSNR value along with image decomposition number of times and also increases, and the image decomposition times corresponding to each 5 PSNR values of two kinds of algorithms in table 2 is 10,30,50,70,90 successively; And genetic algorithm is in with the present invention When the image decomposition times of the method are the same, the same PSNR value in the above table can be achieved by increasing the algebra and the number of individuals.

从表2可看出,本发明方法较遗传算法的速度更快,当PSNR值在20.0314时,本发明方法比遗传算法在图像分解速度方面提高15%左右,当PSNR值在32.0138时,本发明方法比遗传算法在图像分解速度方面提高1倍以上。并且随着PSNR值的提高本发明方法的速度提高越明显,As can be seen from Table 2, the method of the present invention is faster than the speed of the genetic algorithm. When the PSNR value was 20.0314, the method of the present invention improved about 15% in image decomposition speed than the genetic algorithm. When the PSNR value was 32.0138, the method of the present invention Compared with the genetic algorithm, the method improves the image decomposition speed more than 1 times. And along with the raising of PSNR value, the speed of the inventive method improves more obviously,

以下的表3为不同分解速度下重构图像的PSNR。Table 3 below shows the PSNR of reconstructed images at different decomposition speeds.

表3table 3

Figure GDA0000074865670000101
Figure GDA0000074865670000101

本发明方法随着图像分解次数的增加分解完成时间也相应的增加,表2中两种算法的各5个分解完成时间值依次对应的图像分解次数为10,30,50,70,90;而遗传算法在做到图像分解次数与本发明方法相同的情况下,试验中通过调整代数和个体数也实现上表相同的分解完成时间值。The method of the present invention also correspondingly increases along with the increase of the number of times of image decomposition and the completion time of decomposition, the image decomposition times corresponding to the respective 5 decomposition completion time values of the two kinds of algorithms in Table 2 are 10, 30, 50, 70, 90; The genetic algorithm realizes the same decomposition completion time value in the above table by adjusting the algebra and the number of individuals in the test under the same situation that the number of times of image decomposition is the same as that of the method of the present invention.

从表3看出,在图像分解完成时间相同情况下,本发明方法重构图像的PSNR值较遗传算法更高,当分解时间为54.25325秒时,本发明方法较遗传算法在重构图像的PSNR方面高0.3019dB,当分解时间为561.0184秒时,本发明方法较遗传算法在重构图像的PSNR方面高1.0991dB。并且随着图像分解时间的增加,本发明方法的重构图像的PSNR值提高更明显。As can be seen from Table 3, under the same situation of completion time of image decomposition, the PSNR value of the reconstructed image by the method of the present invention is higher than that of the genetic algorithm. The aspect ratio is 0.3019dB higher, and when the decomposition time is 561.0184 seconds, the method of the present invention is 1.0991dB higher than the genetic algorithm in terms of PSNR of the reconstructed image. And as the image decomposition time increases, the PSNR value of the reconstructed image by the method of the present invention increases more obviously.

本发明方法其图像分解的重复操作次数n,取决于后续处理对其重构图像的峰值信噪比(PSNR)的要求,当PSNR要求高时,分解的重复操作次数n多,反之则少。对于M×N的原始图像,若后续处理为图像压缩,其重复操作次数n一般小于2M或2N;若后续处理为图像去噪,其重复操作次数n一般大于M或N,但一般小于2M或2N。The number of repeated operations n of the image decomposition of the method of the present invention depends on the requirement of the peak signal-to-noise ratio (PSNR) of the reconstructed image in subsequent processing. When the PSNR requirement is high, the number of repeated operations n of the decomposition is more, and vice versa. For an M×N original image, if the subsequent processing is image compression, the number of repeated operations n is generally less than 2M or 2N; if the subsequent processing is image denoising, the number of repeated operations n is generally greater than M or N, but generally less than 2M or 2N.

Claims (1)

1. the image sparse based on quick hartley transform of one dimension and match tracing decomposes fast method, and its step is as follows:
(1) formation of the former word bank of core:
To size is the original image f of M * N, the former word bank that the structure Sparse Decomposition is used, atom g γBy parameter group γ=(θ, u, v, s x, s y) definition, wherein θ represents the anglec of rotation of atom, and u, v are respectively the translation of atom on x, y direction, s x, s yBe respectively atom stretching on x, y direction; Make u=M/2 and v=N/2 form the former word bank { g of core of two dimension γ ', parameter group γ ' discretize by the following method wherein:
&gamma; &prime; = ( &theta; , M 2 , N 2 , s x , s y ) = ( &pi;&theta; &prime; max ( M , N ) , M 2 , N 2 , 2 sty 5 , 2 sty 5 )
Wherein 1≤θ '≤max (M, N), 0≤stx≤5log 2M-5,0≤sty≤5log 2N-5, all round numbers on respective bins of θ ', stx, sty;
(2) atom and image transform:
With all the atom g in the former word bank of core of (1) step formation γ 'Convert one dimensional atom g ' to γ 'With size is that the original image f of M * N converts one-dimensional signal f ' to;
(3) the initial decomposition of image:
(2) are gone on foot the one-dimensional signal f ' and all one dimensional atom g ' of the image that obtains γ 'Adopt the quick hartley transform algorithm of one dimension to do computing cross-correlation, obtain one-dimensional signal f ' and over-complete dictionary of atoms { g γIn all one dimensional atom g ' γMatching factor p γ, and record matching factor p γThe one dimensional atom of absolute value maximum
Figure FDA0000074865660000012
The corresponding parameters group
Figure FDA0000074865660000013
Matching factor with correspondence
Figure FDA0000074865660000014
The one-dimensional signal f ' of image is deducted matched atoms With matching factor
Figure FDA0000074865660000016
Product, obtain image residual error R F '
(4) picture breakdown:
To the current image residual error R that obtains F 'With all one dimensional atom g ' γ 'Adopt the quick hartley transform algorithm of one dimension to do computing cross-correlation, obtain image residual error R F 'With over-complete dictionary of atoms { g γIn the matching factor p of each atom γ, and record matching factor p γThe atom of absolute value maximum
Figure FDA0000074865660000017
The corresponding parameters group
Figure FDA0000074865660000018
Matching factor with correspondence
Figure FDA0000074865660000019
Wherein i is the current number of times of picture breakdown; With image residual error R F 'Deduct matched atoms
Figure FDA00000748656600000110
With matching factor
Figure FDA00000748656600000111
Product, the image residual error R after obtaining upgrading F '
Repeat above picture breakdown operation, when the picture breakdown result satisfied subsequent treatment and requires, end operation obtained the result of original image f match tracing Sparse Decomposition { ( P &gamma; i , &gamma; i ) = ( P &gamma; i , &theta; i , u i , v i , s x i , s y i ) | i = 0,1,2 , . . . , n } , Wherein n is the total degree of picture breakdown operation.
CN2009102167978A 2009-12-15 2009-12-15 One-dimensional Hartley transform and match tracing based image sparse decomposition fast method Expired - Fee Related CN101739666B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2009102167978A CN101739666B (en) 2009-12-15 2009-12-15 One-dimensional Hartley transform and match tracing based image sparse decomposition fast method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2009102167978A CN101739666B (en) 2009-12-15 2009-12-15 One-dimensional Hartley transform and match tracing based image sparse decomposition fast method

Publications (2)

Publication Number Publication Date
CN101739666A CN101739666A (en) 2010-06-16
CN101739666B true CN101739666B (en) 2011-12-21

Family

ID=42463118

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2009102167978A Expired - Fee Related CN101739666B (en) 2009-12-15 2009-12-15 One-dimensional Hartley transform and match tracing based image sparse decomposition fast method

Country Status (1)

Country Link
CN (1) CN101739666B (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101980284B (en) * 2010-10-26 2012-05-23 北京理工大学 Color image noise reduction method based on two-scale sparse representation
CN102013106B (en) * 2010-10-27 2012-06-20 西安电子科技大学 Image sparse representation method based on Curvelet redundant dictionary
CN102063729A (en) * 2010-12-30 2011-05-18 哈尔滨工业大学 Two-dimensional sparsity based compressed sensing image reconstruction method
CN102163338B (en) * 2011-04-08 2014-09-03 哈尔滨工业大学 Efficient reconstruction method in compression perceptual system
CN103942805B (en) * 2014-05-08 2016-08-31 长沙理工大学 Image sparse based on local polyatom match tracing decomposes fast method
CN107610065B (en) * 2017-09-21 2020-06-02 东南大学 A Two-dimensional Sinusoidal Assisted Empirical Mode Image Decomposition Method
CN109146984B (en) * 2018-08-14 2022-11-22 西安航空学院 Particle swarm optimization-based hyperspectral image sparse decomposition method
CN109191399B (en) * 2018-08-29 2022-01-28 陕西师范大学 Magnetic resonance image denoising method based on improved multi-path matching pursuit algorithm
CN109406148B (en) * 2018-12-11 2020-06-05 中原工学院 A Fault Feature Extraction Method for Rolling Bearings Based on Improved Quantum Evolutionary Algorithm
CN110429938B (en) * 2019-06-25 2022-07-26 四川轻化工大学 A Compressed Sampling and Reconstruction Method of High-speed Nuclear Signal

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2048599A1 (en) * 2007-10-11 2009-04-15 MVTec Software GmbH System and method for 3D object recognition
EP2081133A1 (en) * 2008-01-18 2009-07-22 MVTec Software GmbH System and method for deformable object recognition
CN101511020A (en) * 2009-03-06 2009-08-19 电子科技大学 Image compression method based on sparseness decompose

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2048599A1 (en) * 2007-10-11 2009-04-15 MVTec Software GmbH System and method for 3D object recognition
EP2081133A1 (en) * 2008-01-18 2009-07-22 MVTec Software GmbH System and method for deformable object recognition
CN101511020A (en) * 2009-03-06 2009-08-19 电子科技大学 Image compression method based on sparseness decompose

Non-Patent Citations (6)

* Cited by examiner, † Cited by third party
Title
李恒建,尹忠科,张家树,王建英.基于混沌变异粒子群优化算法的图像稀疏分解.《西南交通大学学报》.2008,第43卷(第4期),509-513. *
李恒建,尹忠科,王建英.基于量子遗传优化算法的图像稀疏分解.《西南交通大学学报》.2007,第42卷(第1期),19-23. *
李恒建,张家树,陈怀新.一种快速稀疏分解图像去噪新方法.《光子学报》.2009,第38卷(第11期),3009-3015. *
李恒建,张跃飞,王建英,尹忠科.分块自适应图像稀疏分解.《电讯技术》.2006,63-67. *
李恒建,陈怀新,张家树.基于分段式拟合的低比特率图像压缩编码方法.《电子与信息学报》.2008,第30卷(第9期),2211-2215. *
邓承志,汪胜前,曹汉强.基于多原子快速匹配追踪的图像编码算法.《电子与信息学报》.2009,第31卷(第8期),1807-1811. *

Also Published As

Publication number Publication date
CN101739666A (en) 2010-06-16

Similar Documents

Publication Publication Date Title
CN101739666B (en) One-dimensional Hartley transform and match tracing based image sparse decomposition fast method
CN103810755B (en) Compressed sensing spectrum picture method for reconstructing based on documents structured Cluster rarefaction representation
CN103955904B (en) Method for reconstructing signal based on dispersed fractional order Fourier transform phase information
CN115565034A (en) Infrared small target detection method based on double-current enhanced network
CN116797461A (en) Binocular image super-resolution reconstruction method based on multi-level enhanced attention mechanism
Qiusheng et al. Compressed sensing MRI based on the hybrid regularization by denoising and the epigraph projection
CN114693823B (en) Magnetic resonance image reconstruction method based on space-frequency double-domain parallel reconstruction
CN118247145A (en) Super-resolution reconstruction method and system for hyperspectral image
CN114821100A (en) Image compressed sensing reconstruction method based on structural group sparse network
CN104252703A (en) Wavelet preprocessing and sparse representation-based satellite remote sensing image super-resolution reconstruction method
CN107993205A (en) A kind of MRI image reconstructing method based on study dictionary with the constraint of non-convex norm minimum
CN114138919A (en) A seismic data reconstruction method based on non-local attention convolutional neural network
CN114708281B (en) Image compressed sensing reconstruction method based on self-adaptive non-local feature fusion network
CN113191947A (en) Method and system for image super-resolution
CN120070178A (en) Double-domain lightweight reconstruction method for super-resolution reconstruction of remote sensing image
CN103942805B (en) Image sparse based on local polyatom match tracing decomposes fast method
CN103236041A (en) Image super resolution reconstruction method on basis of Contourlet transformation
CN114529482A (en) Image compressed sensing reconstruction method based on wavelet multi-channel depth network
CN107622476B (en) Image super-resolution processing method based on probabilistic generative model
Huang et al. Pref: Phasorial embedding fields for compact neural representations
CN118898558A (en) Image processing method, system, medium and terminal based on consistency model prior
CN118625380A (en) Seismic data reconstruction method based on frequency domain gated Transformer network
CN117788293A (en) Feature aggregation image super-resolution reconstruction method and system
CN108346167B (en) MRI image reconstruction method based on simultaneous sparse coding under orthogonal dictionary
Xie et al. An iterative method with enhanced Laplacian-scaled thresholding for noise-robust compressive sensing magnetic resonance image reconstruction

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20111221

Termination date: 20141215

EXPY Termination of patent right or utility model