Giter VIP home page Giter VIP logo

Comments (10)

rehderj avatar rehderj commented on August 19, 2024 2

Hi, please see equation 7 of the referenced paper, which should describe the equidistant distortion model employed in kalibr. While there is a more complete model including additional tangential distortion reported in that work, kalibr uses the radially symmetric model detailed on in section II.A of the paper. Note that this is consistent with the work of other groups, which can be found here, equation 3-8.
My understanding of ROS from here is that it currently does not support this model.
However, we found it to return lower reprojection errors for a wide range of optics, which again is consistent with findings in this paper.

from kalibr.

furgalep avatar furgalep commented on August 19, 2024

@rehderj, can you provide a paper with the equidistant model that you implemented?

To the best of my knowledge you are right; the ROS tools only support pinhole + radtan.

from kalibr.

NikolausDemmel avatar NikolausDemmel commented on August 19, 2024

Thanks for the pointers! I will look them up and possibly come back with any additional questions.

from kalibr.

rehderj avatar rehderj commented on August 19, 2024

Sure, feel free to approach us with additional questions. As an addition, the last comment referred to figure 6 in the Richardson paper, which suggests (for these particular optics) a generally lower reprojection errors as well as a significant gain in accuracy in the peripheral parts of the image.

from kalibr.

schneith avatar schneith commented on August 19, 2024

If you need to undistort images in ROS using a pinhole camera and an equidistant distortion model, the code in the repo below might be useful for you.

https://github.com/schneith/undistorter

from kalibr.

NikolausDemmel avatar NikolausDemmel commented on August 19, 2024

@schneith: this looks indeed very helpful. Thanks for the pointer! I will test this once I have augmented our data with current calibration in CameraInfo format.

from kalibr.

NikolausDemmel avatar NikolausDemmel commented on August 19, 2024

So while implementing the calibration model in our system an additional question came up about the undistort function:

@schneith uses a fixed number of 20 iterations to compute the undistorted radius. Why 20? Is this value just common wisdom for "large enough"? What could be an appropriate abort criteria?

P.S.: The undistorter ROS package works nicely with our calibration values to rectify recorded sequences, thanks @schneith.

from kalibr.

NikolausDemmel avatar NikolausDemmel commented on August 19, 2024

One more question actually about @schneith 's implementation: Is there a reason that there is no check for really small thetad in undistort, like there is for r in distort.

from kalibr.

rehderj avatar rehderj commented on August 19, 2024

There is little justification for the specific number of 20 iterations. Feels free to implement your favorite abort criterion, good candidates might either be the amount of change in the incidence angle theta in subsequent iterations or the absolute difference between the measured distorted theta and your modelled distorted theta when applying the distortion to the current estimate.
The check for small r is for numerical stability. We have not evaluated if it is necessary, nor whether there cannot arise numerical instabilities in the undistortion under all circumstances.

from kalibr.

NikolausDemmel avatar NikolausDemmel commented on August 19, 2024

That makes perfect sense, thank you!

from kalibr.

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.