OpenCV Spherical Projection: Warping and Unwarping
问题 I am trying to recreate the view of a camera from a spherical projection, so that the resulting image is orthographic (straight lines in reality equate to straight lines in the image space). I have used the sphericalWarper warp function before with success: detail::SphericalWarper Projection = detail::SphericalWarper(((360.0/PX2DEG)/PI)/2.0); Mat SrcProj; Projection.warp(Src, CameraIntrinsics, Rotation, INTER_LINEAR, 0,SrcProj); But when I use the function warpBackward , it requires me to