Coder Social home page Coder Social logo

Comments (3)

mwoehlke avatar mwoehlke commented on July 28, 2024

Ah... is sfm_constraints intended for this? Is it safe, then, to set the principal point to any old value? (At least the documentation has an error; it mentions a metadata parameter, but the parameter is actually constraints.)

from kwiver.

mleotta avatar mleotta commented on July 28, 2024

The principal point is almost always assumed to be the center of the image and fixed at the center. Estimating a custom principal point for imagery taken from a normal camera is usually overfitting the model unless you have a specialty camera where you know the lens is not centered with the sensor.

That aside, in general it would be good to be able to specify an initial guess for camera intrinsics on each camera. sfm_constraints is more for optimization constraints (e.g. make sure this camera stays close to this GPS location). For initialization I suggest we put the initial guess in the input camera map. We could add a config option that tells the algorithm to only use the intrinsics from those initial guesses.

from kwiver.

mwoehlke avatar mwoehlke commented on July 28, 2024

Riiiiight... although for my usage I have the unenviable case that my inputs may have been (perhaps even probably have been) cropped, which means the principle point is I-have-no-idea-where. I'd hope I can ignore that, but... that's actually a good question; can I? And, more to the point, if my inputs are of wildly different sizes (say, 200×200 and 2000×2000), am I going to run into trouble not being able to specify a separate principle point for each of those?

It sounds like constraints is not the mechanism for dealing with this?

For initialization I suggest we put the initial guess in the input camera map.

From my (GUI) end this should be pretty straight-forward; in fact, I'd even started writing it that way before realizing this was an issue. I guess this would need changes in KWIVER though? (Hence why I opened the issue...)

from kwiver.

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.