You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After getting a depth map of the scene using the Realsense depth camera, I want to visualize it.
But the 16-bit depth map (0-65535) shows up as a black mass and cannot be seen clearly.
How can I achieve a visualization like realsense-viewer, thank you!
The text was updated successfully, but these errors were encountered:
Hi @liu52020 The RealSense Viewer depth image looks different because the Viewer applies a range of depth colorization and color scheme settings by default using a colorizer. When creating your own application, these settings are not enabled by default and have to be programmed into the scripting.
If you are using the Python language, resources for Python color scheme and color preset programming can also be found at #7767 (comment)
If you are using OpenCV code then there is also the possibility that your depth shading is reversed and the near distance is being rendered as black instead of white, making the image very dark. #9304 explains how to correct this.
After getting a depth map of the scene using the Realsense depth camera, I want to visualize it.
![image](https://user-images.githubusercontent.com/73093990/166888311-74ea7502-3940-4c51-aa87-419858ba7b75.png)
![image](https://user-images.githubusercontent.com/73093990/166888599-a2759fbd-468f-44a1-aa38-669ca72b1241.png)
But the 16-bit depth map (0-65535) shows up as a black mass and cannot be seen clearly.
How can I achieve a visualization like realsense-viewer, thank you!
The text was updated successfully, but these errors were encountered: