OpenCV一句话将彩色图片(Mat)转换为灰度

auto in_gray=cv::imdecode(in, cv::IMREAD_GRAYSCALE);
posted @ 2023-06-12 21:09  Icys  阅读(143)  评论(0编辑  收藏  举报