Code Monkey home page Code Monkey logo

Comments (3)

puzzlepaint avatar puzzlepaint commented on June 29, 2024

The application only supports the pinhole camera model, so the images need to be pre-undistorted. Simply adding distortion parameters afterwards will of course not work. However, I believe that those are not necessary for the TUM RGB-D datasets.

from badslam.

zhaozhongch avatar zhaozhongch commented on June 29, 2024

Thanks for the answer. Here is another concern.
If I have another rgbd dataset in the future, whose depth is aligned with the rgb. After I undistort the rgb image, should I use the same parameter to undistort the depth? My concern is that after undistortion, the rgb's pixel may not be able to align with the depth.

from badslam.

puzzlepaint avatar puzzlepaint commented on June 29, 2024

Transforming depth images is always a bit tricky, since it is generally not easily possible to correctly interpolate depth values in depth images. Two alternatives I would suggest are:

  • Perform the depth image undistortion while attempting to detect depth discontinuities in the depth image. If there is no discontinuity at a given target pixel, the depth could be interpolated by assuming that the surface is planar there; if a discontinuity is estimated to be at a pixel, then no depth value should be assigned to this pixel since its true depth is unclear. Unfortunately, there is probably no fail-safe way to detect the discontinuities, but potentially a simple check on the angle of a plane fitted to neighboring pixel values to the camera might work sufficiently well.
  • Try to avoid the undistortion, if possible, by implementing the corresponding original camera model in the application instead of undistorting the images to the pinhole camera model, in case this does not make it too slow.

from badslam.

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.