CN109360161B - Multispectral image deblurring method based on gradient domain prior - Google Patents

Multispectral image deblurring method based on gradient domain prior Download PDF

Info

Publication number
CN109360161B
CN109360161B CN201811053391.8A CN201811053391A CN109360161B CN 109360161 B CN109360161 B CN 109360161B CN 201811053391 A CN201811053391 A CN 201811053391A CN 109360161 B CN109360161 B CN 109360161B
Authority
CN
China
Prior art keywords
image
deblurring
clear
iteration
multispectral
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201811053391.8A
Other languages
Chinese (zh)
Other versions
CN109360161A (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.)
Beijing Institute of Technology BIT
Original Assignee
Beijing Institute of Technology BIT
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 Beijing Institute of Technology BIT filed Critical Beijing Institute of Technology BIT
Priority to CN201811053391.8A priority Critical patent/CN109360161B/en
Publication of CN109360161A publication Critical patent/CN109360161A/en
Application granted granted Critical
Publication of CN109360161B publication Critical patent/CN109360161B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T5/00Image enhancement or restoration
    • G06T5/73Deblurring; Sharpening
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/10Image acquisition modality
    • G06T2207/10032Satellite or aerial image; Remote sensing
    • G06T2207/10036Multispectral image; Hyperspectral image

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Image Analysis (AREA)
  • Image Processing (AREA)

Abstract

本发明提出了一种基于梯度域先验的多光谱图像去模糊方法,属于图像处理技术领域。本方法根据相邻通道图像的相似性,利用类高斯函数结合steering核,计算多光谱图像中每个通道对应的参考图像;根据参考图像与目标清晰图像在梯度域上的相似性,将两者在梯度域上差的范数作为去模糊公式的图像先验;将图像先验与最大后验概率估计方法结合,建立多光谱图像去模糊框架,迭代求解最终得到清晰图像。与已有的方法相比,该方法充分考虑了相邻通道图像在梯度域上的相似性,避免了多余图像细节的引入,而且提高了多光谱图像去模糊的质量,降低了去模糊过程的计算量。

Figure 201811053391

The invention proposes a multispectral image deblurring method based on gradient domain prior, which belongs to the technical field of image processing. This method calculates the reference image corresponding to each channel in the multispectral image by using the Gauss-like function combined with the steering kernel according to the similarity of the adjacent channel images; according to the similarity between the reference image and the target clear image in the gradient domain, the two The norm of the difference in the gradient domain is used as the image prior of the deblurring formula; the image prior is combined with the maximum a posteriori probability estimation method to establish a multispectral image deblurring framework, and the iterative solution finally obtains a clear image. Compared with the existing methods, this method fully considers the similarity of adjacent channel images in the gradient domain, avoids the introduction of redundant image details, improves the quality of multispectral image deblurring, and reduces the deblurring process. amount of calculation.

Figure 201811053391

Description

一种基于梯度域先验的多光谱图像去模糊方法A Multispectral Image Deblurring Method Based on Gradient Domain Prior

技术领域technical field

本发明涉及一种多光谱图像去模糊方法,特别涉及一种基于梯度域先验的多光谱图像去模糊方法,属于图像处理技术领域。The invention relates to a multispectral image deblurring method, in particular to a multispectral image deblurring method based on gradient domain prior, and belongs to the technical field of image processing.

背景技术Background technique

随着多光谱成像技术的发展,越来越多的多光谱成像技术运用到各行各业,涉及农业、遥感、显微和航天等各个方面。然而,由于设备自身承重的限制,很多轻量级的多光谱成像应用不能装配复杂镜头组,而是选择了使用简单透镜的成像系统。简单透镜对于不同波长光线的折射率差异较大,使得这些光线在成像平面形成不同大小的弥散圆上,导致各个通道的图像呈现不同程度的散焦模糊。这些散焦模糊一方面明显降低了设备的成像质量,另一方面也影响了图像的观感体验。因此,需要一种针对多光谱图像的高效去模糊方法,利用较少的计算量去除这些散焦模糊。With the development of multi-spectral imaging technology, more and more multi-spectral imaging technology is applied to all walks of life, involving agriculture, remote sensing, microscopy and aerospace and other aspects. However, due to the limitation of the device's own weight, many lightweight multispectral imaging applications cannot be equipped with complex lens sets, and instead choose imaging systems using simple lenses. A simple lens has a large difference in refractive index for light with different wavelengths, so that these lights form different sizes of circles of confusion on the imaging plane, resulting in different degrees of defocus and blur in the images of each channel. On the one hand, these defocus blurs significantly reduce the imaging quality of the device, and on the other hand, it also affects the visual experience of the image. Therefore, there is a need for an efficient deblurring method for multispectral images that removes these defocus blurs with less computational effort.

对于多光谱图像去散焦模糊这一问题,国内外的学者已经做了大量的基础研究。常用的多光谱去散焦模糊方法主要分为两种:基于单通道图像的去模糊方法和基于多通道图像的去模糊方法。Scholars at home and abroad have done a lot of basic research on the problem of defocusing and blurring of multispectral images. The commonly used multispectral defocusing and blurring methods are mainly divided into two types: single-channel image-based deblurring methods and multi-channel image-based deblurring methods.

基于单通道图像的去模糊方法以基于离群值处理的去模糊方法(Dong J,Pan J,Su Z,et al.Blind image deblurring with outlier handling,ICCV.2017)为代表。该方法根据离群异常点对于去模糊算法的影响,建立了一个高效的数据保持项,进而计算得到对应的目标清晰图像。但是,该方法在处理多光谱图像的散焦模糊时没有考虑到多个谱段图像之间内容的相关性,导致去模糊的效果较差且计算量大。The single-channel image-based deblurring method is represented by the deblurring method based on outlier handling (Dong J, Pan J, Su Z, et al. Blind image deblurring with outlier handling, ICCV. 2017). According to the influence of outliers and outliers on the deblurring algorithm, this method establishes an efficient data retention item, and then calculates the corresponding clear image of the target. However, this method does not consider the content correlation between multiple spectral images when dealing with the defocus blur of multispectral images, resulting in poor deblurring effect and large amount of computation.

