期刊文献+

圆的整数反走样生成算法 被引量:4

Integral algorithm for circle anti-aliasing
原文传递
导出
摘要 针对现有圆的反走样生成算法计算复杂,反走样效果一般的缺点,提出一种基于中点画圆法的整数反走样生成算法。该算法根据像素中心到理想圆弧的距离来分配灰度,生成64级灰度的反走样圆弧。通过省略二次项来简化计算,并用简单的计算修正省略带来的误差以保证精度。为了简化计算,提出相邻像素的灰度递推方法,利用整数移位、加法、比较来实现反走样。该算法结构简单,反走样效果较好,由于避免了浮点和除法运算,便于硬件实现。 Anti-aliasing for circles is complex and the existing algorithms are not working satisfactory. To improve the efficiency and the anti-aliasing effect, an integral algorithm is presented for circle anti-aliasing based on midpoint generating algorithm. The new algorithm finds the grayscales of each pixel according to the distance between the center of the pixel and the circle. A circle with a 64 levels grayscale can be drawn. The algorithm abandons the two-order epsilon and corrects the error by simple calculations. We built a method to forecast the grayscale change between neighboring pixels using integer shift, addition, and comparing without using floating-point and divisions, making it easy to implement the algorithm on hardware. The results show that the anti-alia.sing effect and its efficiency have been improved.
出处 《中国图象图形学报》 CSCD 北大核心 2012年第1期130-136,共7页 Journal of Image and Graphics
关键词 圆弧 反走样 整数运算 灰度 circle anti-aliasing integer operation grayscale
  • 相关文献

参考文献15

  • 1James D F.计算机图形学导论[M].北京:机械工业出版社,2004:48-56.
  • 2HEARN D,BAKER M P.计算机图形学[M].蔡上杰,等译.北京:电子工业出版社,2005:574-575.
  • 3Bresenham J. A linear algorithm for incremental digital display of circular arcs [ J ]. Communications of the ACM, 1977,20 (2) : 100-106.
  • 4徐小良,洪波.一种基于整数坐标的亚像素精度区域采样反走样算法[J].中国图象图形学报,2009,14(12):2438-2442. 被引量:6
  • 5孔令德.基于面积加权反走样算法的研究[J].工程图学学报,2009,30(4):49-54. 被引量:7
  • 6Rokita, P. Depth-based selective antialiasing [ J ]. Journal of Graphics Tools ,2005,10 (3) : 19-26.
  • 7Field D. Algorithms for drawing anti aliased circles and ellipses [ J]. Computer Vision, Graphics, and Image Processing, 1986, 33(1): 1-15.
  • 8Schilling A. A new simple and efficient antialiasing with subpixel masks [ J ]. Computer Graphics, 1991,25 (4) : 133-141.
  • 9Chang S L, Shantz M, Roeehetti R. Rendering cubic curves and surfaces with integer adaptive forward differencing [ J ]. Computer Graphics, 1989,23 (3) : 157-166.
  • 10Crow F C. The aliasing problem in computer generated shaded images[J]. Communications of the ACM, 1977,20 ( 11 ) : 799- 805.

二级参考文献71

  • 1刘勇奎,石教英.圆的像素级生成及反走样算法[J].计算机辅助设计与图形学学报,2005,17(1):34-41. 被引量:14
  • 2刘涛,高青伟,赵国荣.一种新的基于圆锥滤波的直线反走样生成技术[J].工程图学学报,2006,27(3):61-64. 被引量:10
  • 3李震霄,何援军.任意宽度直线的绘制与反走样[J].武汉大学学报(工学版),2006,39(4):130-133. 被引量:21
  • 4Beaudoin P, Poulin P. Compressed multlsampling for efficient hardware edge antialiasing [ A ]. In: Proceedings of Graphics Interface [ C ] , London, Ontario, Canada, 2004. : 169-176.
  • 5Mitchell D P, Netravali A N. Reconstruction filters in computer graphics[A]. In: Proceedings of the 15th Annual Conference on Computer Graphics and Interactive Techniques [ C ], Atlanta, Georigia, USA : ACM, 1988:221-228.
  • 6Boult T E, Wolberg G. Local image-reconstruction and subpixel restoration algorithms[ A ]. In: Proceedings of Graphical Model and Image Processing[ C ] , Orlando, FL, USA : Academic Press, 1993, 55:63-77.
  • 7Guenter B, Tumblin J. Quadrature prefiltering for high quality antialiaslng [ A ]. In : Proceedings of ACM Transactions on Graphics [C], New York, NY, USA: ACM Press, 1996, 15(4) :332-353.
  • 8Fabris A E, Forrest A R. Antialiasing of Curves by Discrete Prefiltering[ A 1-In: Proceedings of the 24th Annual Conference on Computer Graphics and Interactive Techniques[ C ] , New York, NY, USA: ACM Press, 1997: 317-326.
  • 9Pitteway M L V, Watkinson D J. Bresenham's algorithm with Grey scale[ A]. In: Proceedings of Communications of the ACM[ C] , New York, NY, USA: ACM Press, 1980, 23(11): 625-626.
  • 10Schilling A. A new simple and efficient antialiasing with subpixel masks[ A ]. In : Proceedings of SIGGRAPH Computer Graphics [ C ] , New York, NY, USA, 1991, 25(4) :133-141.

共引文献30

同被引文献63

  • 1刘勇奎,石教英.圆的像素级生成及反走样算法[J].计算机辅助设计与图形学学报,2005,17(1):34-41. 被引量:14
  • 2刘涛,高青伟,赵国荣.一种新的基于圆锥滤波的直线反走样生成技术[J].工程图学学报,2006,27(3):61-64. 被引量:10
  • 3蔺想红,张田文.自适应多基元直线绘制算法[J].计算机辅助设计与图形学学报,2006,18(8):1136-1141. 被引量:5
  • 4James D F.计算机图形学导论[M].北京:机械工业出版社,2004:48-56.
  • 5Crow F C. The aliasing problem in computer generated shaded images [ J]. Communications of the ACM, 1977, 20( 11 ) : 799- 805.
  • 6Bresenham J E. Algorithm for computer control of a digital plotter [ J]. IBM System Journal, 1965, 4( 1 ) : 25-30.
  • 7Foley J D, Dam A V, Feiner S K, et al. Computer Graphics: Principles and Practice [ M]. Reading, MA: Addison-Wesley, 1990.
  • 8Boyer V, Bourdin J J. Fast lines: a span by span method [ J]. Computer Graphics Forum, 1999, 18 (3) : 377-384.
  • 9Boyer V, Bourdin J. Auto-adaptive step straight-line algorithm [ J ]. IEEE Computer Graphics and Applications, 2000, 20 (5) : 67-69.
  • 10Leler W J. Human vision, anti-aliasing, and the cheap 4000 line display [J]. Computer Graphics, 1980, 14(3) : 308-313.

引证文献4

二级引证文献7

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

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