计算机应用 ›› 2018, Vol. 38 ›› Issue (3): 829-835.DOI: 10.11772/j.issn.1001-9081.2017082089

• 虚拟现实与多媒体计算 • 上一篇    下一篇

拟合复杂形状主骨架的颜色渐变填充

王家润1, 任菲1, 荣明2, 罗童心1   

  1. 1. 华北计算技术研究所 基础三部, 北京 100083;
    2. 国防大学 信息作战与指挥训练教研部, 北京 100091
  • 收稿日期:2017-08-29 修回日期:2017-11-02 出版日期:2018-03-10 发布日期:2018-03-07
  • 通讯作者: 王家润
  • 作者简介:王家润(1968-),男,山东莒南人,高级工程师,硕士,CCF会员,主要研究方向:虚拟现实、高性能计算、数据可视化;任菲(1985-),女,河北石家庄人,工程师,硕士,主要研究方向:虚拟现实、数据可视化;荣明(1978-),男,山东淄博人,讲师,博士,主要研究方向:战争模拟、战略兵棋、武器装备体系仿真;罗童心(1994-),女,湖南常德人,硕士研究生,主要研究方向:虚拟现实、数据可视化。
  • 基金资助:
    国家自然科学基金资助项目(61703412);中国博士后科学基金资助项目(2016M602996)。

Color gradient filling using main skeleton in complex shape

WANG Jiarun1, REN Fei1, RONG Ming2, LUO Tongxin1   

  1. 1. The Third Basic Department, North China Institute of Computing Technology, Beijing 100083, China;
    2. Department of Information Operation & Command Training, National Defense University of PLA, Beijing 100091, China
  • Received:2017-08-29 Revised:2017-11-02 Online:2018-03-10 Published:2018-03-07
  • Supported by:
    This work is partially supported by the National Natural Science Foundation of China (61703412), the China Postdoctoral Science Foundation (2016M602996).

摘要: 针对复杂形状的颜色渐变填充无法较好拟合形状的延伸方向问题,提出了形状主骨架颜色渐变填充算法(SMSCGFA)。引入骨架路径视觉显著性评价向量,针对主骨架设计了整体优选及局部几何优化相结合的方法,对复杂形状抽取主骨架进行简化;骨架提取时结合了基于约束Delaunay三角剖分(CDT)的三角形中线法骨架提取和基于骨架二叉树的骨架路径双栈跟踪提取;对主骨架进行颜色渐变计算,通过局部的主骨架颜色信息,完成形状整体沿延伸方向的颜色渐变填充。实验验证表明,采用该方法后,骨架路径的优选比可达5.5%,消除了较多的骨架冗余分枝;与颜色线性渐变填充相比,基于骨架的颜色渐变填充,拟合形状延伸变化趋势较好。

关键词: 颜色渐变填充, 形状主骨架, 骨架路径, 视觉显著性, 骨架分枝裁剪

Abstract: To solve the problem of color gradient filling of complicated shape in its stretching trend, a Shape Main Skeleton Color Gradient Filling Algorithm (SMSCGFA) was proposed by using shape main skeleton. Based on visual salience estimating vector, the main skeleton was extracted from a shape by using whole selecting and local geometric optimization. Some important methods in SMSCGFA were studied that included extracting skeleton using Constrained Delaunay Triangulation (CDT), and extracting skeleton path by double stacks. Gradient filling color in main skeleton was computed, and the whole shape gradient filling color was completed by local main skeleton color filling information. The experiment results show that the optimized skeleton path ratio reduces to 5.5%, and more skeletons with redundant branches are eliminated, and SMSCGFA satisfies subjective visual perception in shape stretching trend compared with color linear filling.

Key words: color gradient filling, shape main skeleton, skeleton path, visual salience, skeleton branch trim

中图分类号: