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

Can't use math mat expressions without ToMat function returning the result #38

Open
YanYas opened this issue Oct 28, 2019 · 1 comment
Labels
help wanted Extra attention is needed

Comments

@YanYas
Copy link

YanYas commented Oct 28, 2019

I know I can forward the OpenCV Nuget to get this command but I think users wouldn't be expecting that to be necessary because you have forwarded the * / + and - expression nodes already

callmenames-2019-10-28-Application_2019 10 28-20 57 27

Could you also forward the ToMat node so the results of the expressions can be obtained?

(I suppose this setup could be done by wrapping the mats to the CVImage type, but on the other hand maybe they performfaster if the matexpr's are combined and pass ToMat just once.

CVLerp

@ravazquez
Copy link
Collaborator

Mat and MatExpr are something that has been discussed a few times, sadly some of the type inference/equivalence used by OpenCVSharp is not working in VL (things like Mat to InputArray implicit conversions for example). MatExpr kind of falls in this realm.

Yes it would be best performance-wise to be able to use MatExpr directly but I am afrad for the time being I do not have the time to redesign this.

@ravazquez ravazquez added the help wanted Extra attention is needed label Apr 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants