[go: up one dir, main page]

CN103208109A - Local restriction iteration neighborhood embedding-based face hallucination method - Google Patents

Local restriction iteration neighborhood embedding-based face hallucination method Download PDF

Info

Publication number
CN103208109A
CN103208109A CN2013101476203A CN201310147620A CN103208109A CN 103208109 A CN103208109 A CN 103208109A CN 2013101476203 A CN2013101476203 A CN 2013101476203A CN 201310147620 A CN201310147620 A CN 201310147620A CN 103208109 A CN103208109 A CN 103208109A
Authority
CN
China
Prior art keywords
resolution
image
image block
low
block
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.)
Granted
Application number
CN2013101476203A
Other languages
Chinese (zh)
Other versions
CN103208109B (en
Inventor
胡瑞敏
江俊君
董小慧
韩镇
陈军
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Wuhan University WHU
Original Assignee
Wuhan University WHU
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Wuhan University WHU filed Critical Wuhan University WHU
Priority to CN201310147620.3A priority Critical patent/CN103208109B/en
Publication of CN103208109A publication Critical patent/CN103208109A/en
Application granted granted Critical
Publication of CN103208109B publication Critical patent/CN103208109B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Image Processing (AREA)

Abstract

一种基于局部约束迭代邻域嵌入的人脸幻构方法,建立高、低分辨率图像块集作为高、低分辨率图像块字典;将输入的低分辨率人脸图像图像块上采样得预估高分辨率图像块,并寻找对应位置的高分辨率图像块字典中最近的K个图像块,用对应的K个低分辨率图像块线性表示输入低分辨率图像块获得权值系数;利用权值系数将K个近邻高分辨率图像块重建出新的预估高分辨率图像块,重复进行直到得到最满意的预估高分辨率图像块;根据低分辨率图像块的位置关系融合成高分辨率图像。本发明在基于位置先验和局部流形约束的基础上同时考虑了两种流形结构,并运用迭代在上一次重建的结果上不断更新K近邻和重建权重,得到了更高质量、与真实情况更为接近的重建效果。

A face illusion method based on local constraint iterative neighborhood embedding, which establishes high and low resolution image block sets as high and low resolution image block dictionaries; Estimate the high-resolution image block, and find the nearest K image blocks in the high-resolution image block dictionary of the corresponding position, and use the corresponding K low-resolution image blocks to linearly represent the input low-resolution image block to obtain the weight coefficient; use The weight coefficient reconstructs K adjacent high-resolution image blocks into a new estimated high-resolution image block, and repeats until the most satisfactory estimated high-resolution image block is obtained; according to the positional relationship of the low-resolution image blocks, it is fused into High resolution images. The present invention considers two manifold structures at the same time on the basis of position prior and local manifold constraints, and uses iteration to continuously update the K nearest neighbors and reconstruction weights on the result of the last reconstruction, and obtains higher quality, closer to real The situation is closer to the reconstruction effect.

Description

一种基于局部约束迭代邻域嵌入的人脸幻构方法A face illusion method based on iterative neighborhood embedding with local constraints

技术领域technical field

本发明涉及图像超分辨率领域,具体涉及一种基于局部约束迭代邻域嵌入的人脸幻构方法。The invention relates to the field of image super-resolution, in particular to a face illusion method based on local constraint iterative neighborhood embedding.

背景技术Background technique

在过去的20年里,人脸识别技术得到了迅速的发展。同时由于视频监控系统有网络带宽有限,服务器存储等限制,导致拍摄到的面部图像分辨率低下,使得能提供的人脸信息十分有限,这成为生物识别技术中最具挑战性的问题之一。最近,超分辨率技术已被用来处理低分辨率(Low-Resolution,LR)图像,它能从一个低分辨率图像序列或单帧低分辨率图像生成一个能为后续识别进程提供更多面部细节的高分辨率(High-Resolution,HR)图像。In the past 20 years, face recognition technology has developed rapidly. At the same time, due to the limited network bandwidth and server storage of the video surveillance system, the resolution of the captured facial images is low, making the face information that can be provided very limited, which has become one of the most challenging problems in biometric technology. Recently, super-resolution technology has been used to process low-resolution (Low-Resolution, LR) images, which can generate a sequence of low-resolution images or a single frame of low-resolution images that can provide more faces for the subsequent recognition process. High-Resolution (HR) images of details.

2000年Baker和Kanade在文献1(S.Baker and T.Kanade.Hallucinating faces.In FG,Grenoble,France,Mar.2000,83-88.)中提出了一种人脸幻构(face hallucination)的方法,利用训练集中人脸图像的先验信息,通过学习的方法获得低分辨率人脸图像对应的高分辨率人脸图像。这是人脸幻构技术领域的开创性工作。在此之后,许多不同的方法和模型被引入,其中最具代表性的技术是Chang等人在文献2(H.Chang,D.Yeung,and Y.Xiong.Super-resolution throughneighbor embedding[A].In Proc.IEEE CVPR’04[C].Washington,2004.275–282.)中提出的一种基于流形学习的方法,他们假设高分辨率图像块和低分辨率图像块拥有相同的局部几何结构,进而利用局部线性嵌入(locally linear embedding,LLE)来学习高低分辨率图像块流形的对应关系。人脸分析与合成的相关理论研究表明,人脸图像的位置信息在人脸分析与合成中非常重要,受此启发,Ma等人在文献3(X.Ma,J.P Zhang,and C.Qi.Hallucinating face byposition-patch.Pattern Recognition,43(6):3178–3194,2010.)和文献4(X.Ma,J.Zhang,and C.Qi,“Position-based face hallucination method,”in Proc.IEEE Conf.on Multimedia and Expo(ICME),2009,pp.290–293.)中提出了一种基于位置块的人脸幻构方法,对给定低分辨率人脸图像某位置的图像块通过训练集人脸图像中所有同一位置的图像块进行线性合成。然而,由于该方法采用最小二乘法进行求解,当训练样本中图像的个数比图像块的维数大时,图像块的表示系数并不唯一。为此,2011年Jung等人在文献5(C.Jung,L.Jiao,B.Liu,and M.Gong,“Position-Patch Based Face Hallucination Using Convex Optimization,”IEEE Signal Process.Lett.,vol.18,no.6,pp.367–370,2011.)中利用稀疏正则化方法获得人脸幻构的最佳重建权重。最近,专利1(胡瑞敏、江俊君、王冰、韩镇、黄克斌、卢涛、王亦民,一种基于局部约束表示的人脸超分辨率重建方法,专利申请号:201110421452.3)中进一步改善了基于位置块的人脸幻构方法,在对图像块进行重建过程中用流形的局部几何约束替换了文献5中的稀疏约束,使重建结果同时具有稀疏性和局部性。到目前为止,这种局部约束表示的人脸幻构方法是效果最好的方法。In 2000, Baker and Kanade proposed a face hallucination in Document 1 (S.Baker and T.Kanade. Hallucinating faces. In FG, Grenoble, France, Mar. 2000, 83-88.) The method uses the prior information of the face images in the training set to obtain the high-resolution face images corresponding to the low-resolution face images through the learning method. This is a pioneering work in the field of face illusion technology. After that, many different methods and models were introduced, among which the most representative technology is Chang et al. in literature 2 (H. Chang, D. Yeung, and Y. Xiong. Super-resolution through neighbor embedding[A]. In Proc.IEEE CVPR'04[C].Washington,2004.275–282.) A method based on manifold learning, they assume that high-resolution image blocks and low-resolution image blocks have the same local geometric structure, Then, locally linear embedding (LLE) is used to learn the correspondence between high and low resolution image patch manifolds. Theoretical research on face analysis and synthesis shows that the location information of face images is very important in face analysis and synthesis. Inspired by this, Ma et al. Hallucinating face by position-patch. Pattern Recognition, 43(6):3178–3194, 2010.) and literature 4 (X.Ma, J. Zhang, and C. Qi, “Position-based face hallucination method,” in Proc. IEEE Conf.on Multimedia and Expo (ICME), 2009, pp.290–293.) proposes a face illusion method based on location blocks, for a given low-resolution face image at a certain position through the image block All image blocks at the same position in the training set face images are linearly synthesized. However, since this method uses the least square method to solve, when the number of images in the training sample is larger than the dimension of the image block, the representation coefficient of the image block is not unique. For this reason, in 2011, Jung et al. published in literature 5 (C.Jung, L.Jiao, B.Liu, and M.Gong, "Position-Patch Based Face Hallucination Using Convex Optimization," IEEE Signal Process. Lett., vol. 18, no.6, pp.367–370, 2011.) using sparse regularization method to obtain the optimal reconstruction weights for face phantom. Recently, in Patent 1 (Hu Ruimin, Jiang Junjun, Wang Bing, Han Zhen, Huang Kebin, Lu Tao, Wang Yimin, a face super-resolution reconstruction method based on local constraint representation, patent application number: 201110421452.3) further improved the position-based block The face phantom method, in the process of reconstructing the image block, replaces the sparse constraint in literature 5 with the local geometric constraint of the manifold, so that the reconstruction result has both sparsity and locality. This method of locally constrained representation face hallucination is by far the best performing method.

无论是使用稀疏表示还是局部约束,以上所提到的方法都是通过探索合理的先验知识,寻找最具代表性的图像块并获得最优权重来进行人脸幻构。因此,如何寻找合理的K个近邻样本图像块并且获得最优权重是人脸幻构技术中最关键的两个环节。以上提到的所有方法,都只考虑了低分辨率图像块流形,而忽略了高分辨率图像块的几何结构信息,使得重建结果缺乏可靠性和判别性。Whether using sparse representation or local constraints, the methods mentioned above perform face hallucination by exploring reasonable prior knowledge, finding the most representative image patches and obtaining optimal weights. Therefore, how to find reasonable K nearest neighbor sample image blocks and obtain optimal weights are the two most critical links in face illusion technology. All the methods mentioned above only consider the manifold of low-resolution image blocks, but ignore the geometric structure information of high-resolution image blocks, making the reconstruction results lack of reliability and discrimination.

发明内容Contents of the invention

本发明目的在于提供一种基于局部约束迭代邻域嵌入的人脸幻构方法。利用整个训练样本图像块作为字典,同时考虑了低分辨率流形结构和高分辨率流形结构的局部几何结构特征,弥补了以往只考虑某一种流形结构的不足,同时经过多次迭代步骤,使重建效果进一步接近原始高分辨率图像。The purpose of the present invention is to provide a face illusion method based on local constraint iterative neighborhood embedding. The entire training sample image block is used as a dictionary, and the local geometric structure characteristics of the low-resolution manifold structure and the high-resolution manifold structure are considered, which makes up for the lack of only considering a certain manifold structure in the past. At the same time, after multiple iterations steps to make the reconstruction effect closer to the original high-resolution image.

为达到上述目的,本发明采用的技术方案是一种基于局部约束迭代邻域嵌入的人脸幻构方法,包括如下步骤:In order to achieve the above object, the technical solution adopted in the present invention is a method of face illusion based on local constraint iterative neighborhood embedding, comprising the following steps:

步骤1,对输入的低分辨率人脸图像进行上采样得到预估高分辨率人脸图像,对输入的低分辨率人脸图像、预估高分辨率人脸图像、低分辨率训练集中的所有低分辨率人脸样本图像以及高分辨率训练集中的所有高分辨率人脸样本图像分别划分相互重叠的图像块;Step 1. Up-sampling the input low-resolution face image to obtain the estimated high-resolution face image. For the input low-resolution face image, the estimated high-resolution face image, and the low-resolution training set All low-resolution face sample images and all high-resolution face sample images in the high-resolution training set are divided into overlapping image blocks;

步骤2,对于输入的低分辨率人脸图像中每个图像块,执行以下步骤得到重构高分辨率图像块,Step 2, for each image block in the input low-resolution face image, perform the following steps to obtain a reconstructed high-resolution image block,

步骤2.1,取低分辨率训练集中每个低分辨率人脸样本图像相应位置的图像块作为样本点,建立低分辨率人脸样本块空间;取高分辨率训练集中每个高分辨率人脸样本图像相应位置的图像块作为样本点,建立高分辨率人脸样本块空间;取预估高分辨率人脸图像相应位置的图像块,得到预估高分辨率图像块;Step 2.1, take the image block at the corresponding position of each low-resolution face sample image in the low-resolution training set as a sample point, and establish a low-resolution face sample block space; take each high-resolution face sample image in the high-resolution training set The image block at the corresponding position of the sample image is used as a sample point to establish a high-resolution face sample block space; the image block at the corresponding position of the estimated high-resolution face image is taken to obtain an estimated high-resolution image block;

步骤2.2,计算上一次迭代所得当前的重构高分辨率图像块在高分辨率人脸样本块空间上的K个最近的图像块,寻找这K个图像块在低分辨率人脸样本块空间中的K个图像块,首次执行步骤2.2时采用步骤2.1所得预估高分辨率图像块作为当前的重构高分辨率图像块;并利用低分辨率人脸样本块空间中的K个图像块对输入的低分辨率图像块进行线性重构,得到最优权值系数;利用最优权值系数以及高分辨率人脸样本块空间上的K个图像块,线性重构得到本次迭代的重构高分辨率图像块;K为预设数值;Step 2.2, calculate the K nearest image blocks of the current reconstructed high-resolution image block in the high-resolution face sample block space obtained in the previous iteration, and find the K image blocks in the low-resolution face sample block space K image blocks in , when step 2.2 is executed for the first time, the estimated high-resolution image block obtained in step 2.1 is used as the current reconstructed high-resolution image block; and K image blocks in the low-resolution face sample block space are used Linearly reconstruct the input low-resolution image block to obtain the optimal weight coefficient; use the optimal weight coefficient and K image blocks in the high-resolution face sample block space to linearly reconstruct to obtain the Reconstructing high-resolution image blocks; K is a preset value;

步骤2.3,根据步骤2.2所得当前的重构高分辨率图像块返回重复步骤2.2,直到迭代次数达到预先设置的值;Step 2.3, according to the current reconstructed high-resolution image block obtained in step 2.2, return to repeat step 2.2 until the number of iterations reaches the preset value;

步骤3,将输入的低分辨率人脸图像中所有图像块分别的相应重构高分辨率图像块按照位置叠加,然后除以每个像素位置交叠的次数,重构出高分辨率人脸图像。Step 3, superimpose the corresponding reconstructed high-resolution image blocks of all image blocks in the input low-resolution face image according to the position, and then divide by the number of overlaps of each pixel position to reconstruct a high-resolution face image.

而且,设对输入的低分辨率人脸图像Xt划分所得图像块集为

Figure BDA00003105196300031
预估高分辨率人脸图像Yt(0)划分所得图像块集为
Figure BDA00003105196300037
对高分辨率训练集中所有高分辨率人脸样本图像分别划分得到高分辨率图像块集Y={yij|1≤i≤N,1≤j≤M},对低分辨率训练集中所有低分辨率人脸样本图像分别划分得到低分辨率图像块集X={xij|1≤i≤N,1≤j≤M};其中,标识i表示高分辨率训练集中高分辨率人脸样本图像的序号和低分辨率训练集中低分辨率人脸样本图像的序号,标识j表示图像上块位置序号;
Figure BDA00003105196300032
是预估高分辨率人脸图像Yt(1)位置j处的图像块,
Figure BDA00003105196300033
是输入的低分辨率人脸图像Xt位置j处的图像块;yij是高分辨率训练集中第i张图像位置j处的图像块,xij是低分辨率训练集中第i张图像位置j处的图像块;低分辨率训练集中低分辨率人脸样本图像的个数和高分辨率训练集中高分辨率人脸样本图像的个数都记为N,M为每幅图像划分图像块的块数;Moreover, it is assumed that the image block set obtained by dividing the input low-resolution face image X t is
Figure BDA00003105196300031
It is estimated that the image block set obtained by dividing the high-resolution face image Y t (0) is
Figure BDA00003105196300037
Divide all high-resolution face sample images in the high-resolution training set to obtain a high-resolution image block set Y={y ij |1≤i≤N, 1≤j≤M}, and for all low-resolution training sets The high-resolution face sample images are respectively divided to obtain a low-resolution image block set X={x ij |1≤i≤N, 1≤j≤M}; where, the identifier i represents the high-resolution face sample in the high-resolution training set The serial number of the image and the serial number of the low-resolution face sample image in the low-resolution training set, and the mark j represents the serial number of the block position on the image;
Figure BDA00003105196300032
is the image block at position j of the estimated high-resolution face image Y t (1),
Figure BDA00003105196300033
is the image block at position j of the input low-resolution face image X t ; y ij is the image block at position j of the i-th image in the high-resolution training set, x ij is the position of the i-th image in the low-resolution training set The image block at j; the number of low-resolution face sample images in the low-resolution training set and the number of high-resolution face sample images in the high-resolution training set are recorded as N, and M is divided into image blocks for each image the number of blocks;

步骤2中,对输入的低分辨率人脸图像中任一图像块

Figure BDA00003105196300038
执行以下子步骤,In step 2, any image block in the input low-resolution face image
Figure BDA00003105196300038
Perform the following sub-steps,

步骤2.1,令迭代次数p的初始值为1;对输入的低分辨率人脸图像中的任一位置的图像块

Figure BDA00003105196300039
建立低分辨率人脸样本块空间Xj={xij|1≤i≤N}作为低分辨率图像块字典,建立高分辨率人脸样本块空间Yj={yij|1≤i≤N}作为高分辨率图像块字典,寻找相应位置预估高分辨率图像块
Figure BDA00003105196300034
其中 { y j t ( 1 ) = Bicubic ( x j t ) | 1 ≤ j ≤ M } ; Step 2.1, let the initial value of the number of iterations p be 1; for an image block at any position in the input low-resolution face image
Figure BDA00003105196300039
Establish the low-resolution face sample block space X j ={x ij |1≤i≤N} as the low-resolution image block dictionary, and establish the high-resolution face sample block space Y j ={y ij |1≤i≤ N} as a high-resolution image block dictionary, looking for the corresponding position to estimate the high-resolution image block
Figure BDA00003105196300034
in { the y j t ( 1 ) = Bicubic ( x j t ) | 1 ≤ j ≤ m } ;

步骤2.2,利用上一次迭代时执行步骤2.2得到的重构高分辨率图像块,计算本次迭代的重构高分辨率图像块,包括以下子步骤:Step 2.2, using the reconstructed high-resolution image block obtained by performing step 2.2 in the previous iteration, to calculate the reconstructed high-resolution image block of this iteration, including the following sub-steps:

步骤2.2.1,根据当前的重构高分辨率图像块

Figure BDA00003105196300036
计算与相应位置的高分辨率图像块字典Yj={yij|1≤i≤N}中各图像块的距离,并寻找距离最小的K个图像块如下,Step 2.2.1, according to the current reconstructed high-resolution image patch
Figure BDA00003105196300036
Calculate the distance from each image block in the high-resolution image block dictionary Y j ={y ij |1≤i≤N} at the corresponding position, and find the K image blocks with the smallest distance as follows,

distdist (( pp )) == || || ythe y jj tt (( pp )) -- ythe y ijij || || 22 ,, ii == 11 ,, ·&Center Dot; ·&Center Dot; ·· ,, NN

NN KK (( ythe y jj tt (( pp )) )) == supportsupport (( distdist || KK ))

其中,dist(p)∈RN,dist(p)表示重构高分辨率图像块

Figure BDA00003105196300043
与高分辨率图像块字典中各图像块yij的距离,RN表示N维实数空间;dist|K表示dist(p)中最小的K个值,
Figure BDA00003105196300044
是当前的高分辨率图像块与高分辨率图像块字典中距离最小的K个图像块的索引集合;Among them, dist(p)∈R N , dist(p) represents the reconstructed high-resolution image block
Figure BDA00003105196300043
The distance from each image block y ij in the high-resolution image block dictionary, R N represents the N-dimensional real number space; dist| K represents the smallest K values in dist(p),
Figure BDA00003105196300044
is the current high-resolution image patch An index set of K image blocks with the smallest distance in the high-resolution image block dictionary;

第一次执行步骤2.2.1时,当前的重构高分辨率图像块

Figure BDA00003105196300046
采用预估高分辨率图像块
Figure BDA00003105196300047
之后执行步骤2.2.1时,当前的重构高分辨率图像块
Figure BDA00003105196300048
为上一次迭代时执行步骤2.2.3得到的重构高分辨率图像块;When step 2.2.1 is performed for the first time, the current reconstructed high-resolution image patch
Figure BDA00003105196300046
Using estimated high-resolution image patches
Figure BDA00003105196300047
After performing step 2.2.1, the current reconstructed high-resolution image block
Figure BDA00003105196300048
The reconstructed high-resolution image block obtained by performing step 2.2.3 during the previous iteration;

步骤2.2.2,寻找步骤2.2.1所得集合

Figure BDA00003105196300049
中K个图像块yk分别在低分辨率图像块字典中的对应图像块xk,并对图像块
Figure BDA000031051963000410
进行线性重构,得到最优权值系数
Figure BDA000031051963000411
如下式,Step 2.2.2, find the set obtained in step 2.2.1
Figure BDA00003105196300049
The corresponding image blocks x k of the K image blocks y k in the low-resolution image block dictionary, and the image blocks
Figure BDA000031051963000410
Perform linear reconstruction to obtain the optimal weight coefficient
Figure BDA000031051963000411
as follows,

Figure BDA000031051963000412
Figure BDA000031051963000412

其中,

Figure BDA000031051963000413
返回关于权值系数w(p)的函数在得到最小值时w(p)的取值,wk(p)表示权值系数w(p)中对应xk的分量,τ是平衡重建误差和局部约束的正则化参数;in,
Figure BDA000031051963000413
Returns the value of w(p) when the function about the weight coefficient w(p) obtains the minimum value, w k (p) represents the component corresponding to x k in the weight coefficient w(p), τ is the balance reconstruction error and Locally constrained regularization parameters;

步骤2.2.3,通过下式来重建本次迭代的重构高分辨率图像块,In step 2.2.3, the reconstructed high-resolution image block of this iteration is reconstructed by the following formula,

ythe y jj tt (( pp ++ 11 )) == ΣΣ ythe y kk ∈∈ NN KK (( ythe y jj tt (( pp )) )) ww ^^ kk (( pp )) ythe y kk

其中,

Figure BDA000031051963000415
是步骤2.2.2所得最优权值系数
Figure BDA000031051963000416
中对应图像块yk的分量;in,
Figure BDA000031051963000415
is the optimal weight coefficient obtained in step 2.2.2
Figure BDA000031051963000416
The component corresponding to the image block y k in ;

步骤2.3,判断迭代次数是否达到预先设置的值,否则令p=p+1,根据本次迭代中在步骤2.2.3所得重构高分辨率图像块返回重复步骤2.2进行下一次迭代;是将本次迭代中在步骤2.2.3所得重构高分辨率图像块作为最终所得的重构高分辨率图像块,结束迭代。Step 2.3, judge whether the number of iterations reaches the preset value, otherwise set p=p+1, return to repeat step 2.2 for the next iteration according to the reconstructed high-resolution image block obtained in step 2.2.3 in this iteration; In this iteration, the reconstructed high-resolution image block obtained in step 2.2.3 is used as the final reconstructed high-resolution image block, and the iteration ends.

本发明提出的一种基于局部约束迭代邻域嵌入的人脸幻构方法,不同于以前只考虑了低分辨率图像的流形结构的方法,增加了高分辨率图像流形结构对重建系数的约束,在揭示高低分辨率人脸流形空间内在结构相似性的同时,也利用了两种流形空间的本质差异,使重建结果具有更强的判别性;通过迭代的方法不断对重建权重和近邻点进行更新,选择更能代表目标高分辨率图像块的近邻点和重建系数,最终得到与真实情况更为接近的高分辨率图像。本方法改进了传统的邻域嵌入方法,使输入图像块的表示系数更加精确,最终获得更高质量的高分辨率人脸图像。A face phantom method based on local constraint iterative neighborhood embedding proposed by the present invention is different from previous methods that only consider the manifold structure of low-resolution images, and increases the impact of high-resolution image manifold structure on reconstruction coefficients. Constraints, while revealing the inherent structural similarity of the high- and low-resolution face manifold spaces, it also makes use of the essential differences between the two manifold spaces to make the reconstruction results more discriminative; the reconstruction weight and The neighbor points are updated, and the neighbor points and reconstruction coefficients that are more representative of the target high-resolution image block are selected, and finally a high-resolution image that is closer to the real situation is obtained. This method improves the traditional neighborhood embedding method, makes the representation coefficients of the input image blocks more accurate, and finally obtains higher-quality high-resolution face images.

附图说明Description of drawings

图1为本发明实施例的流程图。Fig. 1 is a flowchart of an embodiment of the present invention.

具体实施方式Detailed ways

本发明技术方案可采用软件技术实现自动流程运行。下面结合附图和实施例对本发明技术方案进一步详细说明。参见图1,本发明实施例具体步骤如下:The technical scheme of the present invention can adopt software technology to realize automatic flow operation. The technical solution of the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. Referring to Fig. 1, the specific steps of the embodiment of the present invention are as follows:

步骤1,对输入的低分辨率人脸图像进行初始化,即Bicubic上采样得到预估高分辨率人脸图像,对输入的低分辨率人脸图像、预估高分辨率人脸图像、低分辨率训练集中的所有低分辨率人脸样本图像以及高分辨率训练集中的所有高分辨率人脸样本图像以同样的方式划分相互重叠的图像块;Step 1, initialize the input low-resolution face image, that is, Bicubic upsampling to obtain the estimated high-resolution face image, and input low-resolution face image, estimated high-resolution face image, low-resolution All low-resolution face sample images in the high-resolution training set and all high-resolution face sample images in the high-resolution training set are divided into overlapping image blocks in the same way;

低分辨率训练集和高分辨率训练集提供预先设定的训练样本对,低分辨率训练集中包含低分辨率人脸样本图像,高分辨率训练集中包含高分辨率人脸样本图像。实施例中,所有高分辨率人脸样本图像为经过对齐配准的人脸图像(可事先手工对齐眼睛或嘴巴部位),像素大小为112×100。低分辨率训练集中每个低分辨率人脸样本图像由高分辨率训练集中的一个高分辨率人脸样本图像以4×4平滑滤波并4倍下采样得到,低分辨率图像像素大小为28×25。相应的,输入的低分辨率人脸图像像素大小为28×25,也可预先与高分辨率人脸样本图像的人脸位置对齐配准,预估高分辨率人脸图像像素大小为112×100。重叠划分属于本领域常用技术,具体实施时,本领域技术人员可指定重叠像素尺寸。实施例统一将所有高分辨率人脸样本图像和预估高分辨率人脸图像的高分辨率图像块大小定为12×12,重叠像素值设为4,所有低分辨率人脸样本图像和输入的低分辨率人脸图像的低分辨率图像块大小为3×3,重叠像素值为1。The low-resolution training set and the high-resolution training set provide preset training sample pairs, the low-resolution training set contains low-resolution face sample images, and the high-resolution training set contains high-resolution face sample images. In the embodiment, all high-resolution human face sample images are aligned and registered human face images (eyes or mouth parts can be manually aligned in advance), and the pixel size is 112×100. Each low-resolution face sample image in the low-resolution training set is obtained from a high-resolution face sample image in the high-resolution training set with 4×4 smooth filtering and 4 times downsampling, and the pixel size of the low-resolution image is 28 ×25. Correspondingly, the pixel size of the input low-resolution face image is 28×25, and it can also be pre-aligned and registered with the face position of the high-resolution face sample image. The estimated pixel size of the high-resolution face image is 112× 100. Overlap division is a common technique in the art, and those skilled in the art can specify the overlapping pixel size during specific implementation. In the embodiment, the high-resolution image block size of all high-resolution face sample images and estimated high-resolution face images is set to 12×12, and the overlapping pixel value is set to 4. All low-resolution face sample images and The low-resolution image patch size of the input low-resolution face image is 3×3, and the overlapping pixel value is 1.

实施例中,对输入的低分辨率人脸图像Xt划分相互重叠的图像块后所构成的图像块集为

Figure BDA00003105196300051
M为图像块数。对输入低分辨率人脸图像进行Bicubic上采样,得到预估高分辨率人脸图像Yt(1)=Bicubic(Xt),对其用相同的方法划分相互重叠的图像块后得到与低分辨率图像块集对应的预估高分辨率人脸图像块集
Figure BDA00003105196300052
对高、低分辨率训练集中人脸样本图像用相同的方法分别划分相互重叠的图像块后得到高分辨率图像块集Y={yij|1≤i≤N,1≤j≤M}和低分辨率图像块集X={xij|1≤i≤N,1≤j≤M},其中,标识i表示高分辨率训练集中高分辨率人脸样本图像的序号和低分辨率训练集中低分辨率人脸样本图像的序号,标识j表示每张图像上的块位置序号。是预估高分辨率人脸图像Yt(1)位置j处的图像块,
Figure BDA00003105196300062
是输入的低分辨率人脸图像Xt位置j处的图像块,yij、xij分别是高、低分辨率训练集中第i张图像位置j处的图像块,低分辨率训练集中低分辨率人脸样本图像的个数和高分辨率训练集中高分辨率人脸样本图像的个数都记为N,M为每幅图像划分图像块的块数;In an embodiment, the image block set formed after dividing the input low-resolution face image X t into overlapping image blocks is
Figure BDA00003105196300051
M is the number of image blocks. Bicubic upsampling is performed on the input low-resolution face image to obtain an estimated high-resolution face image Y t (1)=Bicubic(X t ), and the same method is used to divide the overlapping image blocks to obtain the low The estimated high-resolution face image patch set corresponding to the high-resolution image patch set
Figure BDA00003105196300052
For the face sample images in the high-resolution and low-resolution training sets, use the same method to divide overlapping image blocks to obtain the high-resolution image block set Y={y ij |1≤i≤N, 1≤j≤M} and Low-resolution image block set X={x ij |1≤i≤N, 1≤j≤M}, wherein, the identifier i represents the serial number of the high-resolution face sample image in the high-resolution training set and the sequence number of the high-resolution face sample image in the low-resolution training set The serial number of the low-resolution face sample image, and the identifier j indicates the serial number of the block position on each image. is the image block at position j of the estimated high-resolution face image Y t (1),
Figure BDA00003105196300062
is the image block at position j of the input low-resolution face image X t , y ij and x ij are the image block at position j of the i-th image in the high- and low-resolution training set, respectively, and the low-resolution training set in the low-resolution training set The number of high-resolution human face sample images and the number of high-resolution human face sample images in the high-resolution training set are all recorded as N, and M is the number of blocks divided into image blocks for each image;

步骤2,对于输入的低分辨率人脸图像中任一图像块

Figure BDA00003105196300063
执行以下子步骤得到相应的重构高分辨率图像块:Step 2, for any image block in the input low-resolution face image
Figure BDA00003105196300063
Perform the following sub-steps to obtain the corresponding reconstructed high-resolution image patches:

步骤2.1,取低分辨率训练集中每个低分辨率人脸样本图像相应位置的图像块作为样本点,建立低分辨率人脸样本块空间,取高分辨率训练集中每个高分辨率人脸样本图像相应位置的图像块作为样本点,建立高分辨率人脸样本块空间,取预估高分辨率人脸图像相应位置的图像块,得到预估的高分辨率图像块;令迭代次数p的初始值为1;Step 2.1, take the image block corresponding to the position of each low-resolution face sample image in the low-resolution training set as a sample point, establish a low-resolution face sample block space, and take each high-resolution face sample image in the high-resolution training set The image block at the corresponding position of the sample image is used as the sample point, and the high-resolution face sample block space is established, and the image block at the corresponding position of the estimated high-resolution face image is taken to obtain the estimated high-resolution image block; let the number of iterations p The initial value of is 1;

实施例中,对输入的低分辨率人脸图像中的某个位置图像块建立低分辨率人脸样本块空间Xj={xij|1≤i≤N}作为低分辨率图像块字典、高分辨率人脸样本块空间Yj={yij|1≤i≤N}作为高分辨率图像块字典,寻找相应位置预估高分辨率图像块

Figure BDA00003105196300065
其中 { y j t ( 1 ) = Bicubic ( x j t ) | 1 ≤ j ≤ M } ; In an embodiment, for a certain position image block in the input low-resolution face image Establish the low-resolution face sample block space X j ={x ij |1≤i≤N} as the low-resolution image block dictionary, and the high-resolution face sample block space Y j ={y ij |1≤i≤N } as a high-resolution image block dictionary, looking for the corresponding position to estimate the high-resolution image block
Figure BDA00003105196300065
in { the y j t ( 1 ) = Bicubic ( x j t ) | 1 ≤ j ≤ m } ;

步骤2.2,利用上一次迭代时执行步骤2.2得到的重构高分辨率图像块,计算其对应的本次迭代目标,即本次迭代的重构高分辨率图像块,包括以下子步骤:Step 2.2, use the reconstructed high-resolution image block obtained in step 2.2 in the previous iteration to calculate its corresponding target for this iteration, that is, the reconstructed high-resolution image block for this iteration, including the following sub-steps:

步骤2.2.1,根据当前的重构高分辨率图像块计算其与相应位置的高分辨率图像块字典Yj={yij|1≤i≤N}中各图像块的距离,并寻找其中距离最小的K个图像块,即K个最近邻,方法如下,Step 2.2.1, according to the current reconstructed high-resolution image patch Calculate the distance between it and each image block in the high-resolution image block dictionary Y j ={y ij |1≤i≤N} at the corresponding position, and find the K image blocks with the smallest distance, that is, the K nearest neighbors, the method as follows,

distdist (( pp )) == || || ythe y jj tt (( pp )) -- ythe y ijij || || 22 ,, ii == 11 ,, ·&Center Dot; ·&Center Dot; ·&Center Dot; ,, NN

NN KK (( ythe y jj tt (( pp )) )) == supportsupport (( distdist || KK ))

其中,dist(p)∈RN,dist(p)表示重构高分辨率图像块与高分辨率图像块字典中各图像块yij的距离,RN表示N维实数空间;dist|K表示dist(p)中最小的K个值,||·||2表示二范数,

Figure BDA000031051963000611
是当前的重构高分辨率图像块
Figure BDA000031051963000612
与高分辨率图像块字典中距离最小的K个图像块的索引集合,p是当前的迭代次数。K可由本领域技术人员预设数值,本实施例中,K设为150。Among them, dist(p)∈R N , dist(p) represents the reconstructed high-resolution image block The distance from each image block y ij in the high-resolution image block dictionary, R N represents the N-dimensional real number space; dist| K represents the smallest K values in dist(p), ||·|| 2 represents the two-norm,
Figure BDA000031051963000611
is the current reconstructed high-resolution image patch
Figure BDA000031051963000612
Index set of K image blocks with the smallest distance in the high-resolution image block dictionary, p is the current iteration number. K can be preset by those skilled in the art. In this embodiment, K is set to 150.

第一次执行步骤2.2.1时,当前的重构高分辨率图像块

Figure BDA00003105196300071
采用对输入图像的图像块
Figure BDA00003105196300072
获得的预估高分辨率人脸图像Yt(0)中相应预估高分辨率图像块
Figure BDA00003105196300073
之后执行步骤2.2.1时,当前的重构高分辨率图像块
Figure BDA00003105196300074
即上一次迭代时执行步骤2.2.3得到的重构高分辨率图像块。When step 2.2.1 is performed for the first time, the current reconstructed high-resolution image patch
Figure BDA00003105196300071
Image blocks of the input image are used
Figure BDA00003105196300072
The corresponding estimated high-resolution image block in the obtained estimated high-resolution face image Y t (0)
Figure BDA00003105196300073
After performing step 2.2.1, the current reconstructed high-resolution image block
Figure BDA00003105196300074
That is, the reconstructed high-resolution image block obtained by performing step 2.2.3 in the previous iteration.

步骤2.2.2,寻找步骤2.2.1所得集合

Figure BDA00003105196300075
中K个高分辨率的图像块分别在低分辨率图像块字典中对应的低分辨率的图像块,并利用它们对图像块
Figure BDA00003105196300076
进行线性重构,得到重构的最优权值系数
Figure BDA00003105196300077
方法如下:Step 2.2.2, find the set obtained in step 2.2.1
Figure BDA00003105196300075
The K high-resolution image blocks correspond to the low-resolution image blocks in the low-resolution image block dictionary, and use them to map the image block
Figure BDA00003105196300076
Perform linear reconstruction to obtain the optimal weight coefficient for reconstruction
Figure BDA00003105196300077
Methods as below:

Figure BDA00003105196300078
Figure BDA00003105196300078

其中,返回关于权值系数w(p)的函数在得到最小值时w(p)的取值,即所要求的最优权值系数

Figure BDA000031051963000710
xk是K个高分辨率图像块之一yk所对应的低分辨率的图像块,wk(p)表示权值系数w(p)中对应xk的分量,“ο”表示两个向量之间的内积运算,
Figure BDA000031051963000711
表示对二范数||·||2的结果求平方,τ是平衡重建误差和局部约束的正则化参数,τ建议取值1e-5。in, Returns the value of w(p) when the function about the weight coefficient w(p) gets the minimum value, that is, the required optimal weight coefficient
Figure BDA000031051963000710
x k is the low-resolution image block corresponding to one of the K high-resolution image blocks y k , w k (p) represents the component corresponding to x k in the weight coefficient w (p), and "ο" represents two Inner product operation between vectors,
Figure BDA000031051963000711
Represents the square of the result of the two-norm ||·|| 2 , τ is a regularization parameter to balance the reconstruction error and local constraints, and τ is recommended to take a value of 1e-5.

步骤2.2.3,在得到最优权值系数

Figure BDA000031051963000712
后,可以通过下式来重建本次迭代的重构高分辨率图像块,即新的当前重构高分辨率图像块,Step 2.2.3, after obtaining the optimal weight coefficient
Figure BDA000031051963000712
Finally, the reconstructed high-resolution image block of this iteration can be reconstructed by the following formula, that is, the new current reconstructed high-resolution image block,

ythe y jj tt (( pp ++ 11 )) == ΣΣ ythe y kk ∈∈ NN KK (( ythe y jj tt (( pp )) )) ww ^^ kk (( pp )) ythe y kk

其中,

Figure BDA000031051963000714
是本次迭代中执行步骤2.2.2所求的最优权值系数
Figure BDA000031051963000715
中对应某一个高分辨率的图像块yk的分量。in,
Figure BDA000031051963000714
is the optimal weight coefficient obtained by performing step 2.2.2 in this iteration
Figure BDA000031051963000715
Corresponding to the component of a certain high-resolution image block y k .

步骤2.3,判断迭代次数是否达到预先设置的值,否则令p=p+1,根据本次迭代中在步骤2.2.3所得重构高分辨率图像块返回重复步骤2.2进行下一次迭代;是将本次迭代中在步骤2.2.3所得重构高分辨率图像块作为最终所得的重构高分辨率图像块,结束迭代;Step 2.3, judge whether the number of iterations reaches the preset value, otherwise set p=p+1, return to repeat step 2.2 for the next iteration according to the reconstructed high-resolution image block obtained in step 2.2.3 in this iteration; In this iteration, the reconstructed high-resolution image block obtained in step 2.2.3 is used as the final reconstructed high-resolution image block, and the iteration ends;

步骤3,将所有加权重构出的高分辨率图像块按照位置叠加,然后除以每个像素位置交叠的次数,重构出高分辨率人脸图像。In step 3, all weighted reconstructed high-resolution image blocks are superimposed according to position, and then divided by the number of overlaps of each pixel position to reconstruct a high-resolution face image.

本发明实施例中主要涉及三个参数,即最近投影点数K、正则化参数τ和迭代次数。实验表明,当K取150时,可以获得较好的重构效果;当正则化参数τ位于1e-6~1e-3之间时,我们的方法可以获得稳定的性能,同时,为了保证重建误差尽可能小,将参数τ定为1e-5来获得最好的效果;随着迭代次数的增大,实验所得PSNR值的也在不断增大,当迭代次数增大都一定程度时,PSNR值趋近稳定,为了尽可能取得最好效果的同时降低计算复杂度,建议迭代次数定为6。The embodiment of the present invention mainly involves three parameters, that is, the number of nearest projection points K, the regularization parameter τ, and the number of iterations. Experiments show that when K is 150, better reconstruction results can be obtained; when the regularization parameter τ is between 1e-6 and 1e-3, our method can obtain stable performance. At the same time, in order to ensure the reconstruction error As small as possible, the parameter τ is set to 1e-5 to obtain the best effect; with the increase of the number of iterations, the PSNR value obtained from the experiment is also increasing. When the number of iterations increases to a certain extent, the PSNR value tends to Nearly stable, in order to achieve the best results as possible while reducing computational complexity, it is recommended to set the number of iterations to 6.

为了验证本发明的有效性,采用CAS-PEAL-R1大规模中国人脸数据库(文献6:W.Gao,B.Cao,S.Shan,X.Chen,et al.The CAS-PEAL Large-Scale Chinese Face Database and BaselineEvaluations[J].IEEE Trans.SMC(Part A),2008,38(1):149-161)进行实验,选用所有1040个个体的中性表情、正常光照下的正面人脸图像。抠取人脸区域并将其裁剪成112×100像素,再手工标定人脸上的五个特征点(两眼中心、鼻尖和两个嘴角)并进行仿射变换对齐,得到原始的高分辨率人脸图像。低分辨率人脸图像由高分辨率人脸图像4倍Bicubic下采样后再4倍Bicubic上采样得到。随机选择1000张作为训练样本,将剩余40张作为测试图像。我们将本发明得到的重构效果与Wang的全局脸方法(文献7,X.Wang and X.Tang,“Hallucinating face byeigentransformation,”IEEE Trans.Systems,Man,and Cybernetics.Part C,vol.35,no.3,pp.425–434,2005.)和一些基于块位置的方法进行对比,例如邻域嵌入方法(NE,文献2)、最小二乘方法(LSR,文献3)、稀疏表示法(SR,文献5)和局部约束表示法(LcR,专利1)等。In order to verify the effectiveness of the present invention, the CAS-PEAL-R1 large-scale Chinese face database (document 6: W.Gao, B.Cao, S.Shan, X.Chen, et al. The CAS-PEAL Large-Scale Chinese Face Database and BaselineEvaluations[J].IEEE Trans.SMC(Part A),2008,38(1):149-161) for experiments, using all 1040 individuals with neutral expressions and frontal face images under normal lighting . Cut out the face area and crop it into 112×100 pixels, then manually mark five feature points on the face (the center of the eyes, the tip of the nose, and the two corners of the mouth) and perform affine transformation alignment to obtain the original high-resolution face image. The low-resolution face image is obtained by downsampling the high-resolution face image by 4 times Bicubic and then upsampling it by 4 times Bicubic. 1000 images are randomly selected as training samples, and the remaining 40 images are used as test images. We compared the reconstruction effect obtained by the present invention with Wang's global face method (document 7, X.Wang and X.Tang, "Hallucinating face by eigen transformation," IEEE Trans.Systems, Man, and Cybernetics.Part C, vol.35, no.3, pp.425–434, 2005.) and some methods based on block locations, such as neighborhood embedding method (NE, literature 2), least squares method (LSR, literature 3), sparse representation ( SR, Document 5) and Local Constraint Representation (LcR, Patent 1), etc.

实验采用峰值信噪比(Peak Signal to Noise Ratio,PSNR)来衡量对比算法的优劣,SSIM则是衡量两幅图相似度的指标,其值越接近于1,说明图像重建的效果越好。比较以上方法对全部40张测试图像处理获得的平均PSNR和SSIM值,全局脸,邻域嵌入,最小二乘,稀疏表示,局部约束表示等方法和本发明方法的平均PSNR值依次为26.53,27.90,28.17,28.27,28.84,29.33;全局脸,邻域嵌入,最小二乘,稀疏表示,局部约束等方法和本发明方法的平均SSIM值依次为0.8247,0.8868,0.8975,0.8968,0.9083,0.9140。本发明方法比当对比方法中最好的算法(专利1)在PSNR和SSIM值上分别提高0.49个dB和0.006。由此可见,本发明方法较其他已有的方法相比,效果有了显著的提高。The experiment uses Peak Signal to Noise Ratio (PSNR) to measure the pros and cons of the comparison algorithm, and SSIM is an index to measure the similarity between two images. The closer the value is to 1, the better the image reconstruction effect is. Comparing the average PSNR and SSIM values obtained by processing all 40 test images by the above method, the average PSNR values of global face, neighborhood embedding, least squares, sparse representation, local constraint representation and the method of the present invention are 26.53, 27.90 , 28.17, 28.27, 28.84, 29.33; the average SSIM values of methods such as global face, neighborhood embedding, least squares, sparse representation, local constraints and the method of the present invention are 0.8247, 0.8868, 0.8975, 0.8968, 0.9083, 0.9140. Compared with the best algorithm (patent 1) in the comparative method, the method of the present invention improves PSNR and SSIM values by 0.49 dB and 0.006 respectively. It can be seen that, compared with other existing methods, the effect of the method of the present invention has been significantly improved.

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

Claims (2)

1.一种基于局部约束迭代邻域嵌入的人脸幻构方法,其特征在于,包括如下步骤:1. a kind of face illusion construction method based on local constraint iterative neighborhood embedding, it is characterized in that, comprises the steps: 步骤1,对输入的低分辨率人脸图像进行上采样得到预估高分辨率人脸图像,对输入的低分辨率人脸图像、预估高分辨率人脸图像、低分辨率训练集中的所有低分辨率人脸样本图像以及高分辨率训练集中的所有高分辨率人脸样本图像分别划分相互重叠的图像块;Step 1. Up-sampling the input low-resolution face image to obtain the estimated high-resolution face image. For the input low-resolution face image, the estimated high-resolution face image, and the low-resolution training set All low-resolution face sample images and all high-resolution face sample images in the high-resolution training set are divided into overlapping image blocks; 步骤2,对于输入的低分辨率人脸图像中每个图像块,执行以下步骤得到重构高分辨率图像块,Step 2, for each image block in the input low-resolution face image, perform the following steps to obtain a reconstructed high-resolution image block, 步骤2.1,取低分辨率训练集中每个低分辨率人脸样本图像相应位置的图像块作为样本点,建立低分辨率人脸样本块空间;取高分辨率训练集中每个高分辨率人脸样本图像相应位置的图像块作为样本点,建立高分辨率人脸样本块空间;取预估高分辨率人脸图像相应位置的图像块,得到预估高分辨率图像块;Step 2.1, take the image block at the corresponding position of each low-resolution face sample image in the low-resolution training set as a sample point, and establish a low-resolution face sample block space; take each high-resolution face sample image in the high-resolution training set The image block at the corresponding position of the sample image is used as a sample point to establish a high-resolution face sample block space; the image block at the corresponding position of the estimated high-resolution face image is taken to obtain an estimated high-resolution image block; 步骤2.2,计算上一次迭代所得当前的重构高分辨率图像块在高分辨率人脸样本块空间上的K个最近的图像块,寻找这K个图像块在低分辨率人脸样本块空间中的K个图像块,首次执行步骤2.2时采用步骤2.1所得预估高分辨率图像块作为当前的重构高分辨率图像块;并利用低分辨率人脸样本块空间中的K个图像块对输入的低分辨率图像块进行线性重构,得到最优权值系数;利用最优权值系数以及高分辨率人脸样本块空间上的K个图像块,线性重构得到本次迭代的重构高分辨率图像块;K为预设数值;Step 2.2, calculate the K nearest image blocks of the current reconstructed high-resolution image block in the high-resolution face sample block space obtained in the previous iteration, and find the K image blocks in the low-resolution face sample block space K image blocks in , when step 2.2 is executed for the first time, the estimated high-resolution image block obtained in step 2.1 is used as the current reconstructed high-resolution image block; and K image blocks in the low-resolution face sample block space are used Linearly reconstruct the input low-resolution image block to obtain the optimal weight coefficient; use the optimal weight coefficient and K image blocks in the high-resolution face sample block space to linearly reconstruct to obtain the optimal weight coefficient of this iteration. Reconstructing high-resolution image blocks; K is a preset value; 步骤2.3,根据步骤2.2所得当前的重构高分辨率图像块返回重复步骤2.2,直到迭代次数达到预先设置的值;Step 2.3, according to the current reconstructed high-resolution image block obtained in step 2.2, return to repeat step 2.2 until the number of iterations reaches the preset value; 步骤3,将输入的低分辨率人脸图像中所有图像块分别的相应重构高分辨率图像块按照位置叠加,然后除以每个像素位置交叠的次数,重构出高分辨率人脸图像。Step 3, superimpose the corresponding reconstructed high-resolution image blocks of all image blocks in the input low-resolution face image according to the position, and then divide by the number of overlaps of each pixel position to reconstruct a high-resolution face image. 2.根据权利要求1所述基于局部约束迭代邻域嵌入的人脸幻构方法,其特征在于:2. according to claim 1, based on the human face magic construction method of local constraint iterative neighborhood embedding, it is characterized in that: 设对输入的低分辨率人脸图像Xt划分所得图像块集为
Figure FDA00003105196200011
预估高分辨率人脸图像Yt(0)划分所得图像块集为
Figure FDA00003105196200012
对高分辨率训练集中所有高分辨率人脸样本图像分别划分得到高分辨率图像块集Y={yij|1≤i≤N,1≤j≤M},对低分辨率训练集中所有低分辨率人脸样本图像分别划分得到低分辨率图像块集X={xij|1≤i≤N,1≤j≤M};其中,标识i表示高分辨率训练集中高分辨率人脸样本图像的序号和低分辨率训练集中低分辨率人脸样本图像的序号,标识j表示图像上块位置序号;
Figure FDA00003105196200021
是预估高分辨率人脸图像Yt(1)位置j处的图像块,
Figure FDA00003105196200022
是输入的低分辨率人脸图像Xt位置j处的图像块;yij是高分辨率训练集中第i张图像位置j处的图像块,xij是低分辨率训练集中第i张图像位置j处的图像块;低分辨率训练集中低分辨率人脸样本图像的个数和高分辨率训练集中高分辨率人脸样本图像的个数都记为N,M为每幅图像划分图像块的块数;
Let the image block set obtained by dividing the input low-resolution face image X t be
Figure FDA00003105196200011
It is estimated that the image block set obtained by dividing the high-resolution face image Y t (0) is
Figure FDA00003105196200012
Divide all high-resolution face sample images in the high-resolution training set to obtain a high-resolution image block set Y={y ij |1≤i≤N, 1≤j≤M}, and for all low-resolution training sets The high-resolution face sample images are respectively divided to obtain a low-resolution image block set X={x ij |1≤i≤N, 1≤j≤M}; where, the identifier i represents the high-resolution face sample in the high-resolution training set The serial number of the image and the serial number of the low-resolution face sample image in the low-resolution training set, and the mark j represents the serial number of the block position on the image;
Figure FDA00003105196200021
is the image block at position j of the estimated high-resolution face image Y t (1),
Figure FDA00003105196200022
is the image block at position j of the input low-resolution face image X t ; y ij is the image block at position j of the i-th image in the high-resolution training set, x ij is the position of the i-th image in the low-resolution training set The image block at j; the number of low-resolution face sample images in the low-resolution training set and the number of high-resolution face sample images in the high-resolution training set are recorded as N, and M is divided into image blocks for each image the number of blocks;
步骤2中,对输入的低分辨率人脸图像中任一图像块
Figure FDA000031051962000218
执行以下子步骤,
In step 2, any image block in the input low-resolution face image
Figure FDA000031051962000218
Perform the following sub-steps,
步骤2.1,令迭代次数p的初始值为1;对输入的低分辨率人脸图像中的任一位置的图像块
Figure FDA00003105196200023
建立低分辨率人脸样本块空间Xj={xij|1≤i≤N}作为低分辨率图像块字典,建立高分辨率人脸样本块空间Yj={yij|1≤i≤N}作为高分辨率图像块字典,寻找相应位置预估高分辨率图像块
Figure FDA00003105196200024
其中 { y j t ( 1 ) = Bicubic ( x j t ) | 1 ≤ j ≤ M } ;
Step 2.1, let the initial value of the number of iterations p be 1; for an image block at any position in the input low-resolution face image
Figure FDA00003105196200023
Establish the low-resolution face sample block space X j ={x ij |1≤i≤N} as the low-resolution image block dictionary, and establish the high-resolution face sample block space Y j ={y ij |1≤i≤ N} as a high-resolution image block dictionary, looking for the corresponding position to estimate the high-resolution image block
Figure FDA00003105196200024
in { the y j t ( 1 ) = Bicubic ( x j t ) | 1 ≤ j ≤ m } ;
步骤2.2,利用上一次迭代时执行步骤2.2得到的重构高分辨率图像块,计算本次迭代的重构高分辨率图像块,包括以下子步骤:Step 2.2, using the reconstructed high-resolution image block obtained by performing step 2.2 in the previous iteration, to calculate the reconstructed high-resolution image block of this iteration, including the following sub-steps: 步骤2.2.1,根据当前的重构高分辨率图像块计算与相应位置的高分辨率图像块字典Yj={yij|1≤i≤N}中各图像块的距离,并寻找距离最小的K个图像块如下,Step 2.2.1, according to the current reconstructed high-resolution image patch Calculate the distance from each image block in the high-resolution image block dictionary Y j ={y ij |1≤i≤N} at the corresponding position, and find the K image blocks with the smallest distance as follows, distdist (( pp )) == || || ythe y jj tt (( pp )) -- ythe y ijij || || 22 ,, ii == 11 ,, ·&Center Dot; ·· ·&Center Dot; ,, NN NN KK (( ythe y jj tt (( pp )) )) == supportsupport (( distdist || KK )) 其中,dist(p)∈RN,dist(p)表示重构高分辨率图像块
Figure FDA00003105196200029
与高分辨率图像块字典中各图像块yij的距离,RN表示N维实数空间;dist|K表示dist(p)中最小的K个值,是当前的高分辨率图像块
Figure FDA000031051962000211
与高分辨率图像块字典中距离最小的K个图像块的索引集合;
Among them, dist(p)∈R N , dist(p) represents the reconstructed high-resolution image block
Figure FDA00003105196200029
The distance from each image block y ij in the high-resolution image block dictionary, R N represents the N-dimensional real number space; dist| K represents the smallest K values in dist(p), is the current high-resolution image patch
Figure FDA000031051962000211
An index set of K image blocks with the smallest distance in the high-resolution image block dictionary;
第一次执行步骤2.2.1时,当前的重构高分辨率图像块
Figure FDA000031051962000212
采用预估高分辨率图像块之后执行步骤2.2.1时,当前的重构高分辨率图像块
Figure FDA000031051962000214
为上一次迭代时执行步骤2.2.3得到的重构高分辨率图像块;
When step 2.2.1 is performed for the first time, the current reconstructed high-resolution image patch
Figure FDA000031051962000212
Using estimated high-resolution image patches After performing step 2.2.1, the current reconstructed high-resolution image block
Figure FDA000031051962000214
The reconstructed high-resolution image block obtained by performing step 2.2.3 during the previous iteration;
步骤2.2.2,寻找步骤2.2.1所得集合
Figure FDA000031051962000215
中K个图像块yk分别在低分辨率图像块字典中的对应图像块xk,并对图像块
Figure FDA000031051962000216
进行线性重构,得到最优权值系数
Figure FDA000031051962000217
如下式,
Step 2.2.2, find the set obtained in step 2.2.1
Figure FDA000031051962000215
The corresponding image blocks x k of the K image blocks y k in the low-resolution image block dictionary, and the image blocks
Figure FDA000031051962000216
Perform linear reconstruction to obtain the optimal weight coefficient
Figure FDA000031051962000217
as follows,
其中,返回关于权值系数w(p)的函数在得到最小值时w(p)的取值,wk(p)表示权值系数w(p)中对应xk的分量,τ是平衡重建误差和局部约束的正则化参数;in, Returns the value of w(p) when the function about the weight coefficient w(p) obtains the minimum value, w k (p) represents the component corresponding to x k in the weight coefficient w(p), τ is the balance reconstruction error and Locally constrained regularization parameters; 步骤2.2.3,通过下式来重建本次迭代的重构高分辨率图像块,In step 2.2.3, the reconstructed high-resolution image block of this iteration is reconstructed by the following formula, ythe y jj tt (( pp ++ 11 )) == ΣΣ ythe y kk ∈∈ NN KK (( ythe y jj tt (( pp )) )) ww ^^ kk (( pp )) ythe y kk 其中,
Figure FDA00003105196200034
是步骤2.2.2所得最优权值系数
Figure FDA00003105196200035
中对应图像块yk的分量;
in,
Figure FDA00003105196200034
is the optimal weight coefficient obtained in step 2.2.2
Figure FDA00003105196200035
The component corresponding to the image block y k in ;
步骤2.3,判断迭代次数是否达到预先设置的值,否则令p=p+1,根据本次迭代中在步骤2.2.3所得重构高分辨率图像块返回重复步骤2.2进行下一次迭代;是将本次迭代中在步骤2.2.3所得重构高分辨率图像块作为最终所得的重构高分辨率图像块,结束迭代。Step 2.3, judge whether the number of iterations reaches the preset value, otherwise set p=p+1, return to repeat step 2.2 for the next iteration according to the reconstructed high-resolution image block obtained in step 2.2.3 in this iteration; In this iteration, the reconstructed high-resolution image block obtained in step 2.2.3 is used as the final reconstructed high-resolution image block, and the iteration ends.
CN201310147620.3A 2013-04-25 2013-04-25 A kind of unreal structure method of face embedded based on local restriction iteration neighborhood Expired - Fee Related CN103208109B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310147620.3A CN103208109B (en) 2013-04-25 2013-04-25 A kind of unreal structure method of face embedded based on local restriction iteration neighborhood

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310147620.3A CN103208109B (en) 2013-04-25 2013-04-25 A kind of unreal structure method of face embedded based on local restriction iteration neighborhood

Publications (2)

Publication Number Publication Date
CN103208109A true CN103208109A (en) 2013-07-17
CN103208109B CN103208109B (en) 2015-09-16

Family

ID=48755326

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310147620.3A Expired - Fee Related CN103208109B (en) 2013-04-25 2013-04-25 A kind of unreal structure method of face embedded based on local restriction iteration neighborhood

Country Status (1)

Country Link
CN (1) CN103208109B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105469359A (en) * 2015-12-09 2016-04-06 武汉工程大学 Locality-constrained and low-rank representation based human face super-resolution reconstruction method
CN105550649A (en) * 2015-12-09 2016-05-04 武汉工程大学 Extremely low resolution human face recognition method and system based on unity coupling local constraint expression
CN106157274A (en) * 2015-04-01 2016-11-23 武汉大学 A kind of face unreal structure method embedded based on picture position block neighbour
CN106558018A (en) * 2015-09-25 2017-04-05 北京大学 The unreal structure method and device of video human face that Component- Based Development decomposes
CN106780318A (en) * 2015-11-25 2017-05-31 北京大学 The unreal structure method of face and the unreal construction system of face
WO2017177363A1 (en) * 2016-04-11 2017-10-19 Sensetime Group Limited Methods and apparatuses for face hallucination

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102402784A (en) * 2011-12-16 2012-04-04 武汉大学 Human face image super-resolution method based on nearest feature line manifold learning
CN102521810A (en) * 2011-12-16 2012-06-27 武汉大学 Face super-resolution reconstruction method based on local constraint representation

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102402784A (en) * 2011-12-16 2012-04-04 武汉大学 Human face image super-resolution method based on nearest feature line manifold learning
CN102521810A (en) * 2011-12-16 2012-06-27 武汉大学 Face super-resolution reconstruction method based on local constraint representation

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
BO LI 等: "Aligning Coupled Manifolds for Face Hallucination", 《2009 IEEE SIGNAL PROCESSING LETTERS》 *
HONG CHANG 等: "Super-Resolution Through Neighbor Embedding", 《2004 IEEE CVPR》 *
JUNJUN JIANG 等: "POSITION-PATCH BASED FACE HALLUCINATION VIA LOCALITY-CONSTRAINED REPRESENTATION", 《2012 IEEE ICME》 *
SUNG WON PARK,MARIOS SAVVIDES: "ROBUST SUPER-RESOLUTION OF FACE IMAGES BY ITERATIVE COMPENSATING NEIGHBORHOOD RELATIONSHIPS", 《2007 IEEE BIOMETRICS SUMPOSIUM》 *

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106157274A (en) * 2015-04-01 2016-11-23 武汉大学 A kind of face unreal structure method embedded based on picture position block neighbour
CN106157274B (en) * 2015-04-01 2019-01-29 武汉大学 A kind of unreal structure method of face based on picture position block neighbour insertion
CN106558018A (en) * 2015-09-25 2017-04-05 北京大学 The unreal structure method and device of video human face that Component- Based Development decomposes
CN106558018B (en) * 2015-09-25 2019-08-06 北京大学 Method and device for video face illusion based on component decomposition
CN106780318A (en) * 2015-11-25 2017-05-31 北京大学 The unreal structure method of face and the unreal construction system of face
CN106780318B (en) * 2015-11-25 2020-07-14 北京大学 Face magic structure method and face magic structure system
CN105469359A (en) * 2015-12-09 2016-04-06 武汉工程大学 Locality-constrained and low-rank representation based human face super-resolution reconstruction method
CN105550649A (en) * 2015-12-09 2016-05-04 武汉工程大学 Extremely low resolution human face recognition method and system based on unity coupling local constraint expression
CN105469359B (en) * 2015-12-09 2019-05-03 武汉工程大学 A face super-resolution reconstruction method based on locally constrained low-rank representation
WO2017177363A1 (en) * 2016-04-11 2017-10-19 Sensetime Group Limited Methods and apparatuses for face hallucination

Also Published As

Publication number Publication date
CN103208109B (en) 2015-09-16

Similar Documents

Publication Publication Date Title
Shi et al. Exploiting multi-scale parallel self-attention and local variation via dual-branch transformer-CNN structure for face super-resolution
CN103208109B (en) A kind of unreal structure method of face embedded based on local restriction iteration neighborhood
CN102402784B (en) Human face image super-resolution method based on nearest feature line manifold learning
CN103714526B (en) Based on the super-resolution image reconstruction method that sparse multiple manifold embeds
CN113870335A (en) Monocular depth estimation method based on multi-scale feature fusion
CN102136065B (en) Face super-resolution method based on convex optimization
CN104036468B (en) Single-frame image super-resolution reconstruction method based on the insertion of pre-amplification non-negative neighborhood
CN112131959A (en) 2D human body posture estimation method based on multi-scale feature reinforcement
CN104036482B (en) Facial image super-resolution method based on dictionary asymptotic updating
CN104091320B (en) Based on the noise face super-resolution reconstruction method that data-driven local feature is changed
CN102693419A (en) Super-resolution face recognition method based on multi-manifold discrimination and analysis
CN103034974B (en) The face image super-resolution reconstruction method of sparse coding is driven based on support set
CN114663880A (en) Three-dimensional target detection method based on multi-level cross-modal self-attention mechanism
Yao et al. Depth super-resolution by texture-depth transformer
CN103020940B (en) Local feature transformation based face super-resolution reconstruction method
CN106157251B (en) A kind of face super-resolution method based on Cauchy's regularization
CN115170985A (en) Remote sensing image semantic segmentation network and segmentation method based on threshold attention
CN106157274B (en) A kind of unreal structure method of face based on picture position block neighbour insertion
Chen et al. Exploring efficient and effective generative adversarial network for thermal infrared image colorization
Wang et al. Heatmap-aware pyramid face hallucination
CN118261797A (en) Light field image super-resolution model based on fused neural network and training method thereof
CN104700439B (en) Face portrait synthesizing method based on single target portrait
CN102708556A (en) Single image super resolution method on basis of maintenance of reversed image
CN103226818A (en) Single-frame image super-resolution reconstruction method based on manifold regularized sparse support regression
CN107481196B (en) Feature transformation face super-resolution reconstruction method based on nearest feature line

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: 20150916

CF01 Termination of patent right due to non-payment of annual fee