Curve-drawing algorithms for Raster displays
Curve-drawing algorithms for Raster displays
复制标题
光栅显示的曲线绘制算法
DOI:
10.1145/282918.282943
复制
发表时间:
1985
期刊:
影响因子:
--
通讯作者:
Mark Novak
中科院分区:
文献类型:
--
作者:
Jerry R. Van Aken;Mark Novak
The midpoint method for deriving efficient scan-conversion algorithms to draw geometric curves on raster displays in described. The method is general and is used to transform the nonparametric equation f(x,y) = 0, which describes the curve, into an algorithms that draws the curve. Floating point arithmetic and time-consuming operations such as multiplies are avoided. The maximum error of the digital approximation produced by the algorithm is one-half the distance between two adjacent pixels on the display grid. The midpoint method is compared with the two-point method used by Bresenham, and is seen to be more accurate (in terms of the linear error) in the general case, without increasing the amount of computation required. The use of the midpoint method is illustrated with examples of lines, circles, and ellipses. The considerzations involved in using the method to derive algorithms for drawing more general classes of curves are discussed.