View my account

How can i get the emitter data only

Comments

7 comments

  • MartyG

    If you are asking if you can get distance without using the IR Emitter, the answer is yes.  The 400 Series cameras can use the ambient light in a scene (including sunlight) to analyse surfaces for depth information instead of using the dot pattern emitted by the projector.

    0
    Comment actions Permalink
  • 403520735

    no...  I want to use only the infrared emitter and get the depth map data calculated by using the dot matrix emitted by the projector

    0
    Comment actions Permalink
  • MartyG

    The depth image on the 400 Series cameras is constructed from the left and right infrared images.  To get distance, you only need to have the Depth stream enabled and do not need to have the infrared or RGB enabled.  It is possible to construct a frame yourself with software-device.  In most cases though it is easier to just let the camera hardware do it for you.

    https://github.com/IntelRealSense/librealsense/tree/master/examples/software-device 

    0
    Comment actions Permalink
  • 403520735

    I know what you mean, but the 400 Series cameras calculates the distance through the left and right infrared, and can also use the infrared emitter to calculate the distance. In the SDK, I can’t seem to get the distance calculated using the infrared emitter, only the infrared emitter with the two  infrared data i can get from "rs2::depth_frame".

    0
    Comment actions Permalink
  • MartyG

    The infrared emitter can project a semi-random pattern of dots onto the scene that can be used as a texture source to analyse flat surfaces with little or no texture for depth detail.  Such surfaces would include walls, doors and tables / desks.  Without the dot pattern, such surfaces would be difficult to analyse for depth detail.  So the IR Emitter can act as an assistance for obtaining the depth of the surface. 

    As far as I know though, there is no way to get depth with everything but the IR Emitter turned off though.  There is likely to be no technical advantage gained in doing so either.   The camera contains a dedicated Vision Processor D4 circuit board for doing frame calculations without having to do those calculations on the computer.  

     

     

    0
    Comment actions Permalink
  • 403520735

    Oh, I understand, that is to say, the infrared emitter only adds texture to the place where there is no texture, so as to help the two infrared cameras calculate the depth of the object without obvious texture on the surface. Thank you very much !!!

    0
    Comment actions Permalink
  • MartyG

    You are very welcome.   Yes, that is correct.   The dot pattern adds readable texture source to the surface of flat objects that lack texture.

    2
    Comment actions Permalink

Please sign in to leave a comment.