I am trying to segment a specific region in an image. I am able to achieve good segmentation results. After segmentation I wanted to create a square incorporating the whole segmented area. How should I go about? Please suggest with some reference materials or codes.
Any help would be highly appreciated.
Regards Parth Shah