Method and system for double error antialiasing in a computer display system
AssigneeInternational Business Machines Corporation
InventorGerald P. Pomichter, Jr.
Life of this patent
Estimating the term…
Loading patent…
AssigneeInternational Business Machines Corporation
InventorGerald P. Pomichter, Jr.
Estimating the term…
A method and system for generating an antialiased approximation of a line displayed within a data processing system having a raster-scan device for generating images within a two-dimensional grid comprising rows and columns of pixels. A plurality of parameters are generated according to Bresenham's algorithm for the line, including first error term and a second error term. A pixel intensity for an initial pixel for the pixel approximation of the line is generated. The first error term is compared with a threshold to determine an amount of error. The first error term is adjusted by a first selected amount in response to the comparison of the first error term, and the second error term is adjusted by a second selected amount in response to the comparison of the first error term. A pixel proximate to the initial pixel is selected by comparing the first adjusted error term with a second threshold to locate a pixel closest to a point on the line. The pixel is assigned a first intensity based on a comparison of the second adjusted error term with the first error term. Another pixel proximate to the pixel is selected in response to selecting the pixel. This another pixel is a assigned a second intensity based on a comparison of the second adjusted error term with the first error term.
An apparatus for generating an antialiased approximation of a line displayed within a data processing system having a raster-scan device for generating images within a two-dimensional grid comprising rows and columns of pixels, said apparatus comprising:
A data processing system for generating and displaying an antialiased approximation of a line, said data processing system comprising:
Dependencies are inferred from the claim text.