Implementation of an Efficient Scan-Line Polygon Fill Algorithm

Ismail Al-Rawi

Abstract


Area filling or polygon filling is a fundamental operation in computer graphics. There are many methods used to fill a closed shape, but the most common one uses the property of raster scan display to perform the filling. These types of algorithms simply depend on finding the intersection points for each scan-line with polygon edges and fill between alternate pairs of intersection points. The implementation of these operations is a straight forward for simple polygons, like convex and concave, and can be more complicated for complex polygon where regions may overlap. This paper present implementation for an efficient algorithm that manages to fill all kinds of polygons depends on using very simple arrays data structure that can be easily programmed by C or Java language. The implementation in Java verified that the algorithm is theoretically and experimentally superior to many other conventional algorithms implementation.

Keywords: Polygon filling, Scan-line filling, Edge-Table, Active-Table, Odd–Even Parity.


Full Text: PDF
Download the IISTE publication guideline!

To list your conference here. Please contact the administrator of this platform.

Paper submission email: CEIS@iiste.org

ISSN (Paper)2222-1727 ISSN (Online)2222-2863

Please add our address "contact@iiste.org" into your email contact list.

This journal follows ISO 9001 management standard and licensed under a Creative Commons Attribution 3.0 License.

Copyright © www.iiste.org