Fix sacCalcJacobianErrors arguments. (curr.inl replaced with best.inl)

Fix the issue given NULL inlMask
This commit is contained in:
Hamid Bazargani 2015-02-13 00:30:18 -05:00
parent 42176f8eb1
commit e22678018b
2 changed files with 0 additions and 3 deletions

View File

@ -399,7 +399,6 @@ cv::Mat cv::findHomography( InputArray _points1, InputArray _points2,
tempMask = Mat::ones(npoints, 1, CV_8U);
result = cb->runKernel(src, dst, H) > 0;
}
else if( method == RANSAC)
result = createRANSACPointSetRegistrator(cb, 4, ransacReprojThreshold, confidence, maxIters)->run(src, dst, H, tempMask);
else if( method == LMEDS )

View File

@ -624,11 +624,9 @@ unsigned RHO_HEST_REFC::rhoRefC(const float* src, /* Source points */
if(isFinalRefineEnabled() && canRefine()){
refine();
}
outputModel();
finiRun();
return isBestModelGoodEnough() ? best.numInl : 0;
}