A note on discrete representation of lines

In raster graphics a line must be drawn as a “discrete segment”, a set of integer grid points that lie close to the line. Equivalence classes of identically drawn lines are described in terms of Farey series; this treatment notably simplifies previous work of Dorst and Smeulders. A log n algorithm serves to identify a line's equivalence class. Using it to choose among precomputed n-pixel discrete segments, we may draw lines in n-pixel blocks rather than the customary single-pixel steps.

[1]  Robert F. Sproull,et al.  Using program transformations to derive line-drawing algorithms , 1982, TOGS.

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

[3]  Robert E. Tarjan,et al.  Applications of a planar separator theorem , 1977, 18th Annual Symposium on Foundations of Computer Science (sfcs 1977).

[4]  Christos H. Papadimitriou Efficient Search for Rationals , 1979, Inf. Process. Lett..

[5]  Arnold W. M. Smeulders,et al.  Discrete Representation of Straight Lines , 1984, IEEE Transactions on Pattern Analysis and Machine Intelligence.