基于多通道图像的去模糊方法以基于引导图形的多光谱去模糊方法(S.-J.Chenand H.-L.Shen,Multispectral image out-of-focus deblurring usinginterchannelcorrelation,IEEE Trans.Image Process.,vol.24,no.11,pp.4433–4445,2015)为代表。该方法主要通过Tikhonov正则化得到目标通道对应的引导图像,使用引导图像结合最大后验概率估计的方法得到目标清晰图像。该方法计算量较低,但由于在求解引导图像时使用了边缘通道的图像信息,使得去模糊过程中引入了一些多余的细节,导致最终求得的清晰图像准确度较低。Multispectral image out-of-focus deblurring using interchannel correlation, IEEE Trans.Image Process., vol. .24, no.11, pp.4433–4445, 2015) as the representative. This method mainly obtains the guide image corresponding to the target channel through Tikhonov regularization, and uses the guide image combined with the maximum posterior probability estimation method to obtain the target clear image. This method requires less computation, but because the image information of the edge channel is used in solving the guiding image, some redundant details are introduced in the deblurring process, resulting in a lower accuracy of the final clear image.

发明内容SUMMARY OF THE INVENTION

本发明的目的是为了克服现有技术的缺陷,为了有效解决多光谱图像去散焦模糊的问题,提出一种新的基于梯度域先验的多光谱图像去模糊方法,能够在提高多光谱图像去模糊质量的同时降低去模糊的计算复杂度。The purpose of the present invention is to overcome the defects of the prior art, in order to effectively solve the problem of defocusing and blurring of multispectral images, and propose a new method for deblurring multispectral images based on gradient domain prior, which can improve the performance of multispectral images. Deblurring quality while reducing the computational complexity of deblurring.

本发明方法的主要原理是:The main principle of the method of the present invention is:

根据多光谱图像中相邻频谱之间的相关性,利用类高斯函数计算得到目标谱段对应的参考图像。根据参考图像与目标清晰图像在梯度域上的相似性,建立图像先验。使用图像先验并结合最大后验概率估计,对模糊图像进行预处理和去模糊处理,最终得到去模糊之后的清晰图像。According to the correlation between adjacent spectra in the multispectral image, a Gaussian-like function is used to calculate the reference image corresponding to the target spectral segment. According to the similarity between the reference image and the target clear image in the gradient domain, an image prior is established. The blurred image is preprocessed and deblurred by using the image prior combined with the maximum posterior probability estimation, and finally a clear image after deblurring is obtained.

为实现上述目的,本发明采取以下技术方案:To achieve the above object, the present invention adopts the following technical solutions:

一种基于梯度域先验的多光谱图像去模糊方法,包括以下步骤:A multispectral image deblurring method based on gradient domain prior, including the following steps:

步骤一、计算多光谱图像每个通道对应的模糊核。Step 1: Calculate the blur kernel corresponding to each channel of the multispectral image.

针对待处理的多光谱图像{B1B2...BN}(原始图像),使用基于归一化互相关匹配算法的模糊核估计方法(可参考S.-J.Chen and H.-L.Shen,Multispectral image out-of-focus deblurring using interchannel correlation,IEEE Trans.Image Process.,vol.24,no.11,pp.4433–4445,2015),得到每个通道对应的模糊核{G1G2...GN}。其中,N为正整数。For the multispectral images to be processed {B 1 B 2 ... B N } (original images), use the blur kernel estimation method based on the normalized cross-correlation matching algorithm (refer to S.-J.Chen and H.- L.Shen, Multispectral image out-of-focus deblurring using interchannel correlation, IEEE Trans.Image Process., vol.24, no.11, pp.4433–4445, 2015), get the blur kernel corresponding to each channel {G 1 G 2 ... G N }. Among them, N is a positive integer.

同时,建立参考图像的计算模型,计算得到参考图像。At the same time, a calculation model of the reference image is established, and the reference image is obtained by calculation.

设多光谱图像{B1B2...BN}对应的清晰图像序列为{L1L2...LN},根据相邻通道图像的相似性,利用类高斯函数,计算得到目标谱段对应的参考图像:Let the clear image sequence corresponding to the multispectral image {B 1 B 2 ... B N } be {L 1 L 2 ... L N }, according to the similarity of the adjacent channel images, using the Gauss-like function to calculate the target Spectral corresponding reference image:

Figure BDA0001795146630000031
Figure BDA0001795146630000031

其中,Ri为参考图像,H是预设的窗口大小,v(i,j)代表权值函数,决定了清晰图像Lj的权重。在求取参考图像时,可能有一部分清晰图像是未知的,因此,使用约束函数δ(j)来约束清晰图像的选取,如果Lj未知,则δ(j)的值为0,反之δ(j)值为1。Among them, R i is the reference image, H is the preset window size, and v(i, j) represents the weight function, which determines the weight of the clear image L j . When obtaining the reference image, some clear images may be unknown. Therefore, the constraint function δ(j) is used to constrain the selection of clear images. If L j is unknown, the value of δ(j) is 0, otherwise δ( j) The value is 1.

在公式(1)中,权值函数v(i,j)决定了参考图像的质量,其形式如下:In formula (1), the weight function v(i,j) determines the quality of the reference image, and its form is as follows:

Figure BDA0001795146630000032
Figure BDA0001795146630000032

其中,函数δ(m)、δ(j)均为约束函数。

Figure BDA0001795146630000033
是steering核回归模型,其形式如下:Among them, the functions δ(m) and δ(j) are both constraint functions.
Figure BDA0001795146630000033
is the steering kernel regression model of the form:

