White Balance, AGC, Saturation - Realsense 405 #11311
Replies: 3 comments 4 replies
-
Hi @DaphnaNanovel Some settings (though not all) can be defined in a custom json camera configuration file and loaded and applied with pyrealsense2 scripting when the camera is started. Another name for a json is a Visual Preset like the pre-defined ones selectable in a drop-down menu in the RealSense Viewer tool. A json file can also be loaded into a ROS launch by including a json file instruction in the ROS launch command or defining the json file path within the launch file. An easy way to create a custom json file is to define the settings that you want in the Viewer and then use the json save button near the top of the Viewer's options side-panel (though not all Viewer settings are saved to a json). An alternative way to load settings in ROS is to define the settings in a yaml file and then import the yaml file into the launch file during launch. |
Beta Was this translation helpful? Give feedback.
-
In the Viewer, the json save option is next to the Visual Preset drop-down. When exporting a json from a D405 in the Viewer, settings were not stored for manual white balance and saturation. However, an example json file in the SDK documentation provides the parameters for defining these settings, making it possible to add the settings manually to the json with a text editor tool. "controls-color-white-balance-manual": "4600", What does the term AGC refer to, please? Is it 'gain control'? |
Beta Was this translation helpful? Give feedback.
-
You can set up an RGB ROI. A ROI will try to maintain the intensity of the pixels in that area at a defined setpoint value. Setting an RGB ROI with Python code is discussed at #3427 The RealSense SDK can operate 'headless' without a display if it is built from source code with CMake with the build flag -DBUILD_GRAPHICAL_EXAMPLES=FALSE included in the CMake build instruction. This command will exclude OpenGL graphics support and graphical tools / examples such as realsense-viewer from the built SDK. In regard to automatic options: like with auto-exposure, you can also enable an auto white-balance instead of using manual white-balance values. |
Beta Was this translation helpful? Give feedback.
-
We use realsense 405 with pyrealsense2 (possible with ros2 node). We are looking for a way to control and set the parameters mentioned in the title. We are looking for an automatic tool or a manual tool that allows us to save the configuration so that it is available after a restart.
Beta Was this translation helpful? Give feedback.
All reactions