Could you please describe why you need this transform? It looks like you have already achieved this. Perhaps maybe you need to distort the photo from the original rectilinear shape, to the new curved shape? Any 3d program which supports morph targets or shape keys (same thing) will do this.