-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[question] Question about camera.sfm poses #655
Comments
The rotation is the 3x3 rotation and center is the camera center
That's a column-major Eigen matrix, so the first 3 elements are the first column of the matrix and so on. Incidentally, both OpenGL and Eigen use column-major format for storing matrices, so if you read and store the values in the that order in a raw buffer you can use it as a matrix in opengl.
The scale is always arbitrary, reconstruction is always up to a scale factor. In order to bring it in the real world scale, you need to know some relationship (e.g. the distance between two points) and rescale the scene (points and cameras) accordingly. |
Thanks a lot! |
In the SfMTransform, you can use "auto_from_landmark" which will fit a box around your 3D points and rescale it to Another solution, is to put markers, and rescale your scene based on these markers, but that's in development here: #652. |
@simogasp Hi, would you mind telling me what is the meaning of the |
K is the 3x3 calibration matrix that contains the intrinsic parameters of the camera, like the focal length and the principal point. |
wow, thanks for your detailed explaination! |
is there any unit for the camera centre under poses? I mean the centre can be located 3mm or 3 meter away from world origin. How to know? |
Describe the problem
After the completion of
StructureFromMotion
node a camera.sfm file is produced.Inside this file all the views' instrics and extrinsics are listed. In particular, under the
"poses"
keyword we find the views' poses.For example:
Questions:
rotation
refers to a 3 x 3 rotation matrix andcenter
to the translation vector.rotation
to create a rotation matrix (i.e. the OpenGL ModelView matrix?)The text was updated successfully, but these errors were encountered: