From: Vadim Pisarevsky Date: Mon, 26 Mar 2012 10:01:30 +0000 (+0000) Subject: removed unnecessary MIN(); bug #1578 X-Git-Tag: accepted/2.0/20130307.220821~1018 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a3362864e1f53cd4ccb756ee05578404fc9e1345;p=profile%2Fivi%2Fopencv.git removed unnecessary MIN(); bug #1578 --- diff --git a/modules/calib3d/src/fundam.cpp b/modules/calib3d/src/fundam.cpp index 63f0219..67ac2c1 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 )