首页 | 本学科首页   官方微博 | 高级检索  
     

基于顶点与邻边相关性的多边形填充算法
引用本文:马辉,陆国栋,谭建荣,吴良.基于顶点与邻边相关性的多边形填充算法[J].中国图象图形学报,2004,9(11):1336-1341.
作者姓名:马辉  陆国栋  谭建荣  吴良
作者单位:[1]浙江大学CAD&CG国家重点实验室,杭州310027 [2]BrownUniversity,Providence,RhodeIsland,U.S.A
基金项目:创新群体科学研究基金项目 (60 0 2 12 0 1),教育部博士点基金项目 (2 0 0 2 0 3 3 5 0 93 )
摘    要:为了加快多边形填充算法的运算速度,在深入挖掘顶点与相邻边关系对填充算法影响的基础上,提出了一种基于顶点与邻边相关性的多边形填充算法。该算法首先归纳了多边形顶点与邻边相关性的5种典型类型,然后依据顶点与邻边的相关性,对原有多边形进行了分割与重新组合,使其完全由简单的三角形和梯形这样的单元区域组成,这样就将复杂的多边形填充问题转化为这些单元区域的填充问题,并由此将扫描线与多边形边求交的乘除计算转化为加减运算。通过实验分析,新算法大大减少了运算的时间和复杂度,从而为多边形填充创造了一种有效的新途径。

关 键 词:多边形  填充算法  运算速度  新算法  扫描线  求交  复杂度  顶点  加减运算  梯形
文章编号:1006-8961(2004)11-1336-06

A New Polygon Filling Algorithm Based on Pertinence Between Point and Its Abutting Sides
MA Hui,LU Guo-dong,TAN Jian-rong,MA Hui,LU Guo-dong,TAN Jian-rong,MA Hui,LU Guo-dong,TAN Jian-rong and MA Hui,LU Guo-dong,TAN Jian-rong.A New Polygon Filling Algorithm Based on Pertinence Between Point and Its Abutting Sides[J].Journal of Image and Graphics,2004,9(11):1336-1341.
Authors:MA Hui  LU Guo-dong  TAN Jian-rong  MA Hui  LU Guo-dong  TAN Jian-rong  MA Hui  LU Guo-dong  TAN Jian-rong and MA Hui  LU Guo-dong  TAN Jian-rong
Abstract:Present polygon filling algorithms including scanline algorithm, seed filling algorithm and the algorithms based on the two classical filling theories, are analyzed and compared in this paper. A new filling algorithm is put forward, which is based on thorough analysis of the relations between point and its abutting sides. This new filling algorithm divides all points of a polygon into five types at firstly, and transforms the polygon into unit areas which are simple triangles and trapeziums by the line passing the points. Using the characteristics of bevel edges, the unit areas filling can replace the multiplication-division with the addition-subtraction. It decreases the time and complexity of filling the whole polygon. This paper explains the design of the algorithm and how it is going on, and also presents the data structures storing the information of points and unit areas. In the end, some experimental results show that the new algorithm has a high efficiency and a good stability.
Keywords:polygon  fill algorithm  pertinence between point and its abutting sides
本文献已被 维普 万方数据 等数据库收录!
点击此处可从《中国图象图形学报》浏览原始摘要信息
点击此处可从《中国图象图形学报》下载免费的PDF全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号