Reputation: 21
I have a 4x4 homogenous transformation matrix I want to apply to an image in python. I found cv2.warpAffine for 2d space but can't find an equivalent function for the same task in 3d space. I am calculating this matrix from a 3d rotation vector and translation vector.
I tried getting separate rotation and translation matrices from my vectors but most resources I found required a 2d transformation (3x3 matrix) which negated my z axis transformation/rotation. I have also scoured the opencv/scikit-image documentation but thus far don't see anything that directly solves my problem.
Upvotes: 2
Views: 772