mirror of
https://github.com/opencv/opencv.git
synced 2026-07-30 07:43:03 +04:00
may be an typo fix
This commit is contained in:
@@ -123,7 +123,7 @@ public:
|
||||
Mat img0 = _img0.getMat();
|
||||
Mat img1 = _img1.getMat();
|
||||
CV_Assert(img0.channels() == 1 && img0.type() == img1.type());
|
||||
CV_Assert(img0.size() == img0.size());
|
||||
CV_Assert(img0.size() == img1.size());
|
||||
|
||||
int maxlevel = static_cast<int>(log((double)max(img0.rows, img0.cols)) / log(2.0)) - 1;
|
||||
maxlevel = min(maxlevel, max_bits - 1);
|
||||
|
||||
Reference in New Issue
Block a user