Figure BDA0001795146630000034
Figure BDA0001795146630000034

Figure BDA0001795146630000035
Figure BDA0001795146630000035

其中,MSE(Bi,Lj)代表原始图像Bi与清晰图像Lj之间的均方误差,MSE(Bi,Lm)代表原始图像Bi与清晰图像Lm之间的均方误差。β为控制权值的尺度算子。Among them, MSE(B i ,L j ) represents the mean square error between the original image B i and the clear image L j , MSE(B i ,L m ) represents the mean square between the original image B i and the clear image L m error. β is the scale operator that controls the weights.

步骤二、根据参考图像,建立梯度域上的图像先验。Step 2: Establish an image prior on the gradient domain according to the reference image.

由于参考图像与目标清晰图像在梯度域上具有极大的相似性,因此使用两者的梯度相似性作为图像先验,具体如下:Since the reference image and the target clear image have great similarity in the gradient domain, the gradient similarity between the two is used as the image prior, as follows:

Figure BDA0001795146630000036
Figure BDA0001795146630000036

其中,

Figure BDA0001795146630000037
代表梯度算子,Li和Ri分别为目标清晰图像和步骤一中计算得出的参考图像。in,
Figure BDA0001795146630000037
represents the gradient operator, and Li and Ri are the target clear image and the reference image calculated in step 1, respectively.

步骤三、基于图像先验建立去模糊过程公式,迭代求解模糊核得到目标清晰图像。Step 3: Establish a deblurring process formula based on the image prior, and iteratively solve the blur kernel to obtain a clear image of the target.

利用最大后验概率估计方法,结合步骤二中得到的图像先验,建立去模糊过程公式,表示如下:Using the maximum posterior probability estimation method, combined with the image prior obtained in step 2, the formula of the deblurring process is established, which is expressed as follows:

Figure BDA0001795146630000041
Figure BDA0001795146630000041

其中,L代表目标清晰图像,B代表目标原始图像,

Figure BDA0001795146630000042
代表梯度算子,*代表卷积操作,k代表通过计算拟得到的模糊核,G代表步骤一中计算得到的模糊核;参数λ和η分别用于控制公式(6)中第二项和第三项的比重,其值根据图像之间的均方差选取,或者人工指定。Among them, L represents the target clear image, B represents the target original image,
Figure BDA0001795146630000042
Represents the gradient operator, * represents the convolution operation, k represents the fuzzy kernel to be obtained by calculation, G represents the fuzzy kernel calculated in step 1; the parameters λ and η are used to control the second item and the first item in formula (6), respectively. The proportion of the three items, whose value is selected according to the mean square error between the images, or manually specified.

鉴于直接求解公式(6)较为困难,可进一步将其分解为两个子问题进行求解,具体如下:Since it is difficult to directly solve formula (6), it can be further decomposed into two sub-problems to solve, as follows:

Figure BDA0001795146630000043
Figure BDA0001795146630000043

Figure BDA0001795146630000044
Figure BDA0001795146630000044

最后,使用交替迭代法,在频域上迭代求解模糊核ki与目标清晰图像Li的估计值

Figure BDA0001795146630000045
Figure BDA0001795146630000046
最终得到目标清晰图像。Finally, using the alternate iterative method, iteratively solves the estimated values of the blur kernel k i and the target clear image L i in the frequency domain
Figure BDA0001795146630000045
and
Figure BDA0001795146630000046
Finally, a clear image of the target is obtained.

有益效果beneficial effect

(1)传统的基于单通道图像的去模糊方法将多光谱图像中的每个通道图像看作一个独立的图像进行处理,并未考虑到多光谱图像中通道之间的内在联系,导致去模糊后的图像出现信息缺失的情况。同时,由于这些方法一般使用1-范数或者0-范数等较为难以求解的公式,导致计算复杂度较高。本发明所述方法考虑到多光谱图像中相邻频谱图像之间的内容相关性,结合容易求解的2-范数,提高了多光谱图像去模糊的质量和效率。(1) The traditional single-channel image-based deblurring method treats each channel image in the multispectral image as an independent image for processing, and does not consider the intrinsic relationship between the channels in the multispectral image, resulting in deblurring The resulting image is missing information. At the same time, these methods generally use formulas that are difficult to solve, such as 1-norm or 0-norm, resulting in high computational complexity. The method of the present invention improves the quality and efficiency of multi-spectral image deblurring by taking into account the content correlation between adjacent spectral images in the multi-spectral image and combining with the easy-to-solve 2-norm.

(2)现有的基于多通道图像的去模糊方法在处理模糊程度较小的图像时效果较好。但是在处理模糊程度较大的图像时,由于本通道图像信息缺失比较严重,会引入其他通道的信息来进行补全,此时会出现信息冗余的问题,即出现了本不该出现在当前通道的信息。这种情况会极大地降低去模糊的质量。而本发明通过类高斯函数约束其只能在一个小窗口内取值,避免了内容不一致的情况。(2) The existing multi-channel image-based deblurring methods have better effects when dealing with images with less blur. However, when dealing with images with a large degree of blur, due to the serious loss of image information in this channel, information from other channels will be introduced to complete it. At this time, there will be a problem of information redundancy, that is, there will be problems that should not appear in the current channel information. This situation greatly reduces the quality of deblurring. In the present invention, the Gauss-like function is used to constrain it to only take values in a small window, thereby avoiding the situation of inconsistent content.

附图说明Description of drawings

图1为本发明方法的流程图。Figure 1 is a flow chart of the method of the present invention.

图2为参考图像与原图的对比。Figure 2 shows the comparison between the reference image and the original image.

具体实施方式Detailed ways

下面结合附图对本发明方法的具体实施方式做进一步详细说明。The specific embodiments of the method of the present invention will be further described in detail below with reference to the accompanying drawings.

