Commit b067e0ca authored by Alexander Alekhin's avatar Alexander Alekhin

Merge pull request #10613 from csukuangfj:fix-10612

parents 85e133a0 2b635edc
...@@ -591,12 +591,12 @@ public: ...@@ -591,12 +591,12 @@ public:
} }
} }
bool checkSubset( InputArray _ms1, InputArray, int count ) const bool checkSubset( InputArray _ms1, InputArray _ms2, int count ) const
{ {
Mat ms1 = _ms1.getMat(); Mat ms1 = _ms1.getMat();
Mat ms2 = _ms2.getMat();
// check collinearity and also check that points are too close // check collinearity and also check that points are too close
// only ms1 affects actual estimation stability return !haveCollinearPoints(ms1, count) && !haveCollinearPoints(ms2, count);
return !haveCollinearPoints(ms1, count);
} }
}; };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment