Git Product home page Git Product logo

Comments (9)

zehongs avatar zehongs commented on May 31, 2024

Hi zhongyuan, this is a very good question!
Inspired by the code from DualRCNet, we didn't use sub-pixel predictions for db-db pairs by using round(). Therefore the "keypoints" will be strictly repeatable across images. I'll show you the reconstruction of Aachen in the image below. And the errors are reduced by the triangulation process and a high image resolution. We use sub-pixel predictions for db-query pairs, which contributes to the high localization accuracy.

image

from loftr.

Zhongyuan-Li avatar Zhongyuan-Li commented on May 31, 2024

Thanks for quick reply. It seems like continuous keyframes can still produce similar keypoints distribution due to round() function.
Following the localization strategy, the standard flow is: image retrieval -> 2D-2D match -> 3D-2D pnp -> pose result. Owing to round() during structure from motion, 3D points are binding with integer keypoints in keyframes. So during localization, how to handle the correspondence between 3D points and the new sub-pixel db keypoints or maybe the sup-pixel strategy is only used in query images ?

from loftr.

zehongs avatar zehongs commented on May 31, 2024

Correct. For LoFTR, we use sub-pixel strategy only for query images currently.

from loftr.

Zhongyuan-Li avatar Zhongyuan-Li commented on May 31, 2024

Thanks a lot. I'll have a try!

from loftr.

zehongs avatar zehongs commented on May 31, 2024

No problem 👏

from loftr.

K0stIa avatar K0stIa commented on May 31, 2024

Hi @Zhongyuan-Li @zehongs ,
I have a question about this part
"we use sub-pixel strategy only for query images currently."

Could you explain this part in more detail?

from loftr.

zehongs avatar zehongs commented on May 31, 2024

Hi,
For visual localization, one needs to first build a map with database images, and then establish correspondences for database-query images. Specifically, to find correspondences of the database points and query points.
Here, we round the point location when building database map. And we use sub-pixel strategy when computing the database-query crrespondences.

from loftr.

Kevin-Kai96 avatar Kevin-Kai96 commented on May 31, 2024

hi,@zehongs,i have a problem when I try to reconstruction my custom data by hloc+loftr. I used round() to save the result of loftr and inserted the pixel point as keypoint. Also I inserted the matching correspondence of two images. However, I got an error in pycolmap as check failed: bundle_adjuster.Solver(&reconstruction). Can you help to solve it if you have any experience? Many thanks

from loftr.

zehongs avatar zehongs commented on May 31, 2024

Hi, I have not encountered this problem. Maybe you can reduce the amount of data, and manually check if the output files are all correct for COLMAP.

from loftr.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.