Google News
logo
Computer Graphics - Quiz(MCQ)
Which of the algorithm is used to color a pixel if it is not colored and leaves it if it is already filled?
A)
Flood fill algorithm
B)
Scan line polygon fill algorithm
C)
Boundary fill algorithm
D)
All of the above

Correct Answer :   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.

Advertisement