Ask Your Question

How to create a window with gray Background?

asked 2014-04-16 10:04:54 -0600

Adrianos01 gravatar image

Hi there all,

i want to create a gray window. I find the function to create a BLANK Window (in black) with Mat atom_image = Mat::zeros( w, w, CV_8UC3 );

How can i change the color to gray?

p.s. i dont want to use a gray image.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2014-04-16 10:23:40 -0600

Mat atom_image = Mat::zeros( w, w, CV_8UC3 );
edit flag offensive delete link more


thank you.

Adrianos01 gravatar imageAdrianos01 ( 2014-04-16 11:15:27 -0600 )edit

Question Tools


Asked: 2014-04-16 10:04:54 -0600

Seen: 1,485 times

Last updated: Apr 16 '14