0

In Photoshop, going into Select and Mask doing Refine Edge using a radius of 4 px gives me the right image in the below screenshot.

Screenshot

I want to recreate this process in Python. How would I go about converting my binary image on the left, to the non binary image on the right? Any help?

1 Answers1

0

You should find what is doing the Refine edge algorithm and try to reproduce into python.

I have no ideas in my mind for this kind of reconstruction because you have loss of information right at the beginning with your binary image.

hope you will find what you want :)

Aygle
  • 41
  • 2