节点文献

一种实时高速的八连通区域填充算法

New High-speed Scanline Algorithm for Filling 8-adjacent Connection Area

  • 推荐 CAJ下载
  • PDF下载
  • 不支持迅雷等下载工具,请取消加速工具后下载。

【作者】 刘万春刘建君朱玉文陈小春

【Author】 LIU Wan-chun,LIU Jian-jun,ZHU Yu-wen,CHEN Xiao-chun(Dept.of Computer Science,School of Information Science & Technology,Beijing Institute of Technology,Beijing 100081)

【机构】 北京理工大学信息科学技术学院计算机系北京理工大学信息科学技术学院计算机系 北京100081北京100081

【摘要】 区域填充是一个将指定不规则区域内部像素填充为填充色的过程,在计算机辅助设计和图像处理等领域有广泛应用。现有算法存在着只适用于四连通区域或者算法速度不高等缺点。提出了一种可以运用在八连通区域上的扫描线种子填充算法,同时在算法的实现上摒弃函数调用方式,以线性空间来模拟栈结构。通过对数十万个不规则区域的测试统计,此算法不但适用于八连通区域的填充,速度上也有7%~33%不同程度的提高。

【Abstract】 The process of filling the inner pixels of specified area with specified color called area filling.It’s used widely in the fields of Computer-Aided Design and Computer Graphics.Existing algorithms have the disadvantages of low speed or can only be used on 4-adjacent connection area.This paper presents an improved scan line algorithm for area filling,based on the analysis of the classical one.The new algorithm can be applied on 8-adjacent connection area.Moreover,we use lineal space instead of classical stack and access data directly in the implemental details.Compared with the former algorithms,the speed was accelerated to 107%~133%,got by testing nearly one million irregularly areas.

  • 【文献出处】 计算机应用研究 ,Application Research of Computers , 编辑部邮箱 ,2006年06期
  • 【分类号】TP391.41
  • 【被引频次】56
  • 【下载频次】766
节点文献中: 

本文链接的文献网络图示:

本文的引文网络