backscrub icon indicating copy to clipboard operation
backscrub copied to clipboard

Close small holes in mask

Open MartinKlevs opened this issue 3 years ago • 4 comments

The full meet model often leaves small holes in my face. It could be worthwile to add an optional hole filling step.

MartinKlevs avatar Apr 13 '21 18:04 MartinKlevs

This is already happening here: https://github.com/floe/deepbacksub/blob/main/deepseg.cc#L303-L306 Probably needs a bit of tweaking on size of info.element...

floe avatar Apr 14 '21 06:04 floe

I think the intention was to close all internal holes, not just the small stuff near the edges.

BenBE avatar Apr 14 '21 10:04 BenBE

Hm, I had considered finding the outer contour and filling everything inside, but that would fail with e.g. raised arm touching the head?

floe avatar Apr 14 '21 11:04 floe

Good point …

BenBE avatar Apr 14 '21 14:04 BenBE