removed unnecessary MIN(); bug #1578
authorVadim Pisarevsky <no@email>
Mon, 26 Mar 2012 10:01:30 +0000 (10:01 +0000)
committerVadim Pisarevsky <no@email>
Mon, 26 Mar 2012 10:01:30 +0000 (10:01 +0000)
modules/calib3d/src/fundam.cpp

index 63f0219..67ac2c1 100644 (file)
@@ -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 )