系统仿真学报 ›› 2018, Vol. 30 ›› Issue (2): 473-481.doi: 10.16182/j.issn1004731x.joss.201802014

• 仿真系统与技术 • 上一篇    下一篇

基于图元紧密型分布合成的镶嵌画效果模拟

陈婕, 杨刚, 杨猛   

  1. 北京林业大学信息学院,北京100083
  • 收稿日期:2016-08-14 出版日期:2018-02-08 发布日期:2019-01-02
  • 通讯作者: 杨刚,男,博士,副教授,研究方向为虚拟现实。
  • 作者简介:陈婕(1992-),女,湖北,硕士生,研究方向虚拟现实
  • 基金资助:
    国家自然科学基金(61100132, 61402038),中央高校基本科研业务费专项资金(2015ZCQ-XX)

Simulation of Mosaic Picture Based on Compact Distribution Synthesis of Element

Chen Jie, Yang Gang, Yang Meng   

  1. Department of Computer Applied Technology, Beijing Forestry University, Beijing 100083, China
  • Received:2016-08-14 Online:2018-02-08 Published:2019-01-02

摘要: 提出一种方法,能快速合成多种形状图元的紧密型分布,从而实现镶嵌画效果模拟。该方法基于Voronoi图进行区域分割,每一个分割小块代表一个图元所占空间,从而实现图元紧密分布。在生成Voronoi图的过程中,使用不同的距离度量标准控制Voronoi多边形形状,从而实现五种不同形状图元的紧密型分布。进一步地,该方法可通过生成具有尺度、方向变化的图元分布,模拟富有变化的镶嵌画效果。此外,还借助GPU的计算能力对Voronoi图生成过程进行了加速。实验结果表明,该方法合成效果好,合成效率可达交互。

关键词: 图元, 镶嵌画, 紧密型分布, Voronoi图, 纹理合成, 向量场

Abstract: A new method that can rapidly synthesize the compact distribution of diverse types of elements is proposed to realize the simulation of mosaic. The Voronoi diagram is adoptedto segment the distribution region, and each part represents a space occupied by a graphic element to realize the compact distribution of graphic elements. In the process of generating Voronoi diagram, five different distance metrics are used to control the shape of the Voronoi polygon for achieving the compact distribution of the five different shapes. The method can generate graphic element distribution with scale and direction variations so as to simulate the variations of the mosaic. It also improves the synthesis rate with the help of GPU. The results show that the method enjoys good synthesis effects, while the synthesis efficiency can reach the interaction.

Key words: graphic elements, mosaic, compact distribution, Voronoi diagram, texture synthesis, vector field

中图分类号: