removed unnecessary MIN(); bug #1578

This commit is contained in:
Vadim Pisarevsky 2012-03-26 10:01:30 +00:00
parent 8bb422b1fc
commit a3362864e1

View 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 )