文中提出一种基于复用计算的纹理合成方法,逐步地利用已合成的部分纹理来生成更大的纹理块,以进行后续的纹理合成计算.由此,该方法可节省大量耗时的纹理块选择及缝合计算,提高了合成效率.实验表明,新方法可实时合成2048×2048像素的大纹理,而已有工作至多只能以交互的速度进行这样的合成.
Example-based texture synthesis has proved to be an effective approach to generate a perceptually similar texture from a given small input exemplar image.It has found applications in many areas such as Virtual Reality and Geography Information Systems.Till now,a large number of techniques have been proposed,being able to synthesize textures of medium sizes in real time.However,the wide requirement in applications for real time synthesis of large textures is still a big challenge to existing techniques.With regard to this,this paper proposes to reuse partially synthesized textures to speed up texture synthesis,and by a lot of tests,it can real time produce large textures in 2048×2048 pixels.By its scheme,it first produces a small part of the output texture based on general constraint computation,and then iteratively generates bigger patches from the synthesized parts of the output texture to produce new parts of the output texture.In this way,the operations on selecting patches and stitching neighboring patches can be greatly reduced for acceleration.Meanwhile,the patch sizes and the width of the overlapping zones for stitching patches are computed optimally by investigating the periodic features of the example texture,so that the new method can produce high quality textures as existing advanced techniques such as texture optimization,one of the well-known techniques for producing high quality textures.The new method is simple and robust,very useful for real time synthesis of large textures.