首页> 中文期刊> 《电子设计工程》 >二维图形封闭区域自动识别算法

二维图形封闭区域自动识别算法

         

摘要

在图形处理中,常需要从仅含有直线、弧线信息的原始图形中获取多边形这样的封闭区域信息。该算法首先生成原始图形中线和线各交点组成的稀疏图结构,然后采用以广度遍历算法为基础的单源搜索法识别出图形中所有封闭区域,最终以点集形式输出这些区域的信息。输出结果能直接作为很多其他图形算法的输入(如多边形合并,凸包寻找)。这种算法快速高效,能很好的应对如多重交点、线段重合等一些临界情况,并且支持对弧线的处理。%We usually need to obtain enclosed area such as polygon simply from a number of lines and arcs in geometric.The algorithm firstly gets the sparse graph representing those line intersections,then searches through a single source to generate a directed acyclic tree,and outputs information on all the enclosed areas at last.The results can be directly used as the input of many other subsequent algorithms(e.g.graphic merging,convex hull searching).This algorithm is fast and efficient.It is robust enough deal with boundary conditions such as multiple intersections or line overlap.It also supports the processing of arcs.

著录项

相似文献

  • 中文文献
  • 外文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号