Ask Your Question
2

2D pixel coordinate to 3D world coordinate conversion

asked 2013-05-26 21:47:25 -0600

sachin_rt gravatar image

Hii I want to convert pixel coordinates from an image to real world 3D coordinates . I have used camera calibration using a chessboard and have found Rotation Matrix , Translation matrix , Intrinsic matrix . What should be my next step for conversion ?? Essentially I want the 3D projection of a pixel of an image . Is it possible ?? Please Explain

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
2

answered 2013-05-27 02:52:02 -0600

bjoernz gravatar image

updated 2013-05-28 04:04:37 -0600

During the transformation from 3D to 2D you are losing the depth information. All you can do with the matrices that you have, is to transform a 2D pixel into a 3D line where every point on this line would be projected onto the same 2D pixel.

You will definitely need additional information to reconstruct a 3D point. For example an additional view of the same scene at the same time (stereo vision).

EDIT

The homography transforms one plane in 3D space into another plane in 3D space. You cannot get absolute coordinates from this, because the homography is not unique.

You can get some information from a single view, if you have some additional information about the view (if you have a calibration object in the view, or if you can use structured lighting, etc.)

I recommend searching for "single view geometry" and if you want to read an excellent book on this topic, I recommend "Multiple View Geometry in Computer Vision" by Hartley & Zisserman, which also has a chapter about single view geometry.

edit flag offensive delete link more

Comments

What does HomographyMatrix*HomogeneousPixelCoordinates give ? I think the result would be world coordinates right ?? http://stackoverflow.com/questions/7836134/get-3d-coord-from-2d-image-pixel-if-we-know-extrinsic-and-intrinsic-parameters/10750648#10750648

sachin_rt gravatar imagesachin_rt ( 2013-05-27 21:11:22 -0600 )edit

Is it possible to get 3D coordinates of the objects with a single camera ??

sachin_rt gravatar imagesachin_rt ( 2013-05-28 03:28:12 -0600 )edit

I have updated my answer.

bjoernz gravatar imagebjoernz ( 2013-05-28 04:16:02 -0600 )edit

Heyy bjoernz thanx fr the quick reply :) I have one more query . What is the reference coordinate system ? We have formulae where we substitute the pixel coordinates and get the world coordinates , What is the reference coordinate system ??

sachin_rt gravatar imagesachin_rt ( 2013-05-28 04:23:04 -0600 )edit
1

answered 2013-05-28 11:46:36 -0600

RaulPL gravatar image

Hi, you can check this website Make3D. In this project they trained a machine learning algorithm that can estimate depth from just one image.

Regards.

edit flag offensive delete link more

Question Tools

Stats

Asked: 2013-05-26 21:47:25 -0600

Seen: 17,950 times

Last updated: May 28 '13