View my account

Removing Background from point cloud with D435

Comments

1 comment

  • MartyG

    Hi Jomanaashraf8  Conversion of a numpy array back to the SDK rs2::frame format is something that has been attempted in the past by RealSense Python users but as far as I am aware it remains an unsolved problem.

    https://github.com/IntelRealSense/librealsense/issues/2551

     

    It is not recommendable to use align_to (the align-depth2color.py alignment method) and pc.calculate / pc.map_to in the same script, as map_to is mapping depth and RGB together and so you are aligning twice, which can lead to inaccuracy in the aligned image.

     

    You could instead only use the pc.calculate / pc.map_to method of alignment and apply a Threshold filter to remove the background by setting a maximum distance for the depth values that are permitted to be rendered on the image.

    https://github.com/IntelRealSense/librealsense/issues/9036

    0
    Comment actions Permalink

Please sign in to leave a comment.