in OpenCV there is functions to warp any 2D image using a homography matrix (3x3), e.g.
cv2.warpPerspective. These matrices are generally constructed using point correspondences 2D->2D and solving for the matrix that maps the first set of points to the second, e.g. using
Now I'm wondering what the rotations and translations of the camera are, that lead to a homography. So if I rotate and translate the (virtual) camera (6 degrees of freedom) by given values - what does the matrix look like to project a 2D image to the version seen by the rotated and translated camera. I somehow feel that this can't be solved in 2D but I can't really tell why.