-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How does an Intel D455 camera take a RGB pictures with depth information #13639
Comments
Hi @junmoxiao11 If you wish to export a depth frame to an image file then #2877 discusses saving the frame to a .PNG image file with Python code. Most of the depth information is lost when saving to .PNG though. You can instead preserve the depth information by saving to the .RAW image file format instead, as demonstrated in the Python code at IntelRealSense/realsense-ros#1312 |
In the example you gave me, I didn't find the answer I was looking for. What I need is to take a picture like .PNG foemat, which can be clicked directly to open and crop the picture. And the picture must contain depth information. After I crop the image, the pixels still retain the corresponding depth value. |
The RealSense SDK does not have built-in functions for cropping an image horizontally and vertically. You would likely have to use OpenCV code to implement that. |
Do you have any python code to crop these pictures? |
#6267 (comment) suggests a Python approach to XY image cropping using Open3D The link below has an OpenCV approach to cropping. |
Are the left and right cameras of the Realsense D455 camera based on visible or infrared imaging? |
They are infrared sensors. However, on the D455 model the left infrared sensor can also provide an RGB image. |
Before opening a new issue, we wanted to provide you with some useful suggestions (Click "Preview" above for a better view):
All users are welcomed to report bugs, ask questions, suggest or request enhancements and generally feel free to open new issue, even if they haven't followed any of the suggestions above :)
Issue Description
How does an Intel D455 camera take a RGB pictures with depth information. Take pictures instead of videos.
The text was updated successfully, but these errors were encountered: