opencv中imgshow图像显示为灰色

1、图像数据类型是否正确

2、图像是否存在

3、在imgshow()语句下添加watkey();

原文地址:https://www.cnblogs.com/abella/p/10619531.html