I have an image like this:
I am trying to build a semantic segmentation and matting model which currently gives an output like this:
One can see that some regions between the hair strands are fuzzy. This is because the value of the alpha channel in between those regions are non-zero. Is it possible to somehow adjust the alpha values in just those regions as a post-processing step, in order to make the hair strands sharper?
My expected output would be something like this. Notice how the hair strands are sharper and the regions between the strands are completely transparent (alpha value 0):