Add support for binning (mode 2) of imx676 driver#46
Open
whusterj wants to merge 1 commit intotoradex:bookwormfrom
Open
Add support for binning (mode 2) of imx676 driver#46whusterj wants to merge 1 commit intotoradex:bookwormfrom
whusterj wants to merge 1 commit intotoradex:bookwormfrom
Conversation
This file contains hidden or 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
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.
Initial forum post: https://community.toradex.com/t/the-toradex-imx676-crops-active-sensor-area/27975/2
The default 4K mode of the IMX676 driver crops the top and bottom of the sensor, due to a resolution limitation of the IMX8M ISP. This limitation is documented in the FRAMOS driver release notes here.
Our application requires use of the entire square sensor area, so we want to make use of the binning mode (mode 2 of the driver). This give us the entire image captured by the sensor at a 3MP resolution (which is fine for our case).
This PR adds a new patch to the isp-imx example, which adds an
imx676_binnedmode to the list of available options.This mode can be used in
docker-compose.yamlfile like so: