Commit d65920d2 authored by Maria Dimashova's avatar Maria Dimashova

fixed #2167

parent ec23d9bb
...@@ -429,6 +429,9 @@ void cv::correctMatches( InputArray _F, InputArray _points1, InputArray _points2 ...@@ -429,6 +429,9 @@ void cv::correctMatches( InputArray _F, InputArray _points1, InputArray _points2
{ {
Mat F = _F.getMat(); Mat F = _F.getMat();
Mat points1 = _points1.getMat(), points2 = _points2.getMat(); Mat points1 = _points1.getMat(), points2 = _points2.getMat();
points1 = points1.reshape(1, 2);
points2 = points2.reshape(1, 2);
CvMat cvPoints1 = points1, cvPoints2 = points2; CvMat cvPoints1 = points1, cvPoints2 = points2;
CvMat cvF = F; CvMat cvF = F;
......
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