一种基于梯度域先验的多光谱图像去模糊方法,包括以下步骤:A multispectral image deblurring method based on gradient domain prior, including the following steps:

步骤一、计算多光谱图像每个通道对应的模糊核。同时,建立参考图像的计算模型,计算得到参考图像。Step 1: Calculate the blur kernel corresponding to each channel of the multispectral image. At the same time, a calculation model of the reference image is established, and the reference image is obtained by calculation.

针对待处理的多光谱图像{B1B2...BN}(原始图像),将中部谱段对应的图像看作清晰图像,对于其他图像,使用不同大小的模糊核对其进行模糊处理。使用基于归一化互相关匹配算法的模糊核估计方法(可参考S.-J.Chen and H.-L.Shen,Multispectral imageout-of-focus deblurring using interchannel correlation,IEEE Trans.ImageProcess.,vol.24,no.11,pp.4433–4445,2015),得到每个通道对应的模糊核{G1G2...GN}。其中,N为正整数。For the multispectral image to be processed {B 1 B 2 ... B N } (original image), the image corresponding to the middle spectral segment is regarded as a clear image, and for other images, blur kernels of different sizes are used to blur them. Use a blur kernel estimation method based on a normalized cross-correlation matching algorithm (refer to S.-J.Chen and H.-L.Shen, Multispectral imageout-of-focus deblurring using interchannel correlation, IEEE Trans.ImageProcess., vol. 24, no.11, pp.4433–4445, 2015), and get the blur kernel {G 1 G 2 ... G N } corresponding to each channel. Among them, N is a positive integer.

同时,建立参考图像的计算模型,计算得到参考图像。At the same time, a calculation model of the reference image is established, and the reference image is obtained by calculation.

设多光谱图像{B1B2...BN}对应的清晰图像序列为{L1L2...LN},根据相邻通道图像的相似性,利用类高斯函数,计算得到目标谱段对应的参考图像:Let the clear image sequence corresponding to the multispectral image {B 1 B 2 ... B N } be {L 1 L 2 ... L N }, according to the similarity of the adjacent channel images, using the Gauss-like function to calculate the target Spectral corresponding reference image:

Figure BDA0001795146630000051
Figure BDA0001795146630000051

其中,Ri为参考图像,H是预设的窗口大小,v(i,j)代表权值函数,决定了清晰图像Lj的权重。在求取参考图像时,可能有一部分清晰图像是未知的,因此,使用约束函数δ(j)来约束清晰图像的选取,如果Lj未知,则δ(j)的值为0,反之δ(j)值为1。Among them, R i is the reference image, H is the preset window size, and v(i, j) represents the weight function, which determines the weight of the clear image L j . When obtaining the reference image, some clear images may be unknown. Therefore, the constraint function δ(j) is used to constrain the selection of clear images. If L j is unknown, the value of δ(j) is 0, otherwise δ( j) The value is 1.

在公式(1)中,权值函数v(i,j)决定了参考图像的质量,其形式如下:In formula (1), the weight function v(i,j) determines the quality of the reference image, and its form is as follows:

Figure BDA0001795146630000061
Figure BDA0001795146630000061

其中,函数δ(m)、δ(j)均为约束函数。

Figure BDA0001795146630000062
是steering核回归模型,其形式如下:Among them, the functions δ(m) and δ(j) are both constraint functions.
Figure BDA0001795146630000062
is the steering kernel regression model of the form:

Figure BDA0001795146630000063
Figure BDA0001795146630000063

Figure BDA0001795146630000064
Figure BDA0001795146630000064

其中,MSE(Bi,Lj)代表原始图像Bi与清晰图像Lj之间的均方误差,MSE(Bi,Lm)代表原始图像Bi与清晰图像Lm之间的均方误差。β为控制权值的尺度算子。在本具体实施过程中,β设定为0.05,此时求得的参考图像效果较为理想。Among them, MSE(B i ,L j ) represents the mean square error between the original image B i and the clear image L j , MSE(B i ,L m ) represents the mean square between the original image B i and the clear image L m error. β is the scale operator that controls the weights. In this specific implementation process, β is set to 0.05, and the effect of the obtained reference image is ideal at this time.

图2展示了一个参考图像的示例,在图2中,左图为清晰图像,中图为求得的参考图像,右图为原始的模糊图像,可见,参考图像与清晰图像较为接近,相似度也很高。Figure 2 shows an example of a reference image. In Figure 2, the left image is a clear image, the middle image is the obtained reference image, and the right image is the original blurred image. It can be seen that the reference image is closer to the clear image, and the similarity is Also high.

步骤二、根据参考图像,建立梯度域上的图像先验。Step 2: Establish an image prior on the gradient domain according to the reference image.

由于参考图像与目标清晰图像在梯度域上具有极大的相似性,因此使用两者的梯度相似性作为图像先验,具体如下:Since the reference image and the target clear image have great similarity in the gradient domain, the gradient similarity between the two is used as the image prior, as follows:

Figure BDA0001795146630000065
Figure BDA0001795146630000065

其中,

Figure BDA0001795146630000066
代表梯度算子,Li和Ri分别为目标清晰图像和步骤一中计算得出的参考图像。in,
Figure BDA0001795146630000066
represents the gradient operator, and Li and Ri are the target clear image and the reference image calculated in step 1, respectively.

步骤三、基于图像先验建立去模糊过程公式,迭代求解模糊核得到目标清晰图像。Step 3: Establish a deblurring process formula based on the image prior, and iteratively solve the blur kernel to obtain a clear image of the target.

利用最大后验概率估计方法,结合步骤二中得到的图像先验,建立去模糊过程公式,表示如下:Using the maximum posterior probability estimation method, combined with the image prior obtained in step 2, the formula of the deblurring process is established, which is expressed as follows:

Figure BDA0001795146630000071
Figure BDA0001795146630000071

其中,L和B分别代表目标清晰图像与原始图像,

Figure BDA0001795146630000072
代表梯度算子,*代表卷积操作,k代表通过计算拟得到的模糊核,G代表步骤一中计算得到的模糊核;参数λ和η分别用于控制公式(6)中第二项和第三项的比重,其值根据图像之间的均方差选取,或者人工指定。Among them, L and B represent the target clear image and the original image, respectively,
Figure BDA0001795146630000072
Represents the gradient operator, * represents the convolution operation, k represents the fuzzy kernel to be obtained by calculation, G represents the fuzzy kernel calculated in step 1; the parameters λ and η are used to control the second item and the first item in formula (6), respectively. The proportion of the three items, whose value is selected according to the mean square error between the images, or manually specified.

鉴于直接求解公式(6)较为困难,可进一步将其分解为两个子问题进行求解,具体如下:Since it is difficult to directly solve formula (6), it can be further decomposed into two sub-problems to solve, as follows:

Figure BDA0001795146630000073
Figure BDA0001795146630000073

Figure BDA0001795146630000074
Figure BDA0001795146630000074

步骤四、使用交替迭代法,在频域上迭代求解模糊核ki与目标清晰图像Li的估计值

Figure BDA0001795146630000075
Figure BDA0001795146630000076
最终得到目标清晰图像。Step 4: Use the alternate iteration method to iteratively solve the estimated value of the blur kernel ki and the target clear image Li in the frequency domain
Figure BDA0001795146630000075
and
Figure BDA0001795146630000076
Finally, a clear image of the target is obtained.

求解使用交替迭代的方式,首先在频域上求解步骤三所述的两个子问题,得:The solution uses the alternate iteration method, first solve the two sub-problems described in step 3 in the frequency domain, and get:

Figure BDA0001795146630000077
Figure BDA0001795146630000077

以及as well as

Figure BDA0001795146630000078
Figure BDA0001795146630000078

其中,

Figure BDA0001795146630000079
Figure BDA00017951466300000710
分别代表二维离散傅里叶变换与傅里叶变换的共轭,
Figure BDA00017951466300000711
代表傅里叶变换的逆变换。
Figure BDA0001795146630000081
代表梯度算子的离散傅里叶变换,其形式如下:in,
Figure BDA0001795146630000079
and
Figure BDA00017951466300000710
represent the conjugate of the two-dimensional discrete Fourier transform and the Fourier transform, respectively,
Figure BDA00017951466300000711
Represents the inverse of the Fourier transform.
Figure BDA0001795146630000081
Represents the discrete Fourier transform of the gradient operator, which has the form:

Figure BDA0001795146630000082
Figure BDA0001795146630000082

其中,

Figure BDA0001795146630000083
Figure BDA0001795146630000084
分别代表水平方向与垂直方向的梯度算子,即
Figure BDA0001795146630000085
Figure BDA0001795146630000086
T代表转置操作。in,
Figure BDA0001795146630000083
and
Figure BDA0001795146630000084
respectively represent the gradient operators in the horizontal and vertical directions, namely
Figure BDA0001795146630000085
Figure BDA0001795146630000086
T stands for transpose operation.

在求解时,由于所有的清晰图像在一开始都是未知的,因此需要经过一次预处理过程,得到作为中间结果使用的清晰图像。预处理过程如下:When solving, since all clear images are unknown at the beginning, a preprocessing process is required to obtain clear images used as intermediate results. The preprocessing process is as follows:

首先,将多光谱图像中处于谱段中部通道对应的图像作为清晰图像,即本通道对应的图像已经足够清晰,不需要进行去模糊处理,将此通道定义为s。First, the image corresponding to the channel in the middle of the spectrum in the multispectral image is regarded as a clear image, that is, the image corresponding to this channel is clear enough and does not need to be deblurred, and this channel is defined as s.

然后,由通道s向两侧扩展,依照“s-1s-2...1”或者“s+1s+2...N”的顺序对所有通道进行一次去模糊计算,由此即可保证每个通道都存在一个可用的清晰图像用于后续的迭代计算。在实际操作中,结合图1,预处理过程和去模糊过程均遵循如下操作:Then, expand from channel s to both sides, and perform a deblurring calculation on all channels in the order of "s-1s-2...1" or "s+1s+2...N", thus ensuring that There is a clear image available for each channel for subsequent iterative calculations. In practice, combined with Figure 1, the preprocessing and deblurring processes follow the following operations:

首先,将步骤一求得的模糊核Gi带入公式(8)中的ki,求得清晰图像的第一次迭代估计值

Figure BDA0001795146630000087
First, bring the blur kernel G i obtained in step 1 into k i in formula (8) to obtain the first iterative estimated value of the clear image
Figure BDA0001795146630000087

然后,将

Figure BDA0001795146630000088
带入公式(7)中的Li,计算得到模糊核的第一次迭代估计值
Figure BDA0001795146630000089
followed by
Figure BDA0001795146630000088
Bring into Li in formula (7), calculate the first iterative estimate of the fuzzy kernel
Figure BDA0001795146630000089

上述过程完成了计算的第一次迭代。The above process completes the first iteration of the computation.

在第二次迭代中,将第一次迭代的计算结果

Figure BDA00017951466300000810
Figure BDA00017951466300000811
分别带入到公式(8)的ki以及公式(7)的Li,计算得到第二次迭代的计算结果
Figure BDA00017951466300000812
以及
Figure BDA00017951466300000813
后续迭代过程与第二次迭代相同,都是使用前一次迭代的计算结果作为本次迭代计算的输入进行计算。若计算结果收敛或者迭代次数达到上限,则迭代停止。其中,收敛是指前一次迭代的计算结果与本次迭代的计算结果完全相同。In the second iteration, the calculation result of the first iteration is
Figure BDA00017951466300000810
and
Figure BDA00017951466300000811
Bring them into k i of formula (8) and L i of formula (7) respectively, and calculate the calculation result of the second iteration
Figure BDA00017951466300000812
as well as
Figure BDA00017951466300000813
The subsequent iteration process is the same as the second iteration, and the calculation result of the previous iteration is used as the input of this iteration calculation for calculation. If the calculation result converges or the number of iterations reaches the upper limit, the iteration stops. Among them, convergence means that the calculation result of the previous iteration is exactly the same as the calculation result of this iteration.

所述预处理过程和去模糊过程均遵循上述的迭代过程。两者的迭代次数上限可以分别设定为3次和10次。Both the preprocessing process and the deblurring process follow the iterative process described above. The upper limit of the number of iterations for both can be set to 3 and 10, respectively.

求解得到的清晰图像质量较高,与现有的最佳方法相比,在模糊程度较大的频谱,峰值信噪比提高了2到3分贝。The resulting clear images are of high quality, and the peak signal-to-noise ratio is improved by 2 to 3 dB in the spectrum with a greater degree of ambiguity compared to the state-of-the-art method.

Claims (4)

1.一种基于梯度域先验的多光谱图像去模糊方法,其特征在于,包括以下步骤:1. a multi-spectral image deblurring method based on gradient domain prior, is characterized in that, comprises the following steps: 步骤一、计算多光谱图像每个通道对应的模糊核;Step 1: Calculate the blur kernel corresponding to each channel of the multispectral image; 针对待处理的多光谱图像{B1 B2 ... BN},使用模糊核估计方法得到每个通道对应的模糊核{G1 G2 ... GN},其中N为正整数;For the multispectral images to be processed {B 1 B 2 ... B N }, use the blur kernel estimation method to obtain the blur kernel {G 1 G 2 ... G N } corresponding to each channel, where N is a positive integer; 同时,建立参考图像的计算模型,计算得到参考图像:At the same time, the calculation model of the reference image is established, and the reference image is obtained by calculation: 设多光谱图像{B1 B2 ... BN}对应的清晰图像序列为{L1 L2 ... LN},根据相邻通道图像的相似性,利用类高斯函数,计算得到目标谱段对应的参考图像:Let the clear image sequence corresponding to the multispectral image {B 1 B 2 ... B N } be {L 1 L 2 ... L N }, according to the similarity of the adjacent channel images, using the Gauss-like function to calculate the target Spectral corresponding reference image:
Figure FDA0002985680950000011
Figure FDA0002985680950000011
其中,Ri为参考图像,H是预设的窗口大小,v(i,j)代表权值函数,决定了清晰图像Lj的权重;使用约束函数δ(j)约束清晰图像的选取,若Lj未知,则δ(j)的值为0,反之δ(j)值为1;Among them, R i is the reference image, H is the preset window size, v(i, j) represents the weight function, which determines the weight of the clear image L j ; use the constraint function δ(j) to constrain the selection of the clear image, if If L j is unknown, then the value of δ(j) is 0, otherwise the value of δ(j) is 1; 在公式(1)中,权值函数v(i,j)决定参考图像的质量,其形式如下:In formula (1), the weight function v(i,j) determines the quality of the reference image, and its form is as follows:
Figure FDA0002985680950000012
Figure FDA0002985680950000012
其中,函数δ(m)、δ(j)均为约束函数;
Figure FDA0002985680950000013
是steering核回归模型,其形式如下:
Among them, the functions δ(m) and δ(j) are both constraint functions;
Figure FDA0002985680950000013
is the steering kernel regression model of the form:
Figure FDA0002985680950000014
Figure FDA0002985680950000014
Figure FDA0002985680950000015
Figure FDA0002985680950000015
其中,MSE(Bi,Lj)代表原始图像Bi与清晰图像Lj之间的均方误差,MSE(Bi,Lm)代表原始图像Bi与清晰图像Lm之间的均方误差,β为控制权值的尺度算子;Among them, MSE(B i ,L j ) represents the mean square error between the original image B i and the clear image L j , MSE(B i ,L m ) represents the mean square between the original image B i and the clear image L m error, β is the scale operator that controls the weight; 步骤二、根据参考图像,建立梯度域上的图像先验;Step 2: Establish an image prior on the gradient domain according to the reference image; 使用参考图像与目标清晰图像的梯度相似性作为图像先验,具体如下:The gradient similarity between the reference image and the target clear image is used as the image prior, as follows:
Figure FDA0002985680950000021
Figure FDA0002985680950000021
其中,
Figure FDA0002985680950000022
代表梯度算子,Li和Ri分别为目标清晰图像和步骤一中计算得出的参考图像;
in,
Figure FDA0002985680950000022
represents the gradient operator, and Li and Ri are the target clear image and the reference image calculated in step 1, respectively;
步骤三、基于图像先验建立去模糊过程公式,迭代求解模糊核得到目标清晰图像;Step 3: Establish a deblurring process formula based on the image prior, and iteratively solve the blur kernel to obtain a clear image of the target; 利用最大后验概率估计方法,结合步骤二中得到的图像先验,建立去模糊过程公式,表示如下:Using the maximum posterior probability estimation method, combined with the image prior obtained in step 2, the formula of the deblurring process is established, which is expressed as follows:
Figure FDA0002985680950000023
Figure FDA0002985680950000023
其中,L代表目标清晰图像,B代表目标原始图像,
Figure FDA0002985680950000024
代表梯度算子,*代表卷积操作,k代表通过计算拟得到的模糊核,G代表步骤一中计算得到的模糊核;参数λ和η分别用于控制公式(6)中第二项和第三项的比重,其值根据图像之间的均方差选取或直接人工指定;
Among them, L represents the target clear image, B represents the target original image,
Figure FDA0002985680950000024
Represents the gradient operator, * represents the convolution operation, k represents the fuzzy kernel to be obtained by calculation, G represents the fuzzy kernel calculated in step 1; the parameters λ and η are used to control the second item and the first item in formula (6), respectively. The proportion of the three items, the value of which is selected according to the mean square error between the images or directly specified manually;
此处,将求解公式(6)分解为两个子问题进行求解,具体如下:Here, the solution formula (6) is decomposed into two sub-problems to solve, as follows:
Figure FDA0002985680950000025
Figure FDA0002985680950000025
Figure FDA0002985680950000026
Figure FDA0002985680950000026
最后,使用交替迭代法,在频域上迭代求解模糊核ki与目标清晰图像Li的估计值
Figure FDA0002985680950000027
Figure FDA0002985680950000028
最终得到目标清晰图像。
Finally, using the alternate iterative method, iteratively solves the estimated values of the blur kernel k i and the target clear image L i in the frequency domain
Figure FDA0002985680950000027
and
Figure FDA0002985680950000028
Finally, a clear image of the target is obtained.
2.如权利要求1所述的一种基于梯度域先验的多光谱图像去模糊方法,其特征在于,所述步骤一中,控制权值的尺度算子β设为0.05。2 . The multispectral image deblurring method based on gradient domain prior according to claim 1 , wherein, in the first step, the scale operator β of the control weight is set to 0.05. 3 . 3.如权利要求1所述的一种基于梯度域先验的多光谱图像去模糊方法,其特征在于,所述步骤三中,使用交替迭代法在频域上迭代求解模糊核ki与目标清晰图像Li的估计值
Figure FDA0002985680950000031
Figure FDA0002985680950000032
的方法如下:
3. a kind of multispectral image deblurring method based on gradient domain prior as claimed in claim 1, it is characterized in that, in described step 3, use alternate iteration method to iteratively solve blur kernel k i and target in frequency domain Estimated value of clear image Li
Figure FDA0002985680950000031
and
Figure FDA0002985680950000032
The method is as follows:
首先,在频域上求解步骤三所述的两个子问题,得:First, solve the two sub-problems described in step 3 in the frequency domain, we get:
Figure FDA0002985680950000033
Figure FDA0002985680950000033
以及as well as
Figure FDA0002985680950000034
Figure FDA0002985680950000034
其中,
Figure FDA0002985680950000035
Figure FDA0002985680950000036
分别代表二维离散傅里叶变换与傅里叶变换的共轭,
Figure FDA0002985680950000037
代表傅里叶变换的逆变换;
Figure FDA0002985680950000038
代表梯度算子的离散傅里叶变换,其形式如下:
in,
Figure FDA0002985680950000035
and
Figure FDA0002985680950000036
represent the conjugate of the two-dimensional discrete Fourier transform and the Fourier transform, respectively,
Figure FDA0002985680950000037
represents the inverse transform of the Fourier transform;
Figure FDA0002985680950000038
Represents the discrete Fourier transform of the gradient operator, which has the form:
Figure FDA0002985680950000039
Figure FDA0002985680950000039
其中,
Figure FDA00029856809500000310
Figure FDA00029856809500000311
分别代表水平方向与垂直方向的梯度算子,即
Figure FDA00029856809500000312
Figure FDA00029856809500000313
T代表转置操作;
in,
Figure FDA00029856809500000310
and
Figure FDA00029856809500000311
respectively represent the gradient operators in the horizontal and vertical directions, namely
Figure FDA00029856809500000312
Figure FDA00029856809500000313
T stands for transpose operation;
在求解时,由于所有的清晰图像在一开始都是未知的,因此需要经过一次预处理过程,得到作为中间结果使用的清晰图像,预处理过程如下:When solving, since all clear images are unknown at the beginning, it needs to go through a preprocessing process to obtain clear images used as intermediate results. The preprocessing process is as follows: 首先,将多光谱图像中处于谱段中部通道对应的图像作为清晰图像,即本通道对应的图像已经足够清晰,不需要进行去模糊处理,将此通道定义为s;First, the image corresponding to the channel in the middle of the spectrum in the multispectral image is regarded as a clear image, that is, the image corresponding to this channel is clear enough and does not need to be deblurred, and this channel is defined as s; 然后,由通道s向两侧扩展,依照“s-1s-2...1”或者“s+1s+2...N”的顺序对所有通道进行一次去模糊计算。Then, extend from channel s to both sides, and perform a deblurring calculation on all channels in the order of "s-1s-2...1" or "s+1s+2...N".
4.如权利要求3所述的一种基于梯度域先验的多光谱图像去模糊方法,其特征在于,所述预处理过程和去模糊过程均遵循如下操作:4. a kind of multispectral image deblurring method based on gradient domain prior as claimed in claim 3, is characterized in that, described preprocessing process and deblurring process all follow the following operations: 首先,将步骤一求得的模糊核Gi带入公式(8)中的ki,求得清晰图像的第一次迭代估计值
Figure FDA00029856809500000314
First, bring the blur kernel G i obtained in step 1 into k i in formula (8) to obtain the first iterative estimated value of the clear image
Figure FDA00029856809500000314
然后,将
Figure FDA00029856809500000315
带入公式(7)中的Li,计算得到模糊核的第一次迭代估计值
Figure FDA00029856809500000316
followed by
Figure FDA00029856809500000315
Bring into Li in formula (7), calculate the first iterative estimate of the fuzzy kernel
Figure FDA00029856809500000316
上述过程完成了计算的第一次迭代;The above process completes the first iteration of the calculation; 在第二次迭代中,将第一次迭代的计算结果
Figure FDA0002985680950000041
Figure FDA0002985680950000042
分别带入到公式(8)的ki以及公式(7)的Li,计算得到第二次迭代的计算结果
Figure FDA0002985680950000043
以及
Figure FDA0002985680950000044
后续迭代过程与第二次迭代相同,都是使用前一次迭代的计算结果作为本次迭代计算的输入进行计算;若计算结果收敛或者迭代次数达到上限,则迭代停止,其中,收敛是指前一次迭代的计算结果与本次迭代的计算结果完全相同。
In the second iteration, the calculation result of the first iteration is
Figure FDA0002985680950000041
and
Figure FDA0002985680950000042
Bring them into k i of formula (8) and L i of formula (7) respectively, and calculate the calculation result of the second iteration
Figure FDA0002985680950000043
as well as
Figure FDA0002985680950000044
The subsequent iteration process is the same as the second iteration. The calculation result of the previous iteration is used as the input of this iteration calculation; if the calculation result converges or the number of iterations reaches the upper limit, the iteration stops, where convergence refers to the previous iteration. The calculation result of the iteration is exactly the same as the calculation result of this iteration.
CN201811053391.8A 2018-09-11 2018-09-11 Multispectral image deblurring method based on gradient domain prior Active CN109360161B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811053391.8A CN109360161B (en) 2018-09-11 2018-09-11 Multispectral image deblurring method based on gradient domain prior

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811053391.8A CN109360161B (en) 2018-09-11 2018-09-11 Multispectral image deblurring method based on gradient domain prior

Publications (2)

Publication Number Publication Date
CN109360161A CN109360161A (en) 2019-02-19
CN109360161B true CN109360161B (en) 2021-04-27

Family

ID=65350779

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811053391.8A Active CN109360161B (en) 2018-09-11 2018-09-11 Multispectral image deblurring method based on gradient domain prior

Country Status (1)

Country Link
CN (1) CN109360161B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11788888B2 (en) * 2020-09-08 2023-10-17 Shenzhen Hypernano Optics Technology Co., Ltd Method and device for restoring and reconstructing a spectrum of a light source based on a hyperspectral image

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102158731A (en) * 2011-05-26 2011-08-17 威盛电子股份有限公司 Image processing system and method
CN103136727A (en) * 2012-12-14 2013-06-05 西安电子科技大学 Super resolution image reconstruction method based on gradient consistency and anisotropic regularization
CN107146202A (en) * 2017-03-17 2017-09-08 中山大学 Blind image deblurring method based on L0 regularization and blur kernel post-processing
CN107730466A (en) * 2017-10-11 2018-02-23 北京工业大学 The method for blindly restoring image represented based on structure self-similarity and low-rank matrix
CN108257096A (en) * 2017-12-28 2018-07-06 三维通信股份有限公司 A kind of blind deblurring method based on the collaboration of more priori

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9779491B2 (en) * 2014-08-15 2017-10-03 Nikon Corporation Algorithm and device for image processing

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102158731A (en) * 2011-05-26 2011-08-17 威盛电子股份有限公司 Image processing system and method
CN103136727A (en) * 2012-12-14 2013-06-05 西安电子科技大学 Super resolution image reconstruction method based on gradient consistency and anisotropic regularization
CN107146202A (en) * 2017-03-17 2017-09-08 中山大学 Blind image deblurring method based on L0 regularization and blur kernel post-processing
CN107730466A (en) * 2017-10-11 2018-02-23 北京工业大学 The method for blindly restoring image represented based on structure self-similarity and low-rank matrix
CN108257096A (en) * 2017-12-28 2018-07-06 三维通信股份有限公司 A kind of blind deblurring method based on the collaboration of more priori

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
Bundled Kernels for Nonuniform Blind Video Deblurring;Lei Zhang 等;《IEEE》;20160510;第1882-1894页 *
联合自适应梯度稀疏和通道相关性的简单透镜成像去模糊;王新灵 等;《计算机科学》;20180831;第45卷(第8期);第1-6页 *

