Have a look at this image.
This is the edge of perspective projection result of a rectangle region on a cylindrical surface (like a bottle). The rectangle's vertical median line is parallel with the axis of the cylindrical surface.
I know how to do perspective tranformation of quadrangle on a plane (http://alumni.media.mit.edu/~cwren/interpolator/ and Perspective Transform in Matlab), but how to do it on a cylindrical surface?
what I want is to transform the region to the original rectangle.
My problem is almost like this: Unwarp curved surface
thanks for help!
here is a simple explaination in two images. I rolled image 1 and pasted it on a bottle, then I took a picture from some distance with a specific angle and orientation. Then how can I restore Image 1 from Image 2?
Image 1
Image 2