Question
Compare Boundary fill algorithm and Flood fill algorithm. Mention at least two advantages and limitations of both algorithms. Why does boundary fill algorithm fail when boundary is not completely closed? Explain with an example.
Answer :
Word Count : 325
_______ __________ ___ ______ _________ ____ _________ _________ __________ ___.
____ __________ _____ ______ _________ ______ ____ _______ _______ ____ ______ ___.
___ ____ _____ ______ _________ ________ ___ ______ _______ ____ ___.
__________ ____ _____ _________ ________ ____ ___ __________ ______ ________.
__________ ________ _____ ___ ___ ______ _________ __________ ____ ____ _____.
____ ______ __________ ________ ______ ______ ________ _____.
_________ _________ ________ _______ _______ _____ ____ ____ ______.
________ _________ _________ ________ _________ ______ _______ _________ __________ ________.
_______ ___ _______ _______ ____ _________ ____ _____ _____ _____ ________.
_______ __________ ____ ________ ______ ___ ____ ________ __________ __________.
____ ________ ______ ________ __________ ______ ___ _______ ________ _______ ________.
_______ _____ __________ __________ __________ _______ _____.
______ ___ __________ ______ _____ ______ _______ ___ ___.
_________ ____ ______ _________ ____ __________ ___ ________ ____.
__________ ____ ______ _______ ____ _________ _________ ____ __________ _________.
_______ ______ ______ _____ _____ _______ _____ __________ _______ _______ _________ _____.
_____ _____ __________ _________ __________ ______ ___.
_______ ____ __________ ______ _______ ____ _________ ____ __________ ___ _______ _______.
_____ ________ ____ _________ ________ _______.
__________ ________ ___ ____ ______ ___ ____ _____ _________ _____.
_________ _________ _______ _________ ___.
___ _____ ______ _________ ____ __________ _______ __________ _________ _________.
________ _____ ___ ____ _____ __________ _______ ________ _______.
____ ________ _____ _________ _____ _______ ______ ____.
_______ _____ _______ _________ _____ _______ ____ _____ ___ __________.
Skip in 10
Boundary fill algorithm and Flood fill algorithm are both region-filling techniques used in computer graphics to fill a connected area with a specific color, but they differ in their approach and application. Boundary fill algorithm works by starting from a seed pixel and spreading outward until it reaches the boundary color. The algorithm checks neighboring pixels recursively (or using a stack) and fills them until a pixel with the boundary color is encountered. Flood fill algorithm, on the
_______ ____ ___ ______ ___ __________ _____ ________ _____ ____._______ __________ ___ ______ _________ ____ _________ _________ __________ ___.
____ __________ _____ ______ _________ ______ ____ _______ _______ ____ ______ ___.
___ ____ _____ ______ _________ ________ ___ ______ _______ ____ ___.
__________ ____ _____ _________ ________ ____ ___ __________ ______ ________.
__________ ________ _____ ___ ___ ______ _________ __________ ____ ____ _____.
____ ______ __________ ________ ______ ______ ________ _____.
_________ _________ ________ _______ _______ _____ ____ ____ ______.
________ _________ _________ ________ _________ ______ _______ _________ __________ ________.
_______ ___ _______ _______ ____ _________ ____ _____ _____ _____ ________.
_______ __________ ____ ________ ______ ___ ____ ________ __________ __________.
____ ________ ______ ________ __________ ______ ___ _______ ________ _______ ________.
_______ _____ __________ __________ __________ _______ _____.
______ ___ __________ ______ _____ ______ _______ ___ ___.
_________ ____ ______ _________ ____ __________ ___ ________ ____.
__________ ____ ______ _______ ____ _________ _________ ____ __________ _________.
_______ ______ ______ _____ _____ _______ _____ __________ _______ _______ _________ _____.
_____ _____ __________ _________ __________ ______ ___.
_______ ____ __________ ______ _______ ____ _________ ____ __________ ___ _______ _______.
_____ ________ ____ _________ ________ _______.
__________ ________ ___ ____ ______ ___ ____ _____ _________ _____.
_________ _________ _______ _________ ___.
___ _____ ______ _________ ____ __________ _______ __________ _________ _________.
________ _____ ___ ____ _____ __________ _______ ________ _______.
____ ________ _____ _________ _____ _______ ______ ____.
_______ _____ _______ _________ _____ _______ ____ _____ ___ __________.
IGNOU ACADEMY
Your IGNOU journey, made easier.
- Solved Assignments
- Study Notes
- Guess Papers
- Question Papers
Continue Reading — It's Free
Sign in with Google to unlock more of this answer.
✓ Free access
✓ Unlock up to 60% of the answer
✓ No payment required
✓ Unlock up to 60% of the answer
✓ No payment required
Quick Google sign-in. No separate registration form.