mirror of
https://github.com/opencv/opencv.git
synced 2024-11-25 03:30:34 +08:00
Merge pull request #6855 from yigitsoy:patch-1
This commit is contained in:
commit
d22c6855c3
@ -762,7 +762,7 @@ void SCDMatcher::hungarian(cv::Mat &costMatrix, std::vector<cv::DMatch> &outMatc
|
||||
inliers1.reserve(sizeScd1);
|
||||
for (size_t kc = 0; kc<inliers1.size(); kc++)
|
||||
{
|
||||
if (rowsol[kc]<sizeScd1) // if a real match
|
||||
if (rowsol[kc]<sizeScd2) // if a real match
|
||||
inliers1[kc]=1;
|
||||
else
|
||||
inliers1[kc]=0;
|
||||
@ -770,7 +770,7 @@ void SCDMatcher::hungarian(cv::Mat &costMatrix, std::vector<cv::DMatch> &outMatc
|
||||
inliers2.reserve(sizeScd2);
|
||||
for (size_t kc = 0; kc<inliers2.size(); kc++)
|
||||
{
|
||||
if (colsol[kc]<sizeScd2) // if a real match
|
||||
if (colsol[kc]<sizeScd1) // if a real match
|
||||
inliers2[kc]=1;
|
||||
else
|
||||
inliers2[kc]=0;
|
||||
|
Loading…
Reference in New Issue
Block a user