|
|
|
|
  • 软件名称:圆的整数反走样生成算法
  • 软件大小: 477.00 KB
  • 软件评级: ★★★
  • 开 发 商: 贾银亮; 张焕春; 经亚枝
  • 软件来源: 本站原创
  • 解压密码:www.gissky.net

资源简介

针对现有圆的反走样生成算法计算复杂,反走样效果一般的缺点,提出一种基于中点画圆法的整数反走样生成算法。该算法根据像素中心到理想圆弧的距离来分配灰度,生成64级灰度的反走样圆弧。通过省略二次项来简化计算,并用简单的计算修正省略带来的误差以保证精度。为了简化计算,提出相邻像素的灰度递推方法,利用整数移位、加法、比较来实现反走样。该算法结构简单,反走样效果较好,由于避免了浮点和除法运算,便于硬件实现。 更多还原


【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...

下载说明

·如果您发现该资源不能下载,请通知管理员.gissky@gmail.com

·为确保下载的资源能正常使用,请使用[WinRAR v3.8]或以上版本解压本站资源,缺省解压密码www.gissky.net ,如果是压缩文件为分卷多文件,请依次下载每一个文件,并按照顺序命名为1.rar,2.rar,3.rar...,然后鼠标右击1.rar解压.

·为了保证您快速的下载速度,我们推荐您使用[网际快车]等专业工具下载.

·站内提供的资源纯属学习交流之用,如侵犯您的版权请与我们联系.