Also Published As

Publication number Publication date
CN109360161A (en) 2019-02-19

Similar Documents

Publication Publication Date Title
Zamir et al. Learning enriched features for fast image restoration and enhancement
CN109360171B (en) A real-time deblurring method of video images based on neural network
Xu et al. Multi-channel weighted nuclear norm minimization for real color image denoising
Zhou et al. Bayesian low-tubal-rank robust tensor factorization with multi-rank determination
WO2018000752A1 (en) Monocular image depth estimation method based on multi-scale cnn and continuous crf
CN107507135B (en) Image reconstruction method based on coding aperture and target
CN113822284B (en) A Semantic Segmentation Method of RGBD Image Based on Boundary Attention
CN110796616B (en) Turbulence degradation image recovery method based on norm constraint and self-adaptive weighted gradient
CN116757986A (en) Infrared and visible light image fusion method and device
CN108805839A (en) Combined estimator image defogging method based on convolutional neural networks
CN105046659B (en) A kind of simple lens based on rarefaction representation is calculated as PSF evaluation methods
CN110533724B (en) A computational method for monocular visual odometry based on deep learning and attention mechanism
CN113052755A (en) High-resolution image intelligent matting method based on deep learning
CN113129236A (en) Single low-light image enhancement method and system based on Retinex and convolutional neural network
CN112258537B (en) Method for monitoring dark vision image edge detection based on convolutional neural network
CN104809706A (en) Single lens computational imaging method based on gentle image color change priori
Fu et al. Multistage supervised contrastive learning for hybrid-degraded image restoration
CN111932452B (en) Infrared image convolution neural network super-resolution method based on visible image enhancement
CN109360161B (en) Multispectral image deblurring method based on gradient domain prior
CN107730459B (en) Image deblurring method based on nonlinear dynamic system
CN106991659B (en) A kind of multi-frame self-adaption optical image restoration methods for adapting to atmospheric turbulance change
CN117974716B (en) A nighttime drone target tracking method integrating hybrid attention mechanism
CN113936022A (en) Image defogging method based on multi-modal characteristics and polarization attention
CN113888405A (en) Denoising and demosaicing method based on clustering self-adaptive expansion convolutional neural network
CN109191466A (en) A kind of image partition method and system based on spectral clustering

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