Skip to content

Commit

Permalink
Fix bug in local refinement in vote and verify
Browse files Browse the repository at this point in the history
  • Loading branch information
ahojnnes committed Nov 8, 2018
1 parent b6b0fe8 commit e5d1e19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/retrieval/vote_and_verify.cc
Original file line number Diff line number Diff line change
Expand Up @@ -388,7 +388,7 @@ int VoteAndVerify(const VoteAndVerifyOptions& options,
local_tform.A21 = inv_A.leftCols<2>().cast<float>();
local_tform.t21 = inv_A.rightCols<1>().cast<float>();

ComputeInliers(tform, matches, options.max_transfer_error,
ComputeInliers(local_tform, matches, options.max_transfer_error,
options.max_scale_error, &inlier_idxs);

if (inlier_idxs.size() > best_num_inliers) {
Expand Down

0 comments on commit e5d1e19

Please sign in to comment.