Skip to content
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

Dynamic Parameters should include VIDEO_SETTINGS.AEC_AGC_ROI #805

Open
2 tasks done
silegc-xguard opened this issue Jan 13, 2022 · 0 comments
Open
2 tasks done

Dynamic Parameters should include VIDEO_SETTINGS.AEC_AGC_ROI #805

silegc-xguard opened this issue Jan 13, 2022 · 0 comments

Comments

@silegc-xguard
Copy link

silegc-xguard commented Jan 13, 2022

Preliminary Checks

  • This issue is not a duplicate. Before opening a new issue, please search existing issues.
  • This issue is not a question, bug report, or anything other than a feature request directly related to this project.

Proposal

The dynamic parameters should include, as in the C++ or Python Zed Wrapper, a way to configure an ROI on which to perform auto_exposure and auto_gain calculation.

For example, in python we would call:
zed.set_camera_settings_roi(sl.VIDEO_SETTINGS.AEC_AGC_ROI, roi)

and in the ROS_WRAPPER we could call something like:
roi = sl.Rect(x, y, w, h)
params = { 'AEC_AGC_ROI' : roi }
dynamic_reconfigure_client.update_configuration(params)

Use-Case

I would like this feature in order to calculate those values on a specific ROI. Since for my use case (depth detection in specific region of the image) this would help reduce exposure and gain influence from the whole image to that specific ROI.

Anything else?

Is there a way to access directly the camera to call set_camera_settings_roi() while the Zed_Wrapper Node is running ? This would provide a temporary fix for this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

1 participant