Giter Site home page Giter Site logo

Saturated pixels about o3d3xx-ros HOT 4 OPEN

ifm avatar ifm commented on July 20, 2024
Saturated pixels

from o3d3xx-ros.

Comments (4)

tpanzarella avatar tpanzarella commented on July 20, 2024

How would it be possible to access the saturation info using o3d3xx-ros package?

This saturation information is reported in the confidence image which o3d3xx-ros publishes on /o3d3xx/camera/confidence (by default). The image encoding is mono8. The saturation bit is bit 1 (0-based). It will be set high (i.e., 1) if the pixel is saturated.

from o3d3xx-ros.

bsbc avatar bsbc commented on July 20, 2024

Thanks.

Is this (looking at the saturation info) the recommended way to determine whether a pixel that does not have valid depth data is too close or too far?

from o3d3xx-ros.

tpanzarella avatar tpanzarella commented on July 20, 2024

Looping in @graugans @cfreundl @GarrettPlace to take back to the team in Germany for an "official" response to this question. I cannot confidently advise you to make this inference one way or another.

My unofficial initial thoughts would be to try to make that inference by consulting a neighborhood of surrounding pixels of the suspect one as I am not aware of a piece of information from the PMD chip that gives that information directly.

UPDATE:

Thinking about this more... I do not think I would make the "too close" / "too far" determination based solely on the pixel saturation bit. I believe pixel saturation will be more closely correlated to the scene you are observing and the configured integration times (i.e., longer integration times could lead to overly saturated pixels). The confidence image reserves two bits (4 and 5) to reveal which exposure time was used to compute the measurement for the pixel. If you are running in single exposure mode, then this doesn't really give you any additional information however if you are running in double or triple exposure mode, these bits may be able to help you.

from o3d3xx-ros.

graugans avatar graugans commented on July 20, 2024

As @tpanzarella already suggested check the pixels in the neighborhood of your pixels. The intensity of a single pixel depends on multiple factors

  • Distance
  • Illumination time
  • reflectivity in the IR spectrum
  • the surface is is glossy or something like a cat eye

Under IR light black sometimes has good reflectivity one might not expect. The confidence information + amplitude information give some indication but in my experience may not enough. But I am not an algorithm guy I do the base software

from o3d3xx-ros.

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.