Click here to Skip to main content
15,889,595 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hey :)
I found a very useful article on code project called Flood Fill , here is the link

[^]
Ok so, as you might know this project lets you choose a point on a picture and fills it with a colour. I am really trying to find out a way to get a list of the points on the picture that the algorithm has filled with colour.
Thank You.
Posted

1 solution

I would advise you to contact the author of this article on this page: Queue-Linear Flood Fill: A Fast Flood Fill Algorithm[^]. At the end of the article text, use "New Message". The author will receive a e-mail notification and will get a chance to answer you.

I must add that the question is not 100% clear. Do your really need a list, not any other way to specify the set of points? Do you realize that this list can be way too long to keep all those points? I guess the basic answer will be: modify the algorithm (I would rather do it by myself using the original source code), but your requirement to have a list is hardly reasonable. I suggest you think about it before you ask your question.

—SA
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900