Anti-aliased lines using run-masks

Nicholas A. Diakopoulos*, Peter D. Stephenson

*Corresponding author for this work

Research output: Contribution to journalArticlepeer-review

Abstract

In recent work, a set of line digitization algorithms based on the hierarchy of runs in the digital line has unified and generalized the iterative line-drawing algorithms used in computer graphics. In this paper, the additional structural information generated by these algorithms is leveraged to describe a run-based approach to draw anti-aliased line segments in which anti-aliased run-masks are substituted for the individual run lengths as the line is being drawn. The run-masks are precomputed using a prefiltering technique such that one or more run-masks are defined for each of the one or two possible run lengths that occur in the line. The run-masks can be defined for any order or level of the hierarchy of runs in the digital line and the technique is illustrated using runs of pixels. Comparing the use of run-masks to applying the prefiltering technique for each pixel in the line, a line of similar visual quality can be produced more efficiently. We place no restrictions on the placement of the end points of the line, which may reside anywhere on the two-dimensional plane.

Original languageEnglish (US)
Pages (from-to)165-172
Number of pages8
JournalComputer Graphics Forum
Volume24
Issue number2
DOIs
StatePublished - Jan 1 2005

Keywords

  • Anti-Aliasing
  • Line Drawing

ASJC Scopus subject areas

  • Computer Graphics and Computer-Aided Design

Fingerprint Dive into the research topics of 'Anti-aliased lines using run-masks'. Together they form a unique fingerprint.

Cite this