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

Allow destination image to have different type than input for Corr2d operation #66

Open
ArtemSkrebkov opened this issue Aug 5, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@ArtemSkrebkov
Copy link
Contributor

Is your feature request related to a problem? Please describe.
During the review of #63 there was a suggestion to allow a destination image to be different from input and kernel.

Currently, the solution introduced by #63 expects that input, kernel, output and constant has the same type with a corresponding check in LowerDIPPass.cpp for the Corr2d operation.

Describe the solution you'd like
My suggestion would be to introduce a similar to openCV parameter ddepth to express a desired depth of output. See more
https://docs.opencv.org/4.x/d4/d86/group__imgproc__filter.html#filter_depths

CC @meshtag

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

No branches or pull requests

2 participants