OpenCV CV_WINDOW_KEEPRATIO doesn't work
Hi everyone,
When I try to display image inside window it won't keep ratio when resized manually
namedWindow(WINDOW_NAME, CV_WINDOW_NORMAL | CV_WINDOW_KEEPRATIO | CV_GUI_EXPANDED);
imshow(WINDOW_NAME, image);
effect will be something like this
This problem was already described here by some other person http://code.opencv.org/issues/3800, unfortunately some time passed by but the problem still exists. Does anyone knows how it can be fixed?
OpenCV: 3.0 RC1 Qt: 5.4.1 GCC: 4.9.2 OS: Xubuntu 15.04
This seems to be fixed as of OpenCV 3.1.0 with Qt 5.7.0 on Windows 7. It is still present in OpenCV 2.4.13.