mirror of
https://github.com/opencv/opencv.git
synced 2024-11-28 05:06:29 +08:00
Merge pull request #368 from ilysenkov:checkSubset-fix
This commit is contained in:
commit
62b9180c50
@ -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…
Reference in New Issue
Block a user