Auto-Adaptive Step Straight-Line Algorithm

One of the main functions of graphic displays is drawing straight lines. To draw lines quickly, the speed of the applied algorithm is critical. The following three different approaches exist: discrete differential analysis (DDA), introduced by Bresenham (1965), combinatory analysis, and linguistic methods. The most famous approach remains the DDA, since extended by N-step algorithms. We focus on this class of algorithms. Since three N-step algorithms have been published, we analyzed them, studying only their time complexity because they compute the same approximation of the continuous line. Our analysis shows that improvements are small and don't support our objectives for speed. We propose a new algorithm that uses other properties, some of them already presented. We also compare the performances of these algorithms and present the theoretical analysis and benchmarks that prove the new algorithm is at least twice as fast as earlier ones.

[1]  S. Sitharama Iyengar,et al.  Double- and triple-step incremental generation of lines , 1993, CSC '93.

[2]  Jack Bresenham,et al.  Algorithm for computer control of a digital plotter , 1965, IBM Syst. J..

[3]  Graeme W. Gill,et al.  N-step incremental straight-line algorithms , 1994, IEEE Computer Graphics and Applications.

[4]  M. L. V. Pitteway,et al.  An Application of Euclid’s Algorithm to Drawing Straight Lines , 1985 .

[5]  S. Sitharama Iyengar,et al.  Double- and triple-step incremental linear interpolation , 1994, IEEE Computer Graphics and Applications.

[6]  Jean-Jacques Bourdin,et al.  Fast Lines: a Span by Span Method , 1999, Comput. Graph. Forum.

[7]  Li-De Wu,et al.  On the Chain Code of a Line , 1982, IEEE Transactions on Pattern Analysis and Machine Intelligence.

[8]  Brian Wyvill,et al.  Fast line scan-conversion , 1990, TOGS.

[9]  R. Brons,et al.  Linguistic Methods for the Description of a Straight Line on a Grid , 1974, Comput. Graph. Image Process..