Added processing of trivial subsets

pull/367/head
Ilya Lysenkov 12 years ago
parent d8f749da52
commit 9ce2197e9d
  1. 3
      modules/calib3d/src/modelest.cpp

@ -319,6 +319,9 @@ bool CvModelEstimator2::getSubset( const CvMat* m1, const CvMat* m2,
bool CvModelEstimator2::checkSubset( const CvMat* m, int count )
{
if( count <= 2 )
return true;
int j, k, i, i0, i1;
CvPoint2D64f* ptr = (CvPoint2D64f*)m->data.ptr;

Loading…
Cancel
Save