Ask Your Question
0

White borders in fullscreen mode

asked 2013-04-12 13:11:57 -0600

Oldřich Kruchňa gravatar image

updated 2013-04-12 13:31:55 -0600

Hello,

I have problem in fullscreen mode on Windows 7 64-bit, with OpenCV 2.4.5:

cvNamedWindow("Projection", CV_WINDOW_NORMAL); cvSetWindowProperty("Projection", WND_PROP_FULLSCREEN, CV_WINDOW_FULLSCREEN);

I create black fullscreen window, but there are two white 1px lines in corners (it looks like when i draw line from (0,0) to (windowResolutionY,0) and from (0,0) to (0,windowResolutinX)) maybe it some rest from borders of the window. Any advice? Thank you.

edit retag flag offensive close merge delete

1 answer

Sort by » oldest newest most voted
0

answered 2013-04-12 16:20:47 -0600

It seems that this is basically due to how the namedWindow elements are implemented. See the following stackoverflow topics for more information:

  1. http://stackoverflow.com/questions/9446733/opencv-window-in-fullscreen-and-without-any-borders
  2. http://stackoverflow.com/questions/6512094/how-to-display-an-image-in-full-screen-borderless-window-in-opencv
edit flag offensive delete link more

Question Tools

Stats

Asked: 2013-04-12 13:11:57 -0600

Seen: 4,573 times

Last updated: Apr 12 '13