Closed GoogleCodeExporter closed 9 years ago
I thought this looked like an interesting problem, but I can't reproduce it.
Please check your image and demonstrating source. Two points I want to be extra
sure about:
1) Did you re-save the demonstrating image before posting it?
2) Your demonstrating source doesn't compile. Where is the definition of bitmap
(the variable, not the class) and could the code between the definition and the
provided snippet have anything to do with the stack overflow?
Original comment by dales...@gmail.com
on 23 Oct 2010 at 8:03
Reproduced with the image from here:
http://www.digitalmetrology.com/Image/ProblemImage.jpg
Need to think about better flood fill algorithm to solve the issue instead of
increasing stack.
Original comment by andrew.k...@gmail.com
on 12 Nov 2010 at 4:19
Changing implementation of PointedColorFloodFill to use queue instead of stack,
so the image processing routine will not generate stack overflow any more. It
is speed is a bit reduced as a result of this, but it may get noticeable only
when processing thousands of images (depends on image size of course).
Committed in revision 1345. Will be released in version 2.1.5.
Original comment by andrew.k...@gmail.com
on 15 Nov 2010 at 4:10
Original comment by andrew.k...@gmail.com
on 12 Jan 2011 at 11:42
Original issue reported on code.google.com by
mcmalb...@gmail.com
on 19 Sep 2010 at 10:52Attachments: