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

Demosaicing expects 3 channels src #29

Closed
leguidomanfredi opened this issue Sep 28, 2023 · 1 comment
Closed

Demosaicing expects 3 channels src #29

leguidomanfredi opened this issue Sep 28, 2023 · 1 comment

Comments

@leguidomanfredi
Copy link

leguidomanfredi commented Sep 28, 2023

The functions for demosaicing expects an AbstractArray{T, 3} with three dimensions.
That defeats the goal of the demosaicing operation where you want to split a single channel array containing R, G and B into a matrix with three channels.
The opencv documentation specify that the source for this function should be single channel:
https://docs.opencv.org/3.4/db/d8c/group__cudaimgproc__color.html#ga7fb153572b573ebd2d7610fcbe64166e

@leguidomanfredi
Copy link
Author

Missreading from my side.

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

No branches or pull requests

1 participant