big trap in “cv::Mat src=cv::imread(“xxx”, cv::IMREAD_GRAYSCALE)”
if the last stuff not here, then big error for gray image reading, src will have “rgb rgb” buffer, then it is completely not what you want!
big trap in “cv::imread()“
最新推荐文章于 2024-07-21 17:06:54 发布