Ask Your Question
0

Distance and angle from a point with 3 axes (4points)

asked 2013-02-19 10:53:08 -0600

Hi all, I'd like to know if something exists to find the distance and the angle between a camera and an object with 4 points visible like that : http://upload.wikimedia.org/wikipedia/commons/4/4a/Repere_3_axes.jpg I can put 4 points of colours on each axes and enter the exact distance between points. Does this system already exists ? Thanks in advance. Cyprien

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2013-02-22 12:10:20 -0600

If you want to find the projection of a quadrangle on an image plane, you can used getPerspectiveTransform or findHomography (doc). The sample ''lk_homography.py'' is showing a usage with Lucas-Kanade optical flow on full image.

If you want to find the camera parameters from a non planar object, look at POSIT method (doc here on the oldest OpenCV documentation).

edit flag offensive delete link more

Question Tools

Stats

Asked: 2013-02-19 10:53:08 -0600

Seen: 438 times

Last updated: Feb 22 '13