Commit 846e6f73 authored by Nickolay Polyarniy's avatar 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
parent 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% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment