Title :
The research and implementation of line anti-aliasing algorithm based on coordinate system rotation
Author :
Yong, Jiao ; Lu-ya, Wang ; Yue-yue, Chen
Author_Institution :
Comput. Educ. Dept., Hunan Normal Univ., Changsha, China
Abstract :
This paper presents an algorithm of line antialiasing based on coordinate system rotation. The line direction for drawing is changed to horizontal or vertical one in new coordinate system. A pixel is divided into 16 grids. The weight of the grid point is the number of the grids which the point is in. The ratio of area is concluded by judging the position relationship of pixel grids and expanded rectangle. The single precision floating-point number is fully adopted in this algorithm comparing with traditional algorithm. The complexity of calculations is decreased in generation of expanded rectangle and area ratio of pixel. The shifter and adder is introduced which avoiding a lot of multiplications.
Keywords :
computer graphics; floating point arithmetic; coordinate system rotation; expanded pixel rectangle; line antialiasing algorithm; pixel grids; single precision floating-point number; Accuracy; Algorithm design and analysis; Computer graphics; Hardware; Hardware design languages; Iterative methods; Pixel;
Conference_Titel :
Audio Language and Image Processing (ICALIP), 2010 International Conference on
Conference_Location :
Shanghai
Print_ISBN :
978-1-4244-5856-1
DOI :
10.1109/ICALIP.2010.5684982