Skip to content
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

database image pose from P_db.m has 0.5m translation difference? #8

Open
Grem-Lin opened this issue Jul 30, 2021 · 0 comments
Open

Comments

@Grem-Lin
Copy link

Hi I am playing with Inloc database image poses and I have a question about pose calculated by P_db.m (please also refer to this discussion).

I found there is a difference (about 0-0.5m in translation and 0-1 deg in rotation) between pose calculated by P_db.m and pose calculated by PnP method (pycolmap) using all 2D points from database image and the corresponding aligned 3D points. I build 3D points by referring hloc and I used the camera intrinsic of "SIMPLE_PINHOLE, 1600, 1200, 1385.6, 800, 600" which I believe is correct.
Also, I use aligned 3D points and two poses (one from P_db.m, another from PnP) to render images. I found the rendered image from PnP is more close to original image while rendered image from P_db.m has an obvious shift (I can share the images if necessary).

Do you have any insights of why this happened? I feel translation difference about 0.5m is huge, especially under current Inloc localization threshold: (0.25m, 10°) / (0.5m, 10°) / (1m, 10°). I think pose from P_db.m totally makes sense, but I didn't see anything wrong with pose calculated from PnP.

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant