全部 标题 作者
关键词 摘要

OALib Journal期刊
ISSN: 2333-9721
费用:99美元

查看量下载量

相关文章

更多...

Integral algorithm for circle anti-aliasing
圆的整数反走样生成算法

Keywords: circle,anti-aliasing,integer operation,grayscale
圆弧
,反走样,整数运算,灰度

Full-Text   Cite this paper   Add to My Lib

Abstract:

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-aliasing effect and its efficiency have been improved.

Full-Text

Contact Us

service@oalib.com

QQ:3279437679

WhatsApp +8615387084133