Affect of realsense parameters on Depth & IR frames
| Camera Model | D400 | | Firmware Version | 5.12.10.00 | | Operating System & Version | Linux | | Kernel Version (Linux Only) | 5.4.0 | | SDK Version | 2.43.0 | | Language | C++ | | Segment | Robot |
Issue Description
Wanted some more info on the following realsense camera options I saw here https://github.com/IntelRealSense/librealsense/blob/v2.50.0/include/librealsense2/h/rs_option.h
- Backlight compensation
- Auto exposure mode
- Enable motion correction
- Auto exposure priority
- Freefall detection enabled
- Invalidation bypass
- Digital gain
- Enable max usable range
- Receiver sensitivity
Only using the depth and IR frames from D430 module, so mainly concerned with how it affects those two outputs.
Hi @rupak-d Descriptions for each option are provided in the rs_option.h file that you linked to, and the official RealSense SDK documentation for these options has the same description text.
https://github.com/IntelRealSense/librealsense/blob/v2.50.0/include/librealsense2/h/rs_option.h#L22
Of those 9 options, the two main ones that should be focused on in regard to your D430 are Auto-Exposure and Auto-Exposure Priority.
Auto-Exposure automatically adjusts the camera's exposure values depending on the current lighting conditions in the scene that is being observed.
If exposure drops to a low level then the infrared image will typically become dark. Below '1000' depth exposure value, the depth image progressively breaks up and disappears as the depth exposure is reduced towards '0'.
Depth exposure = 8500

Depth exposure = 900

Depth exposure = 1

Auto-Exposure Priority allows the camera's frames per second (FPS) rate to be dynamically altered depending on the current lighting conditions. This is often considered to be undesirable, as if depth and RGB streams are both enabled then one stream may have a lower FPS rate than the other. Having Auto-Exposure enabled and disabling Auto-Exposure Priority should enforce a constant FPS rate for both streams instead of permitting the rate to fall significanty below the speed that was set for a stream.
Thanks @MartyG-RealSense!
Does RS2_OPTION_ENABLE_MAX_USABLE_RANGE help with depth data quality if there is a lot of light or glare affecting the camera?
The API Changes notes list that RS2_OPTION_ENABLE_MAX_USABLE_RANGE was a feature for the RealSense L515 lidar depth camera model and so would not apply to 400 Series stereo depth cameras like the D430.
https://github.com/IntelRealSense/librealsense/wiki/API-Changes#version-2400
Hi @rupak-d Do you require further assistance with this case, please? Thanks!
No that'll be all. Thanks!
You are very welcome, @rupak-d - thanks very much for the update!