摘要
罗盘画面是座舱显示系统中的重要画面之一。常用的反走样画线算法没有考虑直线端点的失真现象,以及直线旋转中线宽的变化,导致直线在旋转过程中仍存在闪烁、扭曲、变形现象。针对这些现象,将光栅显示器上的像素比作一个个正方形区域,把直线看成长方条形,提出了依据计算长方形区域面积绘制刻度线的反走样算法。实践证明,该算法适用于任何直线的反走样绘制,既快速,又克服了刻度线旋转过程中闪烁、扭曲、变形现象,并且这一画线算法还可以进行融合背景色处理。
The display of compass is one of the most important images in integrated cockpit display system, which requires high display quality. Most of existing anti-aliasing algorithm didn't consider the endpoint distortion and the change of line width when it is rotating, which may result in unexpected distortion, flickering or transformation. To solve the problem, we took some software measures on the realization of the compass scale line. Taking the pixels of raster display as square areas, and the beeline as a rectangular, a high-speed anti-aliasing algorithm was proposed which may draw the line by calculating the area of the rectangular. Practice proved that this anti-aliasing algorithm, which has rapid speed and can eliminate distortion and flicker when beeline rotating, is applicable for any kind of beeline's display.
出处
《电光与控制》
北大核心
2010年第12期82-85,共4页
Electronics Optics & Control
关键词
座舱显示系统
反走样
罗盘
直线
区域面积
cockpit display system
anti-aliasing
compass
scale line
area size