-
Notifications
You must be signed in to change notification settings - Fork 118
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
Is there a function directly for 3d reconstruction? #161
Comments
Actually GLOMAP use the triangulation function of COLMAP: glomap/glomap/controllers/track_retriangulation.cc Lines 13 to 24 in 18a70ee
And in my opinion, precise camera poses and keypoint tracks are enough for |
Thanks for your kind and prompt reply! |
Not familiar with Habitat, the following are my personal opinions. When changing the camera coordinate system, we alter the transformation of a 3D point from the world frame to the camera frame. The transformation from the original camera to Habitat's camera is: By combining the above transformations, the translation |
Thanks for the discussion. I agree that it's a 180-degree rotation around the x-axis. So the angle axis is: If we convert it to quaternion, it should be So the result will be |
@lemonci |
Hello, thanks for your help. I tried to visualize the camera poses and point cloud in colmap and found an interesting error. What I did was selecting a few camera positions in habitat
Then at each camera position (index
The
The
If I run
,
If I run
, The camera poses are significantly distorted from the ground truth camera poses. Is there any specific reason for that? |
Thanks @StonerLing , I have rethought about this problem. |
Quaternion if (q[0] < 0) {
q = -q;
} This ensures that the quaternion's scalar component remains positive by inverting the quaternion if |
Thanks for all the help. And eventually I found the quaternion transformation should be |
If I have already known the camera poses (from a simulator) of the images, is there anyway for 3d reconstruction directly from glomap (a function equal to
colmap point_triangulator
)? I tried the latter one but the result was not so good. Thanks.The text was updated successfully, but these errors were encountered: