From a3362864e1f53cd4ccb756ee05578404fc9e1345 Mon Sep 17 00:00:00 2001 From: Vadim Pisarevsky Date: Mon, 26 Mar 2012 10:01:30 +0000 Subject: [PATCH] removed unnecessary MIN(); bug #1578 --- modules/calib3d/src/fundam.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/calib3d/src/fundam.cpp b/modules/calib3d/src/fundam.cpp index 63f021949..67ac2c177 100644 --- a/modules/calib3d/src/fundam.cpp +++ b/modules/calib3d/src/fundam.cpp @@ -253,7 +253,7 @@ cvFindHomography( const CvMat* objectPoints, const CvMat* imagePoints, if( !tempMask.empty() ) cvSet( tempMask, cvScalarAll(1.) ); - CvHomographyEstimator estimator( MIN(count, 4) ); + CvHomographyEstimator estimator(4); if( count == 4 ) method = 0; if( method == CV_LMEDS )