液晶与显示, 2014, 29 (4): 605, 网络出版: 2014-06-10   

小角度直线反走样的改进Wu算法

Modified anti-aliasing algorithm for small-angle line based on Wu algorithm
作者单位
南京航空航天大学 电子信息工程学院, 江苏 南京 210016
摘要
直线是机载座舱显示画面中最基本的图元, 其显示质量对于整个画面的显示效果影响较大, 尤其是小角度下直线显示的“麻花”现象一直是影响显示效果的关键问题之一。为了提高小角度下直线的显示效果, 本文提出了一种基于Wu算法的亮度渐变改进算法。该算法通过渐进地展现直线从轴方向上的亮度变化过程, 减少亮度畸变, 有效地改进了显示效果。通过Matlab仿真和FPGA实现, 验证了该算法反走样后的小角度直线显示效果明显优于其他算法, 而且结合中点画线法后, 绘制时间与Wu算法相当。同时该算法还可改善大角度直线和圆弧的显示效果, 消除了大角度直线的边缘锯齿, 解决了圆弧在小角度部分的虚化问题。因此本文算法可用于对实时性和显示效果要求高的机载座舱显示系统, 以缓解飞行员的视觉疲劳。
Abstract
Line is the most basic metafile of airborne cockpit display. Its display quality greatly affects the display of the entire frame, and the "twist" of small-angle line has been one of the key issues affecting the display effect. To get better display of small-angle lines, a new lightness gradient algorithm based on Wu is introduced in this paper. This algorithm reduces the lightness distortion in straight line′s subshaft to eliminate twists, which makes it looking like a smooth line. The Matlab simulation and FPGA implementation results show that compared with other anti-aliasing algorithm, the new algorithm improves remarkably the display quality of small-angle lines, while there is no increase in the processing time after combined with midpoint paint line algorithm. Furthermore, the new algorithm can also improve the display quality of large-angle lines and arcs by eliminating the jagged edges of large-angle lines and solving the blur problem of small-angle arcs. Therefore, the improved algorithm can be applied to airborne cockpit display system, which needs high display quality and real-time urgently, in order to relieve visual fatigue of the pilots.
参考文献

[1] Wu X. Efficient anti-aliasing technique [J] .Computer Graphics, 1991, 25(4): 143-152.

[2] 杨蕾, 赵慕奇, 冯晨, 等. 飞机座舱显示系统的反走样技术研究[J]. 液晶与显示, 2006, 21(6): 686-691.

    Yang L, Zhao M Q, Feng C, et al. Anti-aliasing in aircraft cockpit display system [J]. Chinese Journal of Liquid Crystals and Displays, 2006, 21(6): 686-691. (in Chinese)

[3] Jones T R, Ferry R N. Antialiasing with line samples [C]//Rendering Techniques 2000 Proceedings of the Eurographics Workshop, 2000: 197-205.

[4] 汪丽娜. 飞机座舱显示系统仪表画面的反走样技术的研究[D]. 长春: 吉林大学, 2007.

    Wang L N.Research on antialiasing technology for instrument picture of aircraft cockpit display system [D]. Changchun: Jilin University, 2007. (in Chinese)

[5] 马培华. 直线反走样生成和裁剪的算法改进研究[D]. 南宁: 广西大学, 2012.

    Ma P H.The study of improved algorithm on generating and clipping line with anti-aliasing [D]. Nanning: Guangxi University, 2012. (in Chinese)

[6] 贾银亮, 张焕春, 经亚枝. 基于FPGA的直线反走样算法研究[J]. 计算机技术与发展, 2011, 21(2): 26-29.

    Jia Y L, Zhang H C, Jing Y Z. Research of line antialiasing based on FPGA [J]. Computer Technology and Development, 2011, 21(2): 26-29. (in Chinese)

[7] Wong K H, Ouyang X, Lmi C W. Rendering anti-aliased line segments [C].Computer Graphics International 2005, 2005: 198-205.

[8] 江修, 张焕春, 经亚枝. 三像素宽反走样直线的绘制算法研究[J]. 南京航空航天大学学报, 2003, 35(2): 148-151.

    Jiang X, Zhang H C, Jing Y Z. Study on algorithms for three pixel thick straight line with antialiasing [J].Transactions of Nanjing University of Aeronautics and Astronautics, 2003, 35(2):148-151. (in Chinese)

[9] Hearn D, Baker M P. 计算机图形学 [M]. 3版.北京: 电子工业出版社, 2005: 70-79.

    Hearn D, Baker M P.Computer Graphics [M].3rd ed. Beijing: Publishing House of Electronics Industry, 2005: 70-77. (in Chinese)

[10] 杜晨辉. 提高飞机座舱显示系统罗盘画面显示质量的研究[D]. 南京: 南京航空航天大学, 2002.

    Du C H.The research on improving the compass display quality of aircraft cockpit display system [D]. Nanjing: Nanjing University of Aeronautics and Astronautics, 2002. (in Chinese)

[11] 骆朝亮, 谢忠. 一种快速的多线宽直线反走样算法[J]. 计算机工程与应用, 2011, 47(21): 188-190.

    Luo C L, Xie Z. Rapid algorithm for anti-aliasing of arbitrary width line drawing [J]. Computer Engineering and Applications, 2011, 47(21): 188-190. (in Chinese)

[12] 琚新刚, 勾占锋, 孙华. LED亮度调节中的人眼感受非线性校正[J]. 郑州大学学报: 工学版, 2012, 33(5): 138-140.

    Ju X G, Gou Z F, Sun H. Nonlinear correction for human eye feeling to LED brightness control [J].Journal of Zhengzhou University: Engineering Science, 2012, 33(5): 138-140. (in Chinese)

[13] 姜丹丹, 李成贵. 全罗盘画面中的刻度线反走样技术[J]. 液晶与显示, 2009, 24(7): 130-134.

    Jiang D D, Li C G. Research and implementation of anti-aliasing technology on compass screen-scale [J].Chinese Journal of Liquid Crystals and Displays, 2009, 24(7): 130-134. (in Chinese)

李铂, 周建江, 夏伟杰, 吴连慧. 小角度直线反走样的改进Wu算法[J]. 液晶与显示, 2014, 29(4): 605. LI Bo, ZHOU Jian-jiang, XIA Wei-jie, WU Lian-hui. Modified anti-aliasing algorithm for small-angle line based on Wu algorithm[J]. Chinese Journal of Liquid Crystals and Displays, 2014, 29(4): 605.

本文已被 2 篇论文引用
被引统计数据来源于中国光学期刊网
引用该论文: TXT   |   EndNote

相关论文

加载中...

关于本站 Cookie 的使用提示

中国光学期刊网使用基于 cookie 的技术来更好地为您提供各项服务,点击此处了解我们的隐私策略。 如您需继续使用本网站,请您授权我们使用本地 cookie 来保存部分信息。
全站搜索
您最值得信赖的光电行业旗舰网络服务平台!