Ask Your Question

How to compute the 3D location of a 2D point on the ground?

asked 2017-10-29 11:41:51 -0500

I know the focal length f and the principal point of a camera P(x,y) and I can assume the ground plane is orthogonal to the image plane.

I have a 2D point on the picture that I know is on the ground, how do I get it on 3D using camera coordinates. However I am not sure how to approach this? Any advice is appreciated.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2017-10-29 14:09:24 -0500

Tetragramm gravatar image

Do you simply want the range from the camera? Or do you need precise 3d location?

Either way you need

  1. The focal length in mm or the size of the FPA in mm.
  2. The height above the ground.
  3. If you want the precise 3d location, you need where the camera is, over the ground.

This assumes the point you want is level with the ground. If it is notably off the ground, you can't do it with one stationary camera.

edit flag offensive delete link more


If I have an x,y I need to get an x,y,z for some point x,y but I am not sure what the mathematical process is. Can you help me ? I could implement the algorithm myself

danoc93 gravatar imagedanoc93 ( 2017-10-29 14:52:16 -0500 )edit

You need the height of an object? And you know the xy of the camera and the xy of the object?

Tetragramm gravatar imageTetragramm ( 2017-10-29 16:48:34 -0500 )edit
Login/Signup to Answer

Question Tools

1 follower


Asked: 2017-10-29 11:41:51 -0500

Seen: 159 times

Last updated: Oct 29 '17