问题
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