-
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
Access Color Stream from Left Imager in UYVY [16 bits] format #12938
Comments
Hi @adamhippoharvest Yes, the D455 model does not have an IR filter on its left and right infrared sensors, so they can see the full visible and near-IR frequency range. On RealSense 400 Series camera models that support the feature (which includes D455) you can access the 'RGB color from left infrared sensor' image by defining a custom 'cfg' stream configuration for the left infrared stream in your script and setting it to use UYVY, RGB8 or BGR8 format instead of the Y8 infrared format. UYVY will be monochrome RGB rather than color though. I could not find a past case of using the UYVY format for IR RGB, but the format is supported for it. The cfg code for doing so would likely be like the one below.
Below is a UYVY monochrome color image from the left IR sensor streamed in the RealSense Viewer tool on a D455 camera. |
That makes sense, thanks. I just want to confirm then that this is a monochrome image, and there's no way to get a three channel image, such as doing something like this:
|
Hi @adamhippoharvest Do you require further assistance with this case, please? Thanks! |
Sure, it is good to follow up. Upon trying to replicate the screen you have above, I learned that I needed to update the drivers on the Realsense camera itself (it just came out of the box). Upon updating the realsense, I was able to access BGR8, UYVY, etc from the infrared camera, which solved my question. I am also able to access it programatically via the pyrealsense2 api. Thank you for your help! |
It's excellent to hear that you achieved a solution. Thanks very much for the update. As your issue is solved, I will close this case. Thanks again! |
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
Upon reading the D400 series data sheet, I see that there is access to the Color Stream from Left Imager in UYVY [16 bits] format (page 61). In the D455 model, there is no IR pass filtering, so I interpret that this image from the Left Imager is full spectra (400-950nm). However, using the pyrealsense2 SDK, I cannot find a command to access this image.
Is it possible to use the API to pull this image? Ideally, I want the full spectra from the acquisition (400-950nm), not just the overall intensity--I'm only able to access y8, y16, and z16 formats.
Thank you!
The text was updated successfully, but these errors were encountered: