-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Actual exposure of frames #2549
Comments
An answer to a previous query about the exposure value says "When Autoexposure is on, the manual exposure control (and therefore UI) is not updated. In order to get the actual exposure value the user have to read it from metadata. (frame metadata API)". A script for getting exposure from the metadata is in the comment linked to below. |
That is exactly what I am doing in the snippet I posted, right? So it should return the exposure for the very specific frame (that was calculated during auto exposure), which it does not. |
A user who posted on that discussion after the case had been closed also had the same problem of the value not changing despite using metadata. Hopefully one of the Intel guys on this forum can provide some suggestions about the next step. |
I think this should be working, but please let me check. Is |
I adapted my application to dump the exposure and mean intensity (over all channels) of the images. I am using color frames of 3 devices here. First, I just let the autoexposure work, it converges quite fast...
The next thing I did was to hover my hand directly above the camera, making the intensity increase. Auto-exposure is still active and only shows the same value, while it is actively decreasing the intensity from 120 back to 90, where it converges again.
The next thing I did was to disable auto-exposure, which the sensor correctly feedbacks (my conversion might be off, not quite sure). Without auto-exposure, the image is almost black.
After I enable auto-exposure again, the sensor reacts and increases brightness, but still feedbacks the manually set auto-exposure.
After disabling auto-exposure, the brightness decreases while the exposure stays the same.
I extract the metadata like this:
|
Hello @fwindolf , |
Thanks for the quick reply. Can you share about what parameters the auto-exposure controls? I was not able to reproduce how images looked during auto-exposure when manually controlling the exposure and gain (maybe i also just didnt find the right settings). |
[Realsense Customer Engineering Team Comment]
Can you please elaborate? |
If I have an image with auto exposure enabled and a fixed white balance it looks quite different from anything I can get when manually controlling gain and exposure (or I need to set the exposure really long, so it interferes with getting 30 fps, or I get motion blur). |
[Realsense Customer Engineering Team Comment] I remembered that the FW5.10.7 or newer ones fixed some RGB gain issue. Please try the latest firmware and let me know if you still see same issue. Thanks |
Hi |
Sorry, I cannot flash a new FW right now, I will reopen if the issue persists after an FW update. Thanks! |
@fwindolf Did you manage to read |
I sadly dont have access to the sensor anymore. But as far as I remember I never managed to get the correct value, as well as set it. But that was with a way older firmware. |
Issue Description
I try to get the exposure for a frame that was captured with auto-exposure, but the extracted value stays constant. Even when using different sensors, the values are the same.
Even when the exposure is visibly corrected, the value extacted from frames stays at a constant value. Is it just not possible to extract the value when auto-exposure is activated?
The text was updated successfully, but these errors were encountered: