###
计算机系统应用英文版:2017,26(8):180-183
本文二维码信息
码上扫一扫!
直线的Bresenham并行绘制算法
(四川文理学院 计算机学院, 达州 635000)
Bresenham Parallel Drawing Algorithm for Straight Line
(School of Computer, Sichuan University of Arts and Science, Dazhou 635000, China)
摘要
图/表
参考文献
相似文献
本文已被:浏览 1244次   下载 2443
Received:December 06, 2016    
中文摘要: 本文对直线的Bresenham并行绘制进行了研究,并从概率上计算了当斜率k属于(0,1/2)时,每条扫描线上的平均像素个数,发现采用并行绘制方法在该区间可节约3/4的绘制时间.根据理论分析,结合经典Bresenham画直线算法,实现了并行Bresenham画直线算法,并将绘制结果与windows绘图程序和经典的Bresenham画直线算法结果进行了比较,其绘图结果完全相同.对于扫描线多点并行绘制而言,具有很好的效果,便于硬件实现,以增强对实时绘图的响应.
中文关键词: 直线生成  Bresenham  并行  概率  算法
Abstract:Studying the linear parallel drawing based on Bresenham, this paper calculates the average number of pixels in each scan line when the slope k belongs to (0,1/2) based on Probability, and finds that three-quarters of the drawing time can be saved with this method. According to the theoretical analysis, combined with classical Bresenham algorithm for generating line, it realizes a parallel Bresenham algorithm for generating line, and the results with this method are the same as the windows drawing program and the classic Bresenham drawing linear algorithm. It is very important to multi-point parallel rendering for scan line and is easy to design hardware which can enhance the response to real-time drawing.
文章编号:     中图分类号:    文献标志码:
基金项目:四川省教育厅项目(15ZB0326);四川文理学院项目(2015TP003Y)
引用文本:
卫洪春.直线的Bresenham并行绘制算法.计算机系统应用,2017,26(8):180-183
WEI Hong-Chun.Bresenham Parallel Drawing Algorithm for Straight Line.COMPUTER SYSTEMS APPLICATIONS,2017,26(8):180-183