-
Notifications
You must be signed in to change notification settings - Fork 131
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
Miscellaneous camera controls, IMX582/IMX586 on-sensor HDR #972
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.initialControl.setMisc("downsampling-mode", "binning") # default: "scaling" .initialControl.setMisc("binning-mode", "sum") # default: "avg" Max FPS for IMX378 1080p back to 118 (from 60) with binning enabled
…misc control: .initialControl.setMisc("manual-exposure-handling", "fast")
.initialControl.setMisc("hdr-exposure-ratio", 4) # enables HDR when set `> 1`, current options: 2, 4, 8 .initialControl.setMisc("hdr-local-tone-weight", 75) # default 75, range 0..100
…bled by default. Values: 0, 1, can also change during streaming
- better config for 10fps HDR - runtime configurable hdr-exposure-ratio (1,2,4,8), hdr-local-tone-weight (0..1, float normalized)
This was referenced Feb 28, 2024
moratom
pushed a commit
that referenced
this pull request
Apr 3, 2024
* Update install_dependencies.sh Fixed installing on ARM and raspbian Tested on: - RPI - armv7l - Raspbian 10 (buster) - nvidia jetson orin nano - aarch64 - ("Ubuntu 20.04.6 LTS") - RPI 64 bit OS (aarch64 - luxonis/based on Bookworm - 12) - x86 host ("Ubuntu 21.04") * Update install_dependencies.sh Added ubuntu 23.10 support
``` cam["cama"].initialControl.setMisc("3a-follow", dai.CameraBoardSocket.CAM_A) cam["camb"].initialControl.setMisc("3a-follow", dai.CameraBoardSocket.CAM_B) ``` generic fast manual exposure (for all sensors)
moratom
approved these changes
Sep 23, 2024
This was referenced Nov 22, 2024
Merged
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
New misc controls, these should be set on
ColorCamera
with.initialControl
, and only available for IMX378 / IMX477 / IMX577 atTHE_1080_P
resolution:-> max FPS for
THE_1080_P
also back to 118 when binning is enabled (only up to 60 possible with sensor scaling).For IMX582(LCM48)/IMX586 it's possible to set the binning mode for resolutions of 12MP or lower (implemented with quad-bayer binning)
-> this results in a brighter image at the same exposure (but slightly more noise possible)
HDR for IMX582 (up to 10fps currently) and IMX586, enable by initialControl:
then can adjust also at runtime:
3 HDR exposures are configured on sensor as:
long
--- the one received from AE or manualmiddle
=long
/hdr-exposure-ratio
short
=long
/ (hdr-exposure-ratio
*hdr-exposure-ratio
)The HDR effect is more pronounced when local tone weight is higher.
Option to bypass 3A for having manual exposure/ISO take effect faster:
.initialControl.setMisc("manual-exposure-handling", "fast")
)Option to set the main camera to drive auto-exposure and auto-white-balance in multi-camera configurations, applicable for sensors/modules of the same type. E.g. CAM_A being the main camera: