How can i check what size of poligyon eg. circle with max radius, square with max side length, rectangle with max l and b can be fitted inside a conter? Eg image: Here i have segmnted a region in given image using: RotatedRect minRect = minAreaRect(Mat(points)); if(minRect.size.width>10 && minRect.size.height>10)
But what i want is to get the contour inside which given size of polygon can fit. eg. in inside image circle with radious x can fit.