Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

You can try by your own, it need less time to test it than write an answer here :D. The documentation say yes, you can do in this way since the second parameter can be a scalar or a matrix. If it doesn't work, try cv::Scalar(1);

You can try by your own, it need less time to test it than write an answer a question here :D. The documentation say yes, you can do in this way since the second parameter can be a scalar or a matrix. If it doesn't work, try cv::Scalar(1);