Raster display smooth line generation
First Claim
1. In a raster type image-generating system, a high speed arrangement for generating for display a smooth line of consistent thickness regardless of slope, in which said line is defined by a starting end point position and a concluding end point position specified to a fractional pixel precision comprising:
- (a) first means for deriving information representing the slope of said line to n bits of said fractional pixel precision;
(b) means, responsive to said end point positions and to said first deriving means, for identifying a plurality of pixel positions relevantly proximate to said end point positions, and for identifying a plurality of one-dimensional arrays, each of said arrays being at least three contiguous pixel positions defining a cross-section point of the interior portion of said line between said end point positions;
(c) second means, responsive to said end point positions and said deriving means, for deriving information representative of the distance of each of said pixel positions of said arrays from said line;
(d) first means, responsive to said starting end point position, to said second deriving means and to said identifying means, for determining a value representative of a level of intensity between a selected minimum and maximum to be associated with each of said pixel positions relevant to said starting end point position, said value being a function of the location of said pixel position relative to said starting end point position;
(e) second means, responsive to said first and second deriving means and said identifying means, for determining a value representative of a level of intensity between said selected minimum and maximum to be associated with each of said pixel positions of each of said arrays, said value being a function of the slope of said line and the distance between said pixel position and said line; and
(f) third means, responsive to said concluding end point position, to said second deriving means and to said identifying means, for determining a value representative of a level of intensity between said selected minimum and maximum to be associated with each of said pixel positions relevant to said concluding end point position, said value being a function of the location of said pixel position relative to said concluding end point position.
1 Assignment
0 Petitions
Accused Products
Abstract
A high speed arrangement for generating smooth lines of consistent thickness regardless of slope in a raster type display system such as a computer graphics system. A digital differential analyzer is employed for determining Y-position information to n bits of fraction for each integral step in X within a single operative clock cycle. All pixel positions are identified that are relevantly proximate to the starting end point of the line, to the concluding end point, and each one-dimensional array of at least three contiguous pixel positions encompassing a cross-section of the interior portion of the line. Intensity values are determined for each such identified pixel position based upon its distance from the true line, with the intensities of the pixel positions identified in each array being additionally determined based upon the slope of the line. For crossing-line situations in color systems, proportional weighting apparatus is provided which generates a new pixel-position value based upon the existing intensity value, the desired color of the line and the intensity value associated to the crossing line, with the latter constituting a proportionality constant.
69 Citations
13 Claims
-
1. In a raster type image-generating system, a high speed arrangement for generating for display a smooth line of consistent thickness regardless of slope, in which said line is defined by a starting end point position and a concluding end point position specified to a fractional pixel precision comprising:
-
(a) first means for deriving information representing the slope of said line to n bits of said fractional pixel precision; (b) means, responsive to said end point positions and to said first deriving means, for identifying a plurality of pixel positions relevantly proximate to said end point positions, and for identifying a plurality of one-dimensional arrays, each of said arrays being at least three contiguous pixel positions defining a cross-section point of the interior portion of said line between said end point positions; (c) second means, responsive to said end point positions and said deriving means, for deriving information representative of the distance of each of said pixel positions of said arrays from said line; (d) first means, responsive to said starting end point position, to said second deriving means and to said identifying means, for determining a value representative of a level of intensity between a selected minimum and maximum to be associated with each of said pixel positions relevant to said starting end point position, said value being a function of the location of said pixel position relative to said starting end point position; (e) second means, responsive to said first and second deriving means and said identifying means, for determining a value representative of a level of intensity between said selected minimum and maximum to be associated with each of said pixel positions of each of said arrays, said value being a function of the slope of said line and the distance between said pixel position and said line; and (f) third means, responsive to said concluding end point position, to said second deriving means and to said identifying means, for determining a value representative of a level of intensity between said selected minimum and maximum to be associated with each of said pixel positions relevant to said concluding end point position, said value being a function of the location of said pixel position relative to said concluding end point position. - View Dependent Claims (2, 3, 4)
-
-
5. In a raster type image-generating system, a high speed arrangement for generating for display a smooth line of consistent thickness regardless of slope, comprising:
-
(a) means for resolving in a single operative cycle first axis positional information to a selected number of bits of fractional pixel precision for each integral step in position along a portion of a second axis associated with said line; and (b) first means operatively connected to said resolving means and responsive to a combined input signal comprising the slope of said line, rendered to n1 bits of fractional pixel precision, and the separation of said line, to n2 bits of fractional pixel precision, from a relevant pixel position for providing a value which is representative of an intensity to which said pixel position is to be set in displaying said line. - View Dependent Claims (6, 7, 8, 9)
-
-
10. An improved digital differential analyzer for determining in a raster type line generating display system first axis (Y) positional information to a selected number (n) of bits of fractional pixel precision for each integral step in position along a predetermined portion of a second axis (X), wherein the improvement comprises:
-
(a) slope register means for receiving information representing the slope of a line segment to be displayed; (b) first register means for receiving initially a resultant of the function (Slope·
DX)-(2n ·
DY), whereSlope=the slope of said line segment, N=said selected number of bits of fractional pixel precision, and DX and DY=differences between an ending and a starting first and second axis position, respectively; (c) second register means for receiving said resultant plus DX; (d) multiplexer means connected to said first and second register means for selectively receiving the contents of said first and second register means; (e) first adder means, a first input of which is coupled to said multiplexer means; (f) second adder means, a first input of which is coupled to said slope register means; (g) accumulator means connected to the output of said first adder means, said accumulator means having an output connected to said multiplexer means, to a second input of said first adder means and to a carry input of said second adder means; (h) first axis position register means for receiving intially a starting-position first axis information, said first axis position register means being connected to the output of said second adder means and having its output connected to a third input of said second adder means, said second adder means output comprising an integer portion and fractional portion representative of said first axis positional information for a given second axis position; and (i) means for simultaneously actuating said first and second adder means and for synchronously clocking said accumulator means and said first axis position register means once for said given second axis position associated with said line; Whereby said first axis positional information for said given second axis position is calculated during a single clock cycle for any value of said selected number n. - View Dependent Claims (11)
-
-
12. In a raster type line generating polychromic display system, an improved arrangement for the proportional weighting of pixel position values as a function of intensity, a desired color and a proportionality constant to provide new pixel position values, wherein the improvement comprises first, second and third ROM means, each respectively associated with one of a set of primary colors and containing a table of addressable predetermined values, for providing a digital output signal representative of said respective primary color'"'"'s portion of said new pixel position value in response to a combined digital input signal comprised of parts which are respectively representative of an existing pixel value, said desired color and α
- , where α
is a value representative of a fractional coverage of a pixel by a line to be displayed and constitutes said proportionality constant.
- , where α
-
13. In a high speed raster type system for accurately generating a smooth line for display, the improvement in combination comprising:
-
(a) first means for resolving end points defining said line to fractional pixel precision; (b) second means, responsive to said first means, for identifying positionally relevant pixel positions related to each of said end points enabling a true representation of said end points; and (c) third means, responsive to said second means, for deriving in a predetermined sequence values representative of a level of intensity between a selected minimum and maximum to be associated with each of said positionally relevant pixel positions for each of said end points.
-
Specification