Ask Your Question

How can I convert a camera coordinate to pixel coordinate?

asked 2019-04-02 05:45:11 -0500

czjczjczj1 gravatar image

updated 2019-04-02 05:47:37 -0500

Hello, I got camera coordinates of two aruco markers, and I used the geometric relationship to predict another camera coordinate. I already have camera matrix and distortion matrix, how can I use them to convert the third camera coordinate to pixel coordinate? So that I can marker the third coordinate on frame. Thanks for any help.

edit retag flag offensive close merge delete

1 answer

Sort by » oldest newest most voted

answered 2019-04-02 06:26:08 -0500

Horst gravatar image


have a look at the function "projectpoints()"..Hope that helps

edit flag offensive delete link more


But I don't really know how to get rvecs and tvecs of a point that is not on an ArUco marker.

czjczjczj1 gravatar imageczjczjczj1 ( 2019-04-02 11:48:42 -0500 )edit

Rvecs and tvecs are the extrinsic orientation of your camera depending on your world coordinate frame..or you make your camera to your world coordinate frame.. so it don’t or it’s often not useful to use the point coordinate as your exterior orientation

Horst gravatar imageHorst ( 2019-04-02 15:17:15 -0500 )edit
Login/Signup to Answer

Question Tools

1 follower


Asked: 2019-04-02 05:45:11 -0500

Seen: 62 times

Last updated: Apr 02