Open Access Open Access  Restricted Access Subscription or Fee Access

An Enhanced Method for Filling a 2D-Polygon

K. Natarajan, K. Kuppusamy

Abstract


Polygon filling is a fundamental operation in computer graphics and image processing. The conventional polygon filling algorithms normally adopt an approach of scan line at a time generally called Scan_ Line Algorithms typically uses many procedures and data structure of table (records) and fields. Using these procedures and data structures, the polygon filling process slows down because, many procedures which are involving to fill a polygon  performing operation of sorting, reordering records and fields in a table and it makes these algorithm a time-consuming, tedious and very complex. This paper presents an enhanced 2D polygon filling method based on to the Scan-Line algorithm. After discussing simply about the Scan-Line filling algorithm and its procedures, a different approach is proposed and is explained step by step.

This proposed method, KN algorithm is fast, and uses simple data structure and less execution time, data reordering work and is independent of the polygon geometry. The experimental results strongly support superiority of the proposed algorithm in execution time wise and it is theoretically and experimentally better than the conventional algorithm.

Keywords


Concave Polygon, End Points, Polygon Filling,Vertex

Full Text:

PDF

References


S. Harrington, Computer graphics – A programming approach, McGraw Hill Book Company, 2nd edition, 1987.

Foley, J.D., Andries, V.D., Feiner, S.K., and Hughes, J.F., Computer Graphics Principles and Practice, Addison-Wesley, 2nd edition, 1990

Hoo-Cheng Liu, “ A New Polygon Based Algorithm for Filling Regions”, Tamkang Journal of science and Engineering, Vol 2 No 4,pp175-186,2000

K.Natarajan, K.Kuppusamy, “An enhanced method for a filling a 2D-Polygon”, to be published

Pavlidis, T., “Contour filling in raster graphics,” ACM Computer Graphics, Vol.15, No. 3., pp. 29-36(1981).

Pavildis, T., “Filling algorithms for raster graphics,” Computer Graphics and Image Processing 10, pp. 126-141 (1979).


Refbacks

  • There are currently no refbacks.


Creative Commons License
This work is licensed under a Creative Commons Attribution 3.0 License.