现有的人脸素描通常需要已受过专业训练的画师来绘制才能达到自然且逼真的效果,不利于在公共安全管理、影视游戏娱乐等应用的推广.为了更方便地获得高质量的人脸素描,提出一种利用粗略人脸线条获取逼真素描的方法.首先从一般人勾绘的人脸粗略线条图像中提取边缘重叠的图像分块;然后利用局部坐标编码学习线条画图像与素描画图像的空间特征并建立各自的数据字典,联合2个数据字典获取线条与其对应素描图像的空间特征关系;进而利用图像分块构造马尔科夫随机场,应用模拟退火算法优化全局能量进行素描合成.在人脸素描XM2VTS数据集上的实验结果表明,采用该方法获得的素描图像效果良好.
Existing face sketch usually requires well-trained artist to draw natural and realistic images, which hinders its wide usages in digital entertainment and public security management. We present an approach to automatically generate face sketches based on face rough drawing. Firstly, the input face rough drawing is divided into many overlapped patches. Then, the relation of patches between the rough drawing and the sketch is obtained by a coupled dictionary, which is learned from a set of training data using locality-constrained linear coding. Finally, using simulated annealing algorithm, sketches are synthesized from selected candidate sketch patches and optimized by a global energy optimization based on a Markov random field framework. We evaluate our approach on the face sketch XM2VTS database. Experimental results validate the effectiveness of the proposed method.