tomas wrote: > You are (nearly) describing flood fill. Except that the operator > is ≠ instead of = or, perhaps you have two phases, one with "≠ > grey" and then one with "= grey" to also eliminate the doodle. > > I really, strongly suggest you play around with ImageMagick and > "connected component labeling". Here[1]'s the ref, in case it > got lost in the intratubes.
That must be something else? Seems much more complicated. I don't understand the commands and they seem to do something else. -- underground experts united http://user.it.uu.se/~embe8573 https://dataswamp.org/~incal