Giter Site home page Giter Site logo

Comments (4)

mihaidusmanu avatar mihaidusmanu commented on July 20, 2024

You will need to extract the matches from the database and parse the 3D model using the following utilities from the COLMAP repository:

Another useful link is https://colmap.github.io/format.html which explains the COLMAP reconstruction output format.

For each query image, you go through its matching pairs and only keep matches to keypoints that appear in the 3D model - in this way you infer a 2D-3D match from the 2D-2D ones in the COLMAP database.

Some version of this is already implemented in hloc - I think https://github.com/cvg/Hierarchical-Localization/blob/master/hloc/localize_sfm.py#L99.

from pycolmap.

vahidEtt avatar vahidEtt commented on July 20, 2024

Hi @mihaidusmanu. Thanks for the quick reply. I will look at them.

So you mean I should run the whole reconstruction and after it, I should extract 2d-3d points? At which stage in colmap reconstruction, we have a 3D model that I can extract 2d-3d points? I thought after "colmap matches_importer" I can extract them.

from pycolmap.

mihaidusmanu avatar mihaidusmanu commented on July 20, 2024

colmap matches_importer simply imports 2D-2D matches. There is no mapping involved up until that point. The mapper or point_triangulator (when poses are known) produce the sparse 3D map based on local feature matches. You can take a look at the CLI tutorial for the different COLMAP mapping steps - see https://colmap.github.io/cli.html.

from pycolmap.

vahidEtt avatar vahidEtt commented on July 20, 2024

Ok. Thanks!

from pycolmap.

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.