Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method for realizing anti-aliasing of line segment integrating floating points and fixed points by using supersampling algorithm

A super-sampling and combination technology, applied in computing, special data processing applications, instruments, etc., can solve the problem of excessive hardware resources, achieve the effects of reducing hardware resources, ensuring efficiency, and being easy to use

Inactive Publication Date: 2011-05-18
CHANGSHA JINGJIA MICROELECTRONICS
View PDF0 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

This algorithm is commonly used, but it requires a lot of calculations when judging the relationship between the sub-pixel point and the extended rectangle of the line segment, and consumes a lot of hardware resources.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method for realizing anti-aliasing of line segment integrating floating points and fixed points by using supersampling algorithm
  • Method for realizing anti-aliasing of line segment integrating floating points and fixed points by using supersampling algorithm
  • Method for realizing anti-aliasing of line segment integrating floating points and fixed points by using supersampling algorithm

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0012] The present invention will be described in further detail below in conjunction with the accompanying drawings and specific embodiments.

[0013] Such as figure 1 Shown, is the effect of the line segment anti-aliasing realized by the present invention: (a) after anti-aliasing enlargement; (b) after non-anti-aliasing enlargement; (c) anti-aliasing operation result; (d) non-anti-aliasing operation result; can find The effect of anti-aliasing is very obvious, and it can meet most of the current display requirements.

[0014] Such as figure 2 As shown, the realization of the line segment anti-aliasing based on the floating-point fixed-point combination of supersampling of the present invention, it comprises the adjustment of line segment endpoint order: the line segment direction is adjusted to the first quadrant and the fourth quadrant; The line segment is expanded into a rectangle: with The line segment is the center line, and the line width is the width of the rectang...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a method for realizing anti-aliasing of a line segment integrating floating points and fixed points by using the supersampling algorithm. The method comprises the steps of: adjusting the endpoint order of the line segment; expanding the line segment into a rectangle; calculating attribute increment of the line segment; writing data into a FIFO (First-in, First-out); calculating the boundary of a scanning line; generating a pixel point coordinate; calculating the area ratio; finally outputting and fusing the coordinate, the attribute and the area ratio after the coordinate generated by scanning and the area ratio of the attribute delay are used to calculate the required cycle. By the mode of combining the accuracies of the floating points and the fixed points, the accuracy of the number of the floating points adopted for expanding the coordinates of four top points of the rectangle is calculated, the coordinate point generated by the scanning line is changed into a fixed point number by increasing two decimals, the top point of the expanded rectangle is converted into a fixed point number containing two decimals, therefore, the area ratio can be calculated by the fixed point number, and a great number of resources can be reduced when the accuracy loss is low.

Description

technical field [0001] The invention mainly relates to the field of line segment anti-aliasing in graphic chip design, in particular to the realization of line segment anti-aliasing based on the combination of floating point and fixed point based on super sampling algorithm. Background technique [0002] Raster graphics display is currently the most widely used graphics display, because it has the following advantages: raster scan display has a fixed refresh sequence, scanning starts from the upper left corner of the screen, refreshes from left to right, from top to bottom, so that Refresh control components are simplified for cost savings. In a raster display system, the smallest graphic element that constitutes a graphic is a pixel, so as long as all the pixels on the screen within a given area are calculated and given a certain color, the drawing of the graphic is completed. The graphics in the raster display are composed of pixels, and each pixel can display multi-level...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06F17/50
Inventor 焦永陈宝民周敏龙
Owner CHANGSHA JINGJIA MICROELECTRONICS
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products