Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Mat parameters explained

Mat object while printing in the string format as well as the values I have seen. But I would like to know what does this Scalar in Mat signifies for.

If we look in this line of code : Mat source = new Mat(1, 1, CvType.CV_8U, new Scalar(3)); What does new Scalar(3) signifies for? I know for black image we put it as 0. So is the value here signifying 0-255 colors?