I am looking for a way to categorize every pixel of a Mandelbrot image (zoomed out) as "pixel is fully inside", "pixel is fully outside" or "undetermined". "Fully inside/outside" means, that every point inside this pixel also has to be inside/outside. "Undetermined" then of course would mean, there a points that are inside and other points are outside for that pixel.
I would be happy with an "upper bound" for the undetermined pixels. So if a method would give some pixels that are actually fully inside or outside along with real undetermined pixels, this would be fine. But especially every pixel determined as "fully inside" must be fully inside.
I tried several methods of (mainly interior) distance estimation (like in this post), but they all gave inconsistent values. The exterior part isn't really a problem, but for the interior part, everything I tried so far wasn't useful for this particular case. One "naive" approach (that worked well enough for another case) was:
for every pixel computed as inside the set do
{
if all surrounding pixels are also inside
{
mark pixel as inside
}
else
{
mark pixel as undetermined
}
}
But this does not work for "deeper grooves", even when used several times in a row. Does anybody know a good method (or variant of distance estimation) to do this (so especially categorizing pixels as "fully inside the set")?