通过对彩墨画创作过程的模拟,提出一种基于参考图像的彩墨画快速渲染算法。其模拟过程分为铺底模拟和细节刻画两个阶段。在铺底阶段,利用平均曲率流与冲击滤波的组合对图像进行细节简化,并通过对颜色空间的截取和拉伸数字模拟彩墨画的留白特征,同时提供基于PatchMatch算法的颜色学习着色方法;在细节刻画阶段,针对墨水的扩散现象提出一个随机模拟扩散公式,并给出模拟彩墨画描边手法的边界处理方法,最后进行纸张效果合成。实验结果表明,该算法能够快速地将参考图像渲染成具有彩墨画风格的艺术作品。
This paper developed an image-based ink and color painting quick rendering method by simulating the creative process of real ink and color painting. The method took place in two stages, foundation laying simulation and detail refinement. In the first stage, it used mean curvature flow and shock filter to obtain the abstraction of reference image, and simulated white space of ink and color painting by truncating and stretching the color space. Then proposed a color learning coloring method based on PatehMatch algorithm. In the second stage, this paper developed a random diffusion simulating function to simulate the diffusion effect of real ink. It simulated the stroke skill of ink and color painting by a boundary processing method. Finally it synthesized paper texture. Experimental results show that the algorithm transfers reference images quickly into ink and color painting art work.