We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
第62行: Mat dstImage(size * scale, size, CV_8U, Scalar(0)); 我感觉有错误,应该是 Mat dstImage(size, size * scale, CV_8U, Scalar(0));
scale表示的是x方向的扩大倍数,而Mat构造函数第一个参数是rows,是y方向上的扩大倍数。今天晚上看着书调试时,将scale置为2,发现了这个问题。
The text was updated successfully, but these errors were encountered:
No branches or pull requests
第62行:
Mat dstImage(size * scale, size, CV_8U, Scalar(0));
我感觉有错误,应该是
Mat dstImage(size, size * scale, CV_8U, Scalar(0));
scale表示的是x方向的扩大倍数,而Mat构造函数第一个参数是rows,是y方向上的扩大倍数。今天晚上看着书调试时,将scale置为2,发现了这个问题。
The text was updated successfully, but these errors were encountered: