Answers for "opencv rgb to gray c++"

C++
0

opencv rgb to gray c++

#include <opencv2/imgproc/imgproc.hpp>

cv::Mat greyMat, colorMat;
cv::cvtColor(colorMat, greyMat, CV_BGR2GRAY);
Posted by: Guest on October-07-2021

Browse Popular Code Answers by Language