I've tried polygonizing this monochrome bitmap as this:
and this:
and either way it ends up looking like this when (zoomed in) after gdal's polygonize operation:
Is there any way I can tell it which binary component I want to be the shape and which I want to be the void?