提交 846e6f73 编写于 作者: N Nickolay Polyarniy

stereoRectifyUncalibrated: assertion of input points shape fixed

Fix for https://github.com/Itseez/opencv/issues/4426
Documentation says that input points format is the same to input for findFundamentalMat
上级 0f1fdd88
......@@ -2453,8 +2453,6 @@ CV_IMPL int cvStereoRectifyUncalibrated(
CvPoint3D64f* lines2;
CV_Assert( CV_IS_MAT(_points1) && CV_IS_MAT(_points2) &&
(_points1->rows == 1 || _points1->cols == 1) &&
(_points2->rows == 1 || _points2->cols == 1) &&
CV_ARE_SIZES_EQ(_points1, _points2) );
npoints = _points1->rows * _points1->cols * CV_MAT_CN(_points1->type) / 2;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册