Hello, I am now trying to get the 3D position from a camera image. But I did not find the camera intrinsic parameters to get the relationship between pixels and meters.
Thanks a lot. Actually, I have found this page, but I do not really know the meaning of projection matrix and the view matrix. Is the projection matrix to transform camera coordinate to image coordinate? But how to transform the image coordinate to pixel coordinate? And what is the meaning of view matrix?
Plus, I do not think the projection matrix is to transform camera coordinate to image coordinate after some trials.
Thanks again!
Hi @291797245
In the following links, there is information about the matrices, for example
- WebGL model view projection - The model, view, and projection matrices
- Understanding the View Matrix | 3D Game Engine Programming
Also, you can check the following snippet (shared by @gavrielstate) that uses the projection and view matrix to generate the point cloud
Thanks a lot!!!
I think this website is really helpful!
Plus, I found that the transformation from pixel coordinate to image coordinate can be calculated by using depth image.
Thanks!
May i ask that Is this simple and correct: the camera coordinates are pointwise multiplied by the inverse matrix of the view matrix to get the coordinates in the world coordinate system。