1 | initial version |
you probably cannot change the color of those sidebars, that's something from the underlying ui lib.
but you only got those, because you opened that window with WINDOW_AUTOSIZE (which is the default) , so it choose some fixed windowsize for your image.
instead, try :
namedWindow("ocv", WINDOW_NORMAL);
this should allow you to set the windowsize manually.