Opencv 4.1 使用CV_BGR2GRAY报错:CV_BGR2GRAY未声明的标识符

opencv 4.1 使用 CV_BGR2GRAY提示:未声明的标识符
添加以下引用

include "opencv2/imgproc/imgproc.hpp"

include "opencv2/imgproc/types_c.h"

你可能感兴趣的:(Opencv 4.1 使用CV_BGR2GRAY报错:CV_BGR2GRAY未声明的标识符)