期刊文献+

一种改进的Sutherland-Cohen裁剪算法 被引量:5

Modified Sutherland-Cohen line clipping algorithm
下载PDF
导出
摘要 Cohen-Sutherland裁剪算法因直线与窗口边界求交点次数多而降低算法效率。提出了一种改进Sutherland-Cohen裁剪算法,将完全在窗口内和窗口外的直线判断出来,根据直线端点编码确定辅助线,利用平面上三点的关系判断直线与窗口的哪条边相交。改进的算法使得求交点次数降为最多两次,且避免计算斜率与距离,大大提高算法的效率。算法思想简单,操作方便,有利于硬件实现,对图形学的应用具有重要的实用价值。 Cohen-Sutherland clipping algorithm is lower efficiency because of four intersection operations of line segment and window edge lines. In this paper, a modified Sutherland-Cohen line clipping algorithm is proposed. The line in the window or out the window completely is judged. The auxiliary line is decided according by the coding of a line endpoint, and one of edges of the window is deduced to compute the point of intersection with the line by the relation of three points on a plane. The modified algorithm makes intersection operation be twice at most, avoiding to compute the slope and distance, can improve the efficiency of the algorithm greatly. The thought is simple, the operation is convenient, hardware implementation is easy, and is important practical value for graphics applications.
作者 李竹林 雷岗
出处 《计算机工程与应用》 CSCD 2012年第34期175-178,共4页 Computer Engineering and Applications
基金 陕西省自然科学基金(No.2009JM8004-7) 陕西省教育厅专项科研计划项目(No.2010JK904)
关键词 Cohen-Sutherland裁剪算法 直线分类 辅助线 符号 Cohen-Sutherland clipping algorithm line classification auxiliary line sign
  • 相关文献

参考文献5

二级参考文献13

  • 1张宁,贾自艳,史忠植.使用KNN算法的文本分类[J].计算机工程,2005,31(8):171-172. 被引量:97
  • 2王煜,白石,王正欧.用于Web文本分类的快速KNN算法[J].情报学报,2007,26(1):60-64. 被引量:33
  • 3HEARN D BAKER M P.计算机图形学:C语言版(第2版)(影印本)[M].北京:清华大学出版社,1998..
  • 4谭松波,王月粉.中文文本分类语料库-TanCorpv1.0[EB/OL].(2007-08-29)[2008-01-20].http://www.searehforum:org.cn/tansongbo/corpus.htm.
  • 5RUIZ V E.An algorithm for finding nearest neighbors in (approximately) constant average time[J].Pattern Recognition Letter,1986,4(3):145-147.
  • 6HART P E.The condensed nearest neighbor rule[J].IEEE Transactions on Information Theory,1968,IT214(3):515-516.
  • 7WILSON D L.Asymptotic properties of nearest neighbor rules using edited data[J].IEEE Transactions on Systems,Man and Cybernetics,1972,2(3):408-421.
  • 8DEVIJVER P,KITTLER J.Pattern recognition:A statistical approach[M].Englewood Cliffs:Prentice Hall,1982.
  • 9KUNCHEVA L I.Fitness functions in editing KNN reference set by genetic algorithms[J].Pattern Recognition,1997,30(6):1041-1049.
  • 10FAGN YUAN,LIU YANG.A new density-based method for reducing the amount of training data in k-NN text classification[C]// Proceedings of the 6th International Conference on Machine Learning and Cybernetics.Hong Kong:[s.n.],2007:3372-3376.

共引文献26

同被引文献46

引证文献5

二级引证文献8

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部