Ask Your Question

satish.lokkoju's profile - activity

2013-02-22 12:34:21 -0600 commented answer Regarding imshow (opencv compiled with opengl support)

I made sure that proper paths are selected for opengl ( windows SDK include directories) in CMAKE GUI.if that is what you are talking about. Anyways thanks for your help.

2013-02-22 11:27:49 -0600 asked a question Regarding imshow (opencv compiled with opengl support)

Hi all,

The following code is giving flickering window without displaying any image.

Mat img = imread("image.jpg",CV_LOAD_IMAGE_ANYCOLOR);
namedWindow("window", WINDOW_OPENGL);
imshow("window",img);
waitKey(0);

and the following code is working fine.

Mat img = imread("image.jpg",CV_LOAD_IMAGE_ANYCOLOR);
namedWindow("window", WINDOW_AUTOSIZE);
imshow("window",img);
waitKey(0);

I tested on two different computers. I am facing the same problem. Any help will be much appreciated. I tested the highgui gpu sample as well. I am facing the same problem.

I am using OpenCV 2.4.3 windows 7 32 bit.

-Satish.