-
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
D455 manual exposure setting giving bogus frames under some scenarios #10492
Comments
Hi @fbrygidyn I tested your described problem on two different computers and was unable to replicate it. If an RGB exposure value in a certain range is selected then the Viewer automatically changes it to a value of its own choosing. So if '333' was set then the Viewer auto-changed it to '312', and the image lightness was of an appropriate brightness and not darker than '156'. This occurred both when setting the exposure with the slider and manually typing it in. The purple color shade of areas of your RGB image even before you change the settings makes me think that you may be experiencing some effects on the RGB image related to bright sunlight that are specific to the D455 camera model. These are described in the Intel PDF document at the link below on page 8 (the final page). |
@MartyG-RealSense Hi, Thank you for taking a look, and yes the problem with 333 auto-changing to 312 is the reason you can't reproduce it. Essentially you can only set 1s/(2^n) exposure values on Windows. So you won't be able to reproduce this issue on windows, please check on a Linux based machine if possible. As for the purple color: I am aware of this issue with bright sunlit/low-exposure. there is a lot of info about it both here and on realsense website. AFAIK this is unrelated to what I am experiencing with exposure setting. |
There was a past case at #1957 where a RealSense user set RGB exposure to 333 and experienced a drop in FPS. A RealSense team member explained that if the exposure value exceeds the FPS period when using manual exposure then the FPS rate can drop. |
Drop in FPS is perfectly normal when rising exposure beyond FPS period and at first this seemed like completely unrelated but it seems like D455 is behaving in this weird way only when I set the exposure to the period exactly. But again - only from some initial values. I am able to reproduce the problem when setting exposure:
Honestly: this smells like a firmware bug. |
If it was a bug then it is likely that it would not be a high development priority to address, as it is very rare for RealSense users to use large values like these for RGB exposure, and the exactness of the values that trigger it would make it even more unlikely that other users would experience it. |
@MartyG-RealSense I see that you are also the person replying on https://support.intelrealsense.com community forum. And I don't see any other realsense support contact point. I ask because it seems like there is more that will need to be reported (at least for D455 firmware) - Aside from the problem I described I also noticed I can't even trust metadata from the image frames I get. To elaborate a bit (but that's a tangent): I sometimes get invalid RS2_FRAME_METADATA_ACTUAL_EXPOSURE metadata tied to a frame. I understand somewhat that we need to wait to exposure to change but the metadata in a frame should at the very least be correct so that we know when the setting actually changed... I tested this like so:
Most of the time I get correct frames (every one a bit brighter) but sometimes I get for example 2 output frames of the same brightness. I imagine that SDK is just wrapping the data gotten from firmware side so it isn't really something to fix in librealsense... (For now as a workaround I just skip one additional frame after the metadata matches what I expected but hell - this shouldn't work like this) Bottom line: There seem to be some firmware bugs that I would like to report somewhere where they would have a chance of getting fixed in the future. Please point me in a better direction if possible. |
As your GitHub profile states that you are a member of Samsung R&D Institute Poland, the best way forward may be to request the granting of a Non Disclosure Agreement (NDA) account with Intel so that you can have a one to one technical discussion with them about your needs. If you email me your contact information (your name, work address, email / telephone) then I can pass the details to Intel to consider an NDA application. |
Hi @fbrygidyn Did you have any response to your filing of a request form on Zendesk, please? |
@MartyG-RealSense |
Thanks very much! |
Hi @fbrygidyn Do you have an update about this case that you can provide, please? Thanks! |
@MartyG-RealSense Not yet, Although It's been a month since I got info about the issue being forwarded to the dev team. Will try to ask for an update. |
Thanks very much @fbrygidyn |
I got an update that the issue may not be fixed in the short term.but "got on the investigation list'. So it seems like if it's going to be fixed it's gonna take some time. |
Thanks very much @fbrygidyn for the update. As you suggest, I will close the case. Please feel free to add new comments at a later date. Thanks again! |
It's been a while but I got an update from Intel zendesk - they started working on this and managed to reproduce the issue. |
Thanks very much @fbrygidyn for the update! |
When using both realsense-viewer 2.50 and manually using C++ code (SDK 2.50) I am getting bogus darker-than-expected output frames from D455 RGB camera.
The issue occurs seemingly only when inputting 2 specific values while separately there is no issue.
to reproduce: enable RGB camera, set exposure to 166 and then to 333.
The 333 image is noticeably darker than 166.
setting 166 and then 334 doesn't produce errors for example
Additionally after setting 333 and getting those darker bogus frames if I disable and enable the rgb camera then all exposure settings after that give garbage. enabling and disabling auto-exposure fixes this but only until I again try setting 166 > 333 exposure
This video should clearly show what is happening
out.mp4
png snapshots saved from the realsense-viewer exhibit the same behavior:
166 exposure set manually:
333 set right after that:
after disabling and enabling RGB camera (still supposedly 333 exposure):
The text was updated successfully, but these errors were encountered: