计算机科学 ›› 2012, Vol. 39 ›› Issue (Z11): 402-405.

• 图形图像 • 上一篇    下一篇

基于偏离映射的纹理传输算法研究

李苹,钱文华,杜常青   

  1. (曲靖师范学院计算机科学与工程学院 曲靖655000) (云南大学计算机科学与工程系 昆明650091)
  • 出版日期:2018-11-16 发布日期:2018-11-16

Texture Transfer Technique Based on Deviation Mapping

  • Online:2018-11-16 Published:2018-11-16

摘要: 研究二维图像纹理传输问题,目前在二维纹理映射的传统算法中,主要通过基于纹理合成的传输算法实现纹理映射的效果。针对传统算法中基于纹理拼接导致迭代次数多、计算复杂度高的问题,为提高纹理映射的速度,提出了一种基于光照明模型实现纹理映射,产生纹理传输效果的算法。该算法主要采用Phong光照明模型对目标图像进行预处理形成虚拟表面,根据纹理图像和目标图像计算偏离映射角度,其次,参考图像的纹理特征根据偏离角度映射到目标图像中。实验结果表明,改进的纹理传输算法运行速度快,易于实现,避免了耗时的纹理合成计算,可针对局部目标区域进行局部映射,具有一定的实用性。

关键词: 纹理传输,偏离映射,Phong光照明模型

Abstract: In order to improve the speed and accuracy of 2D image texture transfer,a deviation mapping algorithm was proposed. Traditional technology usually used texture synthesis method to realize texture mapping effects. However,these methods cost much time. hherefore, based on the technology of Phong illumination model, we establish our me thod for obtaining artistic appearances taking the deviation mapping as the underlying basis, and the foreground image paints in this virtual surface can be illuminated to generate the final effect, The proposed method can obtain gray and color results. In additional,the texture sample can be mapped to the local region of input image. hhe experiment results show that the algorithm has better real-time and achieve satisfactory artistic effects.

Key words: Texture transfer,hexture deviation mapping,Phong illumination model

No related articles found!
Viewed
Full text


Abstract

Cited

  Shared   
  Discussed   
No Suggested Reading articles found!