Ask Your Question
0

White borders in fullscreen mode

asked Apr 12 '13

Oldřich Kruchňa gravatar image

updated Apr 12 '13

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.

Preview: (hide)

1 answer

Sort by » oldest newest most voted
0

answered Apr 12 '13

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
Preview: (hide)

Question Tools

Stats

Asked: Apr 12 '13

Seen: 4,706 times

Last updated: Apr 12 '13