计算机应用 ›› 2011, Vol. 31 ›› Issue (05): 1193-1197.DOI: 10.3724/SP.J.1087.2011.01193

• 图形图像技术 • 上一篇    下一篇

轮廓线位置关系判定的改进算法

贺怀清,杨鹏   

  1. 中国民航大学 计算机科学与技术学院,天津 300300
  • 收稿日期:2010-10-09 修回日期:2010-12-27 发布日期:2011-05-01 出版日期:2011-05-01
  • 通讯作者: 杨鹏
  • 作者简介:贺怀清(1969-),女,吉林白山人,教授,博士,CCF高级会员,主要研究方向:图形图像与可视化、民航相关信息可视分析、语音识别;杨鹏(1986-),男,河南信阳人,硕士研究生,CCF会员,主要研究方向:图形图像与可视化。
  • 基金资助:

    国家自然科学基金资助项目(60879003);天津市应用基础及前沿技术研究计划项目(10JCYBJC00900);中央高校基本科研业务费中国民航大学专项(ZXH 2009C001)。

Improved algorithm on contour line position relation

HE Huai-qing, YANG Peng   

  1. College of Computer Science and Technology, Civil Aviation University of China, Tianjin 300300, China
  • Received:2010-10-09 Revised:2010-12-27 Online:2011-05-01 Published:2011-05-01
  • Contact: peng yang

摘要: 通过对射线法和坐标极值法的原理和存在的问题进行分析,对已有的轮廓线走向判定算法进行简化,结合射线法和坐标极值法的优点,提出一种改进的轮廓线位置关系判定算法。该算法主要包括4个部分:内外轮廓线的区分、调整轮廓线的走向、轮廓线的包容识别和轮廓树的构建。通过实验验证,改进的算法能够更正已有算法中存在的问题,同时能够获得较好的运行效率。

关键词: 轮廓线, 射线法, 坐标极值法, 位置关系, 轮廓树

Abstract: By analyzing the principle and the existing problems in the ray method and the extreme coordinate value method, the existing algorithms which determined contour direction were simplified. Then an improved algorithm on the contour line position relation was proposed combining the advantages of the ray method and the extreme coordinate method. The algorithm mainly included four parts: distinction among the internal and external contours, adjustment of the profile direction, inclusive identification of contours and the construction of a contour tree. The experimental results show that the improved algorithm can correct the problems in the existing algorithms and achieve good efficiency.

Key words: contour line, ray method, extreme coordinate value method, position relation, contour tree