user image

Deepika Mishra

Graphic Designing
Graphic Designing
2 years ago

40) Which of the algorithm is used to color a pixel if it is not colored and leaves it if it is already filled? a.Boundary fill algorithm b.Scan line polygon fill algorithm c.Flood fill algorithm d.All of the above

user image

Abhishek Mishra

2 years ago

Answer: (a) Boundary fill algorithm Explanation: The Boundary fill algorithm checks whether the boundary pixels or adjacent pixels are colored or not. It leaves it, if the adjacent pixel is already filled or colored; otherwise, fill it.

Recent Doubts

Close [x]