1 | initial version |
CV_8UC3
is simply the wrong flag here, please use one of the IMREAD_XXX flags instead, like:
cv::Mat image = cv::imread("image_file.jpg", IMREAD_COLOR);
2 | No.2 Revision |
CV_8UC3
is simply the wrong flag here, please use one of the IMREAD_XXX flags instead, like:
cv::Mat image = cv::imread("image_file.jpg", IMREAD_COLOR);
cv::IMREAD_COLOR);