Items with no label
Announcements
FPGA community forums and blogs have moved to the Altera Community. Existing Intel Community members can sign in with their current credentials.
3340 Discussions

How can I retrieve the gain and exposure values for each frame?

LLits
Beginner
1,651 Views

I am using the realsense SDK 2.0 with the RealSense D435. The programming language is use is C++. I am trying to get the gain and exposure each time new frames are retrieved. I can however not find the commands to get these gain and exposure values. What command should I use to get these values? Thank you in advance for helping and I hope to hear from you soon.

0 Kudos
1 Solution
MartyG
Honored Contributor III
871 Views

This link gives a script for getting the exposure values from metadata:

 

https://github.com/IntelRealSense/librealsense/issues/1624#issuecomment-389085387

 

You can read the official metadata documentation here, which also describes a metadata attribute called GAIN_LEVEL

 

https://github.com/IntelRealSense/librealsense/blob/master/doc/frame_metadata.md

 

The link below gives advice about controlling the gain and exposure values.

 

https://github.com/IntelRealSense/librealsense/issues/1663

View solution in original post

0 Kudos
2 Replies
MartyG
Honored Contributor III
872 Views

This link gives a script for getting the exposure values from metadata:

 

https://github.com/IntelRealSense/librealsense/issues/1624#issuecomment-389085387

 

You can read the official metadata documentation here, which also describes a metadata attribute called GAIN_LEVEL

 

https://github.com/IntelRealSense/librealsense/blob/master/doc/frame_metadata.md

 

The link below gives advice about controlling the gain and exposure values.

 

https://github.com/IntelRealSense/librealsense/issues/1663

0 Kudos
LLits
Beginner
871 Views

Thank you very much @MartyG​  for the quick answer I will give it a try!

0 Kudos
Reply