标签:enc pen ret code opencv std number 打印 tor
cv::Mat longMap(std::vector<cv::Mat> &set)
{
int matNumber = set.size();
int width = set[0].cols;
int height = set[0].rows;
cv::Mat bigMap(height,width * matNumber, CV_8UC3, cv::Scalar::all(0));
int x = 0;
int y = 0;
cv::Mat imgROI;
for (int i = 0;i < matNumber;i++)
{
x = i * width;
imgROI = bigMap(cv::Rect(x, y, width, height));
set[i].copyTo(imgROI);
}
return bigMap;
}
标签:enc pen ret code opencv std number 打印 tor
原文地址:https://www.cnblogs.com/cheungxiongwei/p/9073574.html