I want to create a Scalar which has a variable(integer) number of channels, hopefully all the channels being 0.
int channels = 2;
cv::Scalar(...); //Create Scalar with "channels" number of channels, all with the value of 0
1 | initial version |
I want to create a Scalar which has a variable(integer) number of channels, hopefully all the channels being 0.
int channels = 2;
cv::Scalar(...); //Create Scalar with "channels" number of channels, all with the value of 0