removed unnecessary MIN(); bug #1578

pull/13383/head
Vadim Pisarevsky 13 years ago
parent 8bb422b1fc
commit a3362864e1
  1. 2
      modules/calib3d/src/fundam.cpp

@ -253,7 +253,7 @@ cvFindHomography( const CvMat* objectPoints, const CvMat* imagePoints,
if( !tempMask.empty() ) if( !tempMask.empty() )
cvSet( tempMask, cvScalarAll(1.) ); cvSet( tempMask, cvScalarAll(1.) );
CvHomographyEstimator estimator( MIN(count, 4) ); CvHomographyEstimator estimator(4);
if( count == 4 ) if( count == 4 )
method = 0; method = 0;
if( method == CV_LMEDS ) if( method == CV_LMEDS )

Loading…
Cancel
Save