Professional Documents
Culture Documents
Object Filling
What is Object Filling
•It is the first implementation technique which help to fill the object in four direction at
once.
•It create 4 pixel in four direction at once which is fast technique but have some issues.
a. After set colour in four direction some of direction are un-used.
b. The output is not as good as.
2. Eight Connected
•The first method that introduce the concept to fill the object.
•In this method, edges of the polygons are drawn. Then starting with some seed, any point
inside the polygon we examine the neighboring pixels to check whether the boundary
pixel is reached.
•If boundary pixels are not reached, pixels are highlighted and the process is continued
until boundary pixels are reached.
•We can two procedures
a. Boundary fill using Four Connected
b. Boundary fill using Eight Connected
1. Boundary Fill Method