Below i have attached an original image with segmented output. I need to generate an exact mask of the original image which should have proper boundary with interior full with white color intensity pixel(just like an template).
If there is any existing algorithm, deep learning model or paper available, kindly suggest.