I have a 3D human model in Unity which is viewed by a camera at a certain pose (p1) and a 2D image rendered from this view (I1) is recorded. Then, I change the camera pose (p2) slightly such that the model is viewed by the camera from another viewpoint and a second image (I2) is recorded. Considering that I know both p1 and p2, how can I get to I2 from the reference image I1 ?
I have a dataset of pairs of camera poses (p1,p2) for which I repeat this procedure several times to get the images. After rendering in Unity, I record the images for offline processing using OpenCV.
Remarks:
- There is a single object in the scene rendered on a skybox.
- Difference between p1 and p2 are quite small, so there is practically no disocclusions at any part of the object.
- The camera may move between p1 and p2 translationally such that the object appears bigger/smaller in I2 compared to I1.
- Since I'm doing this Unity, I can control the camera intrinsics by using a physical camera (if that helps at all).