From 5112d74cad9d4d98269b8e208178cf38e0ec4f87 Mon Sep 17 00:00:00 2001 From: Maria Dimashova Date: Mon, 16 Jul 2012 08:02:50 +0000 Subject: [PATCH] revert my incorrect fix of #2167 --- modules/calib3d/src/triangulate.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/modules/calib3d/src/triangulate.cpp b/modules/calib3d/src/triangulate.cpp index 488e5f9b66..fb7657d77a 100644 --- a/modules/calib3d/src/triangulate.cpp +++ b/modules/calib3d/src/triangulate.cpp @@ -429,8 +429,6 @@ void cv::correctMatches( InputArray _F, InputArray _points1, InputArray _points2 { Mat F = _F.getMat(); Mat points1 = _points1.getMat(), points2 = _points2.getMat(); - points1 = points1.reshape(1, 2); - points2 = points2.reshape(1, 2); CvMat cvPoints1 = points1, cvPoints2 = points2; CvMat cvF = F;