Mat img = imread(“image.jpg”);
namedWindow(“image”,WINDOW_AUTOSIZE);
imshow(“image”,img);
waitKey();
//看一下这个namedwindow到底干了啥,有没有和image关联起来?
从opencv的参考文档可以看到,其基本操作在high_gui.hpp文件中。
参考文献:https://docs.opencv.org/master/d7/dfc/group__highgui.html
Mat img = imread(“image.jpg”);
namedWindow(“image”,WINDOW_AUTOSIZE);
imshow(“image”,img);
waitKey();
//看一下这个namedwindow到底干了啥,有没有和image关联起来?
从opencv的参考文档可以看到,其基本操作在high_gui.hpp文件中。
参考文献:https://docs.opencv.org/master/d7/dfc/group__highgui.html