Giter Club home page Giter Club logo

Comments (3)

laurentkneip avatar laurentkneip commented on July 17, 2024

Hi Oliver,
I am trying to understand what's happening on your end, but I don't see an immediate solution. The first thing is that CentralAbsoluteAdapter is not necessarily something you want to use. It is very basic and has been designed mostly for the unit tests. If you use them, please verify that bearingVectors and points always have same length when you call the constructor. Also, TWOPT will be taking the rotation from the adapter as a guess to compute the translation. Note that you need to "load" this rotation before executing Ransac, and that there are currently no checks for the validity of the provided rotation.

from opengv.

omwdunkley avatar omwdunkley commented on July 17, 2024

Hi Laurent, thanks for your fast response.
I didn't see an immediate solution either;)
I am just doing basic things for the moment so I was pretty happy to use CentralAbsoluteAdapter. As I use the same datatypes, it seemed like a good fit.

The input bearings / points I give it are aligned, have the same length, and the bearings are normalised. I provide it a rotation estimate through the setR() method. The same input works 4 out of 5 times; but I don't see what causes that one other time to behave badly. The fact that it is returning the model size to be 0 sometimes is of concern - any idea how this could happen? Does it work for you if you change the algorithm to TWOPT in the unit test?

Cheers!

from opengv.

laurentkneip avatar laurentkneip commented on July 17, 2024

Problem solved by avoiding model-disambiguation for algorithm that compute a unique solution.

from opengv.

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.