Unwarp curved surface
问题 I have a cylindrical object on which a circular label is pasted. I extract the contour of the image. I know the radius of the cylindrical object as well as the label. But not every time the ellipse obtained will be exactly symmetrical. How can I unwrap the ellipse into a circle? Here's an image which is not symmetrical EDITED I tried to extend @Haris's solution something like this Instead of just just 4 points, I want to use an array of points to get a more accurate circle. But