Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Scalar Use

Hey there, please someone tell me what's the Scalar do in the following code ? and what's the use of it in general ?

Mat M(2,2, CV_8UC3, Scalar(0,0,255));
cout << "M = " << endl << " " << M << endl << endl;

Thanks