Auto-Exposure for Hires Sensors?
-
Hello,
I have used all three of Modal AI's Hires sensors:
4k High-resolution Sensor for VOXL (10x10x16mm)
4k High-resolution Sensor for VOXL (8x8x5.8mm)
4k High-resolution Sensor for VOXL (IMX377 M12-style Lens)Does anyone have a simple auto exposure algorithm I can use for these?
-
Here is an example for how to turn on AE using the ISP: https://gitlab.com/voxl-public/voxl-camera-server/-/blob/master/src/api_interface/hal3/hal3_camera_mgr.cpp#L588
-
What software are you using to test the cameras? Usually auto exposure (AE) and auto white balance (AWB) are turned on by default, but depends on specific software application that you are using.
-
Again, I want to thank both of you for helping with these questions.
@Chad-Sweet do you know if that algorithm works with ROS?
@Alex-Kushleyev
We are using ROS to test the cameras. Running it via voxl_cam_ros which does not have AE or AWB on by default.Relating this back to my other issue, IMX377 M12 Sensor Over saturated on G channel found here, https://forum.modalai.com/topic/40/imx377-m12-sensor-over-saturated-on-g-channel?_=1604595984974
Maybe we are experiencing the saturation issue because of the ROS driver? But if that is the case, then why would the other two Hires sensors work just fine?
Let me know,
Bobby -
There are different "tuning" parameters in the ISP based on the sensor type. So each sensor's behavior can be very different in different scenarios.
Knowing more about your setup is important to finding the issue. It seems likely the AWB isn't turned on in your setup. Which ROS package are you using, and at what resolution?
-
@Chad-Sweet @Alex-Kushleyev We are using voxl_cam_ros, found here https://docs.modalai.com/voxl-cam-ros/
We are running the camera at 1920x1440
Can we even "turn on" AWB when using voxl_cam_ros? As of now we have not found out how to do so.
Our team needs to continue with ROS, so we cannot switch to another framework.