Computer Engineering and Applications ›› 2014, Vol. 50 ›› Issue (17): 178-181.
Previous Articles Next Articles
XU Shengpan1,2, LIU Zhengjun2, ZUO Zhiquan2, CHENG Yaodong1
Online:
Published:
徐胜攀1,2,刘正军2,左志权2,程耀东1
Abstract: To improve the efficiency of area filling, the paper makes an introduction and analysis for the three common area filling algorithms and further improves the active-edge-table algorithm which has more obvious advantages compared with the others. For the deficiency of traditional algorithm, the improved algorithm makes full use of vertex information and establishes the dynamic discovery mechanism of active edges, making the time efficiency and space efficiency both improved; meanwhile, in order to fill the self-intersected polygons, an easy and effective method to detect self-intersected vertices based on scan line is proposed, making the adaptability of the algorithm enhanced. Experimental results demonstrate that the improved algorithm achieves very good results.
Key words: area-filling, active-edge-table, dynamic discovery mechanism, self-intersection
摘要: 为提高区域填充效率,对三种常见的区域填充算法进行了介绍和分析,并对其中优势较为明显的活性边表区域填充算法进行了进一步改进。改进算法针对原始算法的不足,充分利用多边形顶点信息,建立了活性边动态发现机制,使得算法时间效率和空间效率都得到提高;同时,为填充自相交多边形,又提出一种简单有效的基于扫描线的多边形自相交点探测方法,使得算法的适用性得到进一步增强。实验结果表明,算法的改进取得了很好的效果。
关键词: 区域填充, 性边表, 动态发现机制, 自相交
XU Shengpan1,2, LIU Zhengjun2, ZUO Zhiquan2, CHENG Yaodong1. Improved active-edge-table area filling algorithm[J]. Computer Engineering and Applications, 2014, 50(17): 178-181.
徐胜攀1,2,刘正军2,左志权2,程耀东1. 一种改进的活性边表区域填充算法[J]. 计算机工程与应用, 2014, 50(17): 178-181.
Add to citation manager EndNote|Ris|BibTeX
URL: http://cea.ceaj.org/EN/
http://cea.ceaj.org/EN/Y2014/V50/I17/178