期刊文献+

逐点生成参数曲线的双步算法 被引量:13

Pixel- Level Double- Step Algorithm for RastPixel- Level Double- Step Algorithm for Rasterizing Parametric Curves
下载PDF
导出
摘要 首先介绍参数曲线逐点绘制的现有算法 ;然后提出一个最佳的步长值并验证了其优于现有算法的步长值 ,且证明了其最佳性 ,减轻了取点过密现象 .由于已找到了取点数的最佳值 ,因此对于传统的单步曲线生成算法来说 ,取点过密问题也只能解决到此程度 .为了进一步解决此问题 ,又提出一个只用整数运算的逐点生成参数曲线的双步算法 .该算法的一次循环允许沿曲线向前走两步 ,使算法所生成的点数减少了一半 ,最后所绘制的有效点则与单步算法完全相同 .加快了算法的速度 .实验结果表明 ,新算法的有效点率几乎达到 1,较好地解决了取点过密问题 .实验结果还表明 ,新算法的运行时间也远远少于现有算法 . Existing pixel- level algorithms for rasterizing parametric curves aim ed at finding in single step an optim um step- length for the whole curve. We propose a new approach,its result is verified to be better than those of the existing ones and is proved to be optimum.Thus the problem of oversam pling has gotan improved solution so far for the traditional single- step algorithm . To m ake further progress,a double- step algorithm that uses only integer arithm etic is presented.The number of points com puted by this algorithm is reduced by half by doubling the step- length in case that the same pixels are set as the single- step algorithm s do.The results of performance tests show that the ratio of the number of effective points to the num ber of all points com puted is nearly 10 0 % ,which means that the problem of oversam pling is solved even better.The results also show that the tim e needed by the new algorithm for rasterizing curves is much less than that needed by the other algorithms. The new algorithm can be used to draw any parametric curves.
出处 《计算机辅助设计与图形学学报》 EI CSCD 北大核心 2002年第7期619-623,共5页 Journal of Computer-Aided Design & Computer Graphics
基金 国家自然科学基金 (6940 3 0 0 4) 辽宁省科技基金 (0 14 5 0 8)资助
关键词 参数曲线 逐点绘制 整数运算 双步算法 计算机图形学 曲线绘制 param etric curve,pixel level,integer arithmetic,double- step algorithm
  • 相关文献

参考文献3

二级参考文献7

  • 1蔡耀志,数值计算与计算机应用,1985年,6卷,4期,235页
  • 2金通--,计算几何讨论会论文集,1982年
  • 3蔡耀志,数值计算与计算机应用,1985年,6卷,3期,129页
  • 4孙家广,计算机图形学(新版),1995年
  • 5施法中,计算机辅助几何设计与非均匀有理B样条,1994年
  • 6单银根,计算机图形学基础与应用,1994年
  • 7刘勇奎,石教英.曲线的整数型生成算法[J].计算机学报,1998,21(3):270-280. 被引量:40

共引文献53

同被引文献91

引证文献13

二级引证文献36

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

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