First time here? Check out the FAQ!
answered 2013-02-21 08:05:48 -0600
It initializes all pixels within the 2x2 image M with the color red as the Scalar(0,0,255) describes red in BGR ordering.
2x2
M
Scalar(0,0,255)
BGR