期刊文献+

基于矩阵乘法的多边形窗口线裁剪算法 被引量:3

Matrix Multiplication for Line Clipping of Polygon
下载PDF
导出
摘要 提出一种任意多边形窗口线裁剪新方法,它不解方程而通过矩阵乘法得到窗口和线段的交点。对于一组待裁剪线段,该方法先做简单的包围盒预处理,将那些和包围盒无交的线段排除在求交之外;然后引进齐次坐标,构造一组仿射变换矩阵,通过矩阵乘法对任意多边形窗口和待裁剪线段实施连续仿射变换,完成窗口和直线求交操作并从矩阵中获得交点;经过交点排序、配对等过程,得到多边形裁剪线段的结果。经实验对比,该新方法有效,并且速度得以提高。 This paper proposed a new method for line clipping with a polygon. The method gets the intersection points of a polygon and a line by matrix multiplication. For a set of line segments, the algorithm of this paper tests it by a bounding box that included the polygon to discard the line segments which do not intersect the box, then the algorithm introduces homogeneous coordinates, and makes a group of matrixes and applies the matrixes multiplication to the po- lygonal window and the straight line to make the continuous affine transformations, and gets the intersection points of the window and straight line from the matrix. Having sorted and matched the points of intersection, the algorithm of this paper obtains the result of the polygon clipping the line segment. The experiment shows that the new method is ef-fective,and the speed is improved.
作者 黄文钧
出处 《计算机科学》 CSCD 北大核心 2013年第10期309-316,F0003,共9页 Computer Science
关键词 裁剪 仿射变换 矩阵 多边形 窗口 Clipping, Affine transformation, Matrix, Polygon, Window
  • 相关文献

参考文献10

二级参考文献41

  • 1刘勇奎,刘桂芳.一般多边形窗口的线裁剪[J].计算机辅助设计与图形学学报,1993,5(4):269-274. 被引量:24
  • 2李雪,石广田.任意多边形窗口的有效线裁剪算法[J].兰州交通大学学报,2007,26(3):89-92. 被引量:4
  • 3刘斌,王勇,黄树槐.二维线段的矩形窗口逐边裁剪算法研究[J].计算机应用研究,1997,14(1):15-17. 被引量:7
  • 4DonaldHearn M.PaulineBaker.计算机图形学(第二版)[M].北京:电子工业出版社,2002..
  • 5Newman W M, Sproull R E Principles of interactive computer graphics [M]. 1st ed., New York:McGraw-Hill, 1973. 333-339.
  • 6Newman W M, Sproull R E Principles of interactive computer graphics [M]. 2nd ed., New York:McGraw-Hill, 1978. 202-209.
  • 7Duvanenko D J, Gyurcsik R S, Robbins W E. Simple and efficient 2D and 3D span clipping algorithm [J].Computers & Graphics, 1993,17(1): 39-54.
  • 8Nicholl T M, Lee D T, Nicholl R A. An efficient new algorithm for 2D line clipping: its development and analysis [J]. Computer Graphics, 1987, 21(4):253 -262.
  • 9Skala V, Bui D H. Fast algorithms for line segment and line clipping in E^2 [J]. The Visual Computer, 1998,14(1): 31-37.
  • 10Nielson H E Line clipping using semi-homogeneous coordinates [J]. Computer Graphics Forum, 1995,14(1): 3-16.

共引文献32

同被引文献26

  • 1王蕊,阎晓敏,唐棣.基于矩形窗口分区编码的圆形裁剪新算法[J].辽宁大学学报(自然科学版),2011,38(2):177-180. 被引量:2
  • 2朱亚臣,谭建荣,陆国栋,冯毅雄.基于连续分区与串联编码的线段裁剪新算法[J].中国图象图形学报,2007,12(4):732-739. 被引量:8
  • 3Avidan S,Shamir A.Seam Carving for Content Aware Image Resizing[J].ACM Transactions on Graphics,2007,26(3):1-9.
  • 4Wang Botao,Xiong Hongkai,Ren Zhiquan,et al.Deformable Shape Preserving Video Retargeting with Salient Curve Matching[J].IEEE Journal on Emerging and Selected Topics in Circuits and Systems,2014,4(1):82-94.
  • 5Chen Liqun,Xie Xing,Fan Xin,et al.A Visual Attention Model for Adapting Images on Small Displays[J].Multimedia Systems,2003,9(4):353-364.
  • 6Ciocca G,Cusano C,Gasparini F,et al.Self-adaptive Image Cropping for Small Displays[J].IEEE Transactions on Consumer Electronics,2007,53(4):1622-1627.
  • 7Luo Jiebo.Subject Content-based Intelligent Cropping of Digital Photos[C]//Proceedings of IEEE International Conference on Multimedia and Expo.Washington D.C.,USA:IEEE Press,2007:2218-2221.
  • 8Setlur V,Takagi S,Raskar R,et al.Automatic Image Retargeting[C]//Proceedings of the4th International Conference on Mobile and Ubiquitous Multimedia.New York,USA:ACM Press,2005:310-316.
  • 9Shamir A,Avidan S.Seam Carving for Media Retargeting[J].Communications of the ACM,2009,52(1):77-85.
  • 10Wolf L,Guttmann M,Cohen-Or D.Nonhomogeneous Content-driven Video Retargeting[C]//Proceedings of the11th IEEE International Conference on Computer Vision.Washington D.C.,USA:IEEE Press,2007:1-6.

引证文献3

二级引证文献5

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

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