Can you help me with the photoshop option. As-in where to find it?
Refine edge is feature to refine the selection (marching ants)
1 Use pen tool to make an outline as proper as possible.
2 Once the path is completed, right click anywhere and select make a selection
3 then select any tool that creates a selection(magic wand/selection)
4 right click on the image and select refine edge
It will pen a window with several sliders
Adjust the sliders to make the selection as you want
There is a drop-down on top which changes the background of the area out of selection, in order to view whether there are any loose gaps are present
At the bottom there ids dropdown to select what should be the output(selection/mask etc)