OrbbecSDK icon indicating copy to clipboard operation
OrbbecSDK copied to clipboard

RGB image exposure time and gain

Open kaatrasa opened this issue 1 year ago • 3 comments

Hey,

It would be very useful for us to have access to image exposure time and gain values. Currently, we can try to query the exposure time and gain from the device like this:

device->getIntProperty(OB_PROP_COLOR_EXPOSURE_INT)
device->getIntProperty(OB_PROP_COLOR_GAIN_INT)

and these work when we are not using auto exposure. (One issue is that the exposure time unit changes between devices; Astra2 uses microseconds, Femto Mega uses 0.1ms).

However, with AE enabled, these values are not updated at all and so we cannot even get rough values for exposure time and gain. Ideally, we would like to get image specific values, i.e. could you consider adding these outputs to OrbbecSDK when you implement this support in Orbbec K4A Wrapper? k4a_image_get_exposure_usec, k4a_image_get_iso_speed

kaatrasa avatar Feb 20 '24 13:02 kaatrasa