Best way to subtract a Scalar from a Mat #318
Unanswered
msmartin4470
asked this question in
Q&A
Replies: 1 comment 1 reply
-
@msmartin4470 check |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
What is the best way to achieve something like this (copied from opencv in c++)?
outputImage = (inputImage - 5)
I basically want to subtract a single value from every element in a Mat. I think the solution is to use Scalar(5) in Java, but I could not get that to work here. Thanks for your help and great package!
Beta Was this translation helpful? Give feedback.
All reactions