📜  opencv rgb转灰色c++代码示例

📅  最后修改于: 2022-03-11 14:44:52.593000             🧑  作者: Mango

代码示例1
#include 

cv::Mat greyMat, colorMat;
cv::cvtColor(colorMat, greyMat, CV_BGR2GRAY);