Giter Site home page Giter Site logo

Comments (1)

MarkYu98 avatar MarkYu98 commented on August 25, 2024

There is a ceres-based optimizer LineLocEngine:


that only takes line correspondences and optimizes the initial camera pose. Take a look at limap.optimize.line_localization.solve_lineloc() and solve_lineloc_merged() for examples of how to use the optimizer from Python. You could also just use the point-line joint optimizer (JointLocEngine) while passing empty lists for point correspondences.

On a higher level, the heart of all our visual localization experiments is the function limap.estimators.pl_estimate_absolute_pose():

def pl_estimate_absolute_pose(cfg, l3ds, l3d_ids, l2ds, p3ds, p2ds, camera, campose=None,
.
When ransac.method is set to None in the configs, the localization is done using the optimizer mentioned over the initial pose; otherwise (hybrid) RANSAC is employed to robustly estimate the camera pose (in which case the initial pose is irrelevant). As line correspondences can be noisy, a RANSAC estimation might be preferred. Again, the joint optimization/hybrid RANSAC can be used with only line correspondences by passing empty lists for point correspondences.

We are currently working on documentations to better explain these functionalities in detail :)

from limap.

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.