Fatma Samy
SA,
Flood fill algorithm is an algorithm used to fill an area of certain color with another color.
We use it in our application after extracting the lung borders to refill the lung area with the original intensity of the source image.
Here's a little demo for this algorithm, the image is fixed, and don't spend much time asking your self what this image could represent :D
it's th image resulted from sobel edge detection of lung CT image, anyway :D
all you have to do is to choose a color and click the area you want to fill, and get the image colored ;)
It's a direct implementation of the third pseudo code that could be found here
http://www.codecodex.com/wiki/Implementing_the_flood_fill_algorithm


My implementation is downloadable from here
 any comments or questions are appreciated :)
Thanks :)
0 Responses

Post a Comment