Why are my imshow windows different after upgrading to opencv 3.1?

asked 2016-04-20 12:49:12 -0500

Previously I had been using opencv 2.4.11 that was included in my python(x,y) install. When I used imshow() to display an RGB image I was able to easily zoom and if zoomed in close enough the RGB values would be shown as an overlay on each pixel.

Now having upgraded to opencv 3.1 the imshow() window is featureless. It displays the image and I can change the size of the window with the cv2.IMREAD_NORMAL flag enabled. However, I can no longer zoom in on the image.

How can I get these features using opencv 3.1? Must I return to opencv 2.4.11? Were these features perhaps even specific to the python(x,y) install itself?

edit retag flag offensive close merge delete

Comments

which os /gui kit are you using ?

berak gravatar imageberak ( 2016-04-20 12:51:32 -0500 )edit

My OS is Windows 7. As for the gui kit I am not sure how to find out which one opencv ends up using. I have wxPython and PyQt installed.

whistlerdillon gravatar imagewhistlerdillon ( 2016-04-20 12:58:05 -0500 )edit
1

" When I used imshow() to display an RGB image I was able to easily zoom and if zoomed in close enough the RGB values would be shown as an overlay on each pixel." -- this sounds like your cv2.pyd was linked against qt windowing kit previously, but your current is not.

berak gravatar imageberak ( 2016-04-20 13:03:02 -0500 )edit

Any tips on how I may be able to link my current opencv 3.1 cv2.pyd to qt windowing kit?

whistlerdillon gravatar imagewhistlerdillon ( 2016-04-20 13:06:50 -0500 )edit

Am I correct in assuming that if I build opencv 3.1 from binaries with Qt installed and the linked to it enabled in the opencv build I will get the Qt windowing toolkit functionality contained in this new cv2.pyd?

whistlerdillon gravatar imagewhistlerdillon ( 2016-04-20 14:10:50 -0500 )edit
1

i have not tried, but i think so.

berak gravatar imageberak ( 2016-04-20 14:13:00 -0500 )edit