Missing Icons in Highgui Toolbar and wrong color values

asked 2013-07-07 05:25:51 -0600

NikolasE gravatar image

updated 2013-07-07 05:51:14 -0600

Hey!

I just upgraded to 2.4.5 and like the new features of the highgui as saving the image or zooming. But I also have some problems:

The first problem are missing icons in the window's toolbar. The buttons exist are work, but they have no icon so that they are basically invisible.

The second problem is visible if I zoom far into a very small part of the image. At some point, each pixel is surrounded by a black border and contains three printed values: a red 0, a green 48 and a blue 57. I guess that these values should correspond to the color of the pixel (which is by the way correctly printed in the window's statusbar).

Here is my OpenCV cmake-result:

-- GUI: -- QT 4.x: YES (ver 4.8.1 EDITION = OpenSource) -- QT OpenGL support: YES (/usr/lib/x86_64-linux-gnu/libQtOpenGL.so) -- OpenGL support: YES (/usr/lib/x86_64-linux-gnu/libGLU.so /usr/lib/x86_64-linux-gnu/libGL.so /usr/lib/x86_64-linux-gnu/libSM.so /usr/lib/x86_64-linux-gnu/libICE.so /usr/lib/x86_64-linux-gnu/libX11.so /usr/lib/x86_64-linux-gnu/libXext.so)

(I also used QT 4.8.1 to build my project. I used QtCreator on a Ubuntu 12.04 machine and g++ 4.6.3)

Third parties only Eigen and TBB.

Do the icons maybe only exist in a specific QT-Version?

Cheers, Nikolas

Update: The Icons are no QT-Icons but come with openCV. The are located in modules/highgui/src/files_Qt/Milky

and opencv-2.4.5/modules/highgui/src/window_QT.qrc contains mappings from zoom_x1-icon to a file in this folder (in which the image names are just numbers as 42.png).

edit retag flag offensive close merge delete

Comments

+1. I installed 2.4.9 with Qt5 and have the same problem, the toolbar icons are invisible.

Nesbit gravatar imageNesbit ( 2014-09-02 08:37:22 -0600 )edit

Same on Linux/Qt5/gcc and Win7/VS2010. When I tried Win7/Qt5/MinGW and self-compiled opencv, I saw the icons the first time...

Capt. Molo gravatar imageCapt. Molo ( 2014-09-23 10:09:36 -0600 )edit