This paper proposes a novel stroke-based rendering (SBR) method that translates images into vivid oil paintings. Previous SBR techniques usually formulate the oil painting problem as pixel-wise approximation. Different from this technique route, we treat oil painting creation as an adaptive sampling problem. Firstly, we compute a probability density map based on the texture complexity of the input image. Then we use the Voronoi algorithm to sample a set of pixels as the stroke anchors. Next, we search and generate an individual oil stroke at each anchor. Finally, we place all the strokes on the canvas to obtain the oil painting. By adjusting the hyper-parameter maximum sampling probability, we can control the oil painting fineness in a linear manner. Comparison with existing state-of-the-art oil painting techniques shows that our results have higher fidelity and more realistic textures. A user opinion test demonstrates that people behave more preference toward our oil paintings than the results of other methods. More interesting results and the code are in https://github.com/TZYSJTU/Im2Oil.
翻译:本文提出一种新的中风定位法(SBR), 将图像转换成生机油画。 以前的SBR技术通常将油画问题表述为像素近似近似值。 不同于此技术路线, 我们将油画创造视为适应性抽样问题。 首先, 我们根据输入图像的质地复杂性计算出概率密度图。 然后我们用Voranoi算法将一组像素样本作为中风锚。 然后, 我们搜索并生成每个锚的单个油画。 最后, 我们把所有划线都放在帆布上, 以获取油画。 通过调整超光度最高采样概率, 我们可以以线性方式控制油画的精细度。 比较现有的最先进的油画画技术显示, 我们的结果更忠实,更现实的纹理。 用户观点测试表明, 人们比其他方法的结果更偏爱我们的油画。 更有意思的结果和代码在 https://github. com/ TZYJTU/ Im2Oil 。