1.编写一个显示图片的项目,但显示的图片全灰色。原因:需要在imshow()函数前加一个namedWindow()函数。https://blog.csdn.net/mao_hui_fei/article/details/774787502.