Transform image to get top-down view

9 visualizaciones (últimos 30 días)
Rajesh Subramanian
Rajesh Subramanian el 11 de Sept. de 2017
Editada: Matt J el 11 de Sept. de 2017
Hi,
I have an image like this:
I need to transform the image in such a way that i could get a top-down view representing circles, triangles and squares. I also have the camera intrinsic and extrinsic parameters. How can i use these parameters to generate a top-down view ? Any help would be greatly appreciated.
Regards !
  1 comentario
Walter Roberson
Walter Roberson el 11 de Sept. de 2017
Is it single images, or is it stereo pairs that you have?

Iniciar sesión para comentar.

Respuestas (1)

Matt J
Matt J el 11 de Sept. de 2017
Editada: Matt J el 11 de Sept. de 2017
If you have camera extrinsic parameters, it means you derived them from some world coordinate system. I'll assume this coordinate system is aligned with the blue mat shown in the image and the "top-down view" you are searching for is down the z-axis of this coordinate system.
Let P=K*R*[I,-C] be the camera projection matrix in this coordinate system, and its decomposition. Then you want to transform the image with the 3x3 homography given by H=K*R.'*inv(K)
This H has the effect of transforming the projection matrix such that H*P is a new projection matrix with R=eye(3), in other words so that the camera axes are now aligned with your world axes.

Etiquetas

Productos

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by