1 | initial version |
I have the save problem with :
I believe I have Qt backend. Here is my OpenCV build :
cmake -D CMAKE_BUILD_TYPE=RELEASE -D WITH_QT=ON -D WITH_OPENGL=ON -D CMAKE_INSTALL_PREFIX=/usr/local ../
[...]
-- GUI:
-- QT 4.x: YES (ver 4.8.4 EDITION = OpenSource)
-- QT OpenGL support: YES (/usr/lib64/libQtOpenGL.so)
-- OpenGL support: YES (/usr/lib64/libGLU.so /usr/lib64/libGL.so /usr/lib64/libSM.so /usr/lib64/libICE.so /usr/lib64/libX11.so /usr/lib64/libXext.so)
-- VTK support: NO
[...]
My code :
namedWindow( "Normal", CV_WINDOW_NORMAL );
imshow( "Normal", image );
namedWindow( "FreeRatio", CV_WINDOW_FREERATIO | CV_GUI_NORMAL);
imshow( "FreeRatio", image );
resizeWindow("FreeRatio",image.cols,image.rows);
The resizeWindow have no effect ! Both window have the same size. In the freeratio window, my image is deformed as the default window size ratio is different from my image (but it means that I do understand the Qt flag CV_WINDOW_FREERATIO
2 | No.2 Revision |
I have the save problem with :
I believe I have Qt backend. Here is my OpenCV build :
cmake -D CMAKE_BUILD_TYPE=RELEASE -D WITH_QT=ON -D WITH_OPENGL=ON -D CMAKE_INSTALL_PREFIX=/usr/local ../
[...]
-- GUI:
-- QT 4.x: YES (ver 4.8.4 EDITION = OpenSource)
-- QT OpenGL support: YES (/usr/lib64/libQtOpenGL.so)
-- OpenGL support: YES (/usr/lib64/libGLU.so /usr/lib64/libGL.so /usr/lib64/libSM.so /usr/lib64/libICE.so /usr/lib64/libX11.so /usr/lib64/libXext.so)
-- VTK support: NO
[...]
My code :
namedWindow( "Normal", CV_WINDOW_NORMAL );
imshow( "Normal", image );
namedWindow( "FreeRatio", CV_WINDOW_FREERATIO | CV_GUI_NORMAL);
imshow( "FreeRatio", image );
resizeWindow("FreeRatio",image.cols,image.rows);
The resizeWindow have no effect ! Both window have the same size. In the freeratio window, my image is deformed as the default window size ratio is different from my image (but it means that I do it does understand the Qt flag CV_WINDOW_FREERATIO