Ask Your Question

Inverse Perspective Mapping with Known Rotation and Translation

asked 2014-05-13 11:25:31 -0600

gozari gravatar image

updated 2014-05-13 11:26:05 -0600


I need to obtain a new view of an image from a desired point of view (a general case of bird's eye view). Imagine we change the camera's position with a known rotation and transformation. what would be the new image of the same scene?

We may put it in another way: how can we compute homography matrix by having the rotation and translation matrices?

I really appreciate any help!

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2014-05-14 07:16:44 -0600

kbarni gravatar image

updated 2014-05-14 07:17:24 -0600

The homography matrix can be computed directly from translation and rotation:

It has the following form for a 2D case:

| cosA   sinA  tX |
|-sinA   cosA  tY |
|  0      0    1  |

where A is the angle of rotation, tX and tY is the translation of the image.

If you want 3D projection, you need to add one more dimension to the matrix, but it still can be calculated directly from the translations and rotations.

edit flag offensive delete link more

Question Tools


Asked: 2014-05-13 11:25:31 -0600

Seen: 2,719 times

Last updated: May 14 '14