WO2007057506A1 - Vector graphics anti-aliasing - Google Patents

Vector graphics anti-aliasing Download PDF

Info

Publication number
WO2007057506A1
WO2007057506A1 PCT/FI2006/000375 FI2006000375W WO2007057506A1 WO 2007057506 A1 WO2007057506 A1 WO 2007057506A1 FI 2006000375 W FI2006000375 W FI 2006000375W WO 2007057506 A1 WO2007057506 A1 WO 2007057506A1
Authority
WO
WIPO (PCT)
Prior art keywords
pixel
sub
current
counter value
edge
Prior art date
Application number
PCT/FI2006/000375
Other languages
French (fr)
Inventor
Mika Tuomi
Original Assignee
Bitboys Oy
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Bitboys Oy filed Critical Bitboys Oy
Priority to CN2006800505758A priority Critical patent/CN101356548B/en
Priority to JP2008539462A priority patent/JP4982498B2/en
Priority to EP06820056.7A priority patent/EP1958162B1/en
Publication of WO2007057506A1 publication Critical patent/WO2007057506A1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T11/002D [Two Dimensional] image generation
    • G06T11/20Drawing from basic elements, e.g. lines or circles
    • G06T11/203Drawing of straight lines or curves
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2200/00Indexing scheme for image data processing or generation, in general
    • G06T2200/12Indexing scheme for image data processing or generation, in general involving antialiasing

Definitions

  • the present invention generally relates to vector graphics processing, and more particularly to antialiasing of a vector graphics image.
  • a raster graphics image can be stored and manipulated as a grid of pixels.
  • the grid of pixels can be rectangular, having a horizontal dimension, and a vertical dimension.
  • the raster graphics image can be displayed, for example, on a display device, such as a monitor, on media, such as paper, and the like.
  • the color of each pixel can be individually defined.
  • each pixel can be represented by independent values for the red, green, and blue components of the pixel.
  • a value for a transparency component or "alpha" value can be included for each pixel of the graphics image.
  • a raster graphics image can be determined by its resolution (e.g., the total number of pixels), and by its color depth (e.g., the amount of information in each pixel) .
  • a vector graphics image can include geometric objects, such as curves, lines, polygons, and the like.
  • information describing the geometric objects included in the image can be stored.
  • the stored information for drawing the circle can include the radius of the circle, the location of the center point of the circle, the style and color of the stroke line used for the circle, the style and color of the fill used for the circle, and the like.
  • a geometric object can be decomposed into more simple geometric objects.
  • a quadrangle can be decomposed into two triangles .
  • the term "primitive" can be used to refer to a basic or primitive element of a geometric object in a vector graphics image, and can include points, lines, planes, circles, spheres, triangles, polygons, and the like.
  • a primitive includes one or more line segments, these line segments can be referred to as "edges" in the vector graphics arts.
  • a quadrangle is a polygon consisting of four edges .
  • vector graphics can include significantly smaller file size due to the minimal amount of information needed to be stored.
  • file size does not depend on the dimensions of the geometric object or objects included in the image.
  • vector graphics can be used for describing both two-dimensional and three-dimensional geometric objects, and a vector graphics image can be scaled without losing its quality.
  • rasterization can include looping through each of the primitives, determining which pixels in the image a current primitive affects, and modifying the corresponding pixels accordingly.
  • antialiasing often can be employed to smooth the resulting raster graphics image, and can include manipulating the apparent smoothness of contours in the graphics image, for example, by manipulating the transparency of pixels neighboring such contours .
  • Anti-aliasing commonly is employed in the art of computer graphics, particularly in the context of conventional computers, such as desktop computers, servers, and the like.
  • scalable fonts displayed on a computer screen can be anti-aliased, including determining for each pixel used to display a character, how much of that pixel is occupied by the character, and drawing that pixel with the corresponding degree of opacity. For example, when drawing a black character on a white background, if a pixel should ideally be half filled (e.g., such as by diagonal line from corner to corner) , the pixel might be drawn with a 50% gray level.
  • a typical anti-aliasing solution for polygon-based three-dimensional rendering can include full-screen anti-aliasing in which a whole frame buffer is first rendered in a higher resolution and then sampled down.
  • the anti-aliasing can be achieved with a relatively low amount of samples and without sacrificing performance.
  • this approach is not particularly suitable for two-dimensional rendering, because the requirements for anti-aliasing quality in two-dimensional rendering are higher. In other words, anti-aliasing in two-dimensional rendering would require a significantly larger amount of samples, resulting in a considerable penalty with regards to memory usage.
  • texture data has already been filtered such that a higher sampling frequency need only be employed at polygon edges. Accordingly, some antialiasing techniques employ such an observation for calculating anti-aliasing only for polygon data, for example, by means of coverage masks where blending of color values fetched from different polygons is required only if the coverage masks define a partial fill area.
  • Schemes for two-dimensional polygon anti-aliasing algorithms can be classified into sample-based approaches, and analytical approaches.
  • Sample-based approaches typically employ high-resolution data internally and calculate pixel intensities from such data.
  • Generation of the high-resolution data can include rasterizing directly to a high-resolution buffer or using table lookup for edge masks that are used for composing the high-resolution buffer.
  • OpenVG OpenVG 1.0 standard by Khronos group of July 28, 2005, incorporated by reference herein, which provides an application programming interface (API) for hardware accelerated two- dimensional vector and raster graphics, including anti-aliasing.
  • API application programming interface
  • the OpenVG specification provides a set of device independent specifications to be implemented (e.g., by device manufacturers) in order to provide hardware acceleration on devices ranging from wristwatches to full microprocessor-based desktop and server machines.
  • the OpenVG specification does not teach or suggest how to actually implement their specifications .
  • the exemplary embodiments of the present invention which provide high quality, mathematically correct, anti-aliasing of vector graphics images with sub-pixel accuracy, including support for concave, self-intersecting polygons with holes, support for even-odd winding fill rules and non-zero winding fill rules, and the like, and which is efficient enough to allow implementation on handheld devices with limited processing power, and the like.
  • the exemplary embodiments can be employed with various graphical applications, including computer graphics applications, and the like, and in particular handheld device applications, low computing capacity device applications, memory limited device applications, and the like.
  • the anti-aliasing solution of the exemplary embodiments is well suited for the corresponding hardware implementations, and the like.
  • a processor unit configured for anti-aliasing of a vector graphics image, including at least one primitive having at least one edge.
  • the vector graphics image is rasterized into a group of pixels having a first dimension and a second dimension.
  • the rasterization is performed in a rasterization direction which is parallel to the first dimension.
  • the processor unit can include a counter value calculator configured to calculate the counter values for each pixel .
  • the counter value calculation by the counter value calculator is performed pixel-by-pixel in the rasterization direction and for one edge at a time.
  • the processor unit further includes a counter value recorder configured to store the calculated counter values in an edge buffer, and a pixel coverage value calculator configured to calculate pixel coverage values based on the stored counter values.
  • the calculated pixel coverage values are utilized for anti-aliasing the vector graphics image, while rasterizing the vector graphics image into the group of pixels .
  • the exemplary embodiments further can include a device, such as a handheld device, and the like, and including a rasterizer configured to rasterize a vector graphics image, including at least one primitive having at least one edge, into a group of pixels having a first dimension and a second dimension.
  • the rasterization is performed in a rasterization direction parallel to the first dimension, wherein multiple sub-pixel sampling points are associated with each pixel, and a counter value is associated with each sub-pixel sampling point.
  • the handheld device further includes a processor unit configured to facilitate anti-aliasing of the vector graphics image, and including a counter value calculator configured to calculate the counter values for each pixel.
  • the counter value calculation by the counter value calculator is performed pixel-by-pixel in the rasterization direction and for one edge at a time.
  • the processor unit further includes a counter value recorder configured to store the calculated counter values in an edge buffer, and a pixel coverage value calculator configured to calculate pixel coverage values based on the stored counter values .
  • the calculated pixel coverage values are utilized by the rasterizer for the anti-aliasing of the vector graphics image, while rasterizing the vector graphics image .
  • the exemplary embodiments further can include a processor unit for anti-aliasing of a vector graphics image, including at least one primitive having at least one edge.
  • the vector graphics image is rasterized into a group of pixels having a first dimension and a second dimension.
  • the rasterization is performed in a rasterization direction parallel to the first dimension, multiple sub-pixel sampling points are associated with each pixel, and a counter value is associated with each sub-pixel sampling point.
  • the processor unit includes a counter value calculating means for calculating the counter values for each pixel .
  • the counter value calculation by the counter value calculating means is performed pixel-by- pixel in the rasterization direction and for one edge at a time.
  • the processor unit further includes a counter value recording means for storing the calculated counter values in an edge buffering means, and a pixel coverage value calculating means for calculating pixel coverage values based on the stored counter values.
  • the calculated pixel coverage values are utilized for anti-aliasing the vector graphics image, while rasterizing the vector graphics image into the group of pixels .
  • the exemplary embodiments further can include a device, such as a handheld device, and the like, and including an edge buffering means, a rasterizing means for rasterizing a vector graphics image, including at least one primitive having at least one edge into a group of pixels having a first dimension and a second dimension.
  • the rasterization is performed in a rasterization direction parallel to the first dimension, multiple sub-pixel sampling points are associated with each pixel, and a counter value is associated with each sub-pixel sampling point.
  • the handheld device further includes a processor unit for anti-aliasing of the vector graphics image, and including a counter value calculating means for calculating the counter values for each pixel .
  • the counter value calculation by the counter value calculating means is performed pixel-by-pixel in the rasterization direction and for one edge at a time.
  • the processor unit further includes a counter value recording means for storing the calculated counter values in the edge buffering means, and a pixel coverage value calculating means for calculating pixel coverage values based on the stored counter values.
  • the calculated pixel coverage values are utilized by the rasterizing means for the anti-aliasing of the vector graphics image, while rasterizing the vector graphics image.
  • the counter value calculator is further configured to perform the counter value calculation by (i) incrementing a counter value associated with a current sub-pixel sampling point inside a current pixel, when the current sub-pixel sampling point intersects a current edge having a first vectorial direction, wherein the first vectorial direction is non-parallel with the rasterization direction; (ii) decrementing the counter value associated with the current sub-pixel sampling point inside the current pixel, when the current sub- pixel sampling point intersects a current edge having a second vectorial direction, wherein the second vectorial direction is non-parallel with the rasterization direction; (iii) incrementing the counter value associated with the current sub-pixel sampling point inside the current pixel, when the current sub-pixel sampling point is located, in the rasterization direction, behind the current edge having the first vectorial direction; (iv) decrementing the counter value associated with the current sub-pixel sampling point inside the current pixel, when the current sub-pixel sampling point is located
  • the counter value calculation by the counter value calculator is performed for one edge at a time. For example, counter values associated with sub-pixel sampling points affected by the current edge in the above manner inside all the pixels are incremented/decremented before moving on to increment/decrement counter values associated with sub-pixel sampling points affected by a subsequent edge, when the vector graphics image includes at least two edges in total.
  • the pixel coverage value calculator is further configured to calculate the pixel coverage value of a current pixel by combining the stored counter values of each sub-pixel sampling point of the current pixel with the stored counter values of each sub-pixel sampling point of each preceding pixel in a current line of pixels.
  • the pixel coverage value calculator is further configured to multiply an alpha value of the current pixel with the calculated pixel coverage value of the current pixel .
  • the exemplary embodiments allow anti-aliasing of vector graphics images in an efficient manner so as allow implementation of the anti-aliasing on devices with limited processing power, such as handheld devices, including mobile telephones, personal digital assistants, handheld computers, and the like, and can be well suited for hardware implementations.
  • the exemplary embodiments allow for high quality anti-aliasing of vector graphics images by supporting, for example, concave, self-intersecting polygons with holes, even- odd winding fill rules, non-zero winding fill rules, mathematically correct anti-aliasing with sub-pixel accuracy, and the like.
  • FIG. 1 is a block diagram illustrating an exemplary handheld device, according to the exemplary embodiments of the present invention
  • FIG. 2a illustrates an exemplary vector graphics image having one primitive and that can be rasterized and anti-aliased into a group of pixels by the exemplary embodiments of the present invention
  • FIG. 2b illustrates an exemplary distribution of sampling points in one pixel of the group of pixels of FIG. 2a, according to the exemplary embodiments of the present invention.
  • FIG. 2c illustrates an exemplary counter value calculation for two consecutive pixels of the group of pixels of FIG. 2a, according to the exemplary embodiments of the present invention.
  • the handheld device 100 can include, for example, a mobile telephone, a personal digital assistant, a handheld computer, and the like.
  • the handheld device 100 can include an edge buffer 120, including a portion of a memory set aside for the below described functions of the exemplary embodiments.
  • the memory of which the edge buffer 120 is a portion of can include, for example, a memory circuit of the handheld device 100, a memory circuit of a graphics board (not shown) included in the handheld device 100, and the like, and which can be used for other functions .
  • the edge buffer 120 can be a portion of a memory dedicated for the performing only the functions of the exemplary embodiments .
  • the handheld device 100 can include a rasterizer 130 that can be configured to rasterize a vector graphics image into a group of pixels having a first dimension and a second dimension.
  • the vector graphics image can include at least one primitive having at least one edge.
  • the rasterization can be performed in a rasterization direction, which is parallel to the first dimension, with multiple sub-pixel sampling points associated with each pixel, and with a counter value associated with each sub-pixel sampling point.
  • FIG. 2a illustrates an exemplary vector graphics image that can be rasterized by the rasterizer 130 of FIG. 1 into a group of pixels and that is to be anti- aliased while being rasterized, wherein the antialiasing can be facilitated by the processor unit 110 of FIG. 1.
  • the vector graphics image illustrated in FIG. 2a is a simple graphics image only including one primitive
  • the exemplary embodiments can be applied to typical, real-life, vector graphics images including multiple primitives, as will be appreciated by those skilled in the graphics art(s). Accordingly, the primitive 210 is a simple polygon having four edges
  • each of the edges 211, 212, 213 and 214 is a vector.
  • each of the edges 211, 212, 213 and 214 has an associated vectorial direction, as illustrated by the arrows in FIG. 2a.
  • the vectorial directions associated with the edges 211, 212, 213 and 214 can be categorized into two main groups that are non-parallel with the first or horizontal dimension and that are essentially opposed to each other, and include an upward or first direction group, and a downward or second direction group.
  • the edges 211 and 213 belong to the downward direction group
  • the edges 212 and 214 belong to the upward direction group.
  • the polygon 210 can be rasterized into a raster graphics image 200, for example, which can include a group of 16x16 pixels.
  • the raster graphics image 200 includes a rectangle having a first dimension or a horizontal dimension, and a second dimension or a vertical dimension.
  • the raster graphics image 200 includes 16 pixels in the horizontal dimension, and 16 pixels in the vertical dimension.
  • the first and second dimension need not be of equal magnitude.
  • the polygon 210 can be rasterized into the raster graphics image 200 by processing each of the 16x16 pixels, one by one.
  • a first of row pixels can be processed from left to right, and then a next row of pixels can be processed, again from left to right, and this process can be repeated until all the rows of pixels have been processed.
  • the rasterization direction can be parallel to the horizontal dimension or from left to right, as illustrated in FIG. 2a.
  • the rasterization typically would result with pixels of the raster graphics image 200 intersecting the polygon 210 being drawn all in black (e.g., assuming that stroke color of the polygon 210 is black) .
  • some of those pixels intersecting the polygon 210, as well as some of the neighboring pixels can be drawn with various degrees of transparency or, effectively, in various shades of gray in case of black and white images, in order to provide the appearance of smooth contours .
  • the exemplary embodiments allow determining of which pixels are to be drawn and in which degree of transparency, and in a way that is computationally efficient, thereby allowing anti- aliasing to be implemented even on devices with severely limited processing power, such as handheld devices, and the like.
  • FIG. 2b illustrates an exemplary distribution of sampling points in the pixel 220 of the group of pixels of FIG. 2a, according to the exemplary embodiments.
  • the rest of the pixels of the group of pixels of FIG. 2a can employ a similar distribution of sampling points.
  • the pixel 220 is split into 16x16 sub-pixels, wherein the gray filled sub-pixels indicate sub-pixel sampling points .
  • the sampling points can be distributed in a uniform manner, for example, including one sampling point per each horizontal sub-pixel row, one sampling point per each vertical sub-pixel row, and one sampling point per each diagonal sub-pixel line, as shown FIG. 2b.
  • a total of 16 sampling points for the pixel 220 can be employed.
  • a counter value can be associated with each of the 16 sampling points.
  • Each counter value can have a predetermined bit length (e.g., 8 bits or one byte) .
  • each counter value of each pixel can be stored in the edge buffer 120. Accordingly, since there can be 16x16 pixels, with each pixel having 16 associated counter values, and with each counter value having a length of one byte, the edge buffer 120 can be configured to store 16x16x16 bytes or 4096 bytes, according to an exemplary embodiment.
  • other pixel grid sizes, other sub-pixel grid sizes, other sampling point distributions, other counter bit lengths, and the like can be employed, as will be appreciated by those skilled in the graphics art(s) .
  • the handheld device 100 of FIG. 1 further can include a processor unit 110 that can be configured to facilitate anti-aliasing of the vector graphics image, in accordance with the exemplary embodiments .
  • the processor unit 110 can form a part of a multi-purpose processor, for example, such as a central processing unit, a graphics processing unit, and the like, of the handheld device 100.
  • the processor unit 110 can be configured at least as part of an additional processor dedicated for performing the functions of the exemplary embodiments .
  • the processor unit 110 can include a counter value calculator 111 that can be configured to calculate the counter values for each pixel .
  • the counter value calculation can be performed for one edge at a time, and pixel-by- pixel, in the rasterization direction.
  • FIG. 2c illustrates an exemplary counter value calculation for the pixels 220 and 230 of the group of pixels of FIG. 2a, according to the exemplary embodiments.
  • the upward edge 214 of the polygon 210 intersects the pixel 220, wherein the gray filled boxes indicate sub-pixel sampling points, and black filled boxes indicate sub-pixel sampling points having their associated counter values affected by the upward edge 214.
  • the counter value calculator 111 can be configured to perform the counter value calculation by incrementing a counter value associated with a current sub-pixel sampling point inside a current pixel, when the current sub- pixel sampling point intersects a current edge having a first vectorial direction, wherein the first vectorial direction is non-parallel with the rasterization direction. For example, assuming the current pixel is the pixel 220 of FIG.s 2a-2c, the current edge is the edge 214, and the first vectorial direction is upward, sub-pixel sampling points 22Ooi and 22O 02 intersect the upward edge 214. As a result, the counter values associated with the sub-pixel sampling points 220oi and 22Oo2 can be incremented.
  • a counter value can be set to an initial value of zero, and whenever the counter value is incremented or decremented, the counter can be incremented or decremented by one.
  • the counter value calculator 111 can be further configured to perform the counter value calculation by decrementing the counter value associated with the current sub-pixel sampling point inside the current pixel, when the current sub-pixel sampling point intersects a current edge having a second vectorial direction, wherein the second vectorial direction is non-parallel with the rasterization direction. For example, assuming the current pixel is the pixel 220 of FIGs. 2a-2c, the current edge is the edge 214, and the second vectorial direction is downward, no counter values associated with any sub-pixel sampling points inside the pixel 220 are decremented, since there are no downward edges intersecting the pixel 220.
  • the counter value calculator 111 can be further configured to perform the counter value calculation by incrementing the counter value associated with the current sub-pixel sampling point inside the current pixel, when the current sub-pixel sampling point is located, in the rasterization direction, behind the current edge having the first vectorial direction. For example, assuming the current pixel is the pixel 220 of FIGs.
  • the current edge is the edge 214
  • the first vectorial direction is upward
  • the rasterization direction is from left to right
  • the counter values associated with the sub-pixel sampling points 22Oo4, 22Oo5, 22Oo6, 22O 07 , 220 0 s, 220 0 g and 220 i0 are incremented, since the sub-pixel sampling points 22Oo4, 22Oo5, 22O 06 , 22O 07 , 22O 08 , 22O 09 and 220i 0 are located to the right of the upward edge 214 (e.g., behind the upward edge 214 in the rasterization direction) .
  • the counter value calculator 111 can be further configured to perform the counter value calculation by decrementing the counter value associated with the current sub-pixel sampling point inside the current pixel, when the current sub-pixel sampling point is located, in the rasterization direction, behind the current edge having the second vectorial direction. For example, assuming the current pixel is the pixel 220 of FIGs. 2a-2c, the current edge is the edge 214, the second vectorial direction is downward, and the rasterization direction is from left to right, no counter values associated with any sub-pixel sampling points inside the pixel 220 are decremented, since there are no downward edges affecting the pixel 220.
  • the counter value calculator 111 can be further configured to perform the counter value calculation by incrementing a counter value associated with another sub-pixel sampling point inside a pixel next to the current pixel in the rasterization direction, when the current sub-pixel sampling point is located, in the rasterization direction, before the current edge having the first vectorial direction, and when the current sub-pixel sampling point and the another sub- pixel sampling point are correspondingly positioned inside their respective pixels. For example, assuming the current pixel is the pixel 220 of FIGs.
  • the current edge is the edge 214
  • the first vectorial direction is upward
  • the rasterization direction is from left to right
  • the counter values associated with the sub-pixel sampling points 23Ooi, 23(Do 2 , 23Oo3, 230o4, 23Oo 5 and 23Oo6 are incremented, since the pixel 230 is the pixel next to the pixel 220 in the rasterization direction (e.g., to the right), and since the sub-pixel sampling points (e.g., the gray sampling points) of the pixel 220 spatially corresponding to the sub-pixel sampling points 23Ooi, 230o2, 23O 03 , 23O 04 , 23O 05 and 23O 06 are located to the left of the upward edge 214 (e.g., before the upward edge 214 in the rasterization direction) .
  • the counter value calculator 111 can be further configured to perform the counter value calculation by decrementing the counter value associated with the another sub-pixel sampling point inside the pixel next to the current pixel in the rasterization direction, when the current sub-pixel sampling point is located, in the rasterization direction, before the current edge having the second vectorial direction, and when the current sub-pixel sampling point and the another sub- pixel sampling point are correspondingly positioned inside their respective pixels. For example, assuming the current pixel is the pixel 220 of FIGs.
  • the current edge is the edge 214
  • the second vectorial direction is downward
  • the rasterization direction is from left to right
  • no counter values associated with any sub-pixel sampling points inside the pixel 230 are decremented, since there are no downward edges affecting the pixel 220.
  • the above example include only one edge (e.g., the upward edge 214) affecting the counter values of the pixels 220 and 230, in more complex embodiments there may be several edges (e.g., possibly both upward and downward) affecting the counter values of a single pixel. Accordingly, in an exemplary embodiment, the effect of one edge on all the pixels and their counter values can be processed before moving on to process the effect of a next edge.
  • the processor unit 110 can further include a counter value recorder 112 that can be configured to store the calculated counter values in the edge buffer 120.
  • the processor unit 110 can further include a pixel coverage value calculator 113 that can be configured to calculate pixel coverage values based on the stored counter values, wherein the calculated pixel coverage values can be utilized by the rasterizer 130 for the anti-aliasing of the vector graphics image, while rasterizing the vector graphics image .
  • the pixel coverage value calculator 113 can be further configured to calculate the pixel coverage value of a current pixel by combining the stored counter values of each sub- pixel sampling point of the current pixel with the stored counter values of each sub-pixel sampling point of each preceding pixel in a current line of pixels. For example, to calculate the pixel coverage value for the pixel 220, the stored counter values of the sub- pixel sampling points of the three preceding pixels in the same horizontal pixel row (e.g., the seventh row from above) are combined with the stored counter values of the sub-pixel sampling points of the pixel 220. However, since no edges affect those three preceding pixels, the stored counter values of the sub-pixel sampling points of the three preceding pixels will be zero.
  • the pixel coverage value for the pixel 220 can be the combination of the stored counter values of the sub-pixel sampling points of the pixel 220.
  • the pixel coverage value for the pixel 220 can be set to 10/16, since ten counter values out of the total sixteen counter values of the pixel 220 were incremented by one due to the upward edge 214, and since the remaining six counter values kept their initial value of zero.
  • the stored counter values of the sub-pixel sampling points of the initial three pixels in the same horizontal pixel row, as well as those of the pixel 220, can be combined with the stored counter values of the sub-pixel sampling points of the pixel 230. Accordingly, the pixel coverage value for the pixel 230 can be the combination of the stored counter values of the sub-pixel sampling points of the pixels 220 and 230.
  • the pixel coverage value for the pixel 230 can be set to 16/16 or 10/16 + 6/16, since six counter values out of the total sixteen counter values of the pixel 230 were incremented by one due to the upward edge 214, since the remaining ten counter values kept their initial value of zero, and since the above counter values of the sub-pixel sampling points of the pixel 220 can be combined with the counter values of the sub-pixel sampling points of the pixel 230.
  • an auxiliary buffer (not shown) can be employed.
  • Such an auxiliary buffer can include at least the same amount of auxiliary counter values as the amount of counter values of sub-pixel sampling points for one pixel or sixteen auxiliary counter values.
  • the auxiliary buffer can be used as a temporary storage for the accumulated counter values of the preceding pixels in the current line of pixels, while calculating the pixel coverage value of the current pixel. Initially, the auxiliary counter values can be set to zero.
  • the counter values of the sub-pixel sampling points for the pixel 220 can be stored in the edge buffer 120 and can be combined with the auxiliary counter values (e.g., initially zero) in the auxiliary buffer, resulting in the above pixel coverage value of 10/16 for the pixel 220.
  • the auxiliary counter values e.g., initially zero
  • Such a combination of the initial auxiliary counter values and the counter values of the sub-pixel sampling points for the pixel 220 can form the subsequent auxiliary counter values used for the next pixel 230.
  • the counter values of the sub-pixel sampling points of the pixel 230 stored in the edge buffer 120 can be combined with the subsequent auxiliary counter values in the auxiliary buffer, resulting in the pixel coverage value of 16/16 for the pixel 230.
  • the pixel coverage value calculator 113 can be further configured to multiply an alpha value of the current pixel with the calculated pixel coverage value of the current pixel.
  • an alpha value is a ratio used to define transparency, typically such that an alpha value of 100% indicates a pixel that is completely opaque, an alpha value of 0% indicates a pixel that is completely transparent, and the alpha values in- between indicate a degree of transparency of a pixel.
  • the exemplary embodiments can be included within any suitable device, for example, including any suitable servers, workstations, PCs, laptop computers, PDAs, Internet appliances, handheld devices, cellular telephones, wireless devices, other devices, and the like, capable of performing the processes of the exemplary embodiments, and which can communicate via one or more interface mechanisms, including, for example, Internet access, telecommunications in any suitable form (e.g., voice, modem, and the like), wireless communications media, one or more wireless communications networks, cellular communications networks, G3 communications networks, Public Switched Telephone Network (PSTNs) , Packet Data Networks (PDNs) , the Internet, intranets, a combination thereof, and the like.
  • PSTNs Public Switched Telephone Network
  • PDNs Packet Data Networks
  • the exemplary embodiments are for exemplary purposes, as many variations of the specific hardware used to implement the exemplary embodiments are possible, as will be appreciated by those skilled in the hardware art(s).
  • the functionality of one or more of the components of the exemplary embodiments can be implemented via one or more hardware devices.
  • the exemplary embodiments can store information relating to various processes described herein. This information can be stored in one or more memories, such as a hard disk, optical disk, magneto-optical disk, RAM, and the like.
  • One or more databases can store the information used to implement the exemplary embodiments of the present inventions .
  • the databases can be organized using data structures (e.g., records, tables, arrays, fields, graphs, trees, lists, and the like) included in one or more memories or storage devices listed herein.
  • the processes described with respect to the exemplary embodiments can include appropriate data structures for storing data collected and/or generated by the processes of the devices and subsystems of the exemplary embodiments in one or more databases .
  • All or a portion of the exemplary embodiments can be implemented by the preparation of application-specific integrated circuits or by interconnecting an appropriate network of conventional component circuits, as will be appreciated by those skilled in the electrical art(s).
  • the components of the exemplary embodiments can include computer readable medium or memories according to the teachings of the present inventions and for holding data structures, tables, records, and/or other data described herein.
  • Computer readable medium can include any suitable medium that participates in providing instructions to a processor for execution. Such a medium can take many forms, including but not limited to, non-volatile media, volatile media, transmission media, and the like.
  • Non-volatile media can include, for example, optical or magnetic disks, magneto-optical disks, and the like.
  • Volatile media can include dynamic memories, and the like.
  • Transmission media can include coaxial cables, copper wire, fiber optics, and the like.
  • Transmission media also can take the form of acoustic, optical, electromagnetic waves, and the like, such as those generated during radio frequency (RF) communications, infrared (IR) data communications, and the like.
  • RF radio frequency
  • IR infrared
  • Common forms of computer-readable media can include, for example, a floppy disk, a flexible disk, hard disk, magnetic tape, any other suitable magnetic medium, a CD-ROM, CDRW, DVD, any other suitable optical medium, punch cards, paper tape, optical mark sheets, any other suitable physical medium with patterns of holes or other optically recognizable indicia, a RAM, a PROM, an EPROM, a FLASH-EPROM, any other suitable memory chip or cartridge, a carrier wave or any other suitable medium from which a computer can read. While the present inventions have been described in connection with a number of exemplary embodiments, and implementations, the present inventions are not so limited, but rather cover various modifications, and equivalent arrangements , which fall within the purview of prospective claims.

Abstract

A processor unit that can be used in a handheld device and configured for anti-aliasing of a vector graphics image, and including a counter value calculator configured to calculate, for one edge at a time and pixel-by-pixel, counter values for each pixel in a rasterization direction, a counter value recorder configured to store the calculated counter values in an edge buffer, and a pixel coverage value calculator configured to calculate pixel coverage values based on the stored counter values. The calculated pixel coverage values can be utilized for anti-aliasing the vector graphics image, while rasterizing the vector graphics image.

Description

VECTOR GRAPHICS ANTI-ALIASING
BACKGROUND OF THE INVENTION FIELD OF THE INVENTION The present invention generally relates to vector graphics processing, and more particularly to antialiasing of a vector graphics image.
DISCUSSION OF THE BACKGROUND In recent years, computer graphics have been employed for representing digital images, for example, as raster graphics, vector graphics, and the like. A raster graphics image can be stored and manipulated as a grid of pixels. Typically, the grid of pixels can be rectangular, having a horizontal dimension, and a vertical dimension. The raster graphics image can be displayed, for example, on a display device, such as a monitor, on media, such as paper, and the like. The color of each pixel can be individually defined. Typically, each pixel can be represented by independent values for the red, green, and blue components of the pixel. In addition, a value for a transparency component or "alpha" value can be included for each pixel of the graphics image. Accordingly, a raster graphics image can be determined by its resolution (e.g., the total number of pixels), and by its color depth (e.g., the amount of information in each pixel) .
By contrast, a vector graphics image can include geometric objects, such as curves, lines, polygons, and the like. With a vector graphics image, rather than storing and manipulating each pixel of an image, information describing the geometric objects included in the image can be stored. For example, in the case of a geometric object, such as a circle, the stored information for drawing the circle can include the radius of the circle, the location of the center point of the circle, the style and color of the stroke line used for the circle, the style and color of the fill used for the circle, and the like.
Often, a geometric object can be decomposed into more simple geometric objects. For example, a quadrangle can be decomposed into two triangles . In the vector graphics arts, the term "primitive" can be used to refer to a basic or primitive element of a geometric object in a vector graphics image, and can include points, lines, planes, circles, spheres, triangles, polygons, and the like. When a primitive includes one or more line segments, these line segments can be referred to as "edges" in the vector graphics arts. For example, a quadrangle is a polygon consisting of four edges .
The advantages of vector graphics over raster graphics can include significantly smaller file size due to the minimal amount of information needed to be stored. In addition, the file size does not depend on the dimensions of the geometric object or objects included in the image. Furthermore, vector graphics can be used for describing both two-dimensional and three-dimensional geometric objects, and a vector graphics image can be scaled without losing its quality.
Even though a vector graphics image can be stored and modified in the above-described format, including the drawing information, the vector graphics image typically can be converted to a raster graphics image for display, and referred to as "rasterization." Typically, rasterization can include looping through each of the primitives, determining which pixels in the image a current primitive affects, and modifying the corresponding pixels accordingly. While rasterizing a vector graphics image, "antialiasing" often can be employed to smooth the resulting raster graphics image, and can include manipulating the apparent smoothness of contours in the graphics image, for example, by manipulating the transparency of pixels neighboring such contours . Anti-aliasing commonly is employed in the art of computer graphics, particularly in the context of conventional computers, such as desktop computers, servers, and the like. For example, scalable fonts displayed on a computer screen can be anti-aliased, including determining for each pixel used to display a character, how much of that pixel is occupied by the character, and drawing that pixel with the corresponding degree of opacity. For example, when drawing a black character on a white background, if a pixel should ideally be half filled (e.g., such as by diagonal line from corner to corner) , the pixel might be drawn with a 50% gray level.
In addition, various implementations of antialiasing for three-dimensional graphics have been developed. For example, a typical anti-aliasing solution for polygon-based three-dimensional rendering can include full-screen anti-aliasing in which a whole frame buffer is first rendered in a higher resolution and then sampled down. By using a suitable sampling scheme, the anti-aliasing can be achieved with a relatively low amount of samples and without sacrificing performance. However, this approach is not particularly suitable for two-dimensional rendering, because the requirements for anti-aliasing quality in two-dimensional rendering are higher. In other words, anti-aliasing in two-dimensional rendering would require a significantly larger amount of samples, resulting in a considerable penalty with regards to memory usage. Furthermore, such approach requires a special arrangement of samples in the output bitmap in order to achieve a suitable sampling pattern. Accordingly, two-dimensional anti-aliasing algorithms are typically used with bitmaps having a regular grid of samples for sample arrangement. Therefore, an anti-aliasing scheme used in connection with two-dimensional rendering should be able to operate with bitmaps having a regular grid of samples for sample arrangement.
Typically, texture data has already been filtered such that a higher sampling frequency need only be employed at polygon edges. Accordingly, some antialiasing techniques employ such an observation for calculating anti-aliasing only for polygon data, for example, by means of coverage masks where blending of color values fetched from different polygons is required only if the coverage masks define a partial fill area. Schemes for two-dimensional polygon anti-aliasing algorithms can be classified into sample-based approaches, and analytical approaches. Sample-based approaches typically employ high-resolution data internally and calculate pixel intensities from such data. Generation of the high-resolution data can include rasterizing directly to a high-resolution buffer or using table lookup for edge masks that are used for composing the high-resolution buffer. Simply rendering at a higher resolution and then downscaling can be considered a simplified version of the sample- based approach. However, such sample-based approaches are relatively expensive with respect to bandwidth and memory usage, since a large amount of samples has to be processed. Analytical approaches, on the other hand, attempt to calculate exact pixel coverage of a polygon by means of mathematical analysis. Analytical approaches can produce a higher amount of tones at polygon edges than sample-based approaches. Furthermore, analytical approaches do not suffer from sampling artifacts. However, analytical approaches are computationally expensive, for example, due to requiring clipping at pixel level and between polygons. In addition, even though sampling artifacts are avoided, there can be artifacts of other types, if optimizations are used in connection with analytical approaches. Furthermore, analytical approaches are not easily extendable for supporting various fill rules, and rather a polygon typically can be subdivided into smaller polygons or triangles, resulting in a time consuming step in the processing. The above described anti-aliasing methods and algorithms typically are employed with high processing power computers, wherein powerful processors typically are required to implement such anti-aliasing techniques. With modern computers that are often equipped with a separate graphics processing unit in addition to a central processing unit, such techniques do not present a significant problem. However, with the rising popularity of various handheld devices, such as mobile telephones, personal digital assistants, handheld computers, and the like, which include a display for displaying graphics, but typically have processing power significantly lower than that of conventional computers, there is a need for an anti-aliasing scheme which provides a varied range of features and which is nevertheless efficient (e.g., not requiring a high-end platform), and simple to implement.
In addition, certain graphics standards have been developed, such the OpenVG 1.0 standard by Khronos group of July 28, 2005, incorporated by reference herein, which provides an application programming interface (API) for hardware accelerated two- dimensional vector and raster graphics, including anti-aliasing. Accordingly, the OpenVG specification provides a set of device independent specifications to be implemented (e.g., by device manufacturers) in order to provide hardware acceleration on devices ranging from wristwatches to full microprocessor-based desktop and server machines. However, the OpenVG specification does not teach or suggest how to actually implement their specifications .
SUMMARY OF THE INVENTION
Therefore, there is a need to alleviate the problems described above. The above and other problems are addressed by the exemplary embodiments of the present invention, which provide high quality, mathematically correct, anti-aliasing of vector graphics images with sub-pixel accuracy, including support for concave, self-intersecting polygons with holes, support for even-odd winding fill rules and non-zero winding fill rules, and the like, and which is efficient enough to allow implementation on handheld devices with limited processing power, and the like. Accordingly, the exemplary embodiments can be employed with various graphical applications, including computer graphics applications, and the like, and in particular handheld device applications, low computing capacity device applications, memory limited device applications, and the like. Advantageously, the anti-aliasing solution of the exemplary embodiments is well suited for the corresponding hardware implementations, and the like.
Accordingly, in exemplary embodiments of the present invention there is provided a processor unit configured for anti-aliasing of a vector graphics image, including at least one primitive having at least one edge. The vector graphics image is rasterized into a group of pixels having a first dimension and a second dimension. The rasterization is performed in a rasterization direction which is parallel to the first dimension. There are multiple sub-pixel sampling points associated with each pixel, and a counter value is associated with each sub-pixel sampling point. The processor unit can include a counter value calculator configured to calculate the counter values for each pixel . The counter value calculation by the counter value calculator is performed pixel-by-pixel in the rasterization direction and for one edge at a time. The processor unit further includes a counter value recorder configured to store the calculated counter values in an edge buffer, and a pixel coverage value calculator configured to calculate pixel coverage values based on the stored counter values. The calculated pixel coverage values are utilized for anti-aliasing the vector graphics image, while rasterizing the vector graphics image into the group of pixels . The exemplary embodiments further can include a device, such as a handheld device, and the like, and including a rasterizer configured to rasterize a vector graphics image, including at least one primitive having at least one edge, into a group of pixels having a first dimension and a second dimension. The rasterization is performed in a rasterization direction parallel to the first dimension, wherein multiple sub-pixel sampling points are associated with each pixel, and a counter value is associated with each sub-pixel sampling point. The handheld device further includes a processor unit configured to facilitate anti-aliasing of the vector graphics image, and including a counter value calculator configured to calculate the counter values for each pixel. The counter value calculation by the counter value calculator is performed pixel-by-pixel in the rasterization direction and for one edge at a time. The processor unit further includes a counter value recorder configured to store the calculated counter values in an edge buffer, and a pixel coverage value calculator configured to calculate pixel coverage values based on the stored counter values . The calculated pixel coverage values are utilized by the rasterizer for the anti-aliasing of the vector graphics image, while rasterizing the vector graphics image . The exemplary embodiments further can include a processor unit for anti-aliasing of a vector graphics image, including at least one primitive having at least one edge. The vector graphics image is rasterized into a group of pixels having a first dimension and a second dimension. The rasterization is performed in a rasterization direction parallel to the first dimension, multiple sub-pixel sampling points are associated with each pixel, and a counter value is associated with each sub-pixel sampling point. The processor unit includes a counter value calculating means for calculating the counter values for each pixel . The counter value calculation by the counter value calculating means is performed pixel-by- pixel in the rasterization direction and for one edge at a time. The processor unit further includes a counter value recording means for storing the calculated counter values in an edge buffering means, and a pixel coverage value calculating means for calculating pixel coverage values based on the stored counter values. The calculated pixel coverage values are utilized for anti-aliasing the vector graphics image, while rasterizing the vector graphics image into the group of pixels .
The exemplary embodiments further can include a device, such as a handheld device, and the like, and including an edge buffering means, a rasterizing means for rasterizing a vector graphics image, including at least one primitive having at least one edge into a group of pixels having a first dimension and a second dimension. The rasterization is performed in a rasterization direction parallel to the first dimension, multiple sub-pixel sampling points are associated with each pixel, and a counter value is associated with each sub-pixel sampling point. The handheld device further includes a processor unit for anti-aliasing of the vector graphics image, and including a counter value calculating means for calculating the counter values for each pixel . The counter value calculation by the counter value calculating means is performed pixel-by-pixel in the rasterization direction and for one edge at a time. The processor unit further includes a counter value recording means for storing the calculated counter values in the edge buffering means, and a pixel coverage value calculating means for calculating pixel coverage values based on the stored counter values. The calculated pixel coverage values are utilized by the rasterizing means for the anti-aliasing of the vector graphics image, while rasterizing the vector graphics image.
In an exemplary embodiment, the counter value calculator is further configured to perform the counter value calculation by (i) incrementing a counter value associated with a current sub-pixel sampling point inside a current pixel, when the current sub-pixel sampling point intersects a current edge having a first vectorial direction, wherein the first vectorial direction is non-parallel with the rasterization direction; (ii) decrementing the counter value associated with the current sub-pixel sampling point inside the current pixel, when the current sub- pixel sampling point intersects a current edge having a second vectorial direction, wherein the second vectorial direction is non-parallel with the rasterization direction; (iii) incrementing the counter value associated with the current sub-pixel sampling point inside the current pixel, when the current sub-pixel sampling point is located, in the rasterization direction, behind the current edge having the first vectorial direction; (iv) decrementing the counter value associated with the current sub-pixel sampling point inside the current pixel, when the current sub-pixel sampling point is located, in the rasterization direction, behind the current edge having the second vectorial direction;
(v) incrementing a counter value associated with another sub-pixel sampling point inside a pixel next to the current pixel in the rasterization direction, when the current sub-pixel sampling point is located, in the rasterization direction, before the current edge having the first vectorial direction, and when the current sub-pixel sampling point and the another sub-pixel sampling point are correspondingly positioned inside their respective pixels; and (vi) decrementing the counter value associated with the another sub-pixel sampling point inside the pixel next to the current pixel in the rasterization direction, when the current sub-pixel sampling point is located, in the rasterization direction, before the current edge having the second vectorial direction, and when the current sub-pixel sampling point and the another sub-pixel sampling point are correspondingly positioned inside their respective pixels. In an exemplary embodiment, the counter value calculation by the counter value calculator is performed for one edge at a time. For example, counter values associated with sub-pixel sampling points affected by the current edge in the above manner inside all the pixels are incremented/decremented before moving on to increment/decrement counter values associated with sub-pixel sampling points affected by a subsequent edge, when the vector graphics image includes at least two edges in total.
In an exemplary embodiment, the pixel coverage value calculator is further configured to calculate the pixel coverage value of a current pixel by combining the stored counter values of each sub-pixel sampling point of the current pixel with the stored counter values of each sub-pixel sampling point of each preceding pixel in a current line of pixels. The pixel coverage value calculator is further configured to multiply an alpha value of the current pixel with the calculated pixel coverage value of the current pixel . Advantageously, the exemplary embodiments allow anti-aliasing of vector graphics images in an efficient manner so as allow implementation of the anti-aliasing on devices with limited processing power, such as handheld devices, including mobile telephones, personal digital assistants, handheld computers, and the like, and can be well suited for hardware implementations. In addition, the exemplary embodiments allow for high quality anti-aliasing of vector graphics images by supporting, for example, concave, self-intersecting polygons with holes, even- odd winding fill rules, non-zero winding fill rules, mathematically correct anti-aliasing with sub-pixel accuracy, and the like.
Still other aspects, features, and advantages of the present invention are readily apparent from the following detailed description, by illustrating a number of exemplary embodiments and implementations, including the best mode contemplated for carrying out the present invention. The present invention is also capable of other and different embodiments, and its several details can be modified in various respects, all without departing from the spirit and scope of the present invention. Accordingly, the drawings and descriptions are to be regarded as illustrative in nature, and not as restrictive. BRIEF DESCRIPTION OF THE DRAWINGS
The embodiments of the present invention are illustrated by way of example, and not by way of limitation, in the figures of the accompanying drawings and in which like reference numerals refer to similar elements and in which:
FIG. 1 is a block diagram illustrating an exemplary handheld device, according to the exemplary embodiments of the present invention; FIG. 2a illustrates an exemplary vector graphics image having one primitive and that can be rasterized and anti-aliased into a group of pixels by the exemplary embodiments of the present invention;
FIG. 2b illustrates an exemplary distribution of sampling points in one pixel of the group of pixels of FIG. 2a, according to the exemplary embodiments of the present invention; and
FIG. 2c illustrates an exemplary counter value calculation for two consecutive pixels of the group of pixels of FIG. 2a, according to the exemplary embodiments of the present invention.
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
Referring now to the drawings, wherein like reference numerals designate identical or corresponding parts throughout the several views, and more particularly to FIG. 1 thereof, there is illustrated an exemplary handheld device 100, according to exemplary embodiments. In FIG. 1, the handheld device 100 can include, for example, a mobile telephone, a personal digital assistant, a handheld computer, and the like. The handheld device 100 can include an edge buffer 120, including a portion of a memory set aside for the below described functions of the exemplary embodiments. The memory of which the edge buffer 120 is a portion of can include, for example, a memory circuit of the handheld device 100, a memory circuit of a graphics board (not shown) included in the handheld device 100, and the like, and which can be used for other functions . In further exemplary embodiments, the edge buffer 120 can be a portion of a memory dedicated for the performing only the functions of the exemplary embodiments .
The handheld device 100 can include a rasterizer 130 that can be configured to rasterize a vector graphics image into a group of pixels having a first dimension and a second dimension. The vector graphics image can include at least one primitive having at least one edge. In an exemplary embodiment, the rasterization can be performed in a rasterization direction, which is parallel to the first dimension, with multiple sub-pixel sampling points associated with each pixel, and with a counter value associated with each sub-pixel sampling point.
FIG. 2a illustrates an exemplary vector graphics image that can be rasterized by the rasterizer 130 of FIG. 1 into a group of pixels and that is to be anti- aliased while being rasterized, wherein the antialiasing can be facilitated by the processor unit 110 of FIG. 1. Although, for the sake of clarity, the vector graphics image illustrated in FIG. 2a is a simple graphics image only including one primitive
210, the exemplary embodiments can be applied to typical, real-life, vector graphics images including multiple primitives, as will be appreciated by those skilled in the graphics art(s). Accordingly, the primitive 210 is a simple polygon having four edges
211, 212, 213 and 214, and since, as the name implies, vector graphics is concerned with vectors, each of the edges 211, 212, 213 and 214 is a vector. As such, each of the edges 211, 212, 213 and 214 has an associated vectorial direction, as illustrated by the arrows in FIG. 2a. For the purposes of the exemplary embodiments, the vectorial directions associated with the edges 211, 212, 213 and 214 can be categorized into two main groups that are non-parallel with the first or horizontal dimension and that are essentially opposed to each other, and include an upward or first direction group, and a downward or second direction group. For example, the edges 211 and 213 belong to the downward direction group, and the edges 212 and 214 belong to the upward direction group.
According to the exemplary embodiments with respect to FIG. 2a, the polygon 210 can be rasterized into a raster graphics image 200, for example, which can include a group of 16x16 pixels. In other words, the raster graphics image 200 includes a rectangle having a first dimension or a horizontal dimension, and a second dimension or a vertical dimension. Accordingly, the raster graphics image 200 includes 16 pixels in the horizontal dimension, and 16 pixels in the vertical dimension. In further exemplary embodiments, however, the first and second dimension need not be of equal magnitude. In an exemplary embodiment, the polygon 210 can be rasterized into the raster graphics image 200 by processing each of the 16x16 pixels, one by one. For example, a first of row pixels can be processed from left to right, and then a next row of pixels can be processed, again from left to right, and this process can be repeated until all the rows of pixels have been processed. Accordingly, in the exemplary embodiments, the rasterization direction can be parallel to the horizontal dimension or from left to right, as illustrated in FIG. 2a.
As will be appreciated by those skilled in the graphics art(s), if no anti-aliasing is performed, the rasterization typically would result with pixels of the raster graphics image 200 intersecting the polygon 210 being drawn all in black (e.g., assuming that stroke color of the polygon 210 is black) . However, with anti-aliasing, some of those pixels intersecting the polygon 210, as well as some of the neighboring pixels, can be drawn with various degrees of transparency or, effectively, in various shades of gray in case of black and white images, in order to provide the appearance of smooth contours . Advantageously, the exemplary embodiments allow determining of which pixels are to be drawn and in which degree of transparency, and in a way that is computationally efficient, thereby allowing anti- aliasing to be implemented even on devices with severely limited processing power, such as handheld devices, and the like.
FIG. 2b illustrates an exemplary distribution of sampling points in the pixel 220 of the group of pixels of FIG. 2a, according to the exemplary embodiments. In an exemplary embodiment, the rest of the pixels of the group of pixels of FIG. 2a can employ a similar distribution of sampling points. As can be seen from FIG. 2b, the pixel 220 is split into 16x16 sub-pixels, wherein the gray filled sub-pixels indicate sub-pixel sampling points . In an exemplary embodiment, the sampling points can be distributed in a uniform manner, for example, including one sampling point per each horizontal sub-pixel row, one sampling point per each vertical sub-pixel row, and one sampling point per each diagonal sub-pixel line, as shown FIG. 2b. Accordingly, a total of 16 sampling points for the pixel 220 can be employed. In an exemplary embodiment, a counter value can be associated with each of the 16 sampling points. Each counter value can have a predetermined bit length (e.g., 8 bits or one byte) . As further described, each counter value of each pixel can be stored in the edge buffer 120. Accordingly, since there can be 16x16 pixels, with each pixel having 16 associated counter values, and with each counter value having a length of one byte, the edge buffer 120 can be configured to store 16x16x16 bytes or 4096 bytes, according to an exemplary embodiment. However, in further exemplary embodiments other pixel grid sizes, other sub-pixel grid sizes, other sampling point distributions, other counter bit lengths, and the like, can be employed, as will be appreciated by those skilled in the graphics art(s) .
The handheld device 100 of FIG. 1 further can include a processor unit 110 that can be configured to facilitate anti-aliasing of the vector graphics image, in accordance with the exemplary embodiments . In an exemplary embodiment, the processor unit 110 can form a part of a multi-purpose processor, for example, such as a central processing unit, a graphics processing unit, and the like, of the handheld device 100. In further exemplary embodiments, the processor unit 110 can be configured at least as part of an additional processor dedicated for performing the functions of the exemplary embodiments . The processor unit 110 can include a counter value calculator 111 that can be configured to calculate the counter values for each pixel . In an exemplary embodiment, the counter value calculation can be performed for one edge at a time, and pixel-by- pixel, in the rasterization direction.
FIG. 2c illustrates an exemplary counter value calculation for the pixels 220 and 230 of the group of pixels of FIG. 2a, according to the exemplary embodiments. As shown in FIG.2c, the upward edge 214 of the polygon 210 intersects the pixel 220, wherein the gray filled boxes indicate sub-pixel sampling points, and black filled boxes indicate sub-pixel sampling points having their associated counter values affected by the upward edge 214. In an exemplary embodiment, the counter value calculator 111 can be configured to perform the counter value calculation by incrementing a counter value associated with a current sub-pixel sampling point inside a current pixel, when the current sub- pixel sampling point intersects a current edge having a first vectorial direction, wherein the first vectorial direction is non-parallel with the rasterization direction. For example, assuming the current pixel is the pixel 220 of FIG.s 2a-2c, the current edge is the edge 214, and the first vectorial direction is upward, sub-pixel sampling points 22Ooi and 22O02 intersect the upward edge 214. As a result, the counter values associated with the sub-pixel sampling points 220oi and 22Oo2 can be incremented. In an exemplary embodiment, a counter value can be set to an initial value of zero, and whenever the counter value is incremented or decremented, the counter can be incremented or decremented by one.
In an exemplary embodiment, the counter value calculator 111 can be further configured to perform the counter value calculation by decrementing the counter value associated with the current sub-pixel sampling point inside the current pixel, when the current sub-pixel sampling point intersects a current edge having a second vectorial direction, wherein the second vectorial direction is non-parallel with the rasterization direction. For example, assuming the current pixel is the pixel 220 of FIGs. 2a-2c, the current edge is the edge 214, and the second vectorial direction is downward, no counter values associated with any sub-pixel sampling points inside the pixel 220 are decremented, since there are no downward edges intersecting the pixel 220.
In an exemplary embodiment, the counter value calculator 111 can be further configured to perform the counter value calculation by incrementing the counter value associated with the current sub-pixel sampling point inside the current pixel, when the current sub-pixel sampling point is located, in the rasterization direction, behind the current edge having the first vectorial direction. For example, assuming the current pixel is the pixel 220 of FIGs. 2a-2c, the current edge is the edge 214, the first vectorial direction is upward, and the rasterization direction is from left to right, the counter values associated with the sub-pixel sampling points 22Oo4, 22Oo5, 22Oo6, 22O07, 2200s, 2200g and 220i0 are incremented, since the sub-pixel sampling points 22Oo4, 22Oo5, 22O06, 22O07, 22O08, 22O09 and 220i0 are located to the right of the upward edge 214 (e.g., behind the upward edge 214 in the rasterization direction) .
In an exemplary embodiment, the counter value calculator 111 can be further configured to perform the counter value calculation by decrementing the counter value associated with the current sub-pixel sampling point inside the current pixel, when the current sub-pixel sampling point is located, in the rasterization direction, behind the current edge having the second vectorial direction. For example, assuming the current pixel is the pixel 220 of FIGs. 2a-2c, the current edge is the edge 214, the second vectorial direction is downward, and the rasterization direction is from left to right, no counter values associated with any sub-pixel sampling points inside the pixel 220 are decremented, since there are no downward edges affecting the pixel 220.
In an exemplary embodiment, the counter value calculator 111 can be further configured to perform the counter value calculation by incrementing a counter value associated with another sub-pixel sampling point inside a pixel next to the current pixel in the rasterization direction, when the current sub-pixel sampling point is located, in the rasterization direction, before the current edge having the first vectorial direction, and when the current sub-pixel sampling point and the another sub- pixel sampling point are correspondingly positioned inside their respective pixels. For example, assuming the current pixel is the pixel 220 of FIGs. 2a-2c, the current edge is the edge 214, the first vectorial direction is upward, and the rasterization direction is from left to right, the counter values associated with the sub-pixel sampling points 23Ooi, 23(Do2, 23Oo3, 230o4, 23Oo5 and 23Oo6 are incremented, since the pixel 230 is the pixel next to the pixel 220 in the rasterization direction (e.g., to the right), and since the sub-pixel sampling points (e.g., the gray sampling points) of the pixel 220 spatially corresponding to the sub-pixel sampling points 23Ooi, 230o2, 23O03, 23O04, 23O05 and 23O06 are located to the left of the upward edge 214 (e.g., before the upward edge 214 in the rasterization direction) .
In an exemplary embodiment, the counter value calculator 111 can be further configured to perform the counter value calculation by decrementing the counter value associated with the another sub-pixel sampling point inside the pixel next to the current pixel in the rasterization direction, when the current sub-pixel sampling point is located, in the rasterization direction, before the current edge having the second vectorial direction, and when the current sub-pixel sampling point and the another sub- pixel sampling point are correspondingly positioned inside their respective pixels. For example, assuming the current pixel is the pixel 220 of FIGs. 2a-2c, the current edge is the edge 214, the second vectorial direction is downward, and the rasterization direction is from left to right, no counter values associated with any sub-pixel sampling points inside the pixel 230 are decremented, since there are no downward edges affecting the pixel 220.
Although the above example include only one edge (e.g., the upward edge 214) affecting the counter values of the pixels 220 and 230, in more complex embodiments there may be several edges (e.g., possibly both upward and downward) affecting the counter values of a single pixel. Accordingly, in an exemplary embodiment, the effect of one edge on all the pixels and their counter values can be processed before moving on to process the effect of a next edge.
The processor unit 110 can further include a counter value recorder 112 that can be configured to store the calculated counter values in the edge buffer 120. The processor unit 110 can further include a pixel coverage value calculator 113 that can be configured to calculate pixel coverage values based on the stored counter values, wherein the calculated pixel coverage values can be utilized by the rasterizer 130 for the anti-aliasing of the vector graphics image, while rasterizing the vector graphics image .
In an exemplary embodiment, the pixel coverage value calculator 113 can be further configured to calculate the pixel coverage value of a current pixel by combining the stored counter values of each sub- pixel sampling point of the current pixel with the stored counter values of each sub-pixel sampling point of each preceding pixel in a current line of pixels. For example, to calculate the pixel coverage value for the pixel 220, the stored counter values of the sub- pixel sampling points of the three preceding pixels in the same horizontal pixel row (e.g., the seventh row from above) are combined with the stored counter values of the sub-pixel sampling points of the pixel 220. However, since no edges affect those three preceding pixels, the stored counter values of the sub-pixel sampling points of the three preceding pixels will be zero. As a result, the pixel coverage value for the pixel 220 can be the combination of the stored counter values of the sub-pixel sampling points of the pixel 220. In other words, the pixel coverage value for the pixel 220 can be set to 10/16, since ten counter values out of the total sixteen counter values of the pixel 220 were incremented by one due to the upward edge 214, and since the remaining six counter values kept their initial value of zero.
Similarly, to calculate the pixel coverage value for the pixel 230, the stored counter values of the sub-pixel sampling points of the initial three pixels in the same horizontal pixel row, as well as those of the pixel 220, can be combined with the stored counter values of the sub-pixel sampling points of the pixel 230. Accordingly, the pixel coverage value for the pixel 230 can be the combination of the stored counter values of the sub-pixel sampling points of the pixels 220 and 230. In other words, the pixel coverage value for the pixel 230 can be set to 16/16 or 10/16 + 6/16, since six counter values out of the total sixteen counter values of the pixel 230 were incremented by one due to the upward edge 214, since the remaining ten counter values kept their initial value of zero, and since the above counter values of the sub-pixel sampling points of the pixel 220 can be combined with the counter values of the sub-pixel sampling points of the pixel 230.
In an exemplary embodiment, only the counter values of sub-pixel sampling points of pixels in a same horizontal pixel row can accumulate in the above described manner, wherein to facilitate such accumulation of the counter values, an auxiliary buffer (not shown) can be employed. Such an auxiliary buffer can include at least the same amount of auxiliary counter values as the amount of counter values of sub-pixel sampling points for one pixel or sixteen auxiliary counter values. The auxiliary buffer can be used as a temporary storage for the accumulated counter values of the preceding pixels in the current line of pixels, while calculating the pixel coverage value of the current pixel. Initially, the auxiliary counter values can be set to zero. Accordingly, continuing with the above example with respect to the pixels 220 and 230 at the seventh row of the raster image 200, the counter values of the sub-pixel sampling points for the pixel 220 can be stored in the edge buffer 120 and can be combined with the auxiliary counter values (e.g., initially zero) in the auxiliary buffer, resulting in the above pixel coverage value of 10/16 for the pixel 220. Such a combination of the initial auxiliary counter values and the counter values of the sub-pixel sampling points for the pixel 220 can form the subsequent auxiliary counter values used for the next pixel 230. Accordingly, the counter values of the sub-pixel sampling points of the pixel 230 stored in the edge buffer 120 can be combined with the subsequent auxiliary counter values in the auxiliary buffer, resulting in the pixel coverage value of 16/16 for the pixel 230.
In an exemplary embodiment, the pixel coverage value calculator 113 can be further configured to multiply an alpha value of the current pixel with the calculated pixel coverage value of the current pixel. As will be appreciated by those skilled in the graphics art(s), an alpha value is a ratio used to define transparency, typically such that an alpha value of 100% indicates a pixel that is completely opaque, an alpha value of 0% indicates a pixel that is completely transparent, and the alpha values in- between indicate a degree of transparency of a pixel. For example, assuming that the initial alpha values of all the pixels of the raster image 200 are 100%, the final alpha value of the pixel 220 will be 10/16 x 100% = 62.5% (e.g., slightly transparent), and the final alpha value of the pixel 230 will be 16/16 x 100% = 100% (e.g., completely opaque).
The exemplary embodiments can be included within any suitable device, for example, including any suitable servers, workstations, PCs, laptop computers, PDAs, Internet appliances, handheld devices, cellular telephones, wireless devices, other devices, and the like, capable of performing the processes of the exemplary embodiments, and which can communicate via one or more interface mechanisms, including, for example, Internet access, telecommunications in any suitable form (e.g., voice, modem, and the like), wireless communications media, one or more wireless communications networks, cellular communications networks, G3 communications networks, Public Switched Telephone Network (PSTNs) , Packet Data Networks (PDNs) , the Internet, intranets, a combination thereof, and the like.
It is to be understood that the exemplary embodiments are for exemplary purposes, as many variations of the specific hardware used to implement the exemplary embodiments are possible, as will be appreciated by those skilled in the hardware art(s). For example, the functionality of one or more of the components of the exemplary embodiments can be implemented via one or more hardware devices.
The exemplary embodiments can store information relating to various processes described herein. This information can be stored in one or more memories, such as a hard disk, optical disk, magneto-optical disk, RAM, and the like. One or more databases can store the information used to implement the exemplary embodiments of the present inventions . The databases can be organized using data structures (e.g., records, tables, arrays, fields, graphs, trees, lists, and the like) included in one or more memories or storage devices listed herein. The processes described with respect to the exemplary embodiments can include appropriate data structures for storing data collected and/or generated by the processes of the devices and subsystems of the exemplary embodiments in one or more databases .
All or a portion of the exemplary embodiments can be implemented by the preparation of application- specific integrated circuits or by interconnecting an appropriate network of conventional component circuits, as will be appreciated by those skilled in the electrical art(s).
As stated above, the components of the exemplary embodiments can include computer readable medium or memories according to the teachings of the present inventions and for holding data structures, tables, records, and/or other data described herein. Computer readable medium can include any suitable medium that participates in providing instructions to a processor for execution. Such a medium can take many forms, including but not limited to, non-volatile media, volatile media, transmission media, and the like. Non-volatile media can include, for example, optical or magnetic disks, magneto-optical disks, and the like. Volatile media can include dynamic memories, and the like. Transmission media can include coaxial cables, copper wire, fiber optics, and the like. Transmission media also can take the form of acoustic, optical, electromagnetic waves, and the like, such as those generated during radio frequency (RF) communications, infrared (IR) data communications, and the like. Common forms of computer-readable media can include, for example, a floppy disk, a flexible disk, hard disk, magnetic tape, any other suitable magnetic medium, a CD-ROM, CDRW, DVD, any other suitable optical medium, punch cards, paper tape, optical mark sheets, any other suitable physical medium with patterns of holes or other optically recognizable indicia, a RAM, a PROM, an EPROM, a FLASH-EPROM, any other suitable memory chip or cartridge, a carrier wave or any other suitable medium from which a computer can read. While the present inventions have been described in connection with a number of exemplary embodiments, and implementations, the present inventions are not so limited, but rather cover various modifications, and equivalent arrangements , which fall within the purview of prospective claims.

Claims

WHAT IS CLAIMED IS:
1. A processor unit for anti-aliasing of a vector graphics image including at least one primitive having at least one edge, wherein the vector graphics image is rasterized into a group of pixels having a first dimension and a second dimension, the rasterization is performed in a rasterization direction parallel to the first dimension, multiple sub-pixel sampling points are associated with each pixel, and a counter value is associated with each sub-pixel sampling point, the processor unit comprising: a counter value calculator configured to calculate counter values for each pixel, wherein the counter value calculation is performed for one edge at a time and pixel-by-pixel in the rasterization direction; a counter value recorder configured to store the calculated counter values in an edge buffer; and a pixel coverage value calculator configured to calculate pixel coverage values based on the stored counter values , wherein the calculated pixel coverage values are utilized for anti-aliasing the vector graphics image, while rasterizing the vector graphics image into the group of pixels.
2. The processor unit of claim 1, wherein the counter value calculator is further configured to perform the counter value calculation by: one of incrementing and decrementing a counter value associated with a current sub-pixel sampling point inside a current pixel, when the current sub- pixel sampling point intersects a current edge having one of a first vectorial direction and a second vectorial direction, respectively, wherein the first and second vectorial directions are non-parallel with the rasterization direction; one of incrementing and decrementing the counter value associated with the current sub-pixel sampling point inside the current pixel, when the cur-rent sub- pixel sampling point is located, in the rasterization direction, behind the current edge having one of the first vectorial direction and the second vectorial direction, respectively; and one of incrementing and decrementing a counter value associated with another sub-pixel sampling point inside a pixel next to the current pixel in the rasterization direction, when the current sub-pixel sampling point is located, in the rasterization direction, before the current edge having one of the first vectorial direction and the second vectorial direction, respectively, and when the current sub- pixel sampling point and the another sub-pixel sampling point are correspondingly positioned inside their respective pixels .
3. The processor unit of claim 1, wherein the pixel coverage value calculator is further configured to calculate the pixel coverage value of a current pixel by combining the stored counter values of each sub-pixel sampling point of the current pixel with the stored counter values of each sub-pixel sampling point of each preceding pixel in a current line of pixels.
4. The processor unit of claim 3, wherein the pixel coverage value calculator is further configured to multiply an alpha value of the current pixel with the calculated pixel coverage value of the current pixel .
5. A graphical device, comprising: an edge buffer; a rasterizer configured to rasterize a vector graphics image including at least one primitive having at least one edge, wherein the vector graphics image is rasterized into a group of pixels having a first dimension and a second dimension, the rasterization is performed in a rasterization direction parallel to the first dimension, multiple sub-pixel sampling points are associated with each pixel, and a counter value is associated with each sub-pixel sampling point; and a processor unit configured for anti-aliasing of the vector graphics image, and including: a counter value calculator configured to calculate the counter values for each pixel, wherein the counter value calculation is performed for one edge at a time and pixel-by-pixel in the rasterization direction, a counter value recorder configured to store the calculated counter values in the edge buffer, and a pixel coverage value calculator configured to calculate pixel coverage values based on the stored counter values, wherein the calculated pixel coverage values are utilized by the rasterizer for the anti-aliasing of the vector graphics image, while rasterizing the vector graphics image.
6. The device of claim 5, wherein the counter value calculator is further configured to perform the counter value calculation by: one of incrementing and decrementing a counter value associated with a current sub-pixel sampling point inside a current pixel, when the current sub- pixel sampling point intersects a current edge having one of a first vectorial direction and a second vectorial direction, respectively, wherein the first and second vectorial directions are non-parallel with the rasterization direction; one of incrementing and decrementing the counter value associated with the current sub-pixel sampling point inside the current pixel, when the cur-rent sub- pixel sampling point is located, in the rasterization direction, behind the current edge having one of the first vectorial direction and the second vectorial direction, respectively; and one of incrementing and decrementing a counter value associated with another sub-pixel sampling point inside a pixel next to the current pixel in the rasterization direction, when the current sub-pixel sampling point is located, in the rasterization direction, before the current edge having one of the first vectorial direction and the second vectorial direction, respectively, and when the current sub- pixel sampling point and the another sub-pixel sampling point are correspondingly positioned inside their respective pixels .
7. The device of claim 5, wherein the device comprises a handheld device.
8. A processor unit for anti-aliasing of a vector graphics image including at least one primitive having at least one edge, wherein the vector graphics image is rasterized into a group of pixels having a first dimension and a second dimension, the rasterization is performed in a rasterization direction parallel to the first dimension, multiple sub-pixel sampling points are associated with each pixel, and a counter value is associated with each sub-pixel sampling point, the processor unit comprising: a counter value calculating means for calculating the counter values for each pixel, wherein the counter value calculation is performed for one edge at a time and pixel-by-pixel in the rasterization direction; a counter value recording means for storing the calculated counter values in an edge buffering means,- and a pixel coverage value calculating means for calculating pixel coverage values based on the stored counter values, wherein the calculated pixel coverage values are utilized for anti-aliasing the vector graphics image, while rasterizing the vector graphics image into the group of pixels .
9. A graphical device, comprising: an edge buffering means; a rasterizing means for rasterizing a vector graphics image including at least one primitive having at least one edge, wherein the vector graphics image is rasterized into a group of pixels having a first dimension and a second dimension, the rasterization is performed in a rasterization direction parallel to the first dimension, multiple sub-pixel sampling points are associated with each pixel, and a counter value is associated with each sub-pixel sampling point; and a processor unit for anti-aliasing of the vector graphics image, and including: a counter value calculating means for calculating the counter values for each pixel, wherein the counter value calculation is performed for one edge at a time and pixel-by-pixel in the rasterization direction, a counter value recording means for storing the calculated counter values in the edge buffering means; and a pixel coverage value calculating means for calculating pixel coverage values based on the stored counter values, wherein the calculated pixel coverage values are utilized by the rasterizing means for the antialiasing of the vector graphics image, while rasterizing the vector graphics image.
10. The device of claim 9, wherein the device comprises a handheld device.
PCT/FI2006/000375 2005-11-15 2006-11-15 Vector graphics anti-aliasing WO2007057506A1 (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
CN2006800505758A CN101356548B (en) 2005-11-15 2006-11-15 Vector graphics anti-distortion
JP2008539462A JP4982498B2 (en) 2005-11-15 2006-11-15 Antialiasing vector graphic image
EP06820056.7A EP1958162B1 (en) 2005-11-15 2006-11-15 Vector graphics anti-aliasing

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
US11/272,866 2005-11-15
US11/272,866 US8269788B2 (en) 2005-11-15 2005-11-15 Vector graphics anti-aliasing

Publications (1)

Publication Number Publication Date
WO2007057506A1 true WO2007057506A1 (en) 2007-05-24

Family

ID=38040315

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/FI2006/000375 WO2007057506A1 (en) 2005-11-15 2006-11-15 Vector graphics anti-aliasing

Country Status (5)

Country Link
US (1) US8269788B2 (en)
EP (1) EP1958162B1 (en)
JP (1) JP4982498B2 (en)
CN (1) CN101356548B (en)
WO (1) WO2007057506A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010535371A (en) * 2007-08-02 2010-11-18 エーティーアイ・テクノロジーズ・ユーエルシー Multi-sample rendering of 2D vector images

Families Citing this family (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4766657B2 (en) * 2005-05-02 2011-09-07 キヤノン株式会社 Image processing apparatus, control method therefor, and program
KR100803947B1 (en) * 2006-12-01 2008-02-15 주식회사 코아로직 Apparatus and method for open vector graphic application program interface translation, mobiile terminal, and record medium on which the method is recorded
WO2010046792A1 (en) * 2008-10-21 2010-04-29 Nxp B.V. Method of edge anti-aliasing a graphics geometry and a vectorgraphics processor for executing the same
GB2469526B (en) * 2009-04-17 2015-06-24 Advanced Risc Mach Ltd Generating and resolving pixel values within a graphics processing pipeline
CN101923699B (en) * 2009-06-10 2012-09-26 炬力集成电路设计有限公司 Method and device for reducing CPU consumption in vector graphics filling process
US20110285736A1 (en) 2010-05-21 2011-11-24 Kilgard Mark J Decomposing cubic bèzier segments for tessellation-free stencil filling
KR102426667B1 (en) * 2015-06-23 2022-07-28 삼성전자주식회사 Method and apparatus for performing anti-aliasing in path rendering
JP6992005B2 (en) 2016-01-18 2022-01-13 アドバンスト・マイクロ・ディバイシズ・インコーポレイテッド Performing anti-aliasing operations in computing systems
US11113790B2 (en) 2018-04-12 2021-09-07 Nvidia Corporation Adding greater realism to a computer-generated image by smoothing jagged edges
CN109636751B (en) * 2018-12-07 2020-11-27 厦门天马微电子有限公司 Edge processing method of special-shaped display panel, display panel and display device
US11076151B2 (en) 2019-09-30 2021-07-27 Ati Technologies Ulc Hierarchical histogram calculation with application to palette table derivation
US11631215B2 (en) 2020-03-11 2023-04-18 Qualcomm Incorporated Methods and apparatus for edge compression anti-aliasing
US11915337B2 (en) 2020-03-13 2024-02-27 Advanced Micro Devices, Inc. Single pass downsampler

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5748178A (en) * 1995-07-18 1998-05-05 Sybase, Inc. Digital video system and methods for efficient rendering of superimposed vector graphics
US6166748A (en) * 1995-11-22 2000-12-26 Nintendo Co., Ltd. Interface for a high performance low cost video game system with coprocessor providing high speed efficient 3D graphics and digital audio signal processing
WO2003096275A2 (en) * 2002-05-10 2003-11-20 Nec Electronics Corporation Graphics engine with edge draw unit, and electrical device and memory incorporating the graphics engine
US20040227767A1 (en) * 2002-06-20 2004-11-18 Alberto Baroncelli Vector graphics circuit accelerator for display systems
WO2006129943A1 (en) * 2005-06-03 2006-12-07 Polidigm Co., Ltd. Fast anti-aliasing method

Family Cites Families (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4554538A (en) * 1983-05-25 1985-11-19 Westinghouse Electric Corp. Multi-level raster scan display system
US4808988A (en) * 1984-04-13 1989-02-28 Megatek Corporation Digital vector generator for a graphic display system
US4908780A (en) * 1988-10-14 1990-03-13 Sun Microsystems, Inc. Anti-aliasing raster operations utilizing sub-pixel crossing information to control pixel shading
US5303321A (en) * 1990-09-14 1994-04-12 Hughes Aircraft Company Integrated hardware generator for area fill, conics and vectors in a graphics rendering processor
US5815162A (en) * 1996-04-19 1998-09-29 Silicon Graphics, Inc. System and method of drawing anti-aliased lines using a modified bresenham line-drawing algorithm
US6057855A (en) 1997-07-02 2000-05-02 Hewlett-Packard Company Method and apparatus for providing polygon pixel sub-sample information using incremental means
JP3639108B2 (en) * 1998-03-31 2005-04-20 株式会社ソニー・コンピュータエンタテインメント Drawing apparatus, drawing method, and providing medium
US6501483B1 (en) * 1998-05-29 2002-12-31 Ati Technologies, Inc. Method and apparatus for antialiasing using a non-uniform pixel sampling pattern
US7064771B1 (en) * 1999-04-28 2006-06-20 Compaq Information Technologies Group, L.P. Method and apparatus for compositing colors of images using pixel fragments with Z and Z gradient parameters
JP4332934B2 (en) * 1999-06-17 2009-09-16 株式会社セガ Anti-aliasing method and image processing apparatus using the same
JP3898426B2 (en) * 2000-08-07 2007-03-28 松下電器産業株式会社 Graphic drawing device
US6982724B2 (en) 2003-03-25 2006-01-03 Mitsubishi Electric Research Labs, Inc. Method for antialiasing an object represented as a two-dimensional distance field in object-order
US7006110B2 (en) * 2003-04-15 2006-02-28 Nokia Corporation Determining a coverage mask for a pixel
EP1480171B1 (en) * 2003-05-22 2016-11-02 Telefonaktiebolaget LM Ericsson (publ) Method and system for supersampling rasterization of image data
US7280120B2 (en) * 2003-06-26 2007-10-09 Canon Kabushiki Kaisha Compositing with a sub-pixel mask in graphic object rendering
AU2003903448A0 (en) * 2003-06-26 2003-07-17 Canon Kabushiki Kaisha A method for tracking depths in a scanline based raster image processor
US6967663B1 (en) * 2003-09-08 2005-11-22 Nvidia Corporation Antialiasing using hybrid supersampling-multisampling
JP2005100177A (en) * 2003-09-25 2005-04-14 Sony Corp Image processor and its method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5748178A (en) * 1995-07-18 1998-05-05 Sybase, Inc. Digital video system and methods for efficient rendering of superimposed vector graphics
US6166748A (en) * 1995-11-22 2000-12-26 Nintendo Co., Ltd. Interface for a high performance low cost video game system with coprocessor providing high speed efficient 3D graphics and digital audio signal processing
WO2003096275A2 (en) * 2002-05-10 2003-11-20 Nec Electronics Corporation Graphics engine with edge draw unit, and electrical device and memory incorporating the graphics engine
US20040227767A1 (en) * 2002-06-20 2004-11-18 Alberto Baroncelli Vector graphics circuit accelerator for display systems
WO2006129943A1 (en) * 2005-06-03 2006-12-07 Polidigm Co., Ltd. Fast anti-aliasing method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP1958162A4 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010535371A (en) * 2007-08-02 2010-11-18 エーティーアイ・テクノロジーズ・ユーエルシー Multi-sample rendering of 2D vector images

Also Published As

Publication number Publication date
CN101356548A (en) 2009-01-28
US20070109318A1 (en) 2007-05-17
EP1958162B1 (en) 2019-05-08
CN101356548B (en) 2012-03-21
JP4982498B2 (en) 2012-07-25
JP2009516250A (en) 2009-04-16
EP1958162A1 (en) 2008-08-20
EP1958162A4 (en) 2012-06-20
US8269788B2 (en) 2012-09-18

Similar Documents

Publication Publication Date Title
EP1958162B1 (en) Vector graphics anti-aliasing
KR102101626B1 (en) Gradient adjustment for texture mapping for multiple render targets with resolution that varies by screen location
EP3129974B1 (en) Gradient adjustment for texture mapping to non-orthonormal grid
US8111264B2 (en) Method of and system for non-uniform image enhancement
US7006110B2 (en) Determining a coverage mask for a pixel
EP1066600B1 (en) Block- and band-oriented traversal in three-dimensional triangle rendering
US8704830B2 (en) System and method for path rendering with multiple stencil samples per color sample
US8068119B2 (en) System and method for multi-sampling primitives to reduce aliasing
US8520007B2 (en) Graphic drawing device and graphic drawing method
Nehab et al. Random-access rendering of general vector graphics
JPH03212775A (en) Method and apparatus for drawing antialias polygon
JP2006209223A (en) Drawing method, image generation device and electronic information apparatus
KR20060007054A (en) Method and system for supersampling rasterization of image data
US7940283B2 (en) Method and apparatus for pixel sampling
JP4311877B2 (en) Anti-aliasing of subsampled texture edges
US20010055015A1 (en) Area and span based Z-buffer
EP0855682A2 (en) Scan line rendering of convolutions
Alvin Rendering Resolution Independent Fonts in Games and 3D-Applications
JPH10261095A (en) Device and method for processing image
Cha et al. An optimized rendering algorithm for hardware implementation of openVG 2D vector graphics
JP3745152B2 (en) Image display device

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application
ENP Entry into the national phase

Ref document number: 2008539462

Country of ref document: JP

Kind code of ref document: A

NENP Non-entry into the national phase

Ref country code: DE

WWE Wipo information: entry into national phase

Ref document number: 2563/CHENP/2008

Country of ref document: IN

WWE Wipo information: entry into national phase

Ref document number: 2006820056

Country of ref document: EP

WWE Wipo information: entry into national phase

Ref document number: 200680050575.8

Country of ref document: CN

WWP Wipo information: published in national office

Ref document number: 2006820056

Country of ref document: EP