imshow in C++, toolbar disappeared

[亡魂溺海] 提交于 2019-12-11 17:05:12

问题


I have been using the same code to show a matrix image in my Ubuntu system, but recently, out of the blue, the display window automatically changed and is now not functioning properly.

For starters, the tool bar that should be there on the display window had disappeared, So I can't save the image using the GUI, and secondly, I can no longer scroll to zoom into the image.

Mat dataMatrix1(2048,2048,CV_8UC1, m);
imshow( "Display window", dataMatrix1 );
waitKey(10);

Both these features were there yesterday, does anyone have any idea, what's going on?

You can see in the snapshot that there is no tool bar

来源:https://stackoverflow.com/questions/46637050/imshow-in-c-toolbar-disappeared

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!