OpenCV函数之cvCvtColor /*彩色图片转为灰度*/#include #include #include int main(){IplImage* img1 = cvLoadImage("1234.jpg", -1);int width, height, depth, channels;width = img1->width;height = img1->height; OpenCV学习 2023-09-29 52 点赞 0 评论 78 浏览