Skip to content

Commit

Permalink
Akaze: updated test values following corrections it the algorithm.
Browse files Browse the repository at this point in the history
  • Loading branch information
stephanemagnenat committed Jun 12, 2023
1 parent 3915925 commit 2d01f6b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions akaze/tests/estimate_pose.rs
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ fn estimate_pose() {

// This ensures the underlying algorithm does not change
// by making sure that we get the exact expected number of features.
assert_eq!(ds1.len(), 398);
assert_eq!(ds1.len(), 399);
assert_eq!(ds2.len(), 343);

// Perform matching.
Expand All @@ -56,7 +56,7 @@ fn estimate_pose() {
})
.collect();
info!("Finished matching with {} matches", matches.len());
assert_eq!(matches.len(), 12);
assert_eq!(matches.len(), 10);

// Run ARRSAC with the eight-point algorithm.
info!("Running ARRSAC");
Expand All @@ -72,7 +72,7 @@ fn estimate_pose() {
);

// Ensures the underlying algorithms don't change at all.
assert_eq!(inliers.len(), 12);
assert_eq!(inliers.len(), 10);
}

fn match_descriptors(ds1: &[Descriptor], ds2: &[Descriptor]) -> Vec<(usize, usize)> {
Expand Down

0 comments on commit 2d01f6b

Please sign in to comment.