GithubHelp home page GithubHelp logo

Comments (7)

AIWintermuteAI avatar AIWintermuteAI commented on July 28, 2024 1

@ToniRV https://github.com/skohlbr/disparity_image_proc
I remember in the end I was successful using this old package(Kinectic, Ubuntu 16.04). It took me quite a long while to get the settings right. Spent 20 minutes looking for this package on Github xD
Fortunately I created an issue in that repo, that is how I was able to find it.
skohlbr/disparity_image_proc#2
The trick is in right configuration. Good luck! If you do manage to get it to work, can you post a working solution?

from image_pipeline.

vrabaud avatar vrabaud commented on July 28, 2024

I believe in would make more sense to add a PR to image_geometry about that. Just call reprojectimageto3d and then copy the third channel.
Then a PR here makese sense too but it should use that API.

from image_pipeline.

lucasb-eyer avatar lucasb-eyer commented on July 28, 2024

Since you get the DisparityImageConstPtr in the callback, would it make sense to call model_.getZ(d) for each pixel d in the disparity image instead of going through an intermediary pointcloud?

from image_pipeline.

AIWintermuteAI avatar AIWintermuteAI commented on July 28, 2024

Hello. Sorry to bump a very old issue, but I'm currently working on the same problem, I already have stereo camera working and stereo_image_proc provides a disparity image. But for my project I need a depth image.
From what I understand it can be calculated using following formula
depth = baseline * focallength / disparity

from image_pipeline.

ToniRV avatar ToniRV commented on July 28, 2024

+1

from image_pipeline.

ToniRV avatar ToniRV commented on July 28, 2024

I'll have a look thanks!

from image_pipeline.

ToniRV avatar ToniRV commented on July 28, 2024

Voila:
image

Everything was there already thanks to @skohlbr
I enumerated my changes here skohlbr/disparity_image_proc#2

from image_pipeline.

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.