3D Scalar #1884
Answered
by
lucas-wilkins
lucas-wilkins
asked this question in
Q&A
3D Scalar
#1884
-
Why isn't there a 3D Scalar constructor? |
Beta Was this translation helpful? Give feedback.
Answered by
lucas-wilkins
Sep 7, 2022
Replies: 2 comments 1 reply
-
Could you be a bit more specific? Do you have some sample code in C++ that you would like to know how to translate? |
Beta Was this translation helpful? Give feedback.
0 replies
-
Ah, ok, there's no 3D Scalar in OpenCV either, I guess that explains it. I've only used python bindings before, and I was trying to make a blank NxMx3 and set the colour, I was a little confused about it requiring a scalar and there not being a 3D version (I found RGB though). |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
saudet
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Ah, ok, there's no 3D Scalar in OpenCV either, I guess that explains it. I've only used python bindings before, and I was trying to make a blank NxMx3 and set the colour, I was a little confused about it requiring a scalar and there not being a 3D version (I found RGB though).