D435i rgb cam: relation software gain to sensor gain
Dear all,
I am currently working with the D435i RealSense RGB cam in raw mode and trying to figure out how the software adjustable gain (anything between 0 and 128 ... db?) relates to the actual gain of the camera sensor (OmniVision OV2740). I assume there is some mapping.
The only clue I found was in the source code of the SDK:
RS2_FRAME_METADATA_GAIN_LEVEL , /**< A relative value increasing which will increase the Sensor's gain factor. \
Unfortunately, I can't get any further than this.
Does anyone have any ideas?
Thanks in advance and best regards.
-
Hi Maik Wischow There is limited documentation available about the functionality of RGB gain. My research of your question established the following facts.
* The RGB gain (0-128) sets the amount of gain that is applied to the frame if auto-exposure is disabled.
* As you mentioned, the unit of gain is the Decibel (db).
* It takes a couple of frames for the camera firmware to register gain change and an additional 60-120 ms for the frames to get back to the algorithm.
* The image below demonstrates how an RGB image is affected when gain is set at 0, 64 and 128.
If more detailed technical information is required about the OmniVision OV2740 sensor then customers with an Intel non-disclosure agreement (NDA) can submit a ticket to Intel on the Zendesk support channel.
-
Hi MartyG ,
Thank you very much for your fast response!
Do you know whether there is any non-linear post-processing applied to the images after the gain amplification? I am afraid I have to dig a little deeper and will consider the NDA then. Thanks anyway!
Please sign in to leave a comment.
Comments
